| /wasmtime-44.0.1/tests/all/ |
| H A D | arrays.rs | 7 let array_ty = ArrayType::new( in array_new_empty() 20 let array_ty = ArrayType::new( in array_new_with_elems() 36 let array_ty = ArrayType::new( in array_new_unrooted_initial_elem() 58 let array_ty = ArrayType::new( in array_new_cross_store_initial_elem() 76 let array_ty = ArrayType::new( in array_new_cross_store_pre() 88 let array_ty = ArrayType::new( in array_new_fixed_empty() 101 let array_ty = ArrayType::new( in array_new_fixed_with_elems() 121 let array_ty = ArrayType::new( in array_new_fixed_unrooted_initial_elem() 143 let array_ty = ArrayType::new( in array_new_fixed_cross_store_initial_elem() 161 let array_ty = ArrayType::new( in array_new_fixed_cross_store_pre() [all …]
|
| H A D | types.rs | 313 let a = ArrayType::with_finality_and_supertype( in array_subtyping_field_must_match() 374 let base = ArrayType::with_finality_and_supertype( in array_subtyping() 380 let a = ArrayType::with_finality_and_supertype( in array_subtyping() 386 let b = ArrayType::with_finality_and_supertype( in array_subtyping() 392 let c = ArrayType::with_finality_and_supertype( in array_subtyping() 398 let d = ArrayType::with_finality_and_supertype( in array_subtyping() 404 let e = ArrayType::with_finality_and_supertype( in array_subtyping() 410 let f = ArrayType::with_finality_and_supertype( in array_subtyping() 416 let g = ArrayType::with_finality_and_supertype( in array_subtyping() 422 let h = ArrayType::with_finality_and_supertype( in array_subtyping() [all …]
|
| H A D | module.rs | 354 Array(fn(&Engine) -> ArrayType), in concurrent_type_registry_modifications() 362 ArrayType::new(engine, FieldType::new(Mutability::Const, StorageType::I8)) in concurrent_type_registry_modifications() 365 ArrayType::new(engine, FieldType::new(Mutability::Var, StorageType::I8)) in concurrent_type_registry_modifications()
|
| H A D | missing_async.rs | 217 let ty = ArrayType::new( in async_disallows_array_ref_new() 230 let ty = ArrayType::new( in async_disallows_array_ref_new_fixed()
|
| H A D | gc.rs | 993 ArrayType::new(&engine, FieldType::new(Mutability::Const, StorageType::I8)), in ref_matches() 1224 let array_ty = ArrayType::new( in drc_transitive_drop_nested_arrays_tree() 1297 let array_i8_ty = ArrayType::new(&engine, FieldType::new(Mutability::Var, StorageType::I8)); in drc_traces_the_correct_number_of_gc_refs_in_arrays()
|
| H A D | async_functions.rs | 1095 let array_ty = ArrayType::new( in async_gc_with_func_new_and_func_wrap() 1120 let array_ty = ArrayType::new( in async_gc_with_func_new_and_func_wrap()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/gc/disabled/ |
| H A D | arrayref.rs | 2 ArrayType, AsContext, AsContextMut, GcRefImpl, Result, Val, 17 pub fn ty(&self, _store: impl AsContext) -> Result<ArrayType> { in ty() argument 21 pub fn matches_ty(&self, _store: impl AsContext, _ty: &ArrayType) -> Result<bool> { in matches_ty() 25 pub(crate) fn _matches_ty(&self, _store: &StoreOpaque, _ty: &ArrayType) -> Result<bool> { in _matches_ty()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/gc/enabled/ |
| H A D | arrayref.rs | 10 ArrayType, AsContext, AsContextMut, EqRef, GcHeapOutOfMemory, GcRefImpl, GcRootIndex, HeapType, 67 ty: ArrayType, 73 pub fn new(mut store: impl AsContextMut, ty: ArrayType) -> Self { in new() 77 pub(crate) fn _new(store: &mut StoreOpaque, ty: ArrayType) -> Self { in _new() 557 pub fn ty(&self, store: impl AsContext) -> Result<ArrayType> { in ty() argument 561 pub(crate) fn _ty(&self, store: &StoreOpaque) -> Result<ArrayType> { in _ty() argument 564 Ok(ArrayType::from_shared_type_index(store.engine(), index)) in _ty() 579 pub fn matches_ty(&self, store: impl AsContext, ty: &ArrayType) -> Result<bool> { in matches_ty() 583 pub(crate) fn _matches_ty(&self, store: &StoreOpaque, ty: &ArrayType) -> Result<bool> { in _matches_ty() 588 pub(crate) fn ensure_matches_ty(&self, store: &StoreOpaque, ty: &ArrayType) -> Result<()> { in ensure_matches_ty()
|
| H A D | eqref.rs | 4 AnyRef, ArrayRef, ArrayType, AsContext, AsContextMut, GcRefImpl, GcRootIndex, HeapType, I31, 210 return Ok(HeapType::ConcreteArray(ArrayType::from_shared_type_index( in _ty()
|
| H A D | anyref.rs | 7 ArrayRef, ArrayType, AsContext, AsContextMut, EqRef, GcRefImpl, GcRootIndex, HeapType, I31, 379 return Ok(HeapType::ConcreteArray(ArrayType::from_shared_type_index( in _ty()
|
| /wasmtime-44.0.1/crates/c-api/include/wasmtime/ |
| H A D | gc.hh | 299 class ArrayType { class 309 static ArrayType create(const Engine &engine, const FieldType &field) { in create() 313 ArrayType ty; in create() 322 ArrayType() = default; 338 static ArrayRefPre create(Store::Context cx, const ArrayType &ty) { in create()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/ |
| H A D | const_expr.rs | 8 AnyRef, ArrayRef, ArrayRefPre, ArrayType, ExternRef, I31, StructRef, StructRefPre, StructType, 336 let ty = ArrayType::from_shared_type_index(store.engine(), ty); in eval_loop() 360 let ty = ArrayType::from_shared_type_index(store.engine(), ty); in eval_loop() 388 let ty = ArrayType::from_shared_type_index(store.engine(), ty); in eval_loop()
|
| H A D | libcalls.rs | 818 use crate::ArrayType; in array_new_data() 831 let array_ty = ArrayType::from_shared_type_index(store.engine(), shared_ty); in array_new_data() 892 use crate::ArrayType; in array_init_data() 922 let array_ty = ArrayType::from_shared_type_index(store.engine(), shared_ty); in array_init_data() 975 ArrayRef, ArrayRefPre, ArrayType, Func, OpaqueRootScope, RootedGcRefImpl, Val, in array_new_elem() 993 let array_ty = ArrayType::from_shared_type_index(store.engine(), shared_ty); in array_new_elem()
|
| /wasmtime-44.0.1/crates/c-api/tests/ |
| H A D | gc.cc | 172 auto ty = ArrayType::create(engine, FieldType::mut_(WASMTIME_I32)); in TEST() 208 auto ty = ArrayType::create(engine, FieldType::const_(WASMTIME_I32)); in TEST() 294 auto ty = ArrayType::create(engine, FieldType::const_(WASMTIME_I32)); in TEST()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/ |
| H A D | types.rs | 783 ConcreteArray(ArrayType), 874 impl From<ArrayType> for HeapType { 876 fn from(a: ArrayType) -> Self { in from() 999 pub fn as_concrete_array(&self) -> Option<&ArrayType> { in as_concrete_array() argument 1008 pub fn unwrap_concrete_array(&self) -> &ArrayType { in unwrap_concrete_array() argument 2130 pub struct ArrayType { struct 2134 impl fmt::Display for ArrayType { argument 2142 impl ArrayType { impl 2272 pub fn matches(&self, other: &ArrayType) -> bool { in matches() 2289 pub fn eq(a: &ArrayType, b: &ArrayType) -> bool { in eq() argument [all …]
|
| /wasmtime-44.0.1/crates/c-api/src/ |
| H A D | ref.rs | 5 AnyRef, ArrayRef, ArrayRefPre, ArrayType, EqRef, ExnRef, ExternRef, FieldType, I31, Mutability, 288 ty: ArrayType, 776 let ty = ArrayType::new(&engine.engine, ft); in wasmtime_array_type_new()
|
| /wasmtime-44.0.1/crates/environ/src/ |
| H A D | types.rs | 2499 fn convert_array_type(&self, ty: &wasmparser::ArrayType) -> WasmResult<WasmArrayType> { in convert_array_type()
|