/external/libchrome/base/ |
D | values.cc | 50 std::unique_ptr<DictionaryValue> CopyDictionaryWithoutEmptyChildren( in CopyDictionaryWithoutEmptyChildren() 51 const DictionaryValue& dict) { in CopyDictionaryWithoutEmptyChildren() 52 std::unique_ptr<DictionaryValue> copy; in CopyDictionaryWithoutEmptyChildren() 53 for (DictionaryValue::Iterator it(dict); !it.IsAtEnd(); it.Advance()) { in CopyDictionaryWithoutEmptyChildren() 57 copy = std::make_unique<DictionaryValue>(); in CopyDictionaryWithoutEmptyChildren() 71 static_cast<const DictionaryValue&>(node)); in CopyWithoutEmptyChildren() 520 bool Value::GetAsDictionary(DictionaryValue** out_value) { in GetAsDictionary() 522 *out_value = static_cast<DictionaryValue*>(this); in GetAsDictionary() 528 bool Value::GetAsDictionary(const DictionaryValue** out_value) const { in GetAsDictionary() 530 *out_value = static_cast<const DictionaryValue*>(this); in GetAsDictionary() [all …]
|
D | values.h | 44 class DictionaryValue; variable 324 bool GetAsDictionary(DictionaryValue** out_value); 325 bool GetAsDictionary(const DictionaryValue** out_value) const; 382 class BASE_EXPORT DictionaryValue : public Value { 388 static std::unique_ptr<DictionaryValue> From(std::unique_ptr<Value> value); 390 DictionaryValue(); 391 explicit DictionaryValue(const DictStorage& in_dict); 392 explicit DictionaryValue(DictStorage&& in_dict) noexcept; 431 DictionaryValue* SetDictionary(StringPiece path, 432 std::unique_ptr<DictionaryValue> in_value); [all …]
|
D | values_unittest.cc | 113 DictionaryValue value; in TEST() 121 DictionaryValue value(storage); in TEST() 129 DictionaryValue value(std::move(storage)); in TEST() 694 DictionaryValue settings; in TEST() 717 std::unique_ptr<DictionaryValue> new_bookmark(new DictionaryValue); in TEST() 724 DictionaryValue* bookmark; in TEST() 888 DictionaryValue dict; in TEST() 901 DictionaryValue dict; in TEST() 907 DictionaryValue dict; in TEST() 914 DictionaryValue dict; in TEST() [all …]
|
/external/libchrome/base/json/ |
D | json_writer_unittest.cc | 22 EXPECT_TRUE(JSONWriter::Write(DictionaryValue(), &output_js)); in TEST() 59 DictionaryValue root_dict; in TEST() 61 std::unique_ptr<DictionaryValue> inner_dict(new DictionaryValue()); in TEST() 93 DictionaryValue period_dict; in TEST() 96 std::unique_ptr<DictionaryValue> period_dict2(new DictionaryValue()); in TEST() 102 DictionaryValue period_dict3; in TEST() 131 DictionaryValue binary_dict; in TEST()
|
D | json_value_serializer_unittest.cc | 220 std::unique_ptr<DictionaryValue> root_dict = in TEST() 221 DictionaryValue::From(deserializer.Deserialize(nullptr, nullptr)); in TEST() 302 DictionaryValue valueRoot; in TEST() 315 DictionaryValue root; in TEST() 331 DictionaryValue* dict_root = in TEST() 332 static_cast<DictionaryValue*>(deserial_root.get()); in TEST() 340 DictionaryValue root; in TEST() 356 DictionaryValue* dict_root = in TEST() 357 static_cast<DictionaryValue*>(deserial_root.get()); in TEST() 367 dict_root = static_cast<DictionaryValue*>(deserial_root.get()); in TEST() [all …]
|
D | json_reader_unittest.cc | 320 std::unique_ptr<DictionaryValue> dict_val = in TEST() 321 DictionaryValue::From(JSONReader::Read("{}")); in TEST() 326 auto dict_val = DictionaryValue::From(JSONReader::Read( in TEST() 368 std::unique_ptr<DictionaryValue> dict_val = in TEST() 369 DictionaryValue::From(JSONReader::Read( in TEST() 372 DictionaryValue* inner_dict = nullptr; in TEST() 390 std::unique_ptr<DictionaryValue> dict_val = DictionaryValue::From( in TEST() 398 DictionaryValue* inner_dict = nullptr; in TEST() 407 DictionaryValue::From(JSONReader::Read("{\"a\":{\"b\":2},\"a.b\":1}")); in TEST() 469 std::unique_ptr<DictionaryValue> dict_val = in TEST() [all …]
|
/external/v8/src/inspector/ |
D | remote-object-id.cc | 14 std::unique_ptr<protocol::DictionaryValue> 21 std::unique_ptr<protocol::DictionaryValue> parsedObjectId( in parseInjectedScriptId() 22 protocol::DictionaryValue::cast(parsedValue.release())); in parseInjectedScriptId() 34 std::unique_ptr<protocol::DictionaryValue> parsedObjectId = in parse() 50 std::unique_ptr<protocol::DictionaryValue> parsedObjectId = in parse()
|
D | v8-debugger-agent-impl.h | 39 protocol::DictionaryValue* state); 135 std::unique_ptr<protocol::DictionaryValue> data); 138 std::unique_ptr<protocol::DictionaryValue> data); 197 protocol::DictionaryValue* m_state; 208 std::pair<String16, std::unique_ptr<protocol::DictionaryValue>>; 213 std::unique_ptr<protocol::DictionaryValue> breakAuxData);
|
D | v8-inspector-session-impl.cc | 73 if (state) m_state = protocol::DictionaryValue::cast(std::move(state)); in V8InspectorSessionImpl() 74 if (!m_state) m_state = protocol::DictionaryValue::create(); in V8InspectorSessionImpl() 76 m_state = protocol::DictionaryValue::create(); in V8InspectorSessionImpl() 123 protocol::DictionaryValue* V8InspectorSessionImpl::agentState( in agentState() 125 protocol::DictionaryValue* state = m_state->getObject(name); in agentState() 127 std::unique_ptr<protocol::DictionaryValue> newState = in agentState() 128 protocol::DictionaryValue::create(); in agentState() 391 protocol::DictionaryValue::cast( in schedulePauseOnNextStatement() 403 protocol::DictionaryValue::cast( in breakProgram()
|
D | v8-debugger-agent-impl.cc | 297 protocol::DictionaryValue* getOrCreateObject(protocol::DictionaryValue* object, in getOrCreateObject() 299 protocol::DictionaryValue* value = object->getObject(key); in getOrCreateObject() 301 std::unique_ptr<protocol::DictionaryValue> newDictionary = in getOrCreateObject() 302 protocol::DictionaryValue::create(); in getOrCreateObject() 311 protocol::DictionaryValue* state) in V8DebuggerAgentImpl() 489 protocol::DictionaryValue* breakpoints; in setBreakpointByUrl() 530 protocol::DictionaryValue* breakpointHints = in setBreakpointByUrl() 589 protocol::DictionaryValue* breakpoints = nullptr; in removeBreakpoint() 592 protocol::DictionaryValue* breakpointsByUrl = in removeBreakpoint() 599 protocol::DictionaryValue* breakpointsByScriptHash = in removeBreakpoint() [all …]
|
D | v8-console-agent-impl.h | 22 protocol::DictionaryValue* state); 39 protocol::DictionaryValue* m_state;
|
D | v8-runtime-agent-impl.h | 57 protocol::DictionaryValue* state); 125 std::unique_ptr<protocol::DictionaryValue> hints); 138 protocol::DictionaryValue* m_state;
|
D | v8-heap-profiler-agent-impl.h | 24 protocol::DictionaryValue* state); 61 protocol::DictionaryValue* m_state;
|
D | v8-profiler-agent-impl.h | 29 protocol::DictionaryValue* state); 70 protocol::DictionaryValue* m_state;
|
/external/libbrillo/brillo/ |
D | value_conversion.h | 56 const base::DictionaryValue** out_value) { in FromValue() 63 std::unique_ptr<base::DictionaryValue>* out_value); 88 const base::DictionaryValue* dict = nullptr; in FromValue() 92 for (base::DictionaryValue::Iterator it(*dict); !it.IsAtEnd(); it.Advance()) { in FromValue() 129 std::unique_ptr<base::DictionaryValue> result{new base::DictionaryValue}; in ToValue()
|
D | value_conversion.cc | 32 std::unique_ptr<base::DictionaryValue>* out_value) { in FromValue() 33 const base::DictionaryValue* dict = nullptr; in FromValue()
|
/external/libchrome/base/process/ |
D | process_metrics.cc | 75 std::unique_ptr<DictionaryValue> res(new DictionaryValue()); in ToValue() 79 std::unique_ptr<DictionaryValue> meminfo = memory_info_.ToValue(); in ToValue() 80 std::unique_ptr<DictionaryValue> vmstat = vmstat_info_.ToValue(); in ToValue()
|
/external/libchrome/mojo/public/mojom/base/ |
D | values.mojom | 23 DictionaryValue dictionary_value; 28 // should use base.mojom.DictionaryValue or base.mojom.ListValue in the method 32 struct DictionaryValue {
|
/external/libchrome/dbus/ |
D | values_util.cc | 38 base::DictionaryValue* dictionary_value) { in PopDictionaryEntries() 182 std::unique_ptr<base::DictionaryValue> dictionary_value( in PopDataAsValue() 183 new base::DictionaryValue); in PopDataAsValue() 264 const base::DictionaryValue* dictionary = nullptr; in AppendValueData() 268 for (base::DictionaryValue::Iterator iter(*dictionary); in AppendValueData()
|
/external/libchrome/base/test/ |
D | gtest_util.cc | 58 std::unique_ptr<DictionaryValue> test_info(new DictionaryValue); in WriteCompiledInTestsToFile() 86 base::DictionaryValue* test = nullptr; in ReadTestNamesFromFile()
|
/external/libbrillo/brillo/imageloader/ |
D | manifest.cc | 47 const base::DictionaryValue* metadata_dict = nullptr; in ParseMetadata() 51 base::DictionaryValue::Iterator it(*metadata_dict); in ParseMetadata() 83 base::DictionaryValue* manifest_dict = nullptr; in ParseManifest()
|
/external/libchrome/ipc/ |
D | ipc_message_unittest.cc | 90 TEST(IPCMessageTest, DictionaryValue) { in TEST() argument 91 base::DictionaryValue input; in TEST() 97 auto subdict = std::make_unique<base::DictionaryValue>(); in TEST() 112 base::DictionaryValue output; in TEST()
|
/external/libchrome/base/metrics/ |
D | histogram_base.cc | 150 std::unique_ptr<DictionaryValue> parameters(new DictionaryValue()); in WriteJSON() 154 DictionaryValue root; in WriteJSON()
|
/external/libbrillo/brillo/http/ |
D | http_transport_fake.cc | 177 std::unique_ptr<base::DictionaryValue> 179 std::unique_ptr<base::DictionaryValue> result; in GetDataAsJson() 184 result = base::DictionaryValue::From(std::move(value)); in GetDataAsJson() 267 base::DictionaryValue json; in ReplyJson()
|
/external/libchrome/mojo/public/cpp/base/ |
D | values_unittest.cc | 83 TEST(ValuesStructTraitsTest, DictionaryValue) { in TEST() argument 107 mojo::test::SerializeAndDeserialize<mojom::DictionaryValue>(&in, &out)); in TEST() 117 mojo::test::SerializeAndDeserialize<mojom::DictionaryValue>(&in, &out)); in TEST()
|