Home
last modified time | relevance | path

Searched refs:Shared (Results 1 – 15 of 15) sorted by relevance

/wasmtime-44.0.1/crates/wasi-tls/src/p3/util/
H A Dshared.rs9 pub(crate) struct Shared<IO>(Arc<Mutex<IO>>); struct
10 impl<IO> Shared<IO> { implementation
18 impl<IO> Clone for Shared<IO> { implementation
23 impl<IO: AsyncRead + Unpin> AsyncRead for Shared<IO> { implementation
32 impl<IO: AsyncWrite + Unpin> AsyncWrite for Shared<IO> { implementation
H A Dmod.rs9 pub(crate) use shared::Shared;
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/
H A Dexport.rs26 Shared(SharedMemory, VMMemoryImport), enumerator
33 ExportMemory::Shared(..) => None, in unshared()
39 ExportMemory::Shared(m, _) => Some(m), in shared()
H A Dmemory.rs236 Shared(SharedMemory), enumerator
254 Memory::Shared(SharedMemory::wrap(engine, ty, memory)?) in new_dynamic()
382 Memory::Shared(mem) => mem.byte_size(), in byte_size()
392 Memory::Shared(mem) => mem.needs_init(), in needs_init()
453 Memory::Shared(mem) => mem.grow(delta_pages)?, in grow()
469 Memory::Shared(_) => unreachable!(), in vmmemory()
480 Memory::Shared(_) => panic!("expected a local memory"), in unwrap_static_image()
486 matches!(self, Memory::Shared(_)) in is_shared_memory()
494 Memory::Shared(mem) => Some(mem), in as_shared_memory()
550 Memory::Shared(mem) => mem.wasm_accessible(), in wasm_accessible()
[all …]
H A Dinstance.rs619 ExportMemory::Shared(vm, import) in get_exported_memory()
1616 ExportMemory::Shared(m, i) => Export::SharedMemory(m, i), in get_export_by_index_mut()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/
H A Dcode.rs319 Shared(Arc<CodeMemory>), enumerator
348 StoreCodeStorage::Shared(engine_code.original_code.clone()) in new()
352 let code = StoreCodeStorage::Shared(engine_code.original_code.clone()); in new()
363 StoreCodeStorage::Shared(m) => m, in code_memory()
374 StoreCodeStorage::Shared(_) => None, in code_memory_mut()
394 StoreCodeStorage::Shared(_) => { in drop()
H A Dmemory.rs1038 ExportMemory::Shared(_shared, vmimport) => vmimport, in vmimport()
/wasmtime-44.0.1/crates/wiggle/src/
H A Dlib.rs45 Shared(&'a [UnsafeCell<u8>]), enumerator
102 GuestMemory::Shared(_) => Ok(Cow::Owned(self.to_vec(ptr)?)), in as_cow()
135 GuestMemory::Shared(_) => Ok(None), in as_slice()
156 GuestMemory::Shared(_) => Ok(None), in as_slice_mut()
253 GuestMemory::Shared(s) => s, in validate_size_align()
291 GuestMemory::Shared(b) => b.get(range.clone()).is_none(), in validate_range()
303 GuestMemory::Shared(_) => true, in is_shared_memory()
/wasmtime-44.0.1/crates/c-api/include/
H A Dwasm.hh661 template<class T> class WASM_API_EXTERN Shared; variable
679 auto share() const -> own<Shared<Module>>;
680 static auto obtain(Store*, const Shared<Module>*) -> own<Module>;
690 class WASM_API_EXTERN Shared<Module> { class
695 Shared() = default;
696 ~Shared() = default;
/wasmtime-44.0.1/crates/wasi-tls/src/p3/
H A Dhost.rs3 use crate::p3::util::{AsyncReadProducer, AsyncWriteConsumer, Closed, Deferred, Shared, pipe};
16 connection: Shared<Deferred<Box<dyn TlsStream>>>,
38 connection: Shared::new(Deferred::pending()), in new()
/wasmtime-44.0.1/cranelift/codegen/meta/src/
H A Dlib.rs63 gen_settings::ParentGroup::Shared, in generate_rust_for_shared_defs()
H A Dgen_settings.rs13 Shared, enumerator
20 ParentGroup::Shared => "shared: &settings::Flags, builder: &Builder", in gen_constructor()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/memory/
H A Dshared_memory.rs74 Memory::Shared(self) in as_memory()
/wasmtime-44.0.1/crates/wiggle/generate/src/
H A Dwasmtime.rs130 (wiggle::GuestMemory::Shared(m.data()), ctx) in generate_func()
/wasmtime-44.0.1/crates/c-api/
H A Ddoxygen.conf.in1309 # ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find it at