/third_party/abseil-cpp/absl/strings/internal/ |
D | char_map_test.cc | 139 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/ |
D | char_map_test.cc | 139 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/ |
D | transformation_add_type_vector.cpp | 43 return component_type->AsBool() || component_type->AsFloat() || in IsApplicable() 54 component_type->AsBool()) && in Apply()
|
D | transformation_equation_instruction.cpp | 263 if (!(operand_type->AsBool() || in MaybeGetResultTypeId() 265 operand_type->AsVector()->element_type()->AsBool()))) { in MaybeGetResultTypeId()
|
D | transformation_add_synonym.cpp | 195 return (type->AsVector() && type->AsVector()->element_type()->AsBool()) || in IsInstructionValid() 196 type->AsBool(); in IsInstructionValid()
|
/third_party/spirv-tools/source/fuzz/ |
D | transformation_add_type_vector.cpp | 43 return component_type->AsBool() || component_type->AsFloat() || in IsApplicable() 54 component_type->AsBool()) && in Apply()
|
D | transformation_equation_instruction.cpp | 263 if (!(operand_type->AsBool() || in MaybeGetResultTypeId() 265 operand_type->AsVector()->element_type()->AsBool()))) { in MaybeGetResultTypeId()
|
D | transformation_add_synonym.cpp | 182 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/ |
D | transformation_add_type_vector.cpp | 43 return component_type->AsBool() || component_type->AsFloat() || in IsApplicable() 54 component_type->AsBool()) && in Apply()
|
D | transformation_equation_instruction.cpp | 263 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/ |
D | fold_spec_constant_op_and_composite_pass.cpp | 306 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()
|
D | set_spec_constant_default_value_pass.cpp | 49 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/ |
D | fold_spec_constant_op_and_composite_pass.cpp | 306 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()
|
D | set_spec_constant_default_value_pass.cpp | 49 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/ |
D | fold_spec_constant_op_and_composite_pass.cpp | 306 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()
|
D | set_spec_constant_default_value_pass.cpp | 49 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/ |
D | tflite_custom_parser.cc | 99 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/ |
D | set_spec_constant_default_value_pass.cpp | 48 if (!strcmp(text, "true") && type->AsBool()) { in ParseDefaultValueStr() 50 } else if (!strcmp(text, "false") && type->AsBool()) { in ParseDefaultValueStr() 91 if (type->AsBool()) { in ParseDefaultValueBitPattern()
|
D | fold_spec_constant_op_and_composite_pass.cpp | 508 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/ |
D | test_conversions.c | 5 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/ |
D | scalar.h | 49 bool AsBool() const;
|
D | scalar.cc | 58 bool Scalar::AsBool() const { in AsBool() function in tint::inspector::Scalar
|
/third_party/skia/third_party/externals/spirv-tools/test/fuzz/ |
D | transformation_add_type_boolean_test.cpp | 61 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/ |
D | transformation_add_type_boolean_test.cpp | 61 ASSERT_NE(nullptr, context->get_type_mgr()->GetType(100)->AsBool()); in TEST()
|
/third_party/spirv-tools/test/fuzz/ |
D | transformation_add_type_boolean_test.cpp | 61 ASSERT_NE(nullptr, context->get_type_mgr()->GetType(100)->AsBool()); in TEST()
|