Home
last modified time | relevance | path

Searched refs:GetBoolean (Results 1 – 25 of 29) sorted by relevance

12

/external/libbrillo/brillo/
Dkey_value_store_unittest.cc100 EXPECT_FALSE(store_.GetBoolean("A", &result)); in TEST_F()
103 EXPECT_TRUE(store_.GetBoolean("A", &result)); in TEST_F()
107 EXPECT_TRUE(store_.GetBoolean("A", &result)); in TEST_F()
118 EXPECT_FALSE(store_.GetBoolean("DONT_SHOUT", &value)); in TEST_F()
124 EXPECT_TRUE(store_.GetBoolean(it.first, &value)) << "key: " << it.first; in TEST_F()
142 ASSERT_TRUE(store_.GetBoolean("bar", &value)); in TEST_F()
Dkey_value_store.h59 bool GetBoolean(const std::string& key, bool* value) const;
Dkey_value_store.cc104 bool KeyValueStore::GetBoolean(const string& key, bool* value) const { in GetBoolean() function in brillo::KeyValueStore
/external/libchrome/base/
Dvalues_unittest.cc414 ASSERT_FALSE(mixed_list->GetBoolean(1, &bool_value)); in TEST()
420 ASSERT_FALSE(mixed_list->GetBoolean(3, &bool_value)); in TEST()
423 ASSERT_TRUE(mixed_list->GetBoolean(0, &bool_value)); in TEST()
1276 EXPECT_TRUE(main_dict.GetBoolean("bool", NULL)); in TEST()
1277 EXPECT_FALSE(main_dict.GetBoolean("int", NULL)); in TEST()
1278 EXPECT_FALSE(main_dict.GetBoolean("double", NULL)); in TEST()
1279 EXPECT_FALSE(main_dict.GetBoolean("string", NULL)); in TEST()
1280 EXPECT_FALSE(main_dict.GetBoolean("binary", NULL)); in TEST()
1281 EXPECT_FALSE(main_dict.GetBoolean("dict", NULL)); in TEST()
1282 EXPECT_FALSE(main_dict.GetBoolean("list", NULL)); in TEST()
[all …]
Dvalues.h283 bool GetBoolean(StringPiece path, bool* out_value) const;
416 bool GetBoolean(size_t index, bool* out_value) const;
Dvalues.cc743 bool DictionaryValue::GetBoolean(StringPiece path, bool* bool_value) const { in GetBoolean() function in base::DictionaryValue
1121 bool ListValue::GetBoolean(size_t index, bool* bool_value) const { in GetBoolean() function in base::ListValue
/external/pdfium/fxjs/
Dcfxjse_arguments.h24 bool GetBoolean(int32_t index) const;
Dcfxjse_arguments.cpp30 bool CFXJSE_Arguments::GetBoolean(int32_t index) const { in GetBoolean() function in CFXJSE_Arguments
/external/pdfium/xfa/fxfa/parser/
Dcxfa_submit.cpp46 return JSObject()->GetBoolean(XFA_Attribute::EmbedPDF); in IsSubmitEmbedPDF()
Dcxfa_stroke.cpp142 return JSObject()->GetBoolean(XFA_Attribute::Inverted); in IsInverted()
Dcxfa_nodelocale.cpp170 if (pNode->JSObject()->GetBoolean(XFA_Attribute::Abbr) == bAbbr) { in GetCalendarSymbol()
Dcxfa_box.cpp107 return JSObject()->GetBoolean(XFA_Attribute::Circular); in IsCircular()
/external/pdfium/xfa/fxfa/
Dcxfa_widgetacc.cpp1615 pUIChild->JSObject()->GetBoolean(XFA_Attribute::AllowNeutral); in IsAllowNeutral()
1810 return pUIChild && pUIChild->JSObject()->GetBoolean(XFA_Attribute::TextEntry); in IsChoiceListAllowTextEntry()
1850 pItems[0]->JSObject()->GetBoolean(XFA_Attribute::Save); in CountChoiceListItems()
1852 pItems[1]->JSObject()->GetBoolean(XFA_Attribute::Save); in CountChoiceListItems()
1879 pItemsArray[0]->JSObject()->GetBoolean(XFA_Attribute::Save); in GetChoiceListItem()
1881 pItemsArray[1]->JSObject()->GetBoolean(XFA_Attribute::Save); in GetChoiceListItem()
1908 items[0]->JSObject()->GetBoolean(XFA_Attribute::Save); in GetChoiceListItems()
1910 items[1]->JSObject()->GetBoolean(XFA_Attribute::Save); in GetChoiceListItems()
2100 bool bHasSave = pNode->JSObject()->GetBoolean(XFA_Attribute::Save); in InsertItem()
2153 bool bSave = pLabelItems->JSObject()->GetBoolean(XFA_Attribute::Save); in GetItemLabel()
[all …]
/external/libchrome/base/json/
Djson_value_serializer_unittest.cc232 ASSERT_TRUE(root_dict->GetBoolean("bool", &bool_value)); in TEST()
427 ASSERT_TRUE(root_dict->GetBoolean("bool", &bool_value)); in TEST_F()
Djson_reader_unittest.cc396 EXPECT_TRUE(dict_val->GetBoolean("false", &bool_value)); in TEST()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DRecognitionException.cs174 _approximateLineInfo = info.GetBoolean("ApproximateLineInfo"); in RecognitionException()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
DRecognitionException.cs196 _approximateLineInfo = info.GetBoolean("ApproximateLineInfo"); in RecognitionException()
/external/libchrome/base/trace_event/
Dtrace_config.cc333 enable_systrace_ = dict.GetBoolean(kEnableSystraceParam, &val) ? val : false; in InitializeFromConfigDict()
335 dict.GetBoolean(kEnableArgumentFilterParam, &val) ? val : false; in InitializeFromConfigDict()
/external/chromium-trace/catapult/devil/devil/android/sdk/
Dshared_prefs_test.py149 self.assertTrue(prefs.GetBoolean('featureEnabled'))
Dshared_prefs.py306 def GetBoolean(self, key): member in SharedPrefs
/external/libmojo/third_party/catapult/devil/devil/android/sdk/
Dshared_prefs_test.py144 self.assertTrue(prefs.GetBoolean('featureEnabled'))
Dshared_prefs.py289 def GetBoolean(self, key): member in SharedPrefs
/external/dng_sdk/source/
Ddng_xmp.h163 bool GetBoolean (const char *ns,
/external/pdfium/fxjs/xfa/
Dcjx_object.h196 bool GetBoolean(XFA_Attribute eAttr);
Dcjx_object.cpp350 bool CJX_Object::GetBoolean(XFA_Attribute eAttr) { in GetBoolean() function in CJX_Object
1284 pValue->SetString(GetBoolean(eAttribute) ? "1" : "0"); in Script_Attribute_BOOL()

12