Home
last modified time | relevance | path

Searched refs:Struct (Results 1 – 24 of 24) sorted by relevance

/wasmtime-44.0.1/crates/fuzzing/src/generators/gc_ops/
H A Dops.rs486 #[results([Struct(Some(type_index))])]
492 #[operands([Some(Struct(None))])]
503 #[operands([Some(Struct(None))])]
508 #[results([Struct(None)])]
519 #[results([Struct(Some(type_index))])]
525 #[operands([Some(Struct(None))])]
530 #[results([Struct(None)])]
541 #[results([Struct(Some(type_index))])]
547 #[operands([Some(Struct(None))])]
557 #[results([Struct(None)])]
[all …]
H A Dtypes.rs30 Struct(StructType), enumerator
181 composite_type: CompositeType::Struct(StructType::default()), in insert_empty_struct()
493 Struct(Option<u32>), enumerator
521 Some(Self::Struct(wanted)) => { in fixup()
523 (Some(wanted), Some(Self::Struct(Some(s)))) => *s == wanted, in fixup()
524 (None, Some(Self::Struct(_))) => true, in fixup()
576 Self::Struct(Some(t)) => Self::Struct(Some(Self::clamp(*t, num_types))), in emit()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/types/
H A Dmatching.rs217 | H::Struct in match_heap()
229 | H::Struct in match_heap()
245 (H::Struct | H::ConcreteStruct(_) | H::None, H::Struct) => true, in match_heap()
246 (_, H::Struct) => false, in match_heap()
/wasmtime-44.0.1/crates/environ/src/fact/
H A Dtrampoline.rs375 Struct(GcStruct<'a>), enumerator
398 Struct(GcStruct<'a>), enumerator
1334 Source::Struct(_) | Source::Array(_) => todo!("CM+GC"), in translate_bool()
1362 Source::Struct(_) | Source::Array(_) => todo!("CM+GC"), in convert_u8_mask()
1385 Source::Struct(_) | Source::Array(_) => todo!("CM+GC"), in translate_s8()
1411 Source::Struct(_) | Source::Array(_) => todo!("CM+GC"), in convert_u16_mask()
1434 Source::Struct(_) | Source::Array(_) => todo!("CM+GC"), in translate_s16()
4215 Source::Struct(_) => todo!(), in record_field_srcs()
4251 Source::Struct(s) => s.opts, in opts()
4279 Destination::Struct(_) => todo!(), in record_field_dsts()
[all …]
/wasmtime-44.0.1/crates/environ/src/
H A Dgc.rs248 WasmCompositeInnerType::Struct(ty) => Some(Arc::new(self.struct_layout(ty)).into()), in gc_layout()
274 Struct(Arc<GcStructLayout>), enumerator
285 Self::Struct(layout) in from()
300 Self::Struct(s) => s, in unwrap_struct()
H A Dtypes.rs474 Struct, enumerator
521 Self::Struct => write!(f, "struct"), in fmt()
614 | WasmHeapType::Struct in top()
649 | WasmHeapType::Struct in bottom()
1200 Struct(WasmStructType), enumerator
1210 Self::Struct(ty) => Self::Struct(ty.try_clone()?), in try_clone()
1222 Self::Struct(ty) => fmt::Display::fmt(ty, f), in fmt()
1269 matches!(self, Self::Struct(_)) in is_struct()
1275 Self::Struct(f) => Some(f), in as_struct()
2467 wasmparser::CompositeInnerType::Struct(s) => { in convert_composite_type()
[all …]
/wasmtime-44.0.1/crates/wasmtime/src/runtime/
H A Dtypes.rs485 heap_type: HeapType::Struct,
790 Struct, enumerator
1085 | HeapType::Struct in top()
1122 | HeapType::Struct in bottom()
1196 | HeapType::Struct in matches()
1224 (HeapType::Struct, HeapType::Struct | HeapType::Eq | HeapType::Any) => true, in matches()
1225 (HeapType::Struct, _) => false, in matches()
1282 | HeapType::Struct in comes_from_same_engine()
1306 HeapType::Struct => WasmHeapType::Struct, in to_wasm_type()
1340 WasmHeapType::Struct => HeapType::Struct, in from_wasm_type()
[all …]
H A Dvalues.rs349 | HeapType::Struct in _from_raw()
1091 (Ref::Any(Some(a)), HeapType::Struct) => a._is_struct(store)?, in _matches_ty()
1107 | HeapType::Struct in _matches_ty()
H A Dtype_registry.rs1121 wasmtime_environ::WasmCompositeInnerType::Struct(s) => { in insert_entry_gc_layouts()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/gc/enabled/
H A Dstructref.rs528 GcLayout::Struct(s) => Ok(s), in layout()
642 ValType::Ref(RefType::new(false, HeapType::Struct)) in valtype()
658 HeapType::Any | HeapType::Eq | HeapType::Struct => Ok(()), in dynamic_concrete_type_check()
742 ValType::Ref(RefType::new(false, HeapType::Struct)) in valtype()
758 HeapType::Any | HeapType::Eq | HeapType::Struct => Ok(()), in dynamic_concrete_type_check()
H A Darrayref.rs724 GcLayout::Struct(_) => unreachable!(), in layout()
873 | HeapType::Struct in dynamic_concrete_type_check()
973 | HeapType::Struct in dynamic_concrete_type_check()
H A Dexnref.rs576 GcLayout::Struct(s) => Ok(s), in layout()
/wasmtime-44.0.1/crates/environ/src/compile/
H A Dmodule_types.rs532 WasmCompositeInnerType::Struct(_) => WasmHeapType::ConcreteStruct(index), in lookup_heap_type()
546 wasmparser::CompositeInnerType::Struct(_) => { in lookup_heap_type()
573 WasmCompositeInnerType::Struct(_) => WasmHeapType::ConcreteStruct(index), in lookup_heap_type()
592 wasmparser::CompositeInnerType::Struct(_) => { in lookup_heap_type()
/wasmtime-44.0.1/tests/all/
H A Dtypes.rs493 [valty(HeapType::Struct)], in func_subtyping_field_must_match()
501 (false, valty(HeapType::Struct), valty(HeapType::Extern)), in func_subtyping_field_must_match()
503 (true, valty(HeapType::Struct), valty(HeapType::Any)), in func_subtyping_field_must_match()
505 (true, valty(HeapType::Struct), valty(HeapType::Eq)), in func_subtyping_field_must_match()
702 assert!(!HeapType::NoExn.matches(&HeapType::Struct)); in heap_type_matches_noexn()
H A Dmodule.rs352 Struct(fn(&Engine) -> StructType), in concurrent_type_registry_modifications() enumerator
360 Test::Struct(|engine| StructType::new(engine, []).unwrap()), in concurrent_type_registry_modifications()
447 Some(Test::Struct(ctor)) => { in concurrent_type_registry_modifications()
H A Dgc.rs1445 StorageType::ValType(ValType::Ref(RefType::new(false, HeapType::Struct))), in issue_10772()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/gc/enabled/
H A Ddrc.rs107 Struct { enumerator
298 GcLayout::Struct(l) => TraceInfo::Struct { in insert_new_trace_info()
326 TraceInfo::Struct { gc_ref_offsets } => { in trace_gc_ref()
/wasmtime-44.0.1/crates/cranelift/src/func_environ/gc/
H A Denabled.rs1235 WasmHeapType::Struct => check_header_kind(func_env, builder, val, VMGcKind::StructRef), in translate_ref_test()
1397 WasmCompositeInnerType::Struct(s) => &s.fields, in initialize_struct_fields()
1605 | WasmHeapType::Struct in gc_ref_is_null_or_i31()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/
H A Dconst_expr.rs108 inner: WasmCompositeInnerType::Struct(struct_ty), in struct_new_default()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/externals/
H A Dglobal.rs186 | HeapType::Struct in _get()
/wasmtime-44.0.1/crates/fuzzing/src/
H A Doracles.rs926 vec![ValType::Ref(RefType::new(true, HeapType::Struct))], in gc_ops()
/wasmtime-44.0.1/crates/component-macro/src/
H A Dcomponent.rs178 let body = if let Data::Struct(body) = &input.data { in expand_record()
/wasmtime-44.0.1/crates/cranelift/src/
H A Dfunc_environ.rs2049 | WasmHeapType::Struct in check_indirect_call_type_signature()
2614 WasmCompositeInnerType::Struct(s) => Ok(s.fields.len()), in struct_fields_len()
/wasmtime-44.0.1/docs/js/
H A Dmermaid.min.11.6.0.js801Struct=22,t.Event=23,t.Operator=24,t.TypeParameter=25})(zoe||(zoe={}));(function(t){t.PlainText=1,…