Lines Matching refs:struct_ty

8     let struct_ty = StructType::new(store.engine(), [])?;  in struct_new_empty()  localVariable
9 let pre = StructRefPre::new(&mut store, struct_ty); in struct_new_empty()
17 let struct_ty = StructType::new( in struct_new_with_fields() localVariable
25 let pre = StructRefPre::new(&mut store, struct_ty); in struct_new_with_fields()
37 let struct_ty = StructType::new( in struct_new_unrooted_field() localVariable
50 let pre = StructRefPre::new(&mut store, struct_ty); in struct_new_unrooted_field()
59 let struct_ty = StructType::new( in struct_new_cross_store_field() localVariable
71 let pre = StructRefPre::new(&mut store, struct_ty); in struct_new_cross_store_field()
81 let struct_ty = StructType::new(store.engine(), []).unwrap(); in struct_new_cross_store_pre() localVariable
84 let pre = StructRefPre::new(&mut other_store, struct_ty); in struct_new_cross_store_pre()
94 let struct_ty = StructType::new( in anyref_as_struct() localVariable
98 let pre = StructRefPre::new(&mut store, struct_ty.clone()); in anyref_as_struct()
117 let struct_ty = StructType::new( in struct_field_simple() localVariable
124 let pre = StructRefPre::new(&mut store, struct_ty); in struct_field_simple()
134 let struct_ty = StructType::new( in struct_field_out_of_bounds() localVariable
141 let pre = StructRefPre::new(&mut store, struct_ty); in struct_field_out_of_bounds()
150 let struct_ty = StructType::new( in struct_field_on_unrooted() localVariable
157 let pre = StructRefPre::new(&mut store, struct_ty); in struct_field_on_unrooted()
170 let struct_ty = StructType::new( in struct_set_field_simple() localVariable
177 let pre = StructRefPre::new(&mut store, struct_ty); in struct_set_field_simple()
188 let struct_ty = StructType::new( in struct_set_field_out_of_bounds() localVariable
195 let pre = StructRefPre::new(&mut store, struct_ty); in struct_set_field_out_of_bounds()
204 let struct_ty = StructType::new( in struct_set_field_on_unrooted() localVariable
211 let pre = StructRefPre::new(&mut store, struct_ty); in struct_set_field_on_unrooted()
224 let struct_ty = StructType::new( in struct_set_field_with_unrooted() localVariable
231 let pre = StructRefPre::new(&mut store, struct_ty); in struct_set_field_with_unrooted()
245 let struct_ty = StructType::new( in struct_set_field_cross_store_value() localVariable
252 let pre = StructRefPre::new(&mut store, struct_ty); in struct_set_field_cross_store_value()
265 let struct_ty = StructType::new( in struct_set_field_immutable() localVariable
272 let pre = StructRefPre::new(&mut store, struct_ty); in struct_set_field_immutable()
281 let struct_ty = StructType::new( in struct_set_field_wrong_type() localVariable
288 let pre = StructRefPre::new(&mut store, struct_ty); in struct_set_field_wrong_type()
295 fn struct_ty() -> Result<()> { in struct_ty() function
297 let struct_ty = StructType::new(store.engine(), [])?; in struct_ty() localVariable
298 let pre = StructRefPre::new(&mut store, struct_ty.clone()); in struct_ty()
300 assert!(StructType::eq(&struct_ty, &s.ty(&store)?)); in struct_ty()
307 let struct_ty = StructType::new(store.engine(), [])?; in struct_ty_unrooted() localVariable
308 let pre = StructRefPre::new(&mut store, struct_ty); in struct_ty_unrooted()
321 let struct_ty = StructType::new(store.engine(), [])?; in struct_fields_empty() localVariable
322 let pre = StructRefPre::new(&mut store, struct_ty.clone()); in struct_fields_empty()
333 let struct_ty = StructType::new( in struct_fields_non_empty() localVariable
340 let pre = StructRefPre::new(&mut store, struct_ty.clone()); in struct_fields_non_empty()
353 let struct_ty = StructType::new(store.engine(), [])?; in struct_fields_unrooted() localVariable
354 let pre = StructRefPre::new(&mut store, struct_ty); in struct_fields_unrooted()
382 let struct_ty = StructType::new( in passing_structs_through_wasm_with_untyped_calls() localVariable
387 let ref_ty = RefType::new(false, HeapType::ConcreteStruct(struct_ty.clone())); in passing_structs_through_wasm_with_untyped_calls()
401 let pre = StructRefPre::new(&mut store, struct_ty.clone()); in passing_structs_through_wasm_with_untyped_calls()
433 let struct_ty = StructType::new( in passing_structs_through_wasm_with_typed_calls() localVariable
449 let pre = StructRefPre::new(&mut store, struct_ty.clone()); in passing_structs_through_wasm_with_typed_calls()
481 let struct_ty = StructType::new( in host_sets_struct_global() localVariable
485 let pre = StructRefPre::new(&mut store, struct_ty.clone()); in host_sets_struct_global()
527 let struct_ty = StructType::new( in wasm_sets_struct_global() localVariable
531 let pre = StructRefPre::new(&mut store, struct_ty.clone()); in wasm_sets_struct_global()
577 let struct_ty = StructType::new( in host_sets_struct_in_table() localVariable
581 let pre = StructRefPre::new(&mut store, struct_ty.clone()); in host_sets_struct_in_table()
625 let struct_ty = StructType::new( in wasm_sets_struct_in_table() localVariable
629 let pre = StructRefPre::new(&mut store, struct_ty.clone()); in wasm_sets_struct_in_table()
668 let struct_ty = StructType::new( in instantiate_with_struct_global() localVariable
675 HeapType::ConcreteStruct(struct_ty.clone()), in instantiate_with_struct_global()
688 let pre = StructRefPre::new(&mut store, struct_ty); in instantiate_with_struct_global()
706 let struct_ty = StructType::new( in can_put_funcrefs_in_structs() localVariable
714 let pre = StructRefPre::new(&mut store, struct_ty.clone()); in can_put_funcrefs_in_structs()
779 let struct_ty = res_ty in issue_9714() localVariable
784 let _ = StructRefPre::new(&mut store, struct_ty); in issue_9714()