Home
last modified time | relevance | path

Searched refs:ResourceTable (Results 1 – 25 of 55) sorted by relevance

123

/wasmtime-44.0.1/crates/debugger/src/
H A Dhost.rs5 component::{Resource, ResourceTable},
19 table: &mut ResourceTable, in add_debuggee() argument
32 impl bindings::DebugMainImports for ResourceTable { implementation
42 f: fn(&mut T) -> &mut ResourceTable, in add_to_linker() argument
44 wit::add_to_linker::<_, wasmtime::component::HasSelf<ResourceTable>>(linker, f)?; in add_to_linker()
45 bindings::DebugMain::add_to_linker_imports::<_, wasmtime::component::HasSelf<ResourceTable>>( in add_to_linker()
/wasmtime-44.0.1/crates/wasi-io/src/
H A Dlib.rs39 use wasmtime::component::{HasData, ResourceTable};
78 fn table(&mut self) -> &mut ResourceTable; in table() argument
82 fn table(&mut self) -> &mut ResourceTable { in table() argument
87 fn table(&mut self) -> &mut ResourceTable { in table() argument
156 type Data<'a> = &'a mut ResourceTable;
H A Dimpls.rs11 use wasmtime::component::{Resource, ResourceTable};
14 impl poll::Host for ResourceTable { implementation
70 impl crate::bindings::wasi::io::poll::HostPollable for ResourceTable { implementation
95 impl error::Host for ResourceTable {} implementation
97 impl streams::Host for ResourceTable { implementation
109 impl error::HostError for ResourceTable { implementation
120 impl streams::HostOutputStream for ResourceTable { implementation
249 impl streams::HostInputStream for ResourceTable { implementation
H A Dpoll.rs6 use wasmtime::component::{Resource, ResourceTable};
20 pub(crate) remove_index_on_delete: Option<fn(&mut ResourceTable, u32) -> Result<()>>,
91 table: &mut ResourceTable, in subscribe() argument
/wasmtime-44.0.1/examples/wasip2/
H A Dmain.rs9 use wasmtime::component::{Component, Linker, ResourceTable};
19 pub resource_table: ResourceTable,
44 resource_table: ResourceTable::new(), in main()
61 resource_table: ResourceTable::new(), in main()
/wasmtime-44.0.1/crates/wasi/src/p2/
H A Dpoll.rs5 use wasmtime::component::{Resource, ResourceTable};
7 impl crate::p2::bindings::sync::io::poll::Host for ResourceTable { implementation
13 impl crate::p2::bindings::sync::io::poll::HostPollable for ResourceTable { implementation
/wasmtime-44.0.1/examples/wasip2-async/
H A Dmain.rs10 use wasmtime::component::{Component, Linker, ResourceTable};
20 pub resource_table: ResourceTable,
45 resource_table: ResourceTable::new(), in main()
/wasmtime-44.0.1/crates/wasi-keyvalue/tests/
H A Dmain.rs4 component::{Component, Linker, ResourceTable},
11 table: ResourceTable,
58 table: ResourceTable::new(), in keyvalue_main()
/wasmtime-44.0.1/crates/wasi-config/tests/
H A Dmain.rs4 component::{Component, Linker, ResourceTable},
12 table: ResourceTable,
59 table: ResourceTable::new(), in config_get()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/component/
H A Dresource_table.rs36 pub struct ResourceTable { struct
111 impl ResourceTable { impl
114 ResourceTable::with_capacity(0) in new()
146 ResourceTable { in with_capacity()
417 impl Default for ResourceTable { implementation
419 ResourceTable::new() in default()
423 impl fmt::Debug for ResourceTable { implementation
445 let mut table = ResourceTable::new(); in test_free_list()
475 let mut table = ResourceTable::new(); in test_max_capacity()
/wasmtime-44.0.1/crates/wasi/tests/all/p2/
H A Dapi.rs6 use wasmtime::component::{Component, Linker, ResourceTable};
15 table: ResourceTable,
74 let table = ResourceTable::new(); in p2_api_time()
97 let table = ResourceTable::new(); in p2_api_read_only()
144 let table = ResourceTable::new(); in p2_api_reactor()
/wasmtime-44.0.1/crates/wasi-nn/tests/exec/
H A Dwit.rs4 use wasmtime::component::{Component, Linker, ResourceTable};
33 table: ResourceTable,
54 let table = ResourceTable::new(); in new()
/wasmtime-44.0.1/crates/misc/component-async-tests/src/
H A Dlib.rs3 use wasmtime::component::{HasData, ResourceTable};
20 pub table: ResourceTable,
/wasmtime-44.0.1/crates/wasi/src/p2/host/
H A Dio.rs7 use wasmtime::component::{Resource, ResourceTable};
22 impl streams::Host for ResourceTable { implementation
28 impl streams::HostOutputStream for ResourceTable { implementation
104 impl streams::HostInputStream for ResourceTable { implementation
/wasmtime-44.0.1/crates/debugger/src/host/
H A Dapi.rs179 table: &'a mut ResourceTable, in debugger() argument
188 impl wit::HostDebuggee for ResourceTable { implementation
303 impl wit::HostInstance for ResourceTable { implementation
407 impl wit::HostModule for ResourceTable { implementation
451 impl wit::HostMemory for ResourceTable { implementation
635 impl wit::HostGlobal for ResourceTable { implementation
678 impl wit::HostTable for ResourceTable { implementation
725 impl wit::HostWasmFunc for ResourceTable { implementation
815 impl wit::HostWasmTag for ResourceTable { implementation
853 impl wit::HostFrame for ResourceTable { implementation
[all …]
/wasmtime-44.0.1/crates/wasi/tests/all/
H A Dstore.rs3 use wasmtime::component::ResourceTable;
76 table: ResourceTable,
81 let mut table = ResourceTable::new(); in new()
/wasmtime-44.0.1/crates/wasi-tls/tests/p3/
H A Dmod.rs3 component::{Component, Linker, ResourceTable},
10 table: ResourceTable,
35 table: ResourceTable::new(), in run_test()
/wasmtime-44.0.1/crates/wasi-tls/tests/p2/
H A Dmod.rs3 component::{Component, Linker, ResourceTable},
12 table: ResourceTable,
37 table: ResourceTable::new(), in run_test()
/wasmtime-44.0.1/crates/wasi-http/src/p3/host/
H A Dtypes.rs17 Access, FutureProducer, FutureReader, Resource, ResourceTable, StreamReader,
23 table: &'a ResourceTable, in get_fields() argument
32 table: &'a mut ResourceTable, in get_fields_mut() argument
58 table: &'a ResourceTable, in get_request() argument
65 table: &'a mut ResourceTable, in get_request_mut() argument
74 table: &'a ResourceTable, in get_response() argument
81 table: &'a mut ResourceTable, in get_response_mut() argument
90 table: &'a ResourceTable, in get_request_options() argument
99 table: &'a mut ResourceTable, in get_request_options_mut() argument
109 table: &mut ResourceTable, in push_request_options() argument
[all …]
/wasmtime-44.0.1/examples/resource-component/
H A Dmain.rs12 use wasmtime::component::{Component, Linker, ResourceTable};
23 pub resource_table: ResourceTable,
43 resource_table: ResourceTable::new(), in new()
/wasmtime-44.0.1/crates/wasi/src/
H A Dview.rs2 use wasmtime::component::ResourceTable;
48 pub table: &'a mut ResourceTable,
/wasmtime-44.0.1/crates/wasi-tls/src/
H A Dlib.rs93 use wasmtime::component::{HasData, ResourceTable};
152 pub table: &'a mut ResourceTable,
/wasmtime-44.0.1/crates/misc/component-async-tests/tests/scenario/
H A Dborrowing.rs7 use wasmtime::component::{Linker, ResourceTable};
89 table: ResourceTable::default(), in test_run_bool()
H A Dpost_return.rs9 use wasmtime::component::{Linker, ResourceTable};
65 table: ResourceTable::default(), in test_yield_post_return()
/wasmtime-44.0.1/crates/wasi/src/p3/sockets/host/types/
H A Dudp.rs9 use wasmtime::component::{Accessor, Resource, ResourceTable};
13 table: &'a ResourceTable, in get_socket() argument
23 table: &'a mut ResourceTable, in get_socket_mut() argument

123