Home
last modified time | relevance | path

Searched refs:bool_ (Results 1 – 25 of 61) sorted by relevance

123

/third_party/skia/third_party/externals/tint/src/writer/glsl/
Dgenerator_impl_binary_test.cc244 Global("a", ty.bool_(), ast::StorageClass::kPrivate); in TEST_F()
245 Global("b", ty.bool_(), ast::StorageClass::kPrivate); in TEST_F()
265 Global("a", ty.bool_(), ast::StorageClass::kPrivate); in TEST_F()
266 Global("b", ty.bool_(), ast::StorageClass::kPrivate); in TEST_F()
267 Global("c", ty.bool_(), ast::StorageClass::kPrivate); in TEST_F()
268 Global("d", ty.bool_(), ast::StorageClass::kPrivate); in TEST_F()
299 Global("a", ty.bool_(), ast::StorageClass::kPrivate); in TEST_F()
300 Global("b", ty.bool_(), ast::StorageClass::kPrivate); in TEST_F()
327 Global("a", ty.bool_(), ast::StorageClass::kPrivate); in TEST_F()
328 Global("b", ty.bool_(), ast::StorageClass::kPrivate); in TEST_F()
[all …]
Dgenerator_impl_if_test.cc25 Global("cond", ty.bool_(), ast::StorageClass::kPrivate); in TEST_F()
43 Global("cond", ty.bool_(), ast::StorageClass::kPrivate); in TEST_F()
44 Global("else_cond", ty.bool_(), ast::StorageClass::kPrivate); in TEST_F()
72 Global("cond", ty.bool_(), ast::StorageClass::kPrivate); in TEST_F()
97 Global("cond", ty.bool_(), ast::StorageClass::kPrivate); in TEST_F()
98 Global("else_cond", ty.bool_(), ast::StorageClass::kPrivate); in TEST_F()
Dgenerator_impl_unary_op_test.cc67 Global("expr", ty.bool_(), ast::StorageClass::kPrivate); in TEST_F()
/third_party/skia/third_party/externals/tint/src/writer/hlsl/
Dgenerator_impl_binary_test.cc244 Global("a", ty.bool_(), ast::StorageClass::kPrivate); in TEST_F()
245 Global("b", ty.bool_(), ast::StorageClass::kPrivate); in TEST_F()
265 Global("a", ty.bool_(), ast::StorageClass::kPrivate); in TEST_F()
266 Global("b", ty.bool_(), ast::StorageClass::kPrivate); in TEST_F()
267 Global("c", ty.bool_(), ast::StorageClass::kPrivate); in TEST_F()
268 Global("d", ty.bool_(), ast::StorageClass::kPrivate); in TEST_F()
299 Global("a", ty.bool_(), ast::StorageClass::kPrivate); in TEST_F()
300 Global("b", ty.bool_(), ast::StorageClass::kPrivate); in TEST_F()
327 Global("a", ty.bool_(), ast::StorageClass::kPrivate); in TEST_F()
328 Global("b", ty.bool_(), ast::StorageClass::kPrivate); in TEST_F()
[all …]
Dgenerator_impl_if_test.cc25 Global("cond", ty.bool_(), ast::StorageClass::kPrivate); in TEST_F()
43 Global("cond", ty.bool_(), ast::StorageClass::kPrivate); in TEST_F()
44 Global("else_cond", ty.bool_(), ast::StorageClass::kPrivate); in TEST_F()
72 Global("cond", ty.bool_(), ast::StorageClass::kPrivate); in TEST_F()
97 Global("cond", ty.bool_(), ast::StorageClass::kPrivate); in TEST_F()
98 Global("else_cond", ty.bool_(), ast::StorageClass::kPrivate); in TEST_F()
Dgenerator_impl_unary_op_test.cc67 Global("expr", ty.bool_(), ast::StorageClass::kPrivate); in TEST_F()
/third_party/skia/third_party/externals/tint/src/writer/msl/
Dgenerator_impl_if_test.cc25 auto* cond = Var("cond", ty.bool_()); in TEST_F()
41 auto* cond = Var("cond", ty.bool_()); in TEST_F()
42 auto* else_cond = Var("else_cond", ty.bool_()); in TEST_F()
62 auto* cond = Var("cond", ty.bool_()); in TEST_F()
80 auto* cond = Var("cond", ty.bool_()); in TEST_F()
81 auto* else_cond = Var("else_cond", ty.bool_()); in TEST_F()
/third_party/skia/third_party/externals/tint/src/writer/wgsl/
Dgenerator_impl_if_test.cc25 Global("cond", ty.bool_(), ast::StorageClass::kPrivate); in TEST_F()
44 Global("cond", ty.bool_(), ast::StorageClass::kPrivate); in TEST_F()
45 Global("else_cond", ty.bool_(), ast::StorageClass::kPrivate); in TEST_F()
71 Global("cond", ty.bool_(), ast::StorageClass::kPrivate); in TEST_F()
96 Global("cond", ty.bool_(), ast::StorageClass::kPrivate); in TEST_F()
97 Global("else_cond", ty.bool_(), ast::StorageClass::kPrivate); in TEST_F()
Dgenerator_impl_type_test.cc52 auto* a = ty.array(ty.bool_(), 4, 16u); in TEST_F()
63 auto* a = ty.array(ty.bool_()); in TEST_F()
74 auto* bool_ = ty.bool_(); in TEST_F() local
75 Alias("make_type_reachable", bool_); in TEST_F()
80 ASSERT_TRUE(gen.EmitType(out, bool_)) << gen.error(); in TEST_F()
Dgenerator_impl_binary_test.cc37 return ty.bool_(); in TEST_P()
/third_party/flutter/engine/flutter/shell/platform/common/cpp/client_wrapper/include/flutter/
Dencodable_value.h68 explicit EncodableValue(bool value) : bool_(value), type_(Type::kBool) {} in EncodableValue()
127 bool_ = false; in EncodableValue()
172 bool_ = other.bool_; in EncodableValue()
230 bool_ = other.bool_;
291 return bool_ < other.bool_;
317 return bool_; in BoolValue()
550 bool bool_; member
/third_party/skia/third_party/externals/tint/src/
Dintrinsic_table_test.cc183 auto* bool_ = create<sem::Bool>(); in TEST_F() local
185 table->Lookup(IntrinsicType::kClamp, {bool_, bool_, bool_}, Source{}); in TEST_F()
192 auto* bool_ = create<sem::Bool>(); in TEST_F() local
194 table->Lookup(IntrinsicType::kSelect, {f32, f32, bool_}, Source{}); in TEST_F()
202 EXPECT_EQ(result->Parameters()[2]->Type(), bool_); in TEST_F()
516 auto* bool_ = create<sem::Bool>(); in TEST_F() local
517 table->Lookup(IntrinsicType::kTextureDimensions, {bool_, bool_}, Source{}); in TEST_F()
554 auto* bool_ = create<sem::Bool>(); in TEST_F() local
555 table->Lookup(IntrinsicType::kTextureDimensions, {tex, bool_}, Source{}); in TEST_F()
594 auto* bool_ = create<sem::Bool>(); in TEST_F() local
[all …]
/third_party/skia/third_party/externals/tint/src/resolver/
Dresolver_constants_test.cc86 EXPECT_EQ(sem->ConstantValue().Elements()[0].bool_, true); in TEST_F()
160 EXPECT_EQ(sem->ConstantValue().Elements()[0].bool_, false); in TEST_F()
161 EXPECT_EQ(sem->ConstantValue().Elements()[1].bool_, false); in TEST_F()
162 EXPECT_EQ(sem->ConstantValue().Elements()[2].bool_, false); in TEST_F()
236 EXPECT_EQ(sem->ConstantValue().Elements()[0].bool_, true); in TEST_F()
237 EXPECT_EQ(sem->ConstantValue().Elements()[1].bool_, true); in TEST_F()
238 EXPECT_EQ(sem->ConstantValue().Elements()[2].bool_, true); in TEST_F()
312 EXPECT_EQ(sem->ConstantValue().Elements()[0].bool_, true); in TEST_F()
313 EXPECT_EQ(sem->ConstantValue().Elements()[1].bool_, false); in TEST_F()
314 EXPECT_EQ(sem->ConstantValue().Elements()[2].bool_, true); in TEST_F()
[all …]
Dhost_shareable_validation_test.cc29 auto* s = Structure("S", {Member(Source{{12, 34}}, "x", ty.bool_())}, in TEST_F()
69 auto* a1 = Alias("a1", ty.bool_()); in TEST_F()
90 auto* i1 = Structure("I1", {Member(Source{{1, 2}}, "x", ty.bool_())}); in TEST_F()
Dstorage_class_validation_test.cc88 auto* a = Alias("a", ty.bool_()); in TEST_F()
188 Global(Source{{56, 78}}, "g", ty.bool_(), ast::StorageClass::kUniform, in TEST_F()
237 auto* a = Alias("a", ty.bool_()); in TEST_F()
Dvar_let_test.cc47 auto* b = Var("b", ty.bool_(), ast::StorageClass::kNone); in TEST_F()
111 auto* b = Var("b", ty.bool_(), ast::StorageClass::kNone, b_c); in TEST_F()
178 auto* b = Const("b", ty.bool_(), b_c); in TEST_F()
621 auto* p = Param("a", ty.bool_()); in TEST_F()
642 auto* p = Param("a", ty.bool_()); in TEST_F()
663 auto* p = Param("a", ty.bool_()); in TEST_F()
/third_party/skia/third_party/externals/tint/src/sem/
Dconstant.h44 bool bool_; member
60 Scalar(bool v) : bool_(v) {} // NOLINT in Scalar()
118 return func(elems_[index].bool_); in WithScalarAt()
/third_party/jsoncpp/src/lib_json/
Djson_value.cpp369 value_.bool_ = false; in Value()
428 value_.bool_ = value; in Value()
504 return value_.bool_ < other.value_.bool_; in operator <()
559 return value_.bool_ == other.value_.bool_; in operator ==()
642 return value_.bool_ ? "true" : "false"; in asString()
669 return value_.bool_ ? 1 : 0; in asInt()
691 return value_.bool_ ? 1 : 0; in asUInt()
714 return value_.bool_ ? 1 : 0; in asInt64()
735 return value_.bool_ ? 1 : 0; in asUInt64()
774 return value_.bool_ ? 1.0 : 0.0; in asDouble()
[all …]
/third_party/skia/third_party/externals/tint/src/writer/spirv/
Dbuilder_if_test.cc482 auto* fn = Func("f", {}, ty.bool_(), in TEST_F()
513 auto* fn = Func("f", {}, ty.bool_(), in TEST_F()
552 auto* fn = Func("f", {}, ty.bool_(), in TEST_F()
581 auto* var = Global("a", ty.bool_(), ast::StorageClass::kPrivate); in TEST_F()
Dbuilder_global_variable_test.cc153 auto* v = GlobalConst("var", ty.bool_(), Expr(true), in TEST_F()
171 auto* v = GlobalConst("var", ty.bool_(), Construct<bool>(), in TEST_F()
189 auto* v = GlobalConst("var", ty.bool_(), nullptr, in TEST_F()
297 auto* var_a = GlobalConst("a", ty.bool_(), Expr(true), in TEST_F()
301 auto* var_b = GlobalConst("b", ty.bool_(), Expr(false), in TEST_F()
Dbuilder_type_test.cc126 auto* bool_ = create<sem::Bool>(); in TEST_F() local
130 auto id = b.GenerateTypeIfNeeded(bool_); in TEST_F()
140 auto* bool_ = create<sem::Bool>(); in TEST_F() local
145 EXPECT_EQ(b.GenerateTypeIfNeeded(bool_), 1u); in TEST_F()
149 EXPECT_EQ(b.GenerateTypeIfNeeded(bool_), 1u); in TEST_F()
/third_party/protobuf/src/google/protobuf/util/internal/
Ddatapiece.h93 : type_(TYPE_BOOL), bool_(value), use_strict_base64_decoding_(false) {} in DataPiece()
205 bool bool_; member
Ddatapiece.cc205 return bool_; in ToBool()
245 return SimpleBtoa(bool_); in ValueAsStringOrDefault()
/third_party/skia/third_party/externals/tint/src/reader/spirv/
Dparser_type.cc139 return b.ty.bool_(); in Build()
275 spirv::Bool const* bool_ = nullptr; member
419 if (!state->bool_) { in Bool()
420 state->bool_ = state->allocator_.Create<spirv::Bool>(); in Bool()
422 return state->bool_; in Bool()
/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_unittest.cc111 protobuf_unittest::bool_ conflicting_enum; in TEST()

123