| /wasmtime-44.0.1/crates/wiggle/tests/ |
| H A D | ints.rs | 16 ) -> Result<types::Bool, types::Errno> { in cookie_cutter() argument 18 types::Bool::True in cookie_cutter() 20 types::Bool::False in cookie_cutter() 63 .read(GuestPtr::<types::Bool>::new(self.return_ptr_loc.ptr)) in test() 67 if is_cookie_start == types::Bool::True { in test()
|
| /wasmtime-44.0.1/cranelift/codegen/meta/src/cdsl/ |
| H A D | settings.rs | 15 Bool(BoolSetting), enumerator 32 SpecificSetting::Bool(BoolSetting { in default_byte() 50 SpecificSetting::Bool(BoolSetting { bit_offset, .. }) => { in byte_for_value() 63 SpecificSetting::Bool(BoolSetting { bit_offset, .. }) => 1 << bit_offset, in byte_mask() 136 .filter(|s| matches!(s.specific, SpecificSetting::Bool(_))) in num_bool_settings() 148 Bool(bool), enumerator 202 ProtoSpecificSetting::Bool(default), in add_bool() 290 ProtoSpecificSetting::Bool(..) => continue, in build() 313 ProtoSpecificSetting::Bool(default) => default, in build() 321 specific: SpecificSetting::Bool(BoolSetting { in build()
|
| /wasmtime-44.0.1/cranelift/isle/veri/veri_engine/examples/load/ |
| H A D | load_conditional.isle | 6 ((args Bool (bv 8) (bv 8)) (ret (bv 8)) (canon (bv 8))) 7 ((args Bool (bv 16) (bv 16)) (ret (bv 16)) (canon (bv 16))) 8 ((args Bool (bv 32) (bv 32)) (ret (bv 32)) (canon (bv 32))) 9 ((args Bool (bv 64) (bv 64)) (ret (bv 64)) (canon (bv 64)))
|
| /wasmtime-44.0.1/cranelift/isle/veri/veri_engine/examples/store/ |
| H A D | store_switch.isle | 6 ((args Bool (bv 8) (bv 8)) (ret Unit) (canon (bv 8))) 7 ((args Bool (bv 16) (bv 16)) (ret Unit) (canon (bv 16))) 8 ((args Bool (bv 32) (bv 32)) (ret Unit) (canon (bv 32))) 9 ((args Bool (bv 64) (bv 64)) (ret Unit) (canon (bv 64)))
|
| /wasmtime-44.0.1/cranelift/codegen/src/ |
| H A D | settings.rs | 54 Bool, enumerator 91 detail::Detail::Bool { .. } => SettingKind::Bool, in kind() 112 detail::Detail::Bool { bit } => Some(self.value & (1 << bit) != 0), in as_bool() 122 SettingKind::Bool => self.as_bool().map(|b| b.to_string()), in value_string() 180 detail::Detail::Bool { .. } => (SettingKind::Bool, None), in iter() 246 Detail::Bool { bit } => { in enable() 262 Detail::Bool { bit } => { in set() 355 Detail::Bool { bit } => write!(f, "{}", (byte & (1 << bit)) != 0), in format_toml_value() 409 Bool { enumerator
|
| /wasmtime-44.0.1/tests/all/component_model/ |
| H A D | dynamic.rs | 14 let mut output = [Val::Bool(false)]; in primitives() 101 let mut output = [Val::Bool(false)]; in strings() 121 let mut output = [Val::Bool(false)]; in lists() 155 let mut output = [Val::Bool(false)]; in maps() 236 let mut output = [Val::Bool(false)]; in maps_complex_types() 329 let mut output = [Val::Bool(false)]; in maps_duplicate_keys() 357 let mut output = [Val::Bool(false)]; in maps_all_primitive_types() 396 let mut output = [Val::Bool(false)]; in maps_alignment() 457 let mut output = [Val::Bool(false)]; in maps_large() 517 let mut output = [Val::Bool(false)]; in records() [all …]
|
| H A D | func.rs | 1317 Val::Bool(input.7), in test_many_parameters() 1318 Val::Bool(input.8), in test_many_parameters() 1326 let mut results = vec![Val::Bool(false)]; in test_many_parameters() 1759 let mut results = vec![Val::Bool(false)]; in test_many_results() 1801 let Some(Val::Bool(p8)) = results.next() else { in test_many_results() 3974 let mut results = [Val::Bool(false)]; in map_trampoline_alignment() 4107 let mut results = [Val::Bool(false)]; in map_trampoline_alignment_u32_u64() 4238 let mut results = [Val::Bool(false)]; in map_trampoline_alignment_u8_u32() 4369 let mut results = [Val::Bool(false)]; in map_trampoline_alignment_u16_u64() 4500 let mut results = [Val::Bool(false)]; in map_trampoline_alignment_u8_u16() [all …]
|
| /wasmtime-44.0.1/crates/wasmtime/src/ |
| H A D | engine.rs | 444 "preserve_frame_pointers" => *value == FlagValue::Bool(true), in check_compatible_with_shared_flag() 445 "enable_probestack" => *value == FlagValue::Bool(true), in check_compatible_with_shared_flag() 447 "enable_multi_ret_implicit_sret" => *value == FlagValue::Bool(true), in check_compatible_with_shared_flag() 452 "enable_llvm_abi_extensions" => *value == FlagValue::Bool(false), in check_compatible_with_shared_flag() 453 "enable_pinned_reg" => *value == FlagValue::Bool(false), in check_compatible_with_shared_flag() 454 "use_colocated_libcalls" => *value == FlagValue::Bool(false), in check_compatible_with_shared_flag() 455 "use_pinned_reg_as_heap_base" => *value == FlagValue::Bool(false), in check_compatible_with_shared_flag() 460 *value == FlagValue::Bool(true) in check_compatible_with_shared_flag() 533 FlagValue::Bool(false) => return Ok(()), in check_compatible_with_isa_flag() 537 FlagValue::Bool(true) => {} in check_compatible_with_isa_flag()
|
| /wasmtime-44.0.1/crates/wast/src/ |
| H A D | component.rs | 11 ComponentConst::Bool(b) => Val::Bool(*b), in val() 64 ComponentConst::Bool(e) => match actual { in match_val() 65 Val::Bool(a) => match_debug(a, e), in match_val() 245 ComponentConst::Bool(..) => "bool", in mismatch() 268 Val::Bool(..) => "bool", in mismatch()
|
| /wasmtime-44.0.1/cranelift/isle/veri/veri_engine/src/ |
| H A D | type_inference.rs | 48 Bool(bool), enumerator 155 annotation_ir::Type::Bool => veri_ir::Type::Bool, in convert_type() 393 .insert(TypeExpr::Concrete(t, annotation_ir::Type::Bool)); in add_annotation_constraints() 401 .insert(TypeExpr::Concrete(t, annotation_ir::Type::Bool)); in add_annotation_constraints() 425 .insert(TypeExpr::Concrete(t, annotation_ir::Type::Bool)); in add_annotation_constraints() 444 .insert(TypeExpr::Concrete(t, annotation_ir::Type::Bool)); in add_annotation_constraints() 458 .insert(TypeExpr::Concrete(t, annotation_ir::Type::Bool)); in add_annotation_constraints() 1459 TypeVarConstruct::Bool(val) => { in add_rule_constraints() 1982 Type::Bool => annotation_ir::Type::Bool, in annotation_type_for_vir_type() 2176 construct: TypeVarConstruct::Bool(*val), in create_parse_tree_pattern() [all …]
|
| H A D | annotations.rs | 298 ty: Type::Bool, in spec_to_expr() 321 ModelType::Bool => veri_ir::Type::Bool, in model_type_to_type() 352 ModelType::Bool => annotation_ir::Type::Bool, in parse_annotations()
|
| /wasmtime-44.0.1/crates/cranelift/src/ |
| H A D | isa_builder.rs | 65 settings::SettingKind::Bool => SettingKind::Bool, in settings()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/wave/ |
| H A D | component.rs | 22 Self::Bool => WasmTypeKind::Bool, in kind() 121 Self::Bool(_) => WasmTypeKind::Bool, in kind() 152 (Bool, bool, make_bool, unwrap_bool), 426 (Val::Bool(false), "false"), in component_vals_smoke_test() 427 (Val::Bool(true), "true"), in component_vals_smoke_test()
|
| /wasmtime-44.0.1/crates/c-api/src/component/ |
| H A D | val.rs | 254 Bool(bool), enumerator 281 Self::Bool(false) in default() 288 wasmtime_component_val_t::Bool(x) => Val::Bool(*x), in from() 327 Val::Bool(x) => wasmtime_component_val_t::Bool(*x), in from()
|
| H A D | func.rs | 18 let mut results = vec![Val::Bool(false); results_len]; in wasmtime_component_func_call()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/component/ |
| H A D | values.rs | 68 Bool(bool), enumerator 106 InterfaceType::Bool => Val::Bool(bool::linear_lift_from_flat(cx, ty, next(src))?), in lift() 230 InterfaceType::Bool => Val::Bool(bool::linear_lift_from_memory(cx, ty, bytes)?), in load() 364 (InterfaceType::Bool, Val::Bool(value)) => { in lower() 367 (InterfaceType::Bool, _) => unexpected(ty, self), in lower() 525 (InterfaceType::Bool, Val::Bool(value)) => value.linear_lower_to_memory(cx, ty, offset), in store() 526 (InterfaceType::Bool, _) => unexpected(ty, self), in store() 680 Val::Bool(_) => "bool", in desc() 744 (Self::Bool(l), Self::Bool(r)) => l == r, in eq() 745 (Self::Bool(_), _) => false, in eq() [all …]
|
| H A D | types.rs | 127 (InterfaceType::Bool, InterfaceType::Bool) => true, in interface_types_equal() 128 (InterfaceType::Bool, _) => false, in interface_types_equal() 709 Bool, enumerator 870 InterfaceType::Bool => Type::Bool, in from() 903 Type::Bool => "bool", in desc()
|
| /wasmtime-44.0.1/src/commands/ |
| H A D | settings.rs | 69 if let FlagValue::Bool(true) = value { in infer() 83 SettingKind::Bool => &mut self.bools, in add_setting()
|
| /wasmtime-44.0.1/crates/misc/component-async-tests/tests/scenario/ |
| H A D | round_trip_many.rs | 373 ("b".into(), Val::Bool(e.b)), in test_round_trip_many() 395 let mut result = vec![Val::Bool(false)]; in test_round_trip_many() 419 let mut results = [Val::Bool(false)]; in test_round_trip_many()
|
| /wasmtime-44.0.1/crates/fuzzing/src/oracles/ |
| H A D | component_api.rs | 38 Type::Bool => Val::Bool(input.arbitrary()?), in arbitrary_val() 384 let mut actual = vec![Val::Bool(false); results.len()]; in dynamic_component_api_target() 419 case.params = vec![&Type::S32, &Type::Bool, &Type::String]; in static_api_smoke_test()
|
| /wasmtime-44.0.1/crates/test-util/src/ |
| H A D | component_fuzz.rs | 114 Bool, enumerator 164 0 => Type::Bool, in generate() 217 0 => Type::Bool, in generate_hashable_key() 397 Type::Bool in store_flat_helper() 444 Type::Bool | Type::U8 => Kind::Primitive("i32.load8_u"), in load_flat() 575 Type::Bool in load_flat_helper() 694 Type::Bool in lower() 725 Type::Bool | Type::S8 | Type::U8 => SizeAndAlignment { in size_and_alignment() 1183 Type::Bool => quote!(bool), in rust_type() 1357 Type::Bool => dst.push_str("bool"), in write_ref() [all …]
|
| /wasmtime-44.0.1/crates/c-api/src/component/types/ |
| H A D | val.rs | 8 Bool, enumerator 40 Type::Bool => Self::Bool, in from()
|
| /wasmtime-44.0.1/cranelift/codegen/meta/src/ |
| H A D | gen_settings.rs | 125 SpecificSetting::Bool(_) | SpecificSetting::Num(_) => continue, in gen_enum_types() 151 SpecificSetting::Bool(BoolSetting { in gen_getter() 236 SpecificSetting::Bool(BoolSetting { bit_offset, .. }) => { in gen_descriptors()
|
| /wasmtime-44.0.1/cranelift/isle/veri/veri_ir/src/ |
| H A D | annotation_ir.rs | 99 Bool, enumerator 113 Type::Bool => write!(f, "Bool"), in fmt()
|
| H A D | lib.rs | 53 Bool, enumerator 70 Type::Bool => write!(f, "Bool"), in fmt()
|