Home
last modified time | relevance | path

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

/external/libchrome/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.SetKey(kKey1, base::Value(kBoolValue)); in TEST()
342 dictionary_value.SetKey(kKey2, base::Value(kInt32Value)); in TEST()
343 dictionary_value.SetKey(kKey3, base::Value(kDoubleValue)); in TEST()
[all …]
Dvalues_util.cc38 base::DictionaryValue* dictionary_value) { in PopDictionaryEntries() argument
62 dictionary_value->SetWithoutPathExpansion(key_string, std::move(value)); in PopDictionaryEntries()
182 std::unique_ptr<base::DictionaryValue> dictionary_value( in PopDataAsValue() local
184 if (PopDictionaryEntries(&sub_reader, dictionary_value.get())) in PopDataAsValue()
185 result = std::move(dictionary_value); in PopDataAsValue()
/external/libchrome/components/json_schema/
Djson_schema_validator.cc106 const base::DictionaryValue* dictionary_value = nullptr; in IsValidSchema() local
140 if (it.value().GetAsDictionary(&dictionary_value)) { in IsValidSchema()
141 if (!IsValidSchema(dictionary_value, options, error)) { in IsValidSchema()
147 if (!list_value->GetDictionary(i, &dictionary_value)) { in IsValidSchema()
153 if (!IsValidSchema(dictionary_value, options, error)) { in IsValidSchema()
198 it.value().GetAsDictionary(&dictionary_value); in IsValidSchema()
199 for (base::DictionaryValue::Iterator iter(*dictionary_value); in IsValidSchema()
201 if (!iter.value().GetAsDictionary(&dictionary_value)) { in IsValidSchema()
205 if (!IsValidSchema(dictionary_value, options, error)) { in IsValidSchema()
217 it.value().GetAsDictionary(&dictionary_value); in IsValidSchema()
[all …]
/external/libchrome/components/policy/core/common/
Dconfig_dir_policy_loader.cc160 base::DictionaryValue* dictionary_value = nullptr; in LoadFromPath() local
161 if (!value->GetAsDictionary(&dictionary_value)) { in LoadFromPath()
170 if (dictionary_value->Remove("3rdparty", &third_party)) in LoadFromPath()
175 policy_map.LoadFrom(dictionary_value, level, scope_, in LoadFromPath()
/external/libchrome/base/trace_event/
Dtrace_event_memory_overhead.cc118 const DictionaryValue* dictionary_value = nullptr; in AddValue() local
119 value.GetAsDictionary(&dictionary_value); in AddValue()
121 for (DictionaryValue::Iterator it(*dictionary_value); !it.IsAtEnd(); in AddValue()
/external/libchrome/mojo/public/mojom/base/
Dvalues.mojom23 DictionaryValue dictionary_value;
/external/libchrome/base/json/
Djson_value_converter.h497 const DictionaryValue* dictionary_value = NULL; in Convert() local
498 if (!value.GetAsDictionary(&dictionary_value)) in Convert()
505 if (dictionary_value->Get(field_converter->field_path(), &field)) { in Convert()
/external/libchrome/mojo/public/cpp/base/
Dvalues_mojom_traits.h119 static const base::Value& dictionary_value(const base::Value& value) {