/external/chromium_org/chrome/browser/extensions/api/bookmarks/ |
D | bookmark_api_helpers_unittest.cc | 186 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/ |
D | values_util_unittest.cc | 299 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 …]
|
D | values_util.cc | 36 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/ |
D | sms_client.cc | 68 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()
|
D | gsm_sms_client.cc | 130 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/ |
D | json_schema_validator.cc | 101 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/ |
D | privet_url_fetcher.cc | 308 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()
|
D | gcd_api_flow_impl.cc | 102 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/ |
D | printer_unittest.cc | 22 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/ |
D | entry_kernel.cc | 75 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/ |
D | apple_event_util.mm | 62 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/ |
D | config_dir_policy_loader.cc | 153 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/ |
D | battery_status_manager_linux.cc | 74 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/ |
D | file_system_util.cc | 70 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/ |
D | gin_java_script_to_java_types_coercion.cc | 506 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/ |
D | drive_api_parser.cc | 66 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/ |
D | json_value_converter.h | 501 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/ |
D | layer_impl.cc | 1527 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()
|