Home
last modified time | relevance | path

Searched refs:get_memory (Results 1 – 25 of 43) sorted by relevance

12

/wasmtime-44.0.1/crates/c-api/src/
H A Dconfig.rs329 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 Dasync.rs373 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 Dlimits.rs32 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 Dpooling_allocator.rs87 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 Dmemory.rs212 .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 Dinstance.rs28 let memory = instance.get_memory(&mut store, "memory").unwrap(); in initializes_linear_memory()
H A Dmemory_creator.rs174 .get_memory(&mut store, "memory") in host_memory_grow()
/wasmtime-44.0.1/examples/
H A Dmultimemory.rs25 .get_memory(&mut store, "memory0") in main()
32 .get_memory(&mut store, "memory1") in main()
H A Dmemory.rs20 .get_memory(&mut store, "memory") in main()
/wasmtime-44.0.1/crates/fuzzing/src/oracles/
H A Dengine.rs95 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 Ddiff_wasmtime.rs190 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 Ddebug_builtins.rs28 let mem = handle.get_memory(index); in resolve_vmctx_memory_ptr()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/
H A Dmemory.rs1092 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 Drlimited-memory.rs82 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 Ddebugger_component.rs112 if let Ok(mem) = inst.get_memory(d, 0) { in test_loop()
/wasmtime-44.0.1/crates/wiggle/tests/
H A Dwasmtime_integration.rs103 let mem = shim_inst.get_memory(&mut store, "memory").unwrap(); in test_async_host_func()
H A Dwasmtime_async.rs100 let mem = shim_inst.get_memory(&mut store, "memory").unwrap(); in test_async_host_func()
H A Dwasmtime_sync.rs109 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 Dconfig.hh574 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 Dconfig.h519 wasmtime_memory_get_callback_t get_memory; member
/wasmtime-44.0.1/crates/wizer/benches/
H A Dregex.rs14 let memory = instance.get_memory(&mut store, "memory").unwrap(); in run_iter()
H A Duap.rs23 let memory = instance.get_memory(&mut store, "memory").unwrap(); in run_iter()
/wasmtime-44.0.1/crates/wizer/src/
H A Dwasmtime.rs111 let memory = self.instance.get_memory(&mut *self.store, name).unwrap(); in memory_contents()
/wasmtime-44.0.1/crates/wasmtime/tests/
H A Dengine_across_forks.rs72 let memory = instance.get_memory(&mut store, "").unwrap(); in pooling_allocator_reset()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/instance/
H A Dallocator.rs619 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()

12