Home
last modified time | relevance | path

Searched refs:subdict (Results 1 – 7 of 7) sorted by relevance

/external/libchrome/components/policy/core/common/
Dregistry_dict_unittest.cc74 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 …]
Dpreg_parser_unittest.cc112 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()
Dregistry_dict.cc230 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()
Dpreg_parser.cc240 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/
Ddict.c124 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/
Dipc_message_unittest.cc97 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/
Dvalues.cc1096 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()