Home
last modified time | relevance | path

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

/wasmtime-44.0.1/tests/all/
H A Darrays.rs9 FieldType::new(Mutability::Const, StorageType::I8), in array_new_empty()
22 FieldType::new(Mutability::Const, ValType::I32.into()), in array_new_with_elems()
90 FieldType::new(Mutability::Const, ValType::I32.into()), in array_new_fixed_empty()
103 FieldType::new(Mutability::Const, ValType::I32.into()), in array_new_fixed_with_elems()
549 FieldType::new(Mutability::Const, StorageType::I8), in passing_arrays_through_wasm_with_untyped_calls()
602 FieldType::new(Mutability::Const, StorageType::I8), in passing_arrays_through_wasm_with_typed_calls()
652 FieldType::new(Mutability::Const, StorageType::I8), in host_sets_array_global()
700 FieldType::new(Mutability::Const, StorageType::I8), in wasm_sets_array_global()
752 FieldType::new(Mutability::Const, StorageType::I8), in host_sets_array_in_table()
802 FieldType::new(Mutability::Const, StorageType::I8), in wasm_sets_array_in_table()
[all …]
H A Dstructs.rs39 [FieldType::new( in struct_new_unrooted_field()
61 [FieldType::new( in struct_new_cross_store_field()
119 [FieldType::new( in struct_field_simple()
136 [FieldType::new( in struct_field_out_of_bounds()
152 [FieldType::new( in struct_field_on_unrooted()
172 [FieldType::new( in struct_set_field_simple()
190 [FieldType::new( in struct_set_field_out_of_bounds()
206 [FieldType::new( in struct_set_field_on_unrooted()
226 [FieldType::new( in struct_set_field_with_unrooted()
247 [FieldType::new( in struct_set_field_cross_store_value()
[all …]
H A Dtypes.rs3 fn field(heap_ty: HeapType) -> FieldType { in field() argument
4 FieldType::new( in field()
10 fn imm_field(heap_ty: HeapType) -> FieldType { in imm_field() argument
11 FieldType::new( in imm_field()
31 let field_ty = FieldType::new(mutability, storage_ty.clone()); in basic_array_types()
37 assert!(FieldType::eq(&array_ty.field_type(), &field_ty)); in basic_array_types()
71 .map(move |storage_ty| FieldType::new(mutability, storage_ty)) in basic_struct_types()
79 assert!(FieldType::eq(&expected, &actual)); in basic_struct_types()
80 assert!(FieldType::eq(&expected, &struct_ty.field(i).unwrap())); in basic_struct_types()
H A Dmissing_async.rs219 FieldType::new(Mutability::Var, StorageType::I8), in async_disallows_array_ref_new()
232 FieldType::new(Mutability::Var, StorageType::I8), in async_disallows_array_ref_new_fixed()
265 [FieldType::new(Mutability::Var, StorageType::I8)], in async_disallows_structref_new()
H A Dmodule.rs362 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 Dgc.rs993 ArrayType::new(&engine, FieldType::new(Mutability::Const, StorageType::I8)), in ref_matches()
1226 FieldType::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()
1443 [FieldType::new( in issue_10772()
H A Dasync_functions.rs1097 FieldType::new(Mutability::Var, ValType::I32.into()), in async_gc_with_func_new_and_func_wrap()
1122 FieldType::new(Mutability::Var, ValType::I32.into()), in async_gc_with_func_new_and_func_wrap()
/wasmtime-44.0.1/crates/c-api/tests/
H A Dgc.cc103 FieldType::mut_(WASMTIME_I32), in TEST()
104 FieldType::mut_(WASMTIME_I32), in TEST()
140 FieldType::const_(WASMTIME_I32), in TEST()
172 auto ty = ArrayType::create(engine, FieldType::mut_(WASMTIME_I32)); in TEST()
208 auto ty = ArrayType::create(engine, FieldType::const_(WASMTIME_I32)); in TEST()
266 auto ty = StructType::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/c-api/include/wasmtime/
H A Dgc.hh126 struct FieldType { struct
133 static FieldType mut_(wasmtime_storage_kind_t k) { return {k, true}; } in mut_() argument
135 static FieldType const_(wasmtime_storage_kind_t k) { return {k, false}; } in const_() argument
155 const std::vector<FieldType> &fields) { in create()
156 static_assert(sizeof(FieldType) == sizeof(wasmtime_field_type_t)); in create()
309 static ArrayType create(const Engine &engine, const FieldType &field) { in create()
310 static_assert(sizeof(FieldType) == sizeof(wasmtime_field_type_t)); in create()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/
H A Dtypes.rs1740 pub struct FieldType { struct
1745 impl fmt::Display for FieldType { argument
1755 impl FieldType { impl
1912 fields: impl IntoIterator<Item = FieldType>, in with_finality_and_supertype()
1929 .map(|ty: FieldType| -> Result<_, Error> { in with_finality_and_supertype()
1989 pub fn field(&self, i: usize) -> Option<FieldType> { in field() argument
2024 a: impl ExactSizeIterator<Item = FieldType>, in fields_match()
2025 b: impl ExactSizeIterator<Item = FieldType>, in fields_match()
2179 field_type: FieldType, in with_finality_and_supertype() argument
2236 pub fn field_type(&self) -> FieldType { in field_type() argument
[all …]
/wasmtime-44.0.1/crates/c-api/src/
H A Dref.rs5 AnyRef, ArrayRef, ArrayRefPre, ArrayType, EqRef, ExnRef, ExternRef, FieldType, I31, Mutability,
581 fn field_type_from_c(ft: &wasmtime_field_type_t) -> FieldType { in field_type_from_c() argument
601 FieldType::new(mutability, storage) in field_type_from_c()
615 let field_types: Vec<FieldType> = fields.iter().map(field_type_from_c).collect(); in wasmtime_struct_type_new()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/gc/enabled/
H A Dexnref.rs13 use crate::{ExnType, FieldType, GcHeapOutOfMemory, StoreContextMut, Tag, prelude::*};
581 fn field_ty(&self, store: &StoreOpaque, field: usize) -> Result<FieldType> { in field_ty() argument
H A Dstructref.rs8 use crate::{AnyRef, FieldType};
533 fn field_ty(&self, store: &StoreOpaque, field: usize) -> Result<FieldType> { in field_ty() argument
H A Darrayref.rs8 use crate::{AnyRef, FieldType};
728 fn field_ty(&self, store: &StoreOpaque) -> Result<FieldType> { in field_ty() argument
/wasmtime-44.0.1/crates/environ/src/
H A Dtypes.rs2503 fn convert_field_type(&self, ty: &wasmparser::FieldType) -> WasmResult<WasmFieldType> { in convert_field_type()