| /wasmtime-44.0.1/crates/wiggle/tests/ |
| H A D | errors.rs | 5 use wiggle_test::{HostMemory, WasiCtx, impl_errno}; 46 impl<'a> one_error_conversion::OneErrorConversion for WasiCtx<'a> { implementation 60 let mut ctx = WasiCtx::new(); in one_error_conversion_test() 98 use wiggle_test::{WasiCtx, impl_errno}; 135 impl<'a> types::UserErrorConversion for WasiCtx<'a> { implementation 148 impl<'a> two_error_conversions::TwoErrorConversions for WasiCtx<'a> { implementation
|
| H A D | atoms.rs | 3 use wiggle_test::{HostMemory, MemArea, WasiCtx, impl_errno}; 11 impl<'a> atoms::Atoms for WasiCtx<'a> { implementation 40 let mut ctx = WasiCtx::new(); in test() 75 let mut ctx = WasiCtx::new(); in test()
|
| H A D | ints.rs | 3 use wiggle_test::{HostMemory, MemArea, WasiCtx, impl_errno}; 11 impl<'a> ints::Ints for WasiCtx<'a> { implementation 49 let mut ctx = WasiCtx::new(); in test()
|
| H A D | atoms_async.rs | 6 use wiggle_test::{HostMemory, MemArea, WasiCtx, impl_errno}; 15 impl<'a> atoms::Atoms for WasiCtx<'a> { implementation 44 let mut ctx = WasiCtx::new(); in test() 80 let mut ctx = WasiCtx::new(); in test()
|
| H A D | handles.rs | 3 use wiggle_test::{HostMemory, MemArea, WasiCtx, impl_errno}; 13 impl<'a> handle_examples::HandleExamples for WasiCtx<'a> { implementation 38 let mut ctx = WasiCtx::new(); in test()
|
| H A D | keywords.rs | 24 use wiggle_test::WasiCtx; 34 impl<'a> self_::Self_ for WasiCtx<'a> { implementation
|
| H A D | flags.rs | 3 use wiggle_test::{HostMemory, MemArea, WasiCtx, impl_errno}; 11 impl<'a> flags::Flags for WasiCtx<'a> { implementation 65 let mut ctx = WasiCtx::new(); in test()
|
| H A D | records.rs | 3 use wiggle_test::{HostMemory, MemArea, MemAreas, WasiCtx, impl_errno}; 11 impl<'a> records::Records for WasiCtx<'a> { implementation 119 let mut ctx = WasiCtx::new(); in test() 206 let mut ctx = WasiCtx::new(); in test() 293 let mut ctx = WasiCtx::new(); in test() 354 let mut ctx = WasiCtx::new(); in test() 420 let mut ctx = WasiCtx::new(); in test() 516 let mut ctx = WasiCtx::new(); in test()
|
| /wasmtime-44.0.1/examples/wasip2/ |
| H A D | main.rs | 12 use wasmtime_wasi::{WasiCtx, WasiCtxView, WasiView}; 18 pub wasi_ctx: WasiCtx, 41 let wasi = WasiCtx::builder().inherit_stdio().inherit_args().build(); in main() 58 let wasi = WasiCtx::builder().inherit_stdio().inherit_args().build(); in main()
|
| /wasmtime-44.0.1/crates/wiggle/test-helpers/examples/ |
| H A D | tracing.rs | 3 use wiggle_test::{HostMemory, WasiCtx, impl_errno}; 39 impl<'a> types::UserErrorConversion for WasiCtx<'a> { implementation 56 impl<'a> one_error_conversion::OneErrorConversion for WasiCtx<'a> { implementation 91 let mut ctx = WasiCtx::new(); in main()
|
| /wasmtime-44.0.1/examples/wasip2-async/ |
| H A D | main.rs | 13 use wasmtime_wasi::{WasiCtx, WasiCtxView, WasiView}; 19 pub wasi_ctx: WasiCtx, 42 let wasi = WasiCtx::builder().inherit_stdio().inherit_args().build(); in main()
|
| /wasmtime-44.0.1/crates/wasi-keyvalue/tests/ |
| H A D | main.rs | 7 use wasmtime_wasi::{WasiCtx, WasiCtxView, WasiView, p2::bindings::Command}; 12 wasi_ctx: WasiCtx, 59 wasi_ctx: WasiCtx::builder().inherit_stderr().build(), in keyvalue_main()
|
| /wasmtime-44.0.1/crates/wasi-common/src/sync/ |
| H A D | mod.rs | 31 use crate::{Error, WasiCtx, WasiFile, file::FileAccessMode, table::Table}; 37 ctx: WasiCtx, 44 ctx: WasiCtx::new(random_ctx(), clocks_ctx(), sched_ctx(), Table::new()), in new() 124 pub fn build(&mut self) -> WasiCtx { in build() argument
|
| /wasmtime-44.0.1/crates/wasi-common/src/tokio/ |
| H A D | mod.rs | 10 use crate::{Error, Table, WasiCtx, WasiFile, file::FileAccessMode}; 19 ctx: WasiCtx, 26 ctx: WasiCtx::new(random_ctx(), clocks_ctx(), sched_ctx(), Table::new()), in new() 107 pub fn build(&mut self) -> WasiCtx { in build() argument
|
| /wasmtime-44.0.1/crates/wasi-nn/tests/exec/ |
| H A D | wit.rs | 7 use wasmtime_wasi::{DirPerms, FilePerms, WasiCtx, WasiCtxView}; 31 wasi: WasiCtx, 38 let mut builder = WasiCtx::builder(); in new()
|
| /wasmtime-44.0.1/crates/misc/component-async-tests/src/ |
| H A D | lib.rs | 4 use wasmtime_wasi::{WasiCtx, WasiCtxView, WasiView}; 19 pub wasi: WasiCtx,
|
| /wasmtime-44.0.1/crates/wasi-common/src/ |
| H A D | ctx.rs | 19 pub struct WasiCtx(Arc<WasiCtxInner>); struct 33 impl WasiCtx { impl 40 let s = WasiCtx(Arc::new(WasiCtxInner { in new() 123 impl Deref for WasiCtx { implementation
|
| /wasmtime-44.0.1/examples/wasip1/ |
| H A D | main.rs | 10 use wasmtime_wasi::WasiCtx; 21 let wasi = WasiCtx::builder().inherit_stdio().inherit_args().build_p1(); in main()
|
| /wasmtime-44.0.1/crates/wasi/tests/all/ |
| H A D | store.rs | 6 DirPerms, FilePerms, WasiCtx, WasiCtxBuilder, WasiCtxView, WasiView, p2::pipe::MemoryOutputPipe, 75 wasi: WasiCtx, 80 pub fn new(wasi: WasiCtx) -> Self { in new()
|
| /wasmtime-44.0.1/examples/ |
| H A D | linking.rs | 6 use wasmtime_wasi::WasiCtx; 21 let wasi = WasiCtx::builder().inherit_stdio().inherit_args().build_p1(); in main()
|
| /wasmtime-44.0.1/crates/wasi-tls/tests/p3/ |
| H A D | mod.rs | 6 use wasmtime_wasi::{WasiCtx, WasiCtxView, WasiView, p3::bindings::Command}; 11 wasi_ctx: WasiCtx, 36 wasi_ctx: WasiCtx::builder() in run_test()
|
| /wasmtime-44.0.1/crates/wasi-tls/tests/p2/ |
| H A D | mod.rs | 6 use wasmtime_wasi::{WasiCtx, WasiCtxView, WasiView, p2::bindings::Command}; 13 wasi_ctx: WasiCtx, 38 wasi_ctx: WasiCtx::builder() in run_test()
|
| /wasmtime-44.0.1/examples/wasip1-async/ |
| H A D | main.rs | 12 use wasmtime_wasi::WasiCtx; 26 let wasi_ctx = WasiCtx::builder().inherit_stdio().build_p1(); in main()
|
| /wasmtime-44.0.1/examples/resource-component/ |
| H A D | main.rs | 16 use wasmtime_wasi::{WasiCtx, WasiCtxView, WasiView}; 22 pub wasi_ctx: WasiCtx, 42 wasi_ctx: WasiCtx::builder().build(), in new()
|
| /wasmtime-44.0.1/crates/wasi/src/ |
| H A D | ctx.rs | 444 pub fn build(&mut self) -> WasiCtx { in build() argument 457 WasiCtx { in build() 531 pub struct WasiCtx { struct 539 impl WasiCtx { argument
|