| /wasmtime-44.0.1/crates/c-api/src/ |
| H A D | config.rs | 329 get_memory: wasmtime_memory_get_callback_t, field 346 get_memory: wasmtime_memory_get_callback_t, field 354 let cb = self.get_memory; in byte_size() 361 let cb = self.get_memory; in byte_capacity() 368 let cb = self.get_memory; in as_ptr() 420 get_memory: panic_get_callback, in new_memory() 442 get_memory: memory.get_memory, in new_memory()
|
| H A D | async.rs | 373 get_memory: wasmtime_stack_memory_get_callback_t, field 380 let cb = self.get_memory; in top() 385 let cb = self.get_memory; in range() 434 get_memory: out.get_stack_memory, in new_stack()
|
| /wasmtime-44.0.1/tests/all/ |
| H A D | limits.rs | 32 instance.get_memory(&mut store, "m").unwrap(), in test_limits() 140 instance.get_memory(&mut store, "m").unwrap(), in test_limits_async() 204 instance.get_memory(&mut store, "m").unwrap(), in test_limits_memory_only() 285 instance.get_memory(&mut store, "m").unwrap(), in test_limits_table_only() 469 let memory = instance.get_memory(&mut store, "m").unwrap(); in test_custom_memory_limiter() 583 let memory = instance.get_memory(&mut store, "m").unwrap(); in test_custom_memory_limiter_async() 767 let memory = instance.get_memory(&mut store, "m").unwrap(); in custom_limiter_detect_grow_failure() 878 let memory = instance.get_memory(&mut store, "m").unwrap(); in custom_limiter_async_detect_grow_failure() 987 let memory = instance.get_memory(&mut store, "m").unwrap(); in panic_in_memory_limiter() 1052 let memory = instance.get_memory(&mut store, "m").unwrap(); in panic_in_async_memory_limiter() [all …]
|
| H A D | pooling_allocator.rs | 87 let memory = instance.get_memory(&mut store, "m").unwrap(); in memory_limit() 122 let memory = instance.get_memory(&mut store, "m").unwrap(); in memory_init() 157 let m = instance.get_memory(&mut store, "m").unwrap(); in memory_guard_page_trap() 218 let memory = instance.get_memory(&mut store, "m").unwrap(); in memory_zeroed() 480 let mem = i.get_memory(&mut store, "mem").unwrap(); in preserve_data_segments() 510 let m2 = instance.get_memory(&mut store, "m2").unwrap(); in multi_memory_with_imported_memories() 622 let memory = instance.get_memory(&mut store, "memory").unwrap(); in switch_image_and_non_image() 724 let memory = instance.get_memory(&mut store, "memory").unwrap(); in dynamic_memory_pooling_allocator() 759 let memory = instance.get_memory(&mut store, "memory").unwrap(); in dynamic_memory_pooling_allocator() 1439 let memory = instance.get_memory(&mut store, "m").unwrap(); in pooling_reuse_resets() [all …]
|
| H A D | memory.rs | 212 .get_memory(&mut store, "") in guards_present_pooling() 218 .get_memory(&mut store, "") in guards_present_pooling() 277 .get_memory(&mut store, "") in guards_present_pooling_mpk() 283 .get_memory(&mut store, "") in guards_present_pooling_mpk() 488 let mem = instance.get_memory(&mut store, "mem").unwrap(); in dynamic_extra_growth_unchanged_pointer() 500 let mem = instance.get_memory(&mut store, "mem").unwrap(); in dynamic_extra_growth_unchanged_pointer() 754 let memory = instance.get_memory(&mut store, "memory").unwrap(); in get_memory_type_with_custom_page_size_from_wasm()
|
| H A D | instance.rs | 28 let memory = instance.get_memory(&mut store, "memory").unwrap(); in initializes_linear_memory()
|
| H A D | memory_creator.rs | 174 .get_memory(&mut store, "memory") in host_memory_grow()
|
| /wasmtime-44.0.1/examples/ |
| H A D | multimemory.rs | 25 .get_memory(&mut store, "memory0") in main() 32 .get_memory(&mut store, "memory1") in main()
|
| H A D | memory.rs | 20 .get_memory(&mut store, "memory") in main()
|
| /wasmtime-44.0.1/crates/fuzzing/src/oracles/ |
| H A D | engine.rs | 95 fn get_memory(&mut self, name: &str, shared: bool) -> Option<Vec<u8>>; in get_memory() method 225 if let Some(val) = instance.get_memory("memory", false) { in smoke_test_engine()
|
| H A D | diff_wasmtime.rs | 190 fn get_memory(&mut self, name: &str, shared: bool) -> Option<Vec<u8>> { in get_memory() method 199 .get_memory(&mut self.store, name) in get_memory()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/ |
| H A D | debug_builtins.rs | 28 let mem = handle.get_memory(index); in resolve_vmctx_memory_ptr()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/ |
| H A D | memory.rs | 1092 let m1 = instance.get_memory(&mut store, "m").unwrap(); in hash_key_is_stable_across_duplicate_store_data_entries() 1093 let m2 = instance.get_memory(&mut store, "m").unwrap(); in hash_key_is_stable_across_duplicate_store_data_entries() 1107 let m3 = instance2.get_memory(&mut store, "m").unwrap(); in hash_key_is_stable_across_duplicate_store_data_entries()
|
| /wasmtime-44.0.1/tests/ |
| H A D | rlimited-memory.rs | 82 let memory = instance.get_memory(&mut store, "m").unwrap(); in custom_limiter_detect_os_oom_failure()
|
| /wasmtime-44.0.1/crates/test-programs/src/bin/ |
| H A D | debugger_component.rs | 112 if let Ok(mem) = inst.get_memory(d, 0) { in test_loop()
|
| /wasmtime-44.0.1/crates/wiggle/tests/ |
| H A D | wasmtime_integration.rs | 103 let mem = shim_inst.get_memory(&mut store, "memory").unwrap(); in test_async_host_func()
|
| H A D | wasmtime_async.rs | 100 let mem = shim_inst.get_memory(&mut store, "memory").unwrap(); in test_async_host_func()
|
| H A D | wasmtime_sync.rs | 109 let mem = shim_inst.get_memory(&mut store, "memory").unwrap(); in test_async_host_func()
|
| /wasmtime-44.0.1/crates/c-api/include/wasmtime/ |
| H A D | config.hh | 574 return memory->get_memory(byte_size, byte_capacity); in raw_get_memory() 603 memory_ret->get_memory = raw_get_memory<Memory>; in raw_new_memory()
|
| H A D | config.h | 519 wasmtime_memory_get_callback_t get_memory; member
|
| /wasmtime-44.0.1/crates/wizer/benches/ |
| H A D | regex.rs | 14 let memory = instance.get_memory(&mut store, "memory").unwrap(); in run_iter()
|
| H A D | uap.rs | 23 let memory = instance.get_memory(&mut store, "memory").unwrap(); in run_iter()
|
| /wasmtime-44.0.1/crates/wizer/src/ |
| H A D | wasmtime.rs | 111 let memory = self.instance.get_memory(&mut *self.store, name).unwrap(); in memory_contents()
|
| /wasmtime-44.0.1/crates/wasmtime/tests/ |
| H A D | engine_across_forks.rs | 72 let memory = instance.get_memory(&mut store, "").unwrap(); in pooling_allocator_reset()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/instance/ |
| H A D | allocator.rs | 619 let memory = store.instance_mut(instance).get_memory(init.memory_index); in check_memory_init_bounds() 668 .get_memory(memory) in initialize_memories() 705 let memory = instance.get_memory(memory_index); in initialize_memories()
|