Home
last modified time | relevance | path

Searched defs:MemoryType (Results 1 – 14 of 14) sorted by relevance

/wasmtime-44.0.1/crates/c-api/tests/
H A Dmemory_type.cc6 TEST(MemoryType, Simple) { in TEST() argument
16 TEST(MemoryType, WithMax) { in TEST() argument
26 TEST(MemoryType, Mem64) { in TEST() argument
44 TEST(MemoryType, Builder) { in TEST() argument
H A Dtypes.cc33 TEST(MemoryType, Smoke) { in TEST() argument
107 TEST(MemoryType, SixtyFour) { in TEST() argument
/wasmtime-44.0.1/crates/c-api/include/wasmtime/types/
H A Dmemory.hh19 class MemoryType { class
79 MemoryType(wasm_memorytype_t *ptr) : ptr(ptr), ref(ptr) {} in MemoryType() function in wasmtime::MemoryType
85 explicit MemoryType(uint32_t min) { in MemoryType() function in wasmtime::MemoryType
96 MemoryType(uint32_t min, uint32_t max) { in MemoryType() function in wasmtime::MemoryType
125 MemoryType(Ref other) : MemoryType(wasm_memorytype_copy(other.ptr)) {} in MemoryType() function in wasmtime::MemoryType
127 MemoryType(const MemoryType &other) in MemoryType() function in wasmtime::MemoryType
/wasmtime-44.0.1/crates/wizer/src/
H A Dinfo.rs73 pub(crate) fn push_imported_memory(&mut self, memory_type: wasmparser::MemoryType) { in push_imported_memory()
79 pub(crate) fn push_defined_memory(&mut self, memory_type: wasmparser::MemoryType) { in push_defined_memory()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/
H A Dtrampoline.rs23 m: &MemoryType, in generate_memory_export()
H A Dmemory.rs289 ty: MemoryType, in _new()
321 pub fn ty(&self, store: impl AsContext) -> MemoryType { in ty()
776 ty: MemoryType, in new_memory()
851 pub fn ty(&self) -> MemoryType { in ty()
H A Dtypes.rs3358 pub fn build(&self) -> Result<MemoryType> { in build()
3369 pub struct MemoryType { struct
3373 impl MemoryType { impl
3387 pub fn new(minimum: u32, maximum: Option<u32>) -> MemoryType { in new()
3412 pub fn new64(minimum: u64, maximum: Option<u64>) -> MemoryType { in new64()
3438 pub fn shared(minimum: u32, maximum: u32) -> MemoryType { in shared()
3500 pub(crate) fn from_wasmtime_memory(memory: &Memory) -> MemoryType { in from_wasmtime_memory()
/wasmtime-44.0.1/tests/all/
H A Dmemory_creator.rs102 ty: MemoryType, in new_memory()
/wasmtime-44.0.1/crates/wizer/src/component/
H A Dinstrument.rs205 memory_ty: wasmparser::MemoryType, in add_core_instance_memory()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/trampoline/
H A Dmemory.rs30 memory_ty: &MemoryType, in create_memory()
/wasmtime-44.0.1/cranelift/reader/src/
H A Dlexer.rs44 MemoryType(u32), // mt0 enumerator
/wasmtime-44.0.1/crates/c-api/include/
H A Dwasm.hh402 class WASM_API_EXTERN MemoryType : public ExternType { class
/wasmtime-44.0.1/crates/c-api/src/
H A Dconfig.rs399 ty: wasmtime::MemoryType, in new_memory()
/wasmtime-44.0.1/crates/environ/src/
H A Dfact.rs439 ty: MemoryType, in import_memory()