MCPcopy Create free account

hub / github.com/andreabergia/rjvm / functions

Functions538 in github.com/andreabergia/rjvm

↓ 2 callersMethodexecute_ldc
( &mut self, vm: &mut Vm<'a>, call_stack: &mut CallStack<'a>, index: u16,
vm/src/call_frame.rs:1334
↓ 2 callersFunctionexpect_array_at
Checks that the element at the given index is an array and returns it, or an error.
vm/src/value.rs:153
↓ 2 callersFunctionexpect_concrete_object_at
Checks that the element at the given index is a concrete object and returns it, or an error.
vm/src/value.rs:140
↓ 2 callersMethodgetValue
()
vm/tests/resources/rjvm/GarbageCollection.java:37
↓ 2 callersMethodget_element
(&self, index: usize)
vm/src/abstract_object.rs:386
↓ 2 callersMethodget_stack_trace_associated_with_throwable
( &self, throwable: AbstractObject<'a>, )
vm/src/vm.rs:285
↓ 2 callersMethodget_static_instance
(&self, class_id: ClassId)
vm/src/vm.rs:88
↓ 2 callersMethodis_instanceof
Pops a value from the stack and returns whether the cast is valid or not, and the popped value
vm/src/call_frame.rs:1536
↓ 2 callersMethodis_native
(&self)
vm/src/class_and_method.rs:25
↓ 2 callersMethodis_static
(&self)
vm/src/class_and_method.rs:21
↓ 2 callersFunctionnew_java_lang_class_object
( vm: &mut Vm<'a>, call_stack: &mut CallStack<'a>, class_name: &str, )
vm/src/java_objects_creation.rs:64
↓ 2 callersMethodnew_object_of_class
(&mut self, class: ClassRef<'a>)
vm/src/vm.rs:230
↓ 2 callersMethodpop_array
(&mut self)
vm/src/call_frame.rs:852
↓ 2 callersFunctionread_buffer
Reads a class from a byte slice.
reader/src/class_reader.rs:521
↓ 2 callersMethodread_bytes
(&mut self, len: usize)
reader/src/buffer.rs:81
↓ 2 callersMethodread_class_reference
(&mut self)
reader/src/class_reader.rs:208
↓ 2 callersMethodresolve_and_collect_class
( &mut self, class_name: &str, resolved_classes: &mut IndexMap<String, ResolvedClass<'
vm/src/class_manager.rs:138
↓ 2 callersMethodresolve_class_method
( &mut self, call_stack: &mut CallStack<'a>, class_name: &str, method_name: &s
vm/src/vm.rs:142
↓ 2 callersMethodswap
(&mut self)
vm/src/value_stack.rs:143
↓ 2 callersMethodtempPrint
(int value)
vm/tests/resources/rjvm/SimpleMain.java:10
↓ 2 callersMethodtempPrint
(int value)
vm/tests/resources/rjvm/Statics.java:26
↓ 2 callersFunctiontime_since_epoch
()
vm/src/time.rs:3
↓ 2 callersMethodtruncate
(&mut self, len: usize)
vm/src/value_stack.rs:64
↓ 2 callersMethodweirdFunForTesting
()
vm/tests/resources/rjvm/Statics.java:21
↓ 2 callersFunctionwrite_value
(ptr: *mut u8, value: Value)
vm/src/abstract_object.rs:260
↓ 1 callersMethodadd_frame
Adds a new frame to the call stack. Only supports bytecode methods (i.e. non native).
vm/src/call_stack.rs:51
↓ 1 callersMethodallocate
( &mut self, class_file: ClassFile, referenced_classes: IndexMap<String, ResolvedClass
vm/src/class_manager.rs:148
↓ 1 callersFunctionallocate_java_args
( vm: &mut Vm<'a>, call_stack: &mut CallStack<'a>, command_line_args: &[String], )
vm_cli/src/main.rs:101
↓ 1 callersFunctionappend_classpath
(vm: &mut Vm, args: &Args)
vm_cli/src/main.rs:49
↓ 1 callersFunctionassert_cannot_find_class
(class_path: &ClassPath, class_name: &str)
vm/src/class_path.rs:98
↓ 1 callersMethodassociate_stack_trace_with_throwable
( &mut self, throwable: AbstractObject<'a>, call_stack: Vec<StackTraceElement<'a>>,
vm/src/vm.rs:276
↓ 1 callersMethodcheckCast
(C1 c)
vm/tests/resources/rjvm/CheckCast.java:12
↓ 1 callersMethodcheckCasted
(C2 c)
vm/tests/resources/rjvm/CheckCast.java:16
↓ 1 callersFunctioncheck_fields
(class: &ClassFile)
reader/tests/integration/pojo_class_test.rs:42
↓ 1 callersMethodcheck_magic_number
(&mut self)
reader/src/class_reader.rs:56
↓ 1 callersFunctioncheck_methods
(class: &ClassFile)
reader/tests/integration/exceptions.rs:21
↓ 1 callersFunctioncheck_methods
(class: &ClassFile)
reader/tests/integration/pojo_class_test.rs:64
↓ 1 callersMethodclone_array
(&mut self, value: Value<'a>)
vm/src/vm.rs:264
↓ 1 callersMethodcmp
(&self, other: &Self)
reader/src/line_number_table.rs:50
↓ 1 callersMethodcontrolFlowArrays
(Object[] a, Object[] b, Object[] c)
vm/tests/resources/rjvm/ControlFlow.java:50
↓ 1 callersMethodcontrolFlowInts
()
vm/tests/resources/rjvm/ControlFlow.java:14
↓ 1 callersMethodcontrolFlowLongFloatDouble
(long l, float f, double d)
vm/tests/resources/rjvm/ControlFlow.java:38
↓ 1 callersMethodcontrolFlowObjects
(Object a, Object b, Object c)
vm/tests/resources/rjvm/ControlFlow.java:26
↓ 1 callersMethodcopyArrays
()
vm/tests/resources/rjvm/NumericArrays.java:57
↓ 1 callersMethoddebug_print_status
(&self, instruction: &Instruction)
vm/src/call_frame.rs:1761
↓ 1 callersMethoddebug_start_execution
(&self)
vm/src/call_frame.rs:1754
↓ 1 callersMethoddebug_stats
(&self)
vm/src/vm.rs:293
↓ 1 callersMethodderivedClassValue
()
vm/tests/resources/rjvm/SuperClasses.java:23
↓ 1 callersMethoddo_garbage_collection
Runs the garbage collection! Will update the roots with the new addresses of the objects.
vm/src/gc.rs:131
↓ 1 callersMethoddoubleMath
(int i, double d)
vm/tests/resources/rjvm/NumericTypes.java:31
↓ 1 callersFunctiondouble_to_raw_long_bits
(args: &[Value<'a>])
vm/src/native_methods_impl.rs:224
↓ 1 callersMethodexecute
Executes the whole method
vm/src/call_frame.rs:298
↓ 1 callersMethodexecute_aastore
(&mut self, vm: &Vm)
vm/src/call_frame.rs:1486
↓ 1 callersMethodexecute_anewarray
( &mut self, vm: &mut Vm<'a>, call_stack: &mut CallStack<'a>, constant_index:
vm/src/call_frame.rs:1407
↓ 1 callersMethodexecute_areturn
(&mut self)
vm/src/call_frame.rs:1137
↓ 1 callersMethodexecute_array_length
(&mut self)
vm/src/call_frame.rs:1422
↓ 1 callersMethodexecute_athrow
(&mut self)
vm/src/call_frame.rs:1707
↓ 1 callersMethodexecute_checkcast
( &mut self, vm: &mut Vm<'a>, call_stack: &mut CallStack<'a>, constant_index:
vm/src/call_frame.rs:1520
↓ 1 callersMethodexecute_getfield
( &mut self, vm: &mut Vm<'a>, field_index: u16, )
vm/src/call_frame.rs:1589
↓ 1 callersMethodexecute_getstatic
( &mut self, vm: &mut Vm<'a>, call_stack: &mut CallStack<'a>, field_index: u16
vm/src/call_frame.rs:1633
↓ 1 callersMethodexecute_instanceof
( &mut self, vm: &mut Vm<'a>, call_stack: &mut CallStack<'a>, constant_index:
vm/src/call_frame.rs:1509
↓ 1 callersMethodexecute_instruction
Reference: https://docs.oracle.com/javase/specs/jvms/se7/html/jvms-6.html
vm/src/call_frame.rs:349
↓ 1 callersMethodexecute_ldc_long_double
(&mut self, index: u16)
vm/src/call_frame.rs:1375
↓ 1 callersMethodexecute_monitorenter
(&mut self)
vm/src/call_frame.rs:1679
↓ 1 callersMethodexecute_monitorexit
(&mut self)
vm/src/call_frame.rs:1693
↓ 1 callersMethodexecute_newarray
( &mut self, vm: &mut Vm<'a>, array_type: NewArrayType, )
vm/src/call_frame.rs:1386
↓ 1 callersMethodexecute_putfield
( &mut self, vm: &mut Vm<'a>, field_index: u16, )
vm/src/call_frame.rs:1611
↓ 1 callersMethodexecute_putstatic
( &mut self, vm: &mut Vm<'a>, call_stack: &mut CallStack<'a>, field_index: u16
vm/src/call_frame.rs:1656
↓ 1 callersFunctionexpect_double_at
Checks that the element at the given index is a Double and returns it, or an error.
vm/src/value.rs:183
↓ 1 callersFunctionexpect_float_at
Checks that the element at the given index is a Float and returns it, or an error.
vm/src/value.rs:173
↓ 1 callersMethodextract_code
( &self, raw_attributes: &[Attribute], name: &str, )
reader/src/class_reader.rs:365
↓ 1 callersMethodextract_constant_value
( &self, raw_attributes: &[Attribute], )
reader/src/class_reader.rs:277
↓ 1 callersMethodextract_line_number_table
( &self, raw_attributes: &[Attribute], )
reader/src/class_reader.rs:424
↓ 1 callersMethodextract_thrown_exceptions
(&self, raw_attributes: &[Attribute])
reader/src/class_reader.rs:448
↓ 1 callersMethodfield_at_index
(&self, index: usize)
vm/src/class.rs:94
↓ 1 callersFunctionfill_in_stack_trace
( vm: &mut Vm<'a>, call_stack: &mut CallStack<'a>, receiver: Option<AbstractObject<'a>>, )
vm/src/native_methods_impl.rs:248
↓ 1 callersMethodfind_class_by_name
(&self, class_name: &str)
vm/src/vm.rs:138
↓ 1 callersMethodfind_class_by_name
(&self, class_name: &str)
vm/src/class_manager.rs:90
↓ 1 callersMethodfind_exception_handler
( &self, vm: &mut Vm<'a>, call_stack: &mut CallStack<'a>, executed_instruction
vm/src/call_frame.rs:1719
↓ 1 callersMethodfind_field
(&self, field_name: &str)
vm/src/class.rs:78
↓ 1 callersMethodfix_gc_root
Updates a gc root so that it points to the new object
vm/src/gc.rs:394
↓ 1 callersMethodfix_references_in_array
Fixes all the references for each element in the given array
vm/src/gc.rs:340
↓ 1 callersMethodfix_references_in_new_region
Iterates over the copied objects in the new region, which still have pointers to the objects in the original semispace, by updating the references wit
vm/src/gc.rs:284
↓ 1 callersMethodfix_references_in_object
Fixes all the references for each field in the given object
vm/src/gc.rs:307
↓ 1 callersMethodfloatAndIntMath
(int i, float f)
vm/tests/resources/rjvm/NumericTypes.java:17
↓ 1 callersFunctionfloat_to_raw_int_bits
(args: &[Value<'a>])
vm/src/native_methods_impl.rs:218
↓ 1 callersMethodfmt_entry
(&self, idx: u16)
reader/src/constant_pool.rs:87
↓ 1 callersMethodfoo
()
reader/tests/resources/rjvm/ExceptionsHandlers.java:4
↓ 1 callersMethodgc_roots
(&mut self)
vm/src/call_stack.rs:126
↓ 1 callersMethodget
( &self, class_name: &str, method_name: &str, type_descriptor: &str, )
vm/src/native_methods_registry.rs:63
↓ 1 callersFunctionget_class_loader
(receiver: Option<AbstractObject>)
vm/src/native_methods_impl.rs:230
↓ 1 callersMethodget_constant_method_reference
( &self, constant_index: u16, )
vm/src/call_frame.rs:879
↓ 1 callersFunctionget_current_time_millis
Returns the current epoch as milliseconds
vm/src/time.rs:16
↓ 1 callersMethodget_line_number
(&self)
vm/src/call_frame.rs:288
↓ 1 callersMethodget_local_int
(&self, vm: &Vm, index: usize)
vm/src/call_frame.rs:1148
↓ 1 callersMethodget_local_int_as_int
(&self, vm: &Vm, index: usize)
vm/src/call_frame.rs:1154
↓ 1 callersMethodget_method
(&self, class_and_method: &ClassAndMethod)
vm/src/native_methods_registry.rs:55
↓ 1 callersMethodget_method_receiver_and_params
( &self, class_and_method: &ClassAndMethod<'a>, )
vm/src/call_frame.rs:1042
↓ 1 callersMethodget_method_to_invoke_statically
( &self, vm: &mut Vm<'a>, call_stack: &mut CallStack<'a>, method_reference: Me
vm/src/call_frame.rs:941
↓ 1 callersFunctionget_nano_time
Returns the current epoch as nano seconds
vm/src/time.rs:11
← previousnext →101–200 of 538, ranked by callers