| /wasmtime-44.0.1/tests/all/ |
| H A D | component_model.rs | 30 Async, enumerator 42 ApiStyle::Sync | ApiStyle::Async | ApiStyle::Concurrent => { in config() 57 ApiStyle::Async | ApiStyle::AsyncNotConcurrent | ApiStyle::Concurrent => { in instantiate() 75 ApiStyle::Async | ApiStyle::AsyncNotConcurrent => { in call() 91 ApiStyle::Async | ApiStyle::AsyncNotConcurrent | ApiStyle::Concurrent => { in resource_drop()
|
| /wasmtime-44.0.1/src/commands/ |
| H A D | wast.rs | 54 wasmtime_wast::Async::Yes in execute() 56 wasmtime_wast::Async::No in execute()
|
| /wasmtime-44.0.1/crates/wiggle/generate/src/ |
| H A D | config.rs | 38 Async(AsyncConf), enumerator 62 Ok(ConfigField::Async(AsyncConf { in parse() 76 Ok(ConfigField::Async(AsyncConf { in parse() 120 ConfigField::Async(c) => { in build() 398 Async, enumerator 404 Self::Async => true, in is_async() 439 None => Asyncness::Async, in get()
|
| H A D | wasmtime.rs | 138 Asyncness::Async => { in generate_func()
|
| /wasmtime-44.0.1/crates/wast/src/ |
| H A D | lib.rs | 12 pub use crate::wast::{Async, WastContext};
|
| H A D | wast.rs | 96 pub enum Async { enum 111 async_: Async, in new() argument 134 async_runtime: if async_ == Async::Yes { in new()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/store/ |
| H A D | async_.rs | 65 inner.limiter = Some(ResourceLimiterInner::Async(Box::new(limiter))); in limiter_async() 88 self.inner.call_hook = Some(crate::store::CallHookInner::Async(Box::new(hook))); in call_hook_async()
|
| /wasmtime-44.0.1/tests/ |
| H A D | wast.rs | 8 use wasmtime_wast::{Async, SpectestConfig, WastContext}; 264 let mut wast_context = WastContext::new(&engine, Async::Yes, |_store| {}); in run_wast()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/ |
| H A D | store.rs | 314 Async(Box<dyn (FnMut(&mut T) -> &mut dyn crate::ResourceLimiterAsync) + Send + Sync>), enumerator 328 Async(&'a mut dyn crate::ResourceLimiterAsync), enumerator 341 Self::Async(s) => s.memory_growing(current, desired, maximum).await, in memory_growing() 349 Self::Async(s) => s.memory_grow_failed(error), in memory_grow_failed() 362 Self::Async(s) => s.table_growing(current, desired, maximum).await, in table_growing() 370 Self::Async(s) => s.table_grow_failed(error), in table_grow_failed() 379 Async(Box<dyn CallHookHandler<T> + Send + Sync>), enumerator 1547 CallHookInner::Async(handler) => { in invoke_call_hook() 2807 ResourceLimiterInner::Async(s) => StoreResourceLimiter::Async(s(data)), in resource_limiter_and_store_opaque()
|
| /wasmtime-44.0.1/tests/all/component_model/ |
| H A D | post_return.rs | 15 invoke_post_return(ApiStyle::Async, true).await in invoke_post_return_async()
|
| H A D | func.rs | 3416 thread_index_via_instantiation(ApiStyle::Async).await in thread_index_via_instantiation_async() 3450 thread_index_via_call(ApiStyle::Async).await in thread_index_via_call_async() 3491 thread_index_via_post_return(ApiStyle::Async).await in thread_index_via_post_return_async() 3540 thread_index_via_cabi_realloc(ApiStyle::Async).await in thread_index_via_cabi_realloc_async() 3595 thread_index_via_resource_drop(ApiStyle::Async).await in thread_index_via_resource_drop_async() 3663 thread_index_via_guest_call(ApiStyle::Async).await in thread_index_via_guest_call_async()
|
| /wasmtime-44.0.1/crates/test-util/src/ |
| H A D | component_fuzz.rs | 890 LowerAbi::Async => MAX_FLAT_ASYNC_PARAMS, in make_import_and_export() 897 LowerAbi::Async => { in make_import_and_export() 1018 if let LowerAbi::Async = lower_abi { in make_import_and_export() 1530 LowerAbi::Async => "async", in make_component() 1708 Async, enumerator 1850 LowerAbi::Async => quote!(Async), in to_tokens()
|
| /wasmtime-44.0.1/docs/ |
| H A D | examples-wasip2.md | 43 ### Async example
|
| H A D | SUMMARY.md | 25 - [Async Host Functions](./examples-async.md)
|
| H A D | examples-interrupting-wasm.md | 16 * **Async yield:** This pauses the current Wasm program, yields control back to
|
| /wasmtime-44.0.1/crates/fuzzing/src/ |
| H A D | oracles.rs | 760 wasmtime_wast::Async::No in wast_test() 762 wasmtime_wast::Async::Yes in wast_test()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/component/ |
| H A D | concurrent.rs | 552 Async { enumerator 2404 CallerInfo::Async { in prepare_call() 2413 CallerInfo::Async { in prepare_call() 2459 CallerInfo::Async { params, has_result } => { in prepare_call() 3957 PREPARE_ASYNC_NO_RESULT => CallerInfo::Async { in prepare_call() 3961 PREPARE_ASYNC_WITH_RESULT => CallerInfo::Async { in prepare_call()
|
| /wasmtime-44.0.1/crates/wasmtime/ |
| H A D | Cargo.toml | 413 # Enables support for the Component Model Async ABI, along with `future`,
|
| /wasmtime-44.0.1/crates/environ/src/component/ |
| H A D | translate.rs | 1590 wasmparser::CanonicalOption::Async => async_ = true, in canonical_options()
|