Home
last modified time | relevance | path

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

12

/external/chromium_org/chrome/browser/chromeos/settings/
Ddevice_settings_provider_unittest.cc85 bool bool_value; in TEST_F() local
86 EXPECT_TRUE(value->GetAsBoolean(&bool_value)); in TEST_F()
87 EXPECT_FALSE(bool_value); in TEST_F()
138 bool bool_value; in TEST_F() local
139 EXPECT_TRUE(saved_value->GetAsBoolean(&bool_value)); in TEST_F()
140 EXPECT_FALSE(bool_value); in TEST_F()
166 bool bool_value; in TEST_F() local
167 EXPECT_TRUE(saved_value->GetAsBoolean(&bool_value)); in TEST_F()
168 EXPECT_TRUE(bool_value); in TEST_F()
262 bool bool_value; in TEST_F() local
[all …]
Dcros_settings.cc148 bool* bool_value) const { in GetBoolean()
152 return value->GetAsBoolean(bool_value); in GetBoolean()
/external/chromium_org/remoting/host/
Din_memory_host_config.cc53 bool bool_value; in CopyFrom() local
56 } else if (it.value().GetAsBoolean(&bool_value)) { in CopyFrom()
57 SetBoolean(it.key(), bool_value); in CopyFrom()
/external/chromium_org/content/child/
Dplugin_param_traits.cc22 bool_value(false), in NPVariant_Param()
42 WriteParam(m, p.bool_value); in Write()
74 result = ReadParam(m, iter, &r->bool_value); in Read()
99 LogParam(p.bool_value, l); in Log()
Dplugin_param_traits.h50 bool bool_value; member
/external/chromium_org/mojo/services/view_manager/
Dtest_change_tracker.cc65 change.bool_value ? "true" : "false"); in ChangeToDescription1()
70 change.bool_value ? "true" : "false"); in ChangeToDescription1()
126 bool_value(false) { in Change()
196 change.bool_value = visible; in OnViewVisibilityChanged()
204 change.bool_value = drawn; in OnViewDrawnStateChanged()
Dtest_change_tracker.h64 bool bool_value; member
/external/chromium_org/dbus/
Dmessage_unittest.cc29 bool bool_value = false; in TEST() local
31 ASSERT_FALSE(reader.PopBool(&bool_value)); in TEST()
61 bool bool_value = false; in TEST() local
77 ASSERT_TRUE(reader.PopBool(&bool_value)); in TEST()
101 EXPECT_EQ(true, bool_value); in TEST()
176 bool bool_value = false; in TEST() local
192 ASSERT_TRUE(reader.PopVariantOfBool(&bool_value)); in TEST()
216 EXPECT_EQ(true, bool_value); in TEST()
438 bool bool_value = false; in TEST() local
440 ASSERT_TRUE(array_reader.PopVariantOfBool(&bool_value)); in TEST()
[all …]
Dvalues_util.cc217 bool bool_value = false; in AppendBasicTypeValueData() local
218 bool success = value.GetAsBoolean(&bool_value); in AppendBasicTypeValueData()
220 writer->AppendBool(bool_value); in AppendBasicTypeValueData()
/external/chromium_org/chrome/browser/ui/cocoa/applescript/
Dapple_event_util.mm26 bool bool_value;
27 value->GetAsBoolean(&bool_value);
28 descriptor = [NSAppleEventDescriptor descriptorWithBoolean:bool_value];
/external/chromium_org/chrome/browser/prefs/
Dpref_hash_calculator_unittest.cc82 scoped_ptr<base::Value> bool_value(new base::FundamentalValue(false)); in TEST() local
117 ASSERT_EQ(base::Value::TYPE_BOOLEAN, bool_value->GetType()); in TEST()
136 "pref.path", bool_value.get(), kExpectedBooleanValue)); in TEST()
171 everything.Set("bool", bool_value.release()); in TEST()
/external/chromium_org/chrome/browser/chromeos/login/screens/
Dscreen_context_unittest.cc108 bool bool_value; in TEST_F() local
112 rv = changes.GetBoolean("key1", &bool_value); in TEST_F()
117 ASSERT_EQ(true, bool_value); in TEST_F()
/external/chromium_org/remoting/host/policy_hack/
Dpolicy_watcher_win.cc178 bool bool_value; in Load() local
179 if (GetRegistryPolicyBoolean(policy_name, &bool_value)) { in Load()
180 policy->SetBoolean(policy_name, bool_value); in Load()
/external/chromium_org/base/json/
Djson_value_serializer_unittest.cc182 bool bool_value = false; in TEST() local
183 ASSERT_TRUE(root_dict->GetBoolean("bool", &bool_value)); in TEST()
184 ASSERT_TRUE(bool_value); in TEST()
404 bool bool_value = false; in TEST_F() local
405 ASSERT_TRUE(root_dict->GetBoolean("bool", &bool_value)); in TEST_F()
406 ASSERT_TRUE(bool_value); in TEST_F()
Djson_parser_unittest.cc98 bool bool_value = false; in TEST_F() local
99 EXPECT_TRUE(value->GetAsBoolean(&bool_value)); in TEST_F()
100 EXPECT_TRUE(bool_value); in TEST_F()
111 EXPECT_TRUE(value->GetAsBoolean(&bool_value)); in TEST_F()
112 EXPECT_FALSE(bool_value); in TEST_F()
Djson_reader_unittest.cc303 bool bool_value = false; in TEST() local
304 EXPECT_TRUE(tmp_value->GetAsBoolean(&bool_value)); in TEST()
305 EXPECT_TRUE(bool_value); in TEST()
374 bool_value = true; in TEST()
375 EXPECT_TRUE(dict_val->GetBoolean("false", &bool_value)); in TEST()
376 EXPECT_FALSE(bool_value); in TEST()
529 EXPECT_TRUE(root->GetAsBoolean(&bool_value)); in TEST()
530 EXPECT_TRUE(bool_value); in TEST()
/external/chromium_org/components/policy/core/common/
Dpolicy_test_utils.cc63 bool bool_value; in ValueToProperty() local
64 if (value->GetAsBoolean(&bool_value)) in ValueToProperty()
65 return bool_value ? kCFBooleanTrue : kCFBooleanFalse; in ValueToProperty()
/external/protobuf/gtest/include/gtest/internal/
Dgtest-port.h804 template <bool bool_value>
806 typedef bool_constant<bool_value> type;
807 static const bool value = bool_value;
809 template <bool bool_value> const bool bool_constant<bool_value>::value;
/external/chromium_org/chrome/browser/extensions/api/preference/
Dpreference_api.cc152 bool bool_value = false; in InvertBooleanValue() local
153 bool result = value->GetAsBoolean(&bool_value); in InvertBooleanValue()
155 return new base::FundamentalValue(!bool_value); in InvertBooleanValue()
164 bool bool_value = false; in ExtensionToBrowserPref() local
165 const bool pref_found = extension_pref->GetAsBoolean(&bool_value); in ExtensionToBrowserPref()
167 if (bool_value) { in ExtensionToBrowserPref()
/external/chromium_org/third_party/mesa/src/src/gtest/include/gtest/internal/
Dgtest-port.h1462 template <bool bool_value>
1464 typedef bool_constant<bool_value> type;
1465 static const bool value = bool_value;
1467 template <bool bool_value> const bool bool_constant<bool_value>::value;
/external/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-port.h1472 template <bool bool_value>
1474 typedef bool_constant<bool_value> type;
1475 static const bool value = bool_value;
1477 template <bool bool_value> const bool bool_constant<bool_value>::value;
/external/mesa3d/src/gtest/include/gtest/internal/
Dgtest-port.h1462 template <bool bool_value>
1464 typedef bool_constant<bool_value> type;
1465 static const bool value = bool_value;
1467 template <bool bool_value> const bool bool_constant<bool_value>::value;
/external/chromium_org/base/
Dvalues_unittest.cc67 bool bool_value = false; in TEST() local
76 ASSERT_FALSE(mixed_list->GetBoolean(1, &bool_value)); in TEST()
77 ASSERT_FALSE(bool_value); in TEST()
82 ASSERT_FALSE(mixed_list->GetBoolean(3, &bool_value)); in TEST()
83 ASSERT_FALSE(bool_value); in TEST()
85 ASSERT_TRUE(mixed_list->GetBoolean(0, &bool_value)); in TEST()
86 ASSERT_TRUE(bool_value); in TEST()
818 FundamentalValue bool_value(false); in TEST() local
826 main_dict.Set("bool", bool_value.DeepCopy()); in TEST()
834 main_list.Append(bool_value.DeepCopy()); in TEST()
/external/gtest/include/gtest/internal/
Dgtest-port.h1610 template <bool bool_value>
1612 typedef bool_constant<bool_value> type;
1613 static const bool value = bool_value;
1615 template <bool bool_value> const bool bool_constant<bool_value>::value;
/external/chromium_org/content/child/npapi/
Dnpobject_util.cc165 param->bool_value = variant.value.boolValue; in CreateNPVariantParam()
243 result->value.boolValue = param.bool_value; in CreateNPVariant()

12