Home
last modified time | relevance | path

Searched refs:bool_value (Results 1 – 25 of 63) sorted by relevance

123

/external/libbrillo/policy/tests/
Dlibpolicy_unittest.cc73 bool bool_value = true; in TEST() local
74 ASSERT_TRUE(policy.GetGuestModeEnabled(&bool_value)); in TEST()
75 EXPECT_FALSE(bool_value); in TEST()
77 bool_value = true; in TEST()
78 ASSERT_TRUE(policy.GetCameraEnabled(&bool_value)); in TEST()
79 EXPECT_FALSE(bool_value); in TEST()
81 bool_value = true; in TEST()
82 ASSERT_TRUE(policy.GetShowUserNames(&bool_value)); in TEST()
83 EXPECT_FALSE(bool_value); in TEST()
85 bool_value = true; in TEST()
[all …]
/external/deqp/external/openglcts/modules/gles31/
Des31cTextureStorageMultisampleGLCoverageTests.cpp118 glw::GLboolean bool_value = GL_TRUE; in iterate() local
120 gl.getBooleanv(pname, &bool_value); in iterate()
123 if ((int_value != 0 && bool_value == GL_FALSE) || (int_value == 0 && bool_value != GL_FALSE)) in iterate()
125 m_testCtx.getLog() << tcu::TestLog::Message << "An invalid boolean value [" << bool_value << "]" in iterate()
151 glw::GLboolean bool_value = GL_TRUE; in iterate() local
156 gl.getBooleanv(GL_TEXTURE_BINDING_2D_MULTISAMPLE, &bool_value); in iterate()
163 if (bool_value != GL_FALSE || de::abs(float_value) > epsilon || int_value != 0) in iterate()
170 bool_value = GL_TRUE; in iterate()
174 gl.getBooleanv(GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY_OES, &bool_value); in iterate()
182 if (bool_value != GL_FALSE || de::abs(float_value) > epsilon || int_value != 0) in iterate()
[all …]
/external/tensorflow/tensorflow/contrib/proto/python/kernel_tests/
Dproto_op_test_base.py123 field.value.bool_value.append(True)
166 value.bool_value.append(False)
167 value.bool_value.append(True)
249 field.value.bool_value.append(False)
250 field.value.bool_value.append(True)
278 value.bool_value.append(True)
284 field.value.bool_value.append(True)
335 value.bool_value.append(True)
338 value.bool_value.append(False)
354 field.value.bool_value.append(True)
[all …]
Dtest_example.proto37 repeated bool bool_value = 8; field
82 repeated bool bool_value = 8 [packed = true]; field
118 optional bool bool_value = 8; field
134 optional bool bool_value = 1777; field
/external/libbrillo/brillo/dbus/
Ddbus_param_writer_unittest.cc59 bool bool_value = false; in TEST() local
64 EXPECT_TRUE(PopValueFromReader(&reader, &bool_value)); in TEST()
68 EXPECT_TRUE(bool_value); in TEST()
118 bool bool_value = false; in TEST() local
123 EXPECT_TRUE(PopValueFromReader(&reader, &bool_value)); in TEST()
127 EXPECT_TRUE(bool_value); in TEST()
177 bool bool_value = false; in TEST() local
182 EXPECT_TRUE(PopValueFromReader(&reader, &bool_value)); in TEST()
186 EXPECT_TRUE(bool_value); in TEST()
Ddata_serialization_unittest.cc159 bool bool_value = false; in TEST() local
161 EXPECT_FALSE(PopValueFromReader(&reader, &bool_value)); in TEST()
193 bool bool_value = false; in TEST() local
207 EXPECT_TRUE(PopValueFromReader(&reader, &bool_value)); in TEST()
221 EXPECT_TRUE(bool_value); in TEST()
282 bool bool_value = true; in TEST() local
298 EXPECT_TRUE(PopVariantValueFromReader(&reader, &bool_value)); in TEST()
314 EXPECT_FALSE(bool_value); in TEST()
347 Any bool_value; in TEST() local
361 EXPECT_TRUE(PopValueFromReader(&reader, &bool_value)); in TEST()
[all …]
/external/libchrome/base/json/
Djson_reader_unittest.cc305 bool bool_value = false; in TEST() local
306 EXPECT_TRUE(tmp_value->GetAsBoolean(&bool_value)); in TEST()
307 EXPECT_TRUE(bool_value); in TEST()
377 bool bool_value = true; in TEST() local
378 EXPECT_TRUE(dict_val->GetBoolean("false", &bool_value)); in TEST()
379 EXPECT_FALSE(bool_value); in TEST()
531 bool bool_value; in TEST() local
532 EXPECT_TRUE(root->GetAsBoolean(&bool_value)); in TEST()
533 EXPECT_TRUE(bool_value); in TEST()
Djson_value_serializer_unittest.cc229 bool bool_value = false; in TEST() local
230 ASSERT_TRUE(root_dict->GetBoolean("bool", &bool_value)); in TEST()
231 ASSERT_TRUE(bool_value); in TEST()
422 bool bool_value = false; in TEST_F() local
423 ASSERT_TRUE(root_dict->GetBoolean("bool", &bool_value)); in TEST_F()
424 ASSERT_TRUE(bool_value); in TEST_F()
Djson_parser_unittest.cc120 bool bool_value = false; in TEST_F() local
121 EXPECT_TRUE(value->GetAsBoolean(&bool_value)); in TEST_F()
122 EXPECT_TRUE(bool_value); in TEST_F()
133 EXPECT_TRUE(value->GetAsBoolean(&bool_value)); in TEST_F()
134 EXPECT_FALSE(bool_value); in TEST_F()
/external/perfetto/protos/perfetto/trace/chrome/
Dchrome_trace_event.proto33 optional bool bool_value = 7; field
48 bool bool_value = 2; field
93 bool bool_value = 3; field
/external/tensorflow/tensorflow/python/saved_model/
Dnested_structure_coder.py343 def do_encode(self, bool_value, encode_fn): argument
346 value.bool_value = bool_value
354 return value.bool_value
/external/perfetto/protos/perfetto/trace/track_event/
Ddebug_annotation.proto39 optional bool bool_value = 7; field
46 bool bool_value = 2; field
/external/python/apitools/apitools/base/protorpclite/
Dtest_util.py296 bool_value = messages.BooleanField(6, variant=messages.Variant.BOOL) variable in OptionalMessage
325 bool_value = messages.BooleanField(6, variable in RepeatedMessage
480 message.bool_value = True
495 message.bool_value = [True, False]
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArrayGetterCalls.cpp420 glw::GLboolean bool_value = GL_FALSE; in verifyTextureBindings() local
426 gl.getBooleanv(GL_TEXTURE_BINDING_CUBE_MAP_ARRAY, &bool_value); in verifyTextureBindings()
429 if ((m_to_id == 0 && bool_value != GL_FALSE) || (m_to_id != 0 && bool_value != GL_TRUE)) in verifyTextureBindings()
/external/libchrome/dbus/
Dvalues_util.cc220 bool bool_value = false; in AppendBasicTypeValueData() local
221 bool success = value.GetAsBoolean(&bool_value); in AppendBasicTypeValueData()
223 writer->AppendBool(bool_value); in AppendBasicTypeValueData()
/external/protobuf/java/core/src/test/proto/com/google/protobuf/
Dtest_extra_interfaces.proto51 optional bool bool_value = 2; field
60 optional bool bool_value = 1; field
/external/protobuf/src/google/protobuf/util/
Djson_format_proto3.proto53 bool bool_value = 1; field
114 google.protobuf.BoolValue bool_value = 1; field
170 bool bool_value = 1; field
Dtype_resolver_util_test.cc136 BoolValue bool_value; in HasBoolOption() local
137 if (option.value().UnpackTo(&bool_value) && in HasBoolOption()
138 bool_value.value() == value) { in HasBoolOption()
/external/deqp/external/openglcts/modules/glesext/tessellation_shader/
DesextcTessellationShaderProperties.cpp78 glw::GLboolean bool_value[4] = { GL_FALSE }; in iterate() local
87 gl.getBooleanv(pname, bool_value); in iterate()
105 if (memcmp(expected_bool_value, bool_value, sizeof(bool) * n_components) != 0) in iterate()
/external/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-port.h1475 template <bool bool_value>
1477 typedef bool_constant<bool_value> type;
1478 static const bool value = bool_value;
1480 template <bool bool_value> const bool bool_constant<bool_value>::value;
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/include/gtest/internal/
Dgtest-port.h1467 template <bool bool_value>
1469 typedef bool_constant<bool_value> type;
1470 static const bool value = bool_value;
1472 template <bool bool_value> const bool bool_constant<bool_value>::value;
/external/google-breakpad/src/testing/gtest/include/gtest/internal/
Dgtest-port.h1518 template <bool bool_value>
1520 typedef bool_constant<bool_value> type;
1521 static const bool value = bool_value;
1523 template <bool bool_value> const bool bool_constant<bool_value>::value;
/external/tensorflow/tensorflow/core/lib/monitoring/
Dcollected_metrics.h91 bool bool_value; member
/external/tensorflow/tensorflow/core/debug/
Ddebug_graph_utils.cc410 bool bool_value; in SetDebugNodeAttributes() local
411 if (!ParseBoolString(attr_value, &bool_value).ok()) { in SetDebugNodeAttributes()
416 debug_node->AddAttr<bool>(attr.name(), bool_value); in SetDebugNodeAttributes()
/external/protobuf/python/google/protobuf/internal/
Djson_format_test.py66 message.bool_value = True
330 message.bool_value.value = False
394 message.repeated_value.add().bool_value = False
419 message.value.values.add().bool_value = True

123