Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andreabergia/rjvm
/ functions
Functions
538 in github.com/andreabergia/rjvm
⨍
Functions
538
◇
Types & classes
120
↓ 2 callers
Method
execute_ldc
( &mut self, vm: &mut Vm<'a>, call_stack: &mut CallStack<'a>, index: u16,
vm/src/call_frame.rs:1334
↓ 2 callers
Function
expect_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 callers
Function
expect_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 callers
Method
getValue
()
vm/tests/resources/rjvm/GarbageCollection.java:37
↓ 2 callers
Method
get_element
(&self, index: usize)
vm/src/abstract_object.rs:386
↓ 2 callers
Method
get_stack_trace_associated_with_throwable
( &self, throwable: AbstractObject<'a>, )
vm/src/vm.rs:285
↓ 2 callers
Method
get_static_instance
(&self, class_id: ClassId)
vm/src/vm.rs:88
↓ 2 callers
Method
is_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 callers
Method
is_native
(&self)
vm/src/class_and_method.rs:25
↓ 2 callers
Method
is_static
(&self)
vm/src/class_and_method.rs:21
↓ 2 callers
Function
new_java_lang_class_object
( vm: &mut Vm<'a>, call_stack: &mut CallStack<'a>, class_name: &str, )
vm/src/java_objects_creation.rs:64
↓ 2 callers
Method
new_object_of_class
(&mut self, class: ClassRef<'a>)
vm/src/vm.rs:230
↓ 2 callers
Method
pop_array
(&mut self)
vm/src/call_frame.rs:852
↓ 2 callers
Function
read_buffer
Reads a class from a byte slice.
reader/src/class_reader.rs:521
↓ 2 callers
Method
read_bytes
(&mut self, len: usize)
reader/src/buffer.rs:81
↓ 2 callers
Method
read_class_reference
(&mut self)
reader/src/class_reader.rs:208
↓ 2 callers
Method
resolve_and_collect_class
( &mut self, class_name: &str, resolved_classes: &mut IndexMap<String, ResolvedClass<'
vm/src/class_manager.rs:138
↓ 2 callers
Method
resolve_class_method
( &mut self, call_stack: &mut CallStack<'a>, class_name: &str, method_name: &s
vm/src/vm.rs:142
↓ 2 callers
Method
swap
(&mut self)
vm/src/value_stack.rs:143
↓ 2 callers
Method
tempPrint
(int value)
vm/tests/resources/rjvm/SimpleMain.java:10
↓ 2 callers
Method
tempPrint
(int value)
vm/tests/resources/rjvm/Statics.java:26
↓ 2 callers
Function
time_since_epoch
()
vm/src/time.rs:3
↓ 2 callers
Method
truncate
(&mut self, len: usize)
vm/src/value_stack.rs:64
↓ 2 callers
Method
weirdFunForTesting
()
vm/tests/resources/rjvm/Statics.java:21
↓ 2 callers
Function
write_value
(ptr: *mut u8, value: Value)
vm/src/abstract_object.rs:260
↓ 1 callers
Method
add_frame
Adds a new frame to the call stack. Only supports bytecode methods (i.e. non native).
vm/src/call_stack.rs:51
↓ 1 callers
Method
allocate
( &mut self, class_file: ClassFile, referenced_classes: IndexMap<String, ResolvedClass
vm/src/class_manager.rs:148
↓ 1 callers
Function
allocate_java_args
( vm: &mut Vm<'a>, call_stack: &mut CallStack<'a>, command_line_args: &[String], )
vm_cli/src/main.rs:101
↓ 1 callers
Function
append_classpath
(vm: &mut Vm, args: &Args)
vm_cli/src/main.rs:49
↓ 1 callers
Function
assert_cannot_find_class
(class_path: &ClassPath, class_name: &str)
vm/src/class_path.rs:98
↓ 1 callers
Method
associate_stack_trace_with_throwable
( &mut self, throwable: AbstractObject<'a>, call_stack: Vec<StackTraceElement<'a>>,
vm/src/vm.rs:276
↓ 1 callers
Method
checkCast
(C1 c)
vm/tests/resources/rjvm/CheckCast.java:12
↓ 1 callers
Method
checkCasted
(C2 c)
vm/tests/resources/rjvm/CheckCast.java:16
↓ 1 callers
Function
check_fields
(class: &ClassFile)
reader/tests/integration/pojo_class_test.rs:42
↓ 1 callers
Method
check_magic_number
(&mut self)
reader/src/class_reader.rs:56
↓ 1 callers
Function
check_methods
(class: &ClassFile)
reader/tests/integration/exceptions.rs:21
↓ 1 callers
Function
check_methods
(class: &ClassFile)
reader/tests/integration/pojo_class_test.rs:64
↓ 1 callers
Method
clone_array
(&mut self, value: Value<'a>)
vm/src/vm.rs:264
↓ 1 callers
Method
cmp
(&self, other: &Self)
reader/src/line_number_table.rs:50
↓ 1 callers
Method
controlFlowArrays
(Object[] a, Object[] b, Object[] c)
vm/tests/resources/rjvm/ControlFlow.java:50
↓ 1 callers
Method
controlFlowInts
()
vm/tests/resources/rjvm/ControlFlow.java:14
↓ 1 callers
Method
controlFlowLongFloatDouble
(long l, float f, double d)
vm/tests/resources/rjvm/ControlFlow.java:38
↓ 1 callers
Method
controlFlowObjects
(Object a, Object b, Object c)
vm/tests/resources/rjvm/ControlFlow.java:26
↓ 1 callers
Method
copyArrays
()
vm/tests/resources/rjvm/NumericArrays.java:57
↓ 1 callers
Method
debug_print_status
(&self, instruction: &Instruction)
vm/src/call_frame.rs:1761
↓ 1 callers
Method
debug_start_execution
(&self)
vm/src/call_frame.rs:1754
↓ 1 callers
Method
debug_stats
(&self)
vm/src/vm.rs:293
↓ 1 callers
Method
derivedClassValue
()
vm/tests/resources/rjvm/SuperClasses.java:23
↓ 1 callers
Method
do_garbage_collection
Runs the garbage collection! Will update the roots with the new addresses of the objects.
vm/src/gc.rs:131
↓ 1 callers
Method
doubleMath
(int i, double d)
vm/tests/resources/rjvm/NumericTypes.java:31
↓ 1 callers
Function
double_to_raw_long_bits
(args: &[Value<'a>])
vm/src/native_methods_impl.rs:224
↓ 1 callers
Method
execute
Executes the whole method
vm/src/call_frame.rs:298
↓ 1 callers
Method
execute_aastore
(&mut self, vm: &Vm)
vm/src/call_frame.rs:1486
↓ 1 callers
Method
execute_anewarray
( &mut self, vm: &mut Vm<'a>, call_stack: &mut CallStack<'a>, constant_index:
vm/src/call_frame.rs:1407
↓ 1 callers
Method
execute_areturn
(&mut self)
vm/src/call_frame.rs:1137
↓ 1 callers
Method
execute_array_length
(&mut self)
vm/src/call_frame.rs:1422
↓ 1 callers
Method
execute_athrow
(&mut self)
vm/src/call_frame.rs:1707
↓ 1 callers
Method
execute_checkcast
( &mut self, vm: &mut Vm<'a>, call_stack: &mut CallStack<'a>, constant_index:
vm/src/call_frame.rs:1520
↓ 1 callers
Method
execute_getfield
( &mut self, vm: &mut Vm<'a>, field_index: u16, )
vm/src/call_frame.rs:1589
↓ 1 callers
Method
execute_getstatic
( &mut self, vm: &mut Vm<'a>, call_stack: &mut CallStack<'a>, field_index: u16
vm/src/call_frame.rs:1633
↓ 1 callers
Method
execute_instanceof
( &mut self, vm: &mut Vm<'a>, call_stack: &mut CallStack<'a>, constant_index:
vm/src/call_frame.rs:1509
↓ 1 callers
Method
execute_instruction
Reference: https://docs.oracle.com/javase/specs/jvms/se7/html/jvms-6.html
vm/src/call_frame.rs:349
↓ 1 callers
Method
execute_ldc_long_double
(&mut self, index: u16)
vm/src/call_frame.rs:1375
↓ 1 callers
Method
execute_monitorenter
(&mut self)
vm/src/call_frame.rs:1679
↓ 1 callers
Method
execute_monitorexit
(&mut self)
vm/src/call_frame.rs:1693
↓ 1 callers
Method
execute_newarray
( &mut self, vm: &mut Vm<'a>, array_type: NewArrayType, )
vm/src/call_frame.rs:1386
↓ 1 callers
Method
execute_putfield
( &mut self, vm: &mut Vm<'a>, field_index: u16, )
vm/src/call_frame.rs:1611
↓ 1 callers
Method
execute_putstatic
( &mut self, vm: &mut Vm<'a>, call_stack: &mut CallStack<'a>, field_index: u16
vm/src/call_frame.rs:1656
↓ 1 callers
Function
expect_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 callers
Function
expect_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 callers
Method
extract_code
( &self, raw_attributes: &[Attribute], name: &str, )
reader/src/class_reader.rs:365
↓ 1 callers
Method
extract_constant_value
( &self, raw_attributes: &[Attribute], )
reader/src/class_reader.rs:277
↓ 1 callers
Method
extract_line_number_table
( &self, raw_attributes: &[Attribute], )
reader/src/class_reader.rs:424
↓ 1 callers
Method
extract_thrown_exceptions
(&self, raw_attributes: &[Attribute])
reader/src/class_reader.rs:448
↓ 1 callers
Method
field_at_index
(&self, index: usize)
vm/src/class.rs:94
↓ 1 callers
Function
fill_in_stack_trace
( vm: &mut Vm<'a>, call_stack: &mut CallStack<'a>, receiver: Option<AbstractObject<'a>>, )
vm/src/native_methods_impl.rs:248
↓ 1 callers
Method
find_class_by_name
(&self, class_name: &str)
vm/src/vm.rs:138
↓ 1 callers
Method
find_class_by_name
(&self, class_name: &str)
vm/src/class_manager.rs:90
↓ 1 callers
Method
find_exception_handler
( &self, vm: &mut Vm<'a>, call_stack: &mut CallStack<'a>, executed_instruction
vm/src/call_frame.rs:1719
↓ 1 callers
Method
find_field
(&self, field_name: &str)
vm/src/class.rs:78
↓ 1 callers
Method
fix_gc_root
Updates a gc root so that it points to the new object
vm/src/gc.rs:394
↓ 1 callers
Method
fix_references_in_array
Fixes all the references for each element in the given array
vm/src/gc.rs:340
↓ 1 callers
Method
fix_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 callers
Method
fix_references_in_object
Fixes all the references for each field in the given object
vm/src/gc.rs:307
↓ 1 callers
Method
floatAndIntMath
(int i, float f)
vm/tests/resources/rjvm/NumericTypes.java:17
↓ 1 callers
Function
float_to_raw_int_bits
(args: &[Value<'a>])
vm/src/native_methods_impl.rs:218
↓ 1 callers
Method
fmt_entry
(&self, idx: u16)
reader/src/constant_pool.rs:87
↓ 1 callers
Method
foo
()
reader/tests/resources/rjvm/ExceptionsHandlers.java:4
↓ 1 callers
Method
gc_roots
(&mut self)
vm/src/call_stack.rs:126
↓ 1 callers
Method
get
( &self, class_name: &str, method_name: &str, type_descriptor: &str, )
vm/src/native_methods_registry.rs:63
↓ 1 callers
Function
get_class_loader
(receiver: Option<AbstractObject>)
vm/src/native_methods_impl.rs:230
↓ 1 callers
Method
get_constant_method_reference
( &self, constant_index: u16, )
vm/src/call_frame.rs:879
↓ 1 callers
Function
get_current_time_millis
Returns the current epoch as milliseconds
vm/src/time.rs:16
↓ 1 callers
Method
get_line_number
(&self)
vm/src/call_frame.rs:288
↓ 1 callers
Method
get_local_int
(&self, vm: &Vm, index: usize)
vm/src/call_frame.rs:1148
↓ 1 callers
Method
get_local_int_as_int
(&self, vm: &Vm, index: usize)
vm/src/call_frame.rs:1154
↓ 1 callers
Method
get_method
(&self, class_and_method: &ClassAndMethod)
vm/src/native_methods_registry.rs:55
↓ 1 callers
Method
get_method_receiver_and_params
( &self, class_and_method: &ClassAndMethod<'a>, )
vm/src/call_frame.rs:1042
↓ 1 callers
Method
get_method_to_invoke_statically
( &self, vm: &mut Vm<'a>, call_stack: &mut CallStack<'a>, method_reference: Me
vm/src/call_frame.rs:941
↓ 1 callers
Function
get_nano_time
Returns the current epoch as nano seconds
vm/src/time.rs:11
← previous
next →
101–200 of 538, ranked by callers