Home
last modified time | relevance | path

Searched refs:dictionary_value (Results 1 – 18 of 18) sorted by relevance

/external/chromium_org/chrome/browser/extensions/api/bookmarks/
Dbookmark_api_helpers_unittest.cc186 const base::DictionaryValue* dictionary_value = NULL; in TEST_F() local
187 EXPECT_TRUE(value->GetAsDictionary(&dictionary_value)); in TEST_F()
188 ASSERT_TRUE(NULL != dictionary_value); in TEST_F()
189 EXPECT_EQ(0u, dictionary_value->size()); in TEST_F()
196 dictionary_value = NULL; in TEST_F()
197 EXPECT_TRUE(value->GetAsDictionary(&dictionary_value)); in TEST_F()
198 ASSERT_TRUE(NULL != dictionary_value); in TEST_F()
199 EXPECT_EQ(2u, dictionary_value->size()); in TEST_F()
201 EXPECT_TRUE(dictionary_value->GetString("some_key1", &string_value)); in TEST_F()
203 EXPECT_TRUE(dictionary_value->GetString("some_key2", &string_value)); in TEST_F()
[all …]
/external/chromium_org/dbus/
Dvalues_util_unittest.cc299 base::DictionaryValue dictionary_value; in TEST() local
300 dictionary_value.SetBoolean(kKey1, kBoolValue); in TEST()
301 dictionary_value.SetInteger(kKey2, kInt32Value); in TEST()
302 dictionary_value.SetDouble(kKey3, kDoubleValue); in TEST()
303 dictionary_value.SetString(kKey4, kStringValue); in TEST()
309 EXPECT_TRUE(value->Equals(&dictionary_value)); in TEST()
340 base::DictionaryValue dictionary_value; in TEST() local
341 dictionary_value.SetWithoutPathExpansion( in TEST()
343 dictionary_value.SetWithoutPathExpansion( in TEST()
345 dictionary_value.SetWithoutPathExpansion( in TEST()
[all …]
Dvalues_util.cc36 base::DictionaryValue* dictionary_value) { in PopDictionaryEntries() argument
60 dictionary_value->SetWithoutPathExpansion(key_string, value); in PopDictionaryEntries()
179 scoped_ptr<base::DictionaryValue> dictionary_value( in PopDataAsValue() local
181 if (PopDictionaryEntries(&sub_reader, dictionary_value.get())) in PopDataAsValue()
182 result = dictionary_value.release(); in PopDataAsValue()
/external/chromium_org/chromeos/dbus/
Dsms_client.cc68 base::DictionaryValue* dictionary_value = NULL; in OnGetAll() local
69 if (!value.get() || !value->GetAsDictionary(&dictionary_value)) { in OnGetAll()
75 callback.Run(*dictionary_value); in OnGetAll()
Dgsm_sms_client.cc130 base::DictionaryValue* dictionary_value = NULL; in OnGet() local
131 if (!value.get() || !value->GetAsDictionary(&dictionary_value)) { in OnGet()
135 callback.Run(*dictionary_value); in OnGet()
/external/chromium_org/components/json_schema/
Djson_schema_validator.cc101 const base::DictionaryValue* dictionary_value = NULL; in IsValidSchema() local
135 if (it.value().GetAsDictionary(&dictionary_value)) { in IsValidSchema()
136 if (!IsValidSchema(dictionary_value, options, error)) { in IsValidSchema()
142 if (!list_value->GetDictionary(i, &dictionary_value)) { in IsValidSchema()
148 if (!IsValidSchema(dictionary_value, options, error)) { in IsValidSchema()
194 it.value().GetAsDictionary(&dictionary_value); in IsValidSchema()
195 for (base::DictionaryValue::Iterator iter(*dictionary_value); in IsValidSchema()
197 if (!iter.value().GetAsDictionary(&dictionary_value)) { in IsValidSchema()
201 if (!IsValidSchema(dictionary_value, options, error)) { in IsValidSchema()
213 it.value().GetAsDictionary(&dictionary_value); in IsValidSchema()
[all …]
/external/chromium_org/chrome/browser/local_discovery/
Dprivet_url_fetcher.cc308 const base::DictionaryValue* dictionary_value = NULL; in OnURLFetchCompleteParseData() local
310 if (!value->GetAsDictionary(&dictionary_value)) { in OnURLFetchCompleteParseData()
316 if (dictionary_value->GetString(kPrivetKeyError, &error)) { in OnURLFetchCompleteParseData()
323 if (!dictionary_value->GetInteger(kPrivetKeyTimeout, in OnURLFetchCompleteParseData()
335 this, *dictionary_value, dictionary_value->HasKey(kPrivetKeyError)); in OnURLFetchCompleteParseData()
Dgcd_api_flow_impl.cc102 const base::DictionaryValue* dictionary_value = NULL; in OnURLFetchComplete() local
104 if (!value || !value->GetAsDictionary(&dictionary_value)) { in OnURLFetchComplete()
109 request_->OnGCDAPIFlowComplete(*dictionary_value); in OnURLFetchComplete()
/external/chromium_org/cloud_print/gcp20/prototype/
Dprinter_unittest.cc22 base::DictionaryValue* dictionary_value = NULL; in TEST() local
23 EXPECT_TRUE(value->GetAsDictionary(&dictionary_value)) << "Not a dictionary"; in TEST()
/external/chromium_org/sync/syncable/
Dentry_kernel.cc75 base::DictionaryValue* dictionary_value, in SetFieldValues() argument
84 dictionary_value->Set(key, value); in SetFieldValues()
91 base::DictionaryValue* dictionary_value, in SetEncryptableProtoValues() argument
110 dictionary_value->Set(key, value); in SetEncryptableProtoValues()
/external/chromium_org/chrome/browser/ui/cocoa/applescript/
Dapple_event_util.mm62 const base::DictionaryValue* dictionary_value;
63 value->GetAsDictionary(&dictionary_value);
67 for (base::DictionaryValue::Iterator iter(*dictionary_value);
/external/chromium_org/components/policy/core/common/
Dconfig_dir_policy_loader.cc153 base::DictionaryValue* dictionary_value = NULL; in LoadFromPath() local
154 if (!value->GetAsDictionary(&dictionary_value)) { in LoadFromPath()
163 if (dictionary_value->Remove("3rdparty", &third_party)) in LoadFromPath()
168 policy_map.LoadFrom(dictionary_value, level, scope_); in LoadFromPath()
/external/chromium_org/content/browser/battery_status/
Dbattery_status_manager_linux.cc74 base::DictionaryValue* dictionary_value = NULL; in GetPropertiesAsDictionary() local
75 if (value && value->GetAsDictionary(&dictionary_value)) { in GetPropertiesAsDictionary()
77 return scoped_ptr<base::DictionaryValue>(dictionary_value); in GetPropertiesAsDictionary()
/external/chromium_org/chrome/browser/chromeos/drive/
Dfile_system_util.cc70 base::DictionaryValue* dictionary_value = NULL; in ReadStringFromGDocFile() local
72 if (!root_value->GetAsDictionary(&dictionary_value) || in ReadStringFromGDocFile()
73 !dictionary_value->GetString(key, &result)) { in ReadStringFromGDocFile()
/external/chromium_org/content/browser/android/java/
Dgin_java_script_to_java_types_coercion.cc506 const base::DictionaryValue* dictionary_value; in CoerceJavaScriptDictionaryToArray() local
507 value->GetAsDictionary(&dictionary_value); in CoerceJavaScriptDictionaryToArray()
510 if (!dictionary_value->Get("length", &length_value)) { in CoerceJavaScriptDictionaryToArray()
542 if (dictionary_value->HasKey(key)) { in CoerceJavaScriptDictionaryToArray()
543 dictionary_value->Get(key, &value_element); in CoerceJavaScriptDictionaryToArray()
/external/chromium_org/google_apis/drive/
Ddrive_api_parser.cc66 const base::DictionaryValue* dictionary_value; in GetOpenWithLinksFromDictionaryValue() local
67 if (!value->GetAsDictionary(&dictionary_value)) in GetOpenWithLinksFromDictionaryValue()
70 result->reserve(dictionary_value->size()); in GetOpenWithLinksFromDictionaryValue()
71 for (base::DictionaryValue::Iterator iter(*dictionary_value); in GetOpenWithLinksFromDictionaryValue()
/external/chromium_org/base/json/
Djson_value_converter.h501 const DictionaryValue* dictionary_value = NULL; in Convert() local
502 if (!value.GetAsDictionary(&dictionary_value)) in Convert()
509 if (dictionary_value->Get(field_converter->field_path(), &field)) { in Convert()
/external/chromium_org/cc/layers/
Dlayer_impl.cc1527 base::DictionaryValue* dictionary_value = NULL; in AsValueInto() local
1529 debug_info_value->GetAsDictionary(&dictionary_value); in AsValueInto()
1531 for (base::DictionaryValue::Iterator it(*dictionary_value); !it.IsAtEnd(); in AsValueInto()