| /wasmtime-44.0.1/crates/wasmtime/src/runtime/store/ |
| H A D | gc.rs | 23 asyncness: Asyncness, in gc() 31 .grow_or_collect_gc_heap(limiter, bytes_needed, asyncness) in gc() 57 asyncness: Asyncness, in grow_or_collect_gc_heap() 69 self.do_gc(asyncness).await; in grow_or_collect_gc_heap() 179 asyncness: Asyncness, in retry_after_gc_async() 191 self.gc(limiter, None, Some(oom.bytes_needed()), asyncness) in retry_after_gc_async()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/ |
| H A D | instance.rs | 246 asyncness: Asyncness, in new_started() 291 asyncness: Asyncness, in new_raw() 362 asyncness, in new_raw() 818 asyncness: Asyncness, field 831 asyncness: self.asyncness, in clone() 865 asyncness = asyncness | f.asyncness(); in new() 875 asyncness, in new() 909 self.asyncness, in instantiate() 948 self.asyncness, in instantiate_async() 972 asyncness: Asyncness, in pre_instantiate_raw() [all …]
|
| H A D | store.rs | 2077 async fn do_gc(&mut self, asyncness: Asyncness) { in do_gc() 2089 self.trace_roots(&mut roots, asyncness).await; in do_gc() 2091 .gc(asyncness, unsafe { roots.iter() }) in do_gc() 2102 async fn trace_roots(&mut self, gc_roots_list: &mut GcRootsList, asyncness: Asyncness) { in trace_roots() 2109 if asyncness != Asyncness::No { in trace_roots() 2115 if asyncness != Asyncness::No { in trace_roots() 2120 if asyncness != Asyncness::No { in trace_roots() 2752 pub(crate) fn set_async_required(&mut self, asyncness: Asyncness) { in set_async_required() 2753 match asyncness { in set_async_required()
|
| H A D | func.rs | 2201 asyncness: Asyncness, field 2234 asyncness: Asyncness, in new_raw() 2239 asyncness, in new_raw() 2728 store.set_async_required(self.asyncness); in into_func() 2756 pub(crate) fn asyncness(&self) -> Asyncness { in asyncness() method 2757 self.asyncness in asyncness()
|
| H A D | fiber.rs | 384 pub(crate) fn set_async_required(&mut self, asyncness: Asyncness) { in set_async_required() 385 match asyncness { in set_async_required()
|
| /wasmtime-44.0.1/crates/wiggle/generate/src/ |
| H A D | wasmtime.rs | 25 let asyncness = settings.async_.get(module.name.as_str(), f.name.as_str()); in link_module() localVariable 26 bodies.push(generate_func(&module, &f, target_path, asyncness)); in link_module() 74 asyncness: Asyncness, in generate_func() 105 let await_ = if asyncness.is_sync() { in generate_func() 137 match asyncness { in generate_func()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/component/ |
| H A D | instance.rs | 752 asyncness: Asyncness, in run() 1092 asyncness: Asyncness, field 1103 asyncness: self.asyncness, in clone() 1121 let mut asyncness = Asyncness::No; in new_unchecked() localVariable 1123 asyncness = asyncness in new_unchecked() 1125 RuntimeImport::Func(f) => f.asyncness(), in new_unchecked() 1134 asyncness, in new_unchecked() 1169 store.0.set_async_required(self.asyncness); in instantiate() 1187 asyncness: Asyncness, in _instantiate() 1190 store.0.set_async_required(self.asyncness); in _instantiate() [all …]
|
| /wasmtime-44.0.1/crates/test-macros/src/ |
| H A D | wasmtime_test.rs | 215 let test_attr = if func.sig.asyncness.is_some() { in expand() 223 let (asyncness, await_) = if func.sig.asyncness.is_some() { in expand() 256 #asyncness fn #test_name() { in expand()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/ |
| H A D | const_expr.rs | 36 pub(crate) asyncness: Asyncness, field 41 pub fn new(instance: InstanceId, asyncness: Asyncness) -> Self { in new() 44 asyncness, in new() 83 StructRef::_new_async(store, limiter, &allocator, &fields, self.asyncness).await?; in struct_new() 349 context.asyncness, in eval_loop() 374 context.asyncness, in eval_loop() 411 context.asyncness, in eval_loop()
|
| H A D | libcalls.rs | 526 block_on!(store, async |store, asyncness| { in table_init() 530 asyncness, in table_init() 660 block_on!(store, async |store, asyncness| { in grow_gc_heap() 728 block_on!(store, async |store, asyncness| { in gc_alloc_raw() 822 block_on!(store, async |store, asyncness| { in array_new_data() 997 block_on!(store, async |store, asyncness| { in array_new_elem() 1067 block_on!(store, async |store, asyncness| { in array_init_elem() 1306 block_on!(store, async move |store, asyncness| { in new_epoch() 1308 let _ = asyncness; in new_epoch() 1319 if asyncness != Asyncness::Yes { in new_epoch() [all …]
|
| H A D | gc.rs | 102 pub async fn gc(&mut self, asyncness: Asyncness, roots: GcRootsIter<'_>) { in gc() 104 collect_async(collection, asyncness).await; in gc()
|
| H A D | instance.rs | 949 asyncness: Asyncness, in table_init() 965 asyncness, in table_init() 980 asyncness: Asyncness, in table_init_segment() 1031 let mut context = ConstEvalContext::new(elements_instance_id, asyncness); in table_init_segment()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/component/func/ |
| H A D | host.rs | 55 asyncness: Asyncness, field 79 fn new<T, F, P, R>(asyncness: Asyncness, func: F) -> Arc<HostFunc> in new() 89 asyncness, in new() 255 pub fn asyncness(&self) -> Asyncness { in asyncness() method 256 self.asyncness in asyncness()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/gc/enabled/ |
| H A D | arrayref.rs | 373 asyncness: Asyncness, in _new_async() 376 .retry_after_gc_async(limiter, (), asyncness, |store, ()| { in _new_async() 534 asyncness: Asyncness, in _new_fixed_async() 537 .retry_after_gc_async(limiter, (), asyncness, |store, ()| { in _new_fixed_async()
|
| H A D | externref.rs | 320 asyncness: Asyncness, in _new_async() 330 .retry_after_gc_async(limiter, value, asyncness, |store, value| { in _new_async()
|
| H A D | exnref.rs | 274 asyncness: Asyncness, in _new_async() 278 .retry_after_gc_async(limiter, (), asyncness, |store, ()| { in _new_async()
|
| H A D | structref.rs | 288 asyncness: Asyncness, in _new_async() 292 .retry_after_gc_async(limiter, (), asyncness, |store, ()| { in _new_async()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/gc/ |
| H A D | gc_runtime.rs | 751 asyncness: Asyncness, in collect_async() 756 if asyncness != Asyncness::No { in collect_async()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/instance/ |
| H A D | allocator.rs | 571 context.asyncness, in initialize_tables() 820 asyncness: Asyncness, in initialize_instance() 822 let mut context = ConstEvalContext::new(instance, asyncness); in initialize_instance()
|