Home
last modified time | relevance | path

Searched refs:bool_value (Results 1 – 25 of 68) 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/python/kernel_tests/proto/
Dproto_op_test_base.py123 field.value.bool_value.append(True)
171 value.bool_value.append(False)
172 value.bool_value.append(True)
254 field.value.bool_value.append(False)
255 field.value.bool_value.append(True)
283 value.bool_value.append(True)
289 field.value.bool_value.append(True)
340 value.bool_value.append(True)
343 value.bool_value.append(False)
359 field.value.bool_value.append(True)
[all …]
Dtest_example.proto47 repeated bool bool_value = 8; field
94 repeated bool bool_value = 8 [packed = true]; field
132 optional bool bool_value = 8; field
148 optional bool bool_value = 1777; field
/external/perfetto/src/trace_processor/types/
Dvariadic.h82 static Variadic Boolean(bool bool_value) { in Boolean()
85 variadic.bool_value = bool_value; in Boolean()
113 return bool_value == other.bool_value;
128 bool bool_value; member
/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/protobuf/ruby/lib/google/protobuf/
Dwell_known_types.rb123 self.bool_value
138 self.bool_value = true
140 self.bool_value = false
/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.proto32 optional bool bool_value = 7; field
47 bool bool_value = 2; field
92 bool bool_value = 3; field
/external/perfetto/protos/perfetto/trace/track_event/
Ddebug_annotation.proto40 optional bool bool_value = 7; field
50 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.proto48 optional bool bool_value = 2; field
57 optional bool bool_value = 1; field
/external/perfetto/src/trace_processor/importers/common/
Dglobal_args_tracker.h71 hash.Update(arg.value.bool_value); in operator()
148 row.int_value = arg.value.bool_value; in AddArgSet()
/external/tensorflow/tensorflow/python/saved_model/
Dnested_structure_coder.py354 def do_encode(self, bool_value, encode_fn): argument
357 value.bool_value = bool_value
365 return value.bool_value
/external/protobuf/src/google/protobuf/util/
Djson_format_proto3.proto56 bool bool_value = 1; field
117 google.protobuf.BoolValue bool_value = 1; field
173 bool bool_value = 1; field
/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/tensorflow/tensorflow/core/lib/monitoring/
Dcollected_metrics.h92 bool bool_value; member
/external/protobuf/php/tests/proto/
Dtest_wrapper_type_setters.proto14 google.protobuf.BoolValue bool_value = 7; field
/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/mesa3d/src/compiler/nir/
Dnir_opt_if.c1130 bool bool_value; in propagate_condition_eval() local
1132 if (!evaluate_if_condition(nif, b->cursor, &bool_value)) in propagate_condition_eval()
1138 def[i] = nir_imm_bool(b, bool_value); in propagate_condition_eval()
1185 bool bool_value; in evaluate_condition_use() local
1186 if (evaluate_if_condition(nif, b->cursor, &bool_value)) { in evaluate_condition_use()
1188 nir_src imm_src = nir_src_for_ssa(nir_imm_bool(b, bool_value)); in evaluate_condition_use()

123