Searched refs:subdict (Results 1 – 7 of 7) sorted by relevance
/external/libchrome/components/policy/core/common/ |
D | registry_dict_unittest.cc | 74 std::unique_ptr<RegistryDict> subdict(new RegistryDict()); in TEST() local 75 subdict->SetValue("one", int_value.CreateDeepCopy()); in TEST() 76 test_dict.SetKey("two", std::move(subdict)); in TEST() 82 subdict.reset(new RegistryDict()); in TEST() 83 subdict->SetValue("three", string_value.CreateDeepCopy()); in TEST() 84 test_dict.SetKey("four", std::move(subdict)); in TEST() 114 std::unique_ptr<RegistryDict> subdict(new RegistryDict()); in TEST() local 115 subdict->SetValue("two", int_value.CreateDeepCopy()); in TEST() 116 test_dict.SetKey("ONE", std::move(subdict)); in TEST() 136 std::unique_ptr<RegistryDict> subdict(new RegistryDict()); in TEST() local [all …]
|
D | preg_parser_unittest.cc | 112 std::unique_ptr<RegistryDict> subdict(new RegistryDict()); in TEST_F() local 113 SetInteger(subdict.get(), "DelValsTest1", 1); in TEST_F() 114 SetString(subdict.get(), "DelValsTest2", "2"); in TEST_F() 115 subdict->SetKey("DelValsTest3", std::make_unique<RegistryDict>()); in TEST_F() 116 dict.SetKey("DelValsTest", std::move(subdict)); in TEST_F()
|
D | registry_dict.cc | 230 std::unique_ptr<RegistryDict>& subdict = keys_[entry->first]; in Merge() local 231 if (!subdict) in Merge() 232 subdict = std::make_unique<RegistryDict>(); in Merge() 233 subdict->Merge(*entry->second); in Merge() 292 std::unique_ptr<RegistryDict> subdict(new RegistryDict()); in ReadRegistry() local 293 subdict->ReadRegistry(hive, root + L"\\" + it.Name()); in ReadRegistry() 294 SetKey(name, std::move(subdict)); in ReadRegistry()
|
D | preg_parser.cc | 240 RegistryDict* subdict = dict->GetKey(name); in HandleRecord() local 241 if (!subdict) { in HandleRecord() 242 subdict = new RegistryDict(); in HandleRecord() 243 dict->SetKey(name, base::WrapUnique(subdict)); in HandleRecord() 245 dict = subdict; in HandleRecord()
|
/external/libxml2/ |
D | dict.c | 124 struct _xmlDict *subdict; member 595 dict->subdict = NULL; in xmlDictCreate() 630 dict->subdict = sub; in xmlDictCreateSub() 631 xmlDictReference(dict->subdict); in xmlDictCreateSub() 824 if (dict->subdict != NULL) { in xmlDictFree() 825 xmlDictFree(dict->subdict); in xmlDictFree() 918 if (dict->subdict) { in xmlDictLookup() 923 (dict->subdict->size != MIN_DICT_SIZE)) || in xmlDictLookup() 925 (dict->subdict->size == MIN_DICT_SIZE))) in xmlDictLookup() 926 skey = xmlDictComputeKey(dict->subdict, name, l); in xmlDictLookup() [all …]
|
/external/libchrome/ipc/ |
D | ipc_message_unittest.cc | 97 auto subdict = std::make_unique<base::DictionaryValue>(); in TEST() local 98 subdict->SetString("str", "forty two"); in TEST() 99 subdict->SetBoolean("bool", false); in TEST() 105 subdict->Set("list", std::move(sublist)); in TEST() 107 input.Set("dict", std::move(subdict)); in TEST()
|
/external/libchrome/base/ |
D | values.cc | 1096 DictionaryValue* subdict = nullptr; in RemovePath() local 1097 if (!GetDictionary(subdict_path, &subdict)) in RemovePath() 1099 result = subdict->RemovePath(path.substr(delimiter_position + 1), in RemovePath() 1101 if (result && subdict->empty()) in RemovePath()
|