Home
last modified time | relevance | path

Searched refs:Scope (Results 1 – 6 of 6) sorted by relevance

/wasmtime-44.0.1/crates/fuzzing/src/generators/
H A Dcomponent_async.rs38 pub enum Scope { enum
59 impl Scope { implementation
66 const CALLERS: &[Scope; 3] = &[Scope::HostCaller, Scope::GuestCaller, Scope::GuestCallee];
70 Scope::HostCaller => Some(Scope::GuestCaller), in callee()
71 Scope::GuestCaller => Some(Scope::GuestCallee), in callee()
72 Scope::GuestCallee => Some(Scope::HostCallee), in callee()
80 Scope::GuestCaller => Some(Scope::HostCaller), in caller()
81 Scope::GuestCallee => Some(Scope::GuestCaller), in caller()
82 Scope::HostCallee => Some(Scope::GuestCallee), in caller()
88 Scope::HostCaller | Scope::HostCallee => true, in is_host()
[all …]
H A Dapi.rs43 struct Scope { struct
50 impl Scope { argument
75 let mut scope = Scope { in arbitrary()
91 let mut choices: Vec<fn(_, &mut Scope) -> arbitrary::Result<ApiCall>> = vec![]; in arbitrary()
/wasmtime-44.0.1/crates/fuzzing/src/oracles/
H A Dcomponent_async.rs7 use crate::generators::component_async::{ComponentAsync, FuzzAsyncPre, Scope};
109 wakers: HashMap<Scope, Waker>,
110 commands: Vec<(Scope, Command)>,
163 async fn init<T>(_store: &Accessor<T, Self>, _scope: types::Scope) {} in init() argument
191 scope: types::Scope, in get_commands() argument
234 let mut host_caller = SharedStream(Scope::HostCaller); in run()
235 let mut host_callee = SharedStream(Scope::HostCallee); in run()
1143 struct SharedStream(Scope);
1236 use super::{ComponentAsync, Scope, init, run};
1239 use Scope::*;
[all …]
/wasmtime-44.0.1/crates/test-programs/src/bin/
H A Dfuzz_async.rs143 use crate::wasmtime_fuzz::fuzz::types::{self, Command, Scope};
203 async fn init(scope: Scope) { in init() argument
204 IS_CALLER.store(scope == Scope::Caller, Ordering::Relaxed); in init()
206 i::init(Scope::Callee).await; in init()
/wasmtime-44.0.1/
H A DCODE_OF_CONDUCT.md33 ## Scope section in Contributor Covenant Code of Conduct
/wasmtime-44.0.1/crates/wast/src/
H A Dwast.rs628 scope: &'a thread::Scope<'a, '_>, in run_directive()