Home
last modified time | relevance | path

Searched refs:GetBoolean (Results 1 – 25 of 40) 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/libweave/third_party/chromium/base/
Dvalues_unittest.cc79 ASSERT_FALSE(mixed_list->GetBoolean(1, &bool_value)); in TEST()
85 ASSERT_FALSE(mixed_list->GetBoolean(3, &bool_value)); in TEST()
88 ASSERT_TRUE(mixed_list->GetBoolean(0, &bool_value)); in TEST()
862 EXPECT_TRUE(main_dict.GetBoolean("bool", NULL)); in TEST()
863 EXPECT_FALSE(main_dict.GetBoolean("int", NULL)); in TEST()
864 EXPECT_FALSE(main_dict.GetBoolean("double", NULL)); in TEST()
865 EXPECT_FALSE(main_dict.GetBoolean("string", NULL)); in TEST()
866 EXPECT_FALSE(main_dict.GetBoolean("binary", NULL)); in TEST()
867 EXPECT_FALSE(main_dict.GetBoolean("dict", NULL)); in TEST()
868 EXPECT_FALSE(main_dict.GetBoolean("list", NULL)); in TEST()
[all …]
Dvalues.h276 bool GetBoolean(const std::string& path, bool* out_value) const;
417 bool GetBoolean(size_t index, bool* out_value) const;
Dvalues.cc498 bool DictionaryValue::GetBoolean(const std::string& path, in GetBoolean() function in base::DictionaryValue
899 bool ListValue::GetBoolean(size_t index, bool* bool_value) const { in GetBoolean() function in base::ListValue
/external/libchrome/base/
Dvalues_unittest.cc79 ASSERT_FALSE(mixed_list->GetBoolean(1, &bool_value)); in TEST()
85 ASSERT_FALSE(mixed_list->GetBoolean(3, &bool_value)); in TEST()
88 ASSERT_TRUE(mixed_list->GetBoolean(0, &bool_value)); in TEST()
902 EXPECT_TRUE(main_dict.GetBoolean("bool", NULL)); in TEST()
903 EXPECT_FALSE(main_dict.GetBoolean("int", NULL)); in TEST()
904 EXPECT_FALSE(main_dict.GetBoolean("double", NULL)); in TEST()
905 EXPECT_FALSE(main_dict.GetBoolean("string", NULL)); in TEST()
906 EXPECT_FALSE(main_dict.GetBoolean("binary", NULL)); in TEST()
907 EXPECT_FALSE(main_dict.GetBoolean("dict", NULL)); in TEST()
908 EXPECT_FALSE(main_dict.GetBoolean("list", NULL)); in TEST()
[all …]
Dvalues.h285 bool GetBoolean(const std::string& path, bool* out_value) const;
429 bool GetBoolean(size_t index, bool* out_value) const;
/external/libweave/src/
Dbase_api_handler.cc140 parameters.GetBoolean("localDiscoveryEnabled", &discovery_enabled); in UpdateBaseConfiguration()
141 parameters.GetBoolean("localPairingEnabled", &pairing_enabled); in UpdateBaseConfiguration()
Dconfig.cc216 if (dict->GetBoolean(config_keys::kLocalDiscoveryEnabled, &tmp_bool)) in LoadState()
219 if (dict->GetBoolean(config_keys::kLocalPairingEnabled, &tmp_bool)) in LoadState()
/external/pdfium/core/include/fpdfdoc/
Dfpdf_doc.h229 FX_BOOL GetNewWindow() const { return m_pDict->GetBoolean("NewWindow"); } in GetNewWindow()
233 FX_BOOL GetMouseMap() const { return m_pDict->GetBoolean("IsMap"); } in GetMouseMap()
237 FX_BOOL GetHideStatus() const { return m_pDict->GetBoolean("H", TRUE); } in GetHideStatus()
253 FX_BOOL IsSynchronous() const { return m_pDict->GetBoolean("Synchronous"); } in IsSynchronous()
255 FX_BOOL IsRepeat() const { return m_pDict->GetBoolean("Repeat"); } in IsRepeat()
257 FX_BOOL IsMixPlay() const { return m_pDict->GetBoolean("Mix"); } in IsMixPlay()
/external/libchrome/base/trace_event/
Dtrace_config.cc317 if (!dict->GetBoolean(kEnableSamplingParam, &enable_sampling)) in InitializeFromConfigString()
323 if (!dict->GetBoolean(kEnableSystraceParam, &enable_systrace)) in InitializeFromConfigString()
329 if (!dict->GetBoolean(kEnableArgumentFilterParam, &enable_argument_filter)) in InitializeFromConfigString()
/external/libweave/examples/daemon/ledflasher/
Dledflasher.cc88 params.GetBoolean("_on", &cmd_value)) { in OnFlasherSetCommand()
/external/libweave/examples/daemon/speaker/
Dspeaker.cc112 if (params.GetBoolean("isMuted", &isMuted_status)) { in OnVolumeSetConfig()
/external/pdfium/xfa/src/fxfa/src/parser/
Dxfa_objectacc_imp.cpp678 return m_pNode->GetBoolean(XFA_ATTRIBUTE_EmbedPDF); in IsSubmitEmbedPDF()
1253 return m_pNode->GetBoolean(XFA_ATTRIBUTE_Circular); in IsCircular()
1424 return m_pNode ? m_pNode->GetBoolean(XFA_ATTRIBUTE_Inverted) : FALSE; in IsInverted()
1839 return pUIChild->GetBoolean(XFA_ATTRIBUTE_AllowNeutral); in IsAllowNeutral()
2038 return pUIChild->GetBoolean(XFA_ATTRIBUTE_TextEntry); in IsChoiceListAllowTextEntry()
2076 FX_BOOL bItemOneHasSave = pItems[0]->GetBoolean(XFA_ATTRIBUTE_Save); in CountChoiceListItems()
2077 FX_BOOL bItemTwoHasSave = pItems[1]->GetBoolean(XFA_ATTRIBUTE_Save); in CountChoiceListItems()
2108 FX_BOOL bItemOneHasSave = pItemsArray[0]->GetBoolean(XFA_ATTRIBUTE_Save); in GetChoiceListItem()
2109 FX_BOOL bItemTwoHasSave = pItemsArray[1]->GetBoolean(XFA_ATTRIBUTE_Save); in GetChoiceListItem()
2144 FX_BOOL bItemOneHasSave = pItems[0]->GetBoolean(XFA_ATTRIBUTE_Save); in GetChoiceListItems()
[all …]
Dxfa_locale.cpp369 if (pNode->GetBoolean(XFA_ATTRIBUTE_Abbr) == bAbbr) { in GetCalendarSymbol()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DRecognitionException.cs174 _approximateLineInfo = info.GetBoolean("ApproximateLineInfo"); in RecognitionException()
/external/libchrome/base/json/
Djson_value_serializer_unittest.cc234 ASSERT_TRUE(root_dict->GetBoolean("bool", &bool_value)); in TEST()
433 ASSERT_TRUE(root_dict->GetBoolean("bool", &bool_value)); in TEST_F()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
DRecognitionException.cs196 _approximateLineInfo = info.GetBoolean("ApproximateLineInfo"); in RecognitionException()
/external/chromium-trace/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/pdfium/xfa/include/fxjse/
Dfxjse.h46 FX_BOOL GetBoolean(int32_t index) const;
/external/dng_sdk/source/
Ddng_xmp.h163 bool GetBoolean (const char *ns,
/external/pdfium/core/src/fpdfdoc/
Ddoc_annot.cpp21 FX_BOOL bRegenerateAP = pAcroForm && pAcroForm->GetBoolean("NeedAppearances"); in CPDF_AnnotList()
/external/opencv3/samples/winrt/ImageManipulations/common/
Dsuspensionmanager.cpp361 writer->WriteBoolean(propertyValue->GetBoolean());

12