Home
last modified time | relevance | path

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

1234

/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/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/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/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/cronet/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/tensorflow/third_party/absl/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/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/deqp-deps/SPIRV-Tools/source/opt/
Dfold_spec_constant_op_and_composite_pass.cpp217 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()
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()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Dfold_spec_constant_op_and_composite_pass.cpp216 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()
Dset_spec_constant_default_value_pass.cpp46 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/
Dfold_spec_constant_op_and_composite_pass.cpp219 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()
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()
95 if (type->AsBool()) { in ParseDefaultValueBitPattern()
/external/deqp-deps/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()
/external/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.cpp264 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/
Dtransformation_add_type_vector.cpp43 return component_type->AsBool() || component_type->AsFloat() || in IsApplicable()
54 component_type->AsBool()) && in Apply()
Dtransformation_equation_instruction.cpp264 if (!(operand_type->AsBool() || in MaybeGetResultTypeId()
266 operand_type->AsVector()->element_type()->AsBool()))) { in MaybeGetResultTypeId()
/external/armnn/include/armnn/
DBackendOptions.hpp119 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/
DNeonBackendModelContext.cpp15 return value.AsBool(); in ParseBool()
/external/armnn/src/backends/cl/
DClBackendModelContext.cpp15 return value.AsBool(); in ParseBool()

1234