Home
last modified time | relevance | path

Searched refs:asyncness (Results 1 – 19 of 19) sorted by relevance

/wasmtime-44.0.1/crates/wasmtime/src/runtime/store/
H A Dgc.rs23 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 Dinstance.rs246 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 Dstore.rs2077 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 Dfunc.rs2201 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 Dfiber.rs384 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 Dwasmtime.rs25 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 Dinstance.rs752 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 Dwasmtime_test.rs215 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 Dconst_expr.rs36 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 Dlibcalls.rs526 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 Dgc.rs102 pub async fn gc(&mut self, asyncness: Asyncness, roots: GcRootsIter<'_>) { in gc()
104 collect_async(collection, asyncness).await; in gc()
H A Dinstance.rs949 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 Dhost.rs55 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 Darrayref.rs373 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 Dexternref.rs320 asyncness: Asyncness, in _new_async()
330 .retry_after_gc_async(limiter, value, asyncness, |store, value| { in _new_async()
H A Dexnref.rs274 asyncness: Asyncness, in _new_async()
278 .retry_after_gc_async(limiter, (), asyncness, |store, ()| { in _new_async()
H A Dstructref.rs288 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 Dgc_runtime.rs751 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 Dallocator.rs571 context.asyncness, in initialize_tables()
820 asyncness: Asyncness, in initialize_instance()
822 let mut context = ConstEvalContext::new(instance, asyncness); in initialize_instance()