MCPcopy Create free account

hub / github.com/andreabergia/rjvm / functions

Functions538 in github.com/andreabergia/rjvm

↓ 50 callersMethodpush
(&mut self, value: Value<'a>)
vm/src/value_stack.rs:41
↓ 40 callersMethodread_u16
(&mut self)
reader/src/buffer.rs:45
↓ 36 callersMethodpush
(&mut self, value: Value<'a>)
vm/src/call_frame.rs:715
↓ 33 callersMethodinto_usize_safe
(self)
reader/src/type_conversion.rs:8
↓ 28 callersMethodadd
Adds a new entry.
reader/src/constant_pool.rs:55
↓ 26 callersMethoditer
(&self)
vm/src/value_stack.rs:77
↓ 23 callersMethodtempPrint
(int value)
vm/tests/resources/rjvm/NumericTypes.java:71
↓ 22 callersMethodpush
Parses and adds class path entries. These should be separated by a colon (:), just like in a real JVM.
vm/src/class_path.rs:27
↓ 22 callersMethodtempPrint
(boolean value)
vm/tests/resources/rjvm/NumericArrays.java:69
↓ 21 callersMethodlen
(&self)
vm/src/value_stack.rs:37
↓ 19 callersMethodpop
(&mut self)
vm/src/value_stack.rs:50
↓ 18 callersMethodpop
(&mut self)
vm/src/call_frame.rs:719
↓ 17 callersMethodget
(&self, index: usize)
vm/src/value_stack.rs:73
↓ 17 callersMethodregister
( &mut self, class_name: &str, method_name: &str, type_descriptor: &str,
vm/src/native_methods_registry.rs:34
↓ 16 callersFunctioncreate_base_vm
(max_memory: usize)
vm/tests/integration/real_code_tests.rs:10
↓ 16 callersFunctioninvoke
( vm: &mut Vm<'a>, class_name: &str, method_name: &str, descriptor: &str, )
vm/tests/integration/real_code_tests.rs:19
↓ 16 callersMethodkind
(&self)
vm/src/abstract_object.rs:216
↓ 12 callersMethodnext
()
vm/tests/resources/rjvm/SimpleMain.java:21
↓ 11 callersMethodclass_id
(&self)
vm/src/abstract_object.rs:327
↓ 10 callersMethodas_ref
(&self)
vm/src/call_stack.rs:33
↓ 10 callersMethodelements_type
(&self)
vm/src/abstract_object.rs:366
↓ 10 callersMethodget_constant
(&self, constant_index: u16)
vm/src/call_frame.rs:862
↓ 10 callersMethodget_or_resolve_class
( &mut self, stack: &mut CallStack<'a>, class_name: &str, )
vm/src/vm.rs:96
↓ 10 callersMethodset_field
(&self, index: usize, value: Value<'a>)
vm/src/abstract_object.rs:331
↓ 10 callersMethodtempPrint
(int value)
vm/tests/resources/rjvm/ControlFlow.java:62
↓ 9 callersMethodadvance
(&mut self, size: usize)
reader/src/buffer.rs:30
↓ 9 callersFunctioncheck_method
( method: &ClassFileMethod, flags: MethodFlags, name: &str, type_descriptor: &str, )
reader/tests/integration/assertions.rs:5
↓ 9 callersMethodread_string_reference
(&self, index: u16)
reader/src/class_reader.rs:222
↓ 8 callersMethodget_class_by_id
(&self, class_id: ClassId)
vm/src/vm.rs:133
↓ 6 callersMethodalloc
Allocates from the chunk, or returns None if there is not enough space
vm/src/gc.rs:53
↓ 6 callersMethodcontains
(&self, ptr: *const u8)
vm/src/gc.rs:70
↓ 6 callersMethodexecute_if
( &mut self, jump_address: u16, comparator: T, )
vm/src/call_frame.rs:1198
↓ 6 callersMethodexecute_if_icmp
( &mut self, jump_address: u16, comparator: T, )
vm/src/call_frame.rs:1213
↓ 6 callersMethodfind_class_by_id
(&self, class_id: ClassId)
vm/src/vm.rs:67
↓ 6 callersMethodget
Accesses an entry given its index. Note that it must be 1-based!
reader/src/constant_pool.rs:69
↓ 6 callersMethodgoto
(&mut self, jump_address: u16)
vm/src/call_frame.rs:1194
↓ 6 callersFunctionnew_java_lang_string_object
Creates a new instance of a `java.lang.String` with the given content
vm/src/java_objects_creation.rs:17
↓ 6 callersMethodtempPrint
(int value)
vm/tests/resources/rjvm/ExceptionsThrowingAndCatching.java:49
↓ 6 callersMethodtempPrint
(boolean value)
vm/tests/resources/rjvm/InstanceOf.java:31
↓ 5 callersMethodcheckInstanceOfInterfaces
(Object v)
vm/tests/resources/rjvm/InstanceOf.java:24
↓ 5 callersMethodexecute_aload
(&mut self, index: usize)
vm/src/call_frame.rs:1297
↓ 5 callersMethodexecute_astore
(&mut self, index: usize)
vm/src/call_frame.rs:1312
↓ 5 callersMethodget_constant_class_reference
(&self, constant_index: u16)
vm/src/call_frame.rs:870
↓ 5 callersMethodget_constant_utf8
(&self, constant_index: u16)
vm/src/call_frame.rs:932
↓ 5 callersMethoditer_mut
(&mut self)
vm/src/value_stack.rs:81
↓ 5 callersMethodnew_array
( &mut self, elements_type: ArrayEntryType, length: usize, )
vm/src/vm.rs:244
↓ 5 callersMethodtempPrint
(long value)
vm/tests/resources/rjvm/GarbageCollection.java:54
↓ 4 callersFunctionassert_can_find_class
(entry: &impl ClassPathEntry, class_name: &str)
vm/src/class_path_entry.rs:42
↓ 4 callersFunctionassert_cannot_parse
(descriptor: &str)
reader/src/method_descriptor.rs:119
↓ 4 callersFunctionexpect_int_at
Checks that the element at the given index is an Int and returns it, or an error.
vm/src/value.rs:163
↓ 4 callersMethodfind_method
( &self, method_name: &str, type_descriptor: &str, )
vm/src/class.rs:67
↓ 4 callersMethodget_constant_field_reference
(&self, constant_index: u16)
vm/src/call_frame.rs:908
↓ 4 callersMethodinvoke
( &mut self, call_stack: &mut CallStack<'a>, class_and_method: ClassAndMethod<'a>,
vm/src/vm.rs:164
↓ 4 callersMethodinvoke_method
( &mut self, vm: &mut Vm<'a>, call_stack: &mut CallStack<'a>, constant_index:
vm/src/call_frame.rs:784
↓ 4 callersMethodis_subclass_of
Returns whether self is a subclass of the given class, or implements the given interface
vm/src/class.rs:59
↓ 4 callersMethodnew_object
( &mut self, call_stack: &mut CallStack<'a>, class_name: &str, )
vm/src/vm.rs:221
↓ 4 callersMethodptr_to_field_value
(&self, field_index: usize)
vm/src/abstract_object.rs:319
↓ 4 callersFunctionread_class_from_bytes
(bytes: &[u8])
reader/tests/integration/utils.rs:5
↓ 4 callersMethodset_element
(&self, index: usize, value: Value<'a>)
vm/src/abstract_object.rs:374
↓ 4 callersMethodtempPrint
(boolean value)
vm/tests/resources/rjvm/InstanceOfArray.java:25
↓ 3 callersFunctionalign_to_8_bytes
(required_size: usize)
vm/src/abstract_object.rs:109
↓ 3 callersMethodalloc_header
(&self)
vm/src/abstract_object.rs:208
↓ 3 callersMethodarea
()
vm/tests/resources/rjvm/InvokeInterface.java:5
↓ 3 callersMethodbar
()
reader/tests/resources/rjvm/ExceptionsHandlers.java:7
↓ 3 callersMethodexecute_long_shift
(&mut self, evaluator: T)
vm/src/call_frame.rs:1167
↓ 3 callersFunctionexpect_abstract_object_at
Checks that the element at the given index is an abstract object and returns it, or an error.
vm/src/value.rs:127
↓ 3 callersFunctionexpect_some_receiver
(receiver: Option<AbstractObject>)
vm/src/native_methods_impl.rs:293
↓ 3 callersFunctionextract_str_from_java_lang_string
Given an instance of `java.lang.String`, extracts the content as a Rust `String`
vm/src/java_objects_creation.rs:49
↓ 3 callersMethodfix_reference
Updates a reference from the old semispace by replacing it with the new value. Assumes that the word after the old reference's header contains the add
vm/src/gc.rs:372
↓ 3 callersMethodget_class
(&self)
vm/src/class_manager.rs:62
↓ 3 callersMethodget_field
( class: &'a Class, field_reference: FieldReference, )
vm/src/call_frame.rs:824
↓ 3 callersMethodidentity_hash_code
(&self)
vm/src/abstract_object.rs:212
↓ 3 callersMethodlen
(&self)
vm/src/abstract_object.rs:370
↓ 3 callersMethodptr_to_array_element
(&self, element_index: usize)
vm/src/abstract_object.rs:358
↓ 3 callersMethodread_raw_attributes
(&mut self)
reader/src/class_reader.rs:494
↓ 3 callersMethodread_u32
(&mut self)
reader/src/buffer.rs:50
↓ 3 callersMethodresolve
Attempts to resolve a class from the various entries. Stops at the first entry that has a match or an error.
vm/src/class_path.rs:58
↓ 3 callersMethodrun_garbage_collection
(&mut self)
vm/src/vm.rs:300
↓ 3 callersMethodsearch_deprecated_attribute
(&self, raw_attributes: &[Attribute])
reader/src/class_reader.rs:315
↓ 3 callersMethodvisit
Visits a given object, unless it was already processed. Copies the object to the other semispace and proceeds recursively on the object's fields or ar
vm/src/gc.rs:165
↓ 2 callersMethodall_fields
(&self)
vm/src/class.rs:103
↓ 2 callersMethodallocate_array
Allocates a new array, or returns None if the memory is full
vm/src/gc.rs:119
↓ 2 callersMethodallocate_call_stack
Allocates a new call stack. We need to store it to be able to refer it later, for extracting the gc roots.
vm/src/vm.rs:213
↓ 2 callersMethodallocate_object
Allocates a new object, or returns None if the memory is full
vm/src/gc.rs:111
↓ 2 callersMethodappend_class_path
(&mut self, class_path: &str)
vm/src/vm.rs:92
↓ 2 callersFunctionarray_copy
( src: &impl Array<'a>, src_pos: i32, dest: &impl Array<'a>, dest_pos: i32, length: usize,
vm/src/native_methods_impl.rs:195
↓ 2 callersMethodarray_header
(&self)
vm/src/abstract_object.rs:350
↓ 2 callersMethodas_mut
(&mut self)
vm/src/call_stack.rs:39
↓ 2 callersFunctionassert_can_find_class
(class_path: &ClassPath, class_name: &str)
vm/src/class_path.rs:88
↓ 2 callersFunctionassert_cannot_find_class
(entry: &impl ClassPathEntry, class_name: &str)
vm/src/class_path_entry.rs:52
↓ 2 callersMethodcheckInstanceOfInterfaces
(Object[] v)
vm/tests/resources/rjvm/InstanceOfArray.java:18
↓ 2 callersMethoddebug_done_execution
(&self, result: Option<&Value>)
vm/src/call_frame.rs:1779
↓ 2 callersMethoddup
(&mut self)
vm/src/value_stack.rs:85
↓ 2 callersMethoddup2
(&mut self)
vm/src/value_stack.rs:110
↓ 2 callersMethoddup2_x1
(&mut self)
vm/src/value_stack.rs:119
↓ 2 callersMethoddup2_x2
(&mut self)
vm/src/value_stack.rs:130
↓ 2 callersMethoddup_x1
(&mut self)
vm/src/value_stack.rs:92
↓ 2 callersMethoddup_x2
(&mut self)
vm/src/value_stack.rs:100
↓ 2 callersMethodexecute_if_acmp
( &mut self, jump_address: u16, jump_on_equal: bool, )
vm/src/call_frame.rs:1255
↓ 2 callersMethodexecute_if_null
( &mut self, jump_address: u16, jump_on_null: bool, )
vm/src/call_frame.rs:1229
next →1–100 of 538, ranked by callers