Home
last modified time | relevance | path

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

1234

/external/webrtc/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 …]
/external/angle/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 …]
/external/libtextclassifier/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 …]
/external/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 …]
/external/openscreen/third_party/abseil/src/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 …]
/external/rust/crates/grpcio-sys/grpc/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 …]
/external/libtextclassifier/native/utils/tflite/
Dstring_projection_base.cc57 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/
Daudio_microfrontend.cc60 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/
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.cpp194 return (type->AsVector() && type->AsVector()->element_type()->AsBool()) || in IsInstructionValid()
195 type->AsBool(); in IsInstructionValid()
/external/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()
92 if (type->AsBool()) { in ParseDefaultValueBitPattern()
/external/deqp-deps/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()
/external/angle/third_party/vulkan-deps/spirv-tools/src/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()
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dbugprone-sizeof-expression.cpp20 bool AsBool() { return false; } in AsBool() function
81 sum += sizeof(AsBool()); in Test1()
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_add_type_vector.cpp43 return component_type->AsBool() || component_type->AsFloat() || in IsApplicable()
Dtransformation_equation_instruction.cpp259 if (!(operand_type->AsBool() || in MaybeGetResultTypeId()
261 operand_type->AsVector()->element_type()->AsBool()))) { in MaybeGetResultTypeId()
Dtransformation_add_synonym.cpp177 return (type->AsVector() && type->AsVector()->element_type()->AsBool()) || in IsInstructionValid()
178 type->AsBool(); in IsInstructionValid()
/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dtransformation_add_type_vector.cpp43 return component_type->AsBool() || component_type->AsFloat() || in IsApplicable()
Dtransformation_equation_instruction.cpp259 if (!(operand_type->AsBool() || in MaybeGetResultTypeId()
261 operand_type->AsVector()->element_type()->AsBool()))) { in MaybeGetResultTypeId()
Dtransformation_add_synonym.cpp177 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/
Dtransformation_add_type_boolean_test.cpp61 ASSERT_NE(nullptr, context->get_type_mgr()->GetType(100)->AsBool()); in TEST()

1234