Lines Matching refs:usize

50     usize,
106 usize::from(offsets.size_of_vmfunction_import()) in check_vmfunction_import_offsets()
110 usize::from(offsets.vmfunction_import_wasm_call()) in check_vmfunction_import_offsets()
114 usize::from(offsets.vmfunction_import_array_call()) in check_vmfunction_import_offsets()
118 usize::from(offsets.vmfunction_import_vmctx()) in check_vmfunction_import_offsets()
176 usize::from(offsets.size_of_vmtable_import()) in check_vmtable_offsets()
180 usize::from(offsets.vmtable_import_from()) in check_vmtable_offsets()
184 usize::from(offsets.vmtable_import_vmctx()) in check_vmtable_offsets()
188 usize::from(offsets.vmtable_import_index()) in check_vmtable_offsets()
239 usize::from(offsets.size_of_vmmemory_import()) in check_vmmemory_import_offsets()
243 usize::from(offsets.vmmemory_import_from()) in check_vmmemory_import_offsets()
247 usize::from(offsets.vmmemory_import_vmctx()) in check_vmmemory_import_offsets()
251 usize::from(offsets.vmmemory_import_index()) in check_vmmemory_import_offsets()
315 usize::from(offsets.size_of_vmglobal_import()) in check_vmglobal_import_offsets()
319 usize::from(offsets.vmglobal_import_from()) in check_vmglobal_import_offsets()
354 usize::from(offsets.size_of_vmtag_import()) in check_vmtag_import_offsets()
358 usize::from(offsets.vmtag_import_from()) in check_vmtag_import_offsets()
362 usize::from(offsets.vmtag_import_vmctx()) in check_vmtag_import_offsets()
366 usize::from(offsets.vmtag_import_index()) in check_vmtag_import_offsets()
402 pub fn current_length(&self) -> usize { in current_length() argument
431 usize::from(offsets.ptr.size_of_vmmemory_definition()) in check_vmmemory_definition_offsets()
435 usize::from(offsets.ptr.vmmemory_definition_base()) in check_vmmemory_definition_offsets()
439 usize::from(offsets.ptr.vmmemory_definition_current_length()) in check_vmmemory_definition_offsets()
459 pub current_elements: usize,
478 usize::from(offsets.size_of_vmtable_definition()) in check_vmtable_definition_offsets()
482 usize::from(offsets.vmtable_definition_base()) in check_vmtable_definition_offsets()
486 usize::from(offsets.vmtable_definition_current_elements()) in check_vmtable_definition_offsets()
528 usize::from(offsets.ptr.size_of_vmglobal_definition()) in check_vmglobal_definition_offsets()
790 usize::from(offsets.size_of_vmshared_type_index()) in check_vmshared_type_index()
826 usize::from(offsets.ptr.size_of_vmtag_definition()) in check_vmtag_definition_offsets()
986 usize::from(offsets.ptr.size_of_vm_func_ref()) in check_vm_func_ref_offsets()
990 usize::from(offsets.ptr.vm_func_ref_array_call()) in check_vm_func_ref_offsets()
994 usize::from(offsets.ptr.vm_func_ref_wasm_call()) in check_vm_func_ref_offsets()
998 usize::from(offsets.ptr.vm_func_ref_type_index()) in check_vm_func_ref_offsets()
1002 usize::from(offsets.ptr.vm_func_ref_vmctx()) in check_vm_func_ref_offsets()
1061 (@ty size) => (usize);
1073 == mem::size_of::<usize>() * (BuiltinFunctionIndex::len() as usize)
1143 pub stack_limit: UnsafeCell<usize>,
1164 pub last_wasm_exit_trampoline_fp: UnsafeCell<usize>,
1175 pub last_wasm_exit_pc: UnsafeCell<usize>,
1195 pub last_wasm_entry_sp: UnsafeCell<usize>,
1198 pub last_wasm_entry_fp: UnsafeCell<usize>,
1205 pub last_wasm_entry_trap_handler: UnsafeCell<usize>,
1243 pub(crate) unsafe fn last_wasm_exit_fp(&self) -> usize { in last_wasm_exit_fp() argument
1269 pub(crate) unsafe fn wasm_exit_fp_from_trampoline_fp(trampoline_fp: usize) -> usize { in wasm_exit_fp_from_trampoline_fp() argument
1274 unsafe { *(trampoline_fp as *const usize) } in wasm_exit_fp_from_trampoline_fp() constant
1297 stack_limit: UnsafeCell::new(usize::max_value()), in default()
1326 usize::from(offsets.ptr.vmstore_context_stack_limit()) in field_offsets()
1330 usize::from(offsets.ptr.vmstore_context_fuel_consumed()) in field_offsets()
1334 usize::from(offsets.ptr.vmstore_context_epoch_deadline()) in field_offsets()
1338 usize::from(offsets.ptr.vmstore_context_execution_version()) in field_offsets()
1342 usize::from(offsets.ptr.vmstore_context_gc_heap()) in field_offsets()
1346 usize::from(offsets.ptr.vmstore_context_gc_heap_base()) in field_offsets()
1350 usize::from(offsets.ptr.vmstore_context_gc_heap_current_length()) in field_offsets()
1354 usize::from(offsets.ptr.vmstore_context_last_wasm_exit_trampoline_fp()) in field_offsets()
1358 usize::from(offsets.ptr.vmstore_context_last_wasm_exit_pc()) in field_offsets()
1362 usize::from(offsets.ptr.vmstore_context_last_wasm_entry_fp()) in field_offsets()
1366 usize::from(offsets.ptr.vmstore_context_last_wasm_entry_sp()) in field_offsets()
1370 usize::from(offsets.ptr.vmstore_context_last_wasm_entry_trap_handler()) in field_offsets()
1374 usize::from(offsets.ptr.vmstore_context_stack_chain()) in field_offsets()
1378 usize::from(offsets.ptr.vmstore_context_store_data()) in field_offsets()
1714 let addr = unsafe { usize::from_le(self.funcref.addr()) }; in get_funcref()