/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/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/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/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/cronet/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/tensorflow/third_party/absl/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/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/deqp-deps/SPIRV-Tools/source/opt/ |
D | fold_spec_constant_op_and_composite_pass.cpp | 217 if (type->AsBool()) { in IsValidTypeForComponentWiseOperation() 222 if (vt->element_type()->AsBool()) { in IsValidTypeForComponentWiseOperation() 249 } else if (type.AsBool()) { in EncodeIntegerAsWords() 310 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()
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/ |
D | fold_spec_constant_op_and_composite_pass.cpp | 216 if (type->AsBool()) { in IsValidTypeForComponentWiseOperation() 221 if (vt->element_type()->AsBool()) { in IsValidTypeForComponentWiseOperation() 248 } else if (type.AsBool()) { in EncodeIntegerAsWords() 309 if (result_type->AsInteger() || result_type->AsBool()) { in DoComponentWiseOperation()
|
D | set_spec_constant_default_value_pass.cpp | 46 if (!strcmp(text, "true") && type->AsBool()) { in ParseDefaultValueStr() 48 } else if (!strcmp(text, "false") && type->AsBool()) { in ParseDefaultValueStr() 93 if (type->AsBool()) { in ParseDefaultValueBitPattern()
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | fold_spec_constant_op_and_composite_pass.cpp | 219 if (type->AsBool()) { in IsValidTypeForComponentWiseOperation() 224 if (vt->element_type()->AsBool()) { in IsValidTypeForComponentWiseOperation() 251 } else if (type.AsBool()) { in EncodeIntegerAsWords() 312 if (result_type->AsInteger() || result_type->AsBool()) { in DoComponentWiseOperation()
|
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() 95 if (type->AsBool()) { in ParseDefaultValueBitPattern()
|
/external/deqp-deps/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()
|
/external/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 | 264 if (!(operand_type->AsBool() || in MaybeGetResultTypeId() 266 operand_type->AsVector()->element_type()->AsBool()))) { in MaybeGetResultTypeId()
|
/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 | 264 if (!(operand_type->AsBool() || in MaybeGetResultTypeId() 266 operand_type->AsVector()->element_type()->AsBool()))) { in MaybeGetResultTypeId()
|
/external/armnn/include/armnn/ |
D | BackendOptions.hpp | 119 bool AsBool() const { assert(IsBool()); return m_Vals.b; } in AsBool() function in armnn::BackendOptions::Var 126 if (IsBool()) { return AsBool() ? "true" : "false"; } in ToString() 316 return value.AsBool(); in ParseBooleanBackendOption()
|
/external/armnn/src/backends/neon/ |
D | NeonBackendModelContext.cpp | 15 return value.AsBool(); in ParseBool()
|
/external/armnn/src/backends/cl/ |
D | ClBackendModelContext.cpp | 15 return value.AsBool(); in ParseBool()
|