/external/webrtc/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 …]
|
/external/angle/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 …]
|
/external/libtextclassifier/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 …]
|
/external/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 …]
|
/external/openscreen/third_party/abseil/src/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 …]
|
/external/rust/crates/grpcio-sys/grpc/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 …]
|
/external/libtextclassifier/native/utils/tflite/ |
D | string_projection_base.cc | 57 binary_projection_(custom_options["binary_projection"].AsBool()), in StringProjectionOpBase() 63 .include_all_ngrams = custom_options["include_all_ngrams"].AsBool(), in StringProjectionOpBase() 64 .preprocess = custom_options["preprocess"].AsBool(), in StringProjectionOpBase() 65 .char_level = custom_options["char_level"].AsBool(), in StringProjectionOpBase() 66 .remove_punctuation = custom_options["remove_punctuation"].AsBool(), in StringProjectionOpBase()
|
/external/tensorflow/tensorflow/lite/experimental/microfrontend/ |
D | audio_microfrontend.cc | 60 config.pcan_gain_control.enable_pcan = m["enable_pcan"].AsBool(); in Init() 64 config.log_scale.enable_log = m["enable_log"].AsBool(); in Init() 73 data->zero_padding = m["zero_padding"].AsBool(); in Init() 75 data->out_float = m["out_float"].AsBool(); in Init()
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/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 | 194 return (type->AsVector() && type->AsVector()->element_type()->AsBool()) || in IsInstructionValid() 195 type->AsBool(); in IsInstructionValid()
|
/external/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() 92 if (type->AsBool()) { in ParseDefaultValueBitPattern()
|
/external/deqp-deps/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()
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/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()
|
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/ |
D | bugprone-sizeof-expression.cpp | 20 bool AsBool() { return false; } in AsBool() function 81 sum += sizeof(AsBool()); in Test1()
|
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
D | transformation_add_type_vector.cpp | 43 return component_type->AsBool() || component_type->AsFloat() || in IsApplicable()
|
D | transformation_equation_instruction.cpp | 259 if (!(operand_type->AsBool() || in MaybeGetResultTypeId() 261 operand_type->AsVector()->element_type()->AsBool()))) { in MaybeGetResultTypeId()
|
D | transformation_add_synonym.cpp | 177 return (type->AsVector() && type->AsVector()->element_type()->AsBool()) || in IsInstructionValid() 178 type->AsBool(); in IsInstructionValid()
|
/external/deqp-deps/SPIRV-Tools/source/fuzz/ |
D | transformation_add_type_vector.cpp | 43 return component_type->AsBool() || component_type->AsFloat() || in IsApplicable()
|
D | transformation_equation_instruction.cpp | 259 if (!(operand_type->AsBool() || in MaybeGetResultTypeId() 261 operand_type->AsVector()->element_type()->AsBool()))) { in MaybeGetResultTypeId()
|
D | transformation_add_synonym.cpp | 177 return (type->AsVector() && type->AsVector()->element_type()->AsBool()) || in IsInstructionValid() 178 type->AsBool(); in IsInstructionValid()
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/fuzz/ |
D | transformation_add_type_boolean_test.cpp | 61 ASSERT_NE(nullptr, context->get_type_mgr()->GetType(100)->AsBool()); in TEST()
|