Home
last modified time | relevance | path

Searched refs:AsBool (Results 1 – 25 of 79) sorted by relevance

1234

/third_party/abseil-cpp/absl/strings/internal/
Dchar_map_test.cc139 bool AsBool(int x) { return static_cast<bool>(x); } in AsBool() function
145 EXPECT_EQ(AsBool(std::isupper(c)), in TEST()
147 EXPECT_EQ(AsBool(std::islower(c)), in TEST()
149 EXPECT_EQ(AsBool(std::isdigit(c)), in TEST()
151 EXPECT_EQ(AsBool(std::isalpha(c)), in TEST()
153 EXPECT_EQ(AsBool(std::isalnum(c)), in TEST()
155 EXPECT_EQ(AsBool(std::isxdigit(c)), in TEST()
157 EXPECT_EQ(AsBool(std::isprint(c)), in TEST()
159 EXPECT_EQ(AsBool(std::isspace(c)), in TEST()
161 EXPECT_EQ(AsBool(std::iscntrl(c)), in TEST()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
Dchar_map_test.cc139 bool AsBool(int x) { return static_cast<bool>(x); } in AsBool() function
145 EXPECT_EQ(AsBool(std::isupper(c)), in TEST()
147 EXPECT_EQ(AsBool(std::islower(c)), in TEST()
149 EXPECT_EQ(AsBool(std::isdigit(c)), in TEST()
151 EXPECT_EQ(AsBool(std::isalpha(c)), in TEST()
153 EXPECT_EQ(AsBool(std::isalnum(c)), in TEST()
155 EXPECT_EQ(AsBool(std::isxdigit(c)), in TEST()
157 EXPECT_EQ(AsBool(std::isprint(c)), in TEST()
159 EXPECT_EQ(AsBool(std::isspace(c)), in TEST()
161 EXPECT_EQ(AsBool(std::iscntrl(c)), in TEST()
[all …]
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dtransformation_add_type_vector.cpp43 return component_type->AsBool() || component_type->AsFloat() || in IsApplicable()
54 component_type->AsBool()) && in Apply()
Dtransformation_equation_instruction.cpp263 if (!(operand_type->AsBool() || in MaybeGetResultTypeId()
265 operand_type->AsVector()->element_type()->AsBool()))) { in MaybeGetResultTypeId()
Dtransformation_add_synonym.cpp195 return (type->AsVector() && type->AsVector()->element_type()->AsBool()) || in IsInstructionValid()
196 type->AsBool(); in IsInstructionValid()
/third_party/spirv-tools/source/fuzz/
Dtransformation_add_type_vector.cpp43 return component_type->AsBool() || component_type->AsFloat() || in IsApplicable()
54 component_type->AsBool()) && in Apply()
Dtransformation_equation_instruction.cpp263 if (!(operand_type->AsBool() || in MaybeGetResultTypeId()
265 operand_type->AsVector()->element_type()->AsBool()))) { in MaybeGetResultTypeId()
Dtransformation_add_synonym.cpp182 return (type->AsVector() && type->AsVector()->element_type()->AsBool()) || in IsInstructionValid()
183 type->AsBool(); in IsInstructionValid()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_add_type_vector.cpp43 return component_type->AsBool() || component_type->AsFloat() || in IsApplicable()
54 component_type->AsBool()) && in Apply()
Dtransformation_equation_instruction.cpp263 if (!(operand_type->AsBool() || in MaybeGetResultTypeId()
265 operand_type->AsVector()->element_type()->AsBool()))) { in MaybeGetResultTypeId()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dfold_spec_constant_op_and_composite_pass.cpp306 if (type->AsBool()) { in IsValidTypeForComponentWiseOperation()
311 if (vt->element_type()->AsBool()) { in IsValidTypeForComponentWiseOperation()
338 } else if (type.AsBool()) { in EncodeIntegerAsWords()
399 if (result_type->AsInteger() || result_type->AsBool()) { in DoComponentWiseOperation()
Dset_spec_constant_default_value_pass.cpp49 if (!strcmp(text, "true") && type->AsBool()) { in ParseDefaultValueStr()
51 } else if (!strcmp(text, "false") && type->AsBool()) { in ParseDefaultValueStr()
96 if (type->AsBool()) { in ParseDefaultValueBitPattern()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dfold_spec_constant_op_and_composite_pass.cpp306 if (type->AsBool()) { in IsValidTypeForComponentWiseOperation()
311 if (vt->element_type()->AsBool()) { in IsValidTypeForComponentWiseOperation()
338 } else if (type.AsBool()) { in EncodeIntegerAsWords()
399 if (result_type->AsInteger() || result_type->AsBool()) { in DoComponentWiseOperation()
Dset_spec_constant_default_value_pass.cpp49 if (!strcmp(text, "true") && type->AsBool()) { in ParseDefaultValueStr()
51 } else if (!strcmp(text, "false") && type->AsBool()) { in ParseDefaultValueStr()
96 if (type->AsBool()) { in ParseDefaultValueBitPattern()
/third_party/spirv-tools/source/opt/
Dfold_spec_constant_op_and_composite_pass.cpp306 if (type->AsBool()) { in IsValidTypeForComponentWiseOperation()
311 if (vt->element_type()->AsBool()) { in IsValidTypeForComponentWiseOperation()
338 } else if (type.AsBool()) { in EncodeIntegerAsWords()
399 if (result_type->AsInteger() || result_type->AsBool()) { in DoComponentWiseOperation()
Dset_spec_constant_default_value_pass.cpp49 if (!strcmp(text, "true") && type->AsBool()) { in ParseDefaultValueStr()
51 } else if (!strcmp(text, "false") && type->AsBool()) { in ParseDefaultValueStr()
92 if (type->AsBool()) { in ParseDefaultValueBitPattern()
/third_party/mindspore/mindspore/lite/tools/converter/parser/tflite/
Dtflite_custom_parser.cc99 prim->set_use_regular_nms(attr_map["use_regular_nms"].AsBool()); in DetectPostProcess()
104 prim->set_out_quantized(attr_map["_output_quantized"].AsBool()); in DetectPostProcess()
117 prim->set_mag_square(attr_map["magnitude_squared"].AsBool()); in AudioSpectrogram()
/third_party/flutter/skia/third_party/externals/spirv-tools/source/opt/
Dset_spec_constant_default_value_pass.cpp48 if (!strcmp(text, "true") && type->AsBool()) { in ParseDefaultValueStr()
50 } else if (!strcmp(text, "false") && type->AsBool()) { in ParseDefaultValueStr()
91 if (type->AsBool()) { in ParseDefaultValueBitPattern()
Dfold_spec_constant_op_and_composite_pass.cpp508 if (type->AsBool()) { in IsValidTypeForComponentWiseOperation()
513 if (vt->element_type()->AsBool()) in IsValidTypeForComponentWiseOperation()
547 if (result_type->AsInteger() || result_type->AsBool()) { in DoComponentWiseOperation()
672 } else if (auto* bt = type->AsBool()) { in CreateConst()
686 if (c->type()->AsBool() || c->type()->AsInteger() || in CreateConst()
/third_party/node/test/js-native-api/test_conversions/
Dtest_conversions.c5 static napi_value AsBool(napi_env env, napi_callback_info info) { in AsBool() function
138 DECLARE_NAPI_PROPERTY("asBool", AsBool), in Init()
/third_party/skia/third_party/externals/tint/src/inspector/
Dscalar.h49 bool AsBool() const;
Dscalar.cc58 bool Scalar::AsBool() const { in AsBool() function in tint::inspector::Scalar
/third_party/skia/third_party/externals/spirv-tools/test/fuzz/
Dtransformation_add_type_boolean_test.cpp61 ASSERT_NE(nullptr, context->get_type_mgr()->GetType(100)->AsBool()); in TEST()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzz/
Dtransformation_add_type_boolean_test.cpp61 ASSERT_NE(nullptr, context->get_type_mgr()->GetType(100)->AsBool()); in TEST()
/third_party/spirv-tools/test/fuzz/
Dtransformation_add_type_boolean_test.cpp61 ASSERT_NE(nullptr, context->get_type_mgr()->GetType(100)->AsBool()); in TEST()

1234