| /wasmtime-44.0.1/tests/all/ |
| H A D | threads.rs | 13 config.shared_memory(true); in engine() 31 config.shared_memory(false); in shared_memory_failed_creation() 82 assert_eq!(shared_memory.size(), 1); in test_export_shared_memory() 83 assert!(shared_memory.ty().is_shared()); in test_export_shared_memory() 104 let data = shared_memory.data(); in test_sharing_of_shared_memory() 150 assert_eq!(shared_memory.size(), 1); in test_probe_shared_memory_size() 152 shared_memory.grow(1)?; in test_probe_shared_memory_size() 154 assert_eq!(shared_memory.size(), 2); in test_probe_shared_memory_size() 184 assert_eq!(shared_memory.size(), 1); in test_multi_memory() 221 let shared_memory = shared_memory.clone(); in test_grow_memory_in_multiple_threads() localVariable [all …]
|
| H A D | wait_notify.rs | 26 let shared_memory = SharedMemory::new(&engine, MemoryType::shared(1, 1))?; in atomic_wait_timeout_length() localVariable 27 let instance = Instance::new(&mut store, &module, &[shared_memory.clone().into()])?; in atomic_wait_timeout_length() 70 let shared_memory = SharedMemory::new(&engine, MemoryType::shared(1, 1))?; in atomic_wait_notify_basic() localVariable 71 let instance1 = Instance::new(&mut store, &module, &[shared_memory.clone().into()])?; in atomic_wait_notify_basic() 76 let shared_memory = shared_memory.clone(); in atomic_wait_notify_basic() localVariable 79 let instance2 = Instance::new(&mut store, &module, &[shared_memory.into()]).unwrap(); in atomic_wait_notify_basic() 100 let data = shared_memory.data(); in atomic_wait_notify_basic()
|
| H A D | coredump.rs | 271 config.shared_memory(true); in core_dump_with_shared_memory()
|
| H A D | memory.rs | 570 config.shared_memory(true); in shared_memory_basics() 645 config.shared_memory(true); in shared_memory_wait_notify()
|
| H A D | debug.rs | 498 config.shared_memory(true); in private_entity_access_shared_memory()
|
| /wasmtime-44.0.1/crates/fuzzing/src/generators/ |
| H A D | module.rs | 28 pub shared_memory: bool, field 87 shared_memory: false, in arbitrary()
|
| H A D | config.rs | 320 cfg.wasm.shared_memory = Some(self.module_config.shared_memory); in to_wasmtime()
|
| /wasmtime-44.0.1/crates/fuzzing/tests/oom/ |
| H A D | main.rs | 26 mod shared_memory; module
|
| H A D | shared_memory.rs | 9 config.shared_memory(true); in shared_memory_engine()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/trampoline/ |
| H A D | memory.rs | 188 Some(shared_memory) => crate::runtime::box_future(async move { in allocate_memory() 191 shared_memory.clone().as_memory(), in allocate_memory()
|
| /wasmtime-44.0.1/src/commands/ |
| H A D | wast.rs | 49 config.shared_memory(true); in execute()
|
| /wasmtime-44.0.1/crates/c-api/include/wasmtime/ |
| H A D | config.h | 160 WASMTIME_CONFIG_PROP(void, shared_memory, bool)
|
| H A D | config.hh | 295 void shared_memory(bool enable) { in shared_memory() function in wasmtime::Config
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/memory/ |
| H A D | shared_memory.rs | 51 if !engine.config().shared_memory { in wrap()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/ |
| H A D | memory.rs | 105 mod shared_memory; module 107 pub use shared_memory::SharedMemory;
|
| /wasmtime-44.0.1/tests/ |
| H A D | wast.rs | 157 cfg.shared_memory(true); in run_wast()
|
| /wasmtime-44.0.1/crates/wasmtime/src/ |
| H A D | config.rs | 194 pub(crate) shared_memory: bool, field 304 shared_memory: false, in new() 3002 pub fn shared_memory(&mut self, enable: bool) -> &mut Self { in shared_memory() method 3003 self.shared_memory = enable; in shared_memory()
|
| /wasmtime-44.0.1/crates/cli-flags/src/ |
| H A D | lib.rs | 386 pub shared_memory: Option<bool>, 1084 if let Some(enable) = self.wasm.shared_memory { in config() 1085 config.shared_memory(enable); in config()
|
| /wasmtime-44.0.1/docs/ |
| H A D | contributing-conditional-compilation.md | 228 example of this is [`shared_memory.rs`][dummy-enabled] and 276 …thub.com/bytecodealliance/wasmtime/blob/main/crates/wasmtime/src/runtime/vm/memory/shared_memory.rs
|
| /wasmtime-44.0.1/crates/c-api/src/ |
| H A D | config.rs | 84 c.config.shared_memory(enable); in wasmtime_config_shared_memory_set()
|
| /wasmtime-44.0.1/crates/fuzzing/src/ |
| H A D | oracles.rs | 708 fuzz_config.module_config.shared_memory = true; in wast_test()
|