Searched refs:RegistryDict (Results 1 – 7 of 7) sorted by relevance
/external/libchrome/components/policy/core/common/ |
D | registry_dict_unittest.cc | 18 RegistryDict test_dict; in TEST() 46 RegistryDict test_dict; in TEST() 55 RegistryDict::ValueMap::const_iterator entry = test_dict.values().begin(); in TEST() 69 RegistryDict test_dict; in TEST() 74 std::unique_ptr<RegistryDict> subdict(new RegistryDict()); in TEST() 78 RegistryDict* actual_subdict = test_dict.GetKey("two"); in TEST() 82 subdict.reset(new RegistryDict()); in TEST() 100 RegistryDict test_dict; in TEST() 104 test_dict.SetKey("One", std::make_unique<RegistryDict>()); in TEST() 106 RegistryDict* actual_subdict = test_dict.GetKey("One"); in TEST() [all …]
|
D | preg_parser_unittest.cc | 35 testing::AssertionResult RegistryDictEquals(const RegistryDict& a, in RegistryDictEquals() 36 const RegistryDict& b) { in RegistryDictEquals() 81 void SetInteger(RegistryDict* dict, const std::string& name, int value) { in SetInteger() 85 void SetString(RegistryDict* dict, in SetString() 104 RegistryDict dict; in TEST_F() 107 dict.SetKey("DeleteKeysTest1", std::make_unique<RegistryDict>()); in TEST_F() 108 std::unique_ptr<RegistryDict> delete_keys_test(new RegistryDict()); in TEST_F() 112 std::unique_ptr<RegistryDict> subdict(new RegistryDict()); in TEST_F() 115 subdict->SetKey("DelValsTest3", std::make_unique<RegistryDict>()); in TEST_F() 125 RegistryDict expected; in TEST_F() [all …]
|
D | registry_dict.cc | 151 RegistryDict::RegistryDict() {} in RegistryDict() function in policy::RegistryDict 153 RegistryDict::~RegistryDict() { in ~RegistryDict() 158 RegistryDict* RegistryDict::GetKey(const std::string& name) { in GetKey() 163 const RegistryDict* RegistryDict::GetKey(const std::string& name) const { in GetKey() 168 void RegistryDict::SetKey(const std::string& name, in SetKey() 169 std::unique_ptr<RegistryDict> dict) { in SetKey() 178 std::unique_ptr<RegistryDict> RegistryDict::RemoveKey(const std::string& name) { in RemoveKey() 179 std::unique_ptr<RegistryDict> result; in RemoveKey() 188 void RegistryDict::ClearKeys() { in ClearKeys() 192 base::Value* RegistryDict::GetValue(const std::string& name) { in GetValue() [all …]
|
D | registry_dict.h | 42 class POLICY_EXPORT RegistryDict { 45 std::unique_ptr<RegistryDict>, 51 RegistryDict(); 52 ~RegistryDict(); 55 RegistryDict* GetKey(const std::string& name); 56 const RegistryDict* GetKey(const std::string& name) const; 58 void SetKey(const std::string& name, std::unique_ptr<RegistryDict> dict); 60 std::unique_ptr<RegistryDict> RemoveKey(const std::string& name); 75 void Merge(const RegistryDict& other); 78 void Swap(RegistryDict* other); [all …]
|
D | preg_parser.h | 26 class RegistryDict; variable 39 RegistryDict* dict, 49 RegistryDict* dict,
|
D | preg_parser.cc | 50 using RegistryDict = policy::RegistryDict; typedef 223 RegistryDict* dict) { in HandleRecord() 240 RegistryDict* subdict = dict->GetKey(name); in HandleRecord() 242 subdict = new RegistryDict(); in HandleRecord() 306 RegistryDict* dict, in ReadFile() 323 RegistryDict* dict, in ReadDataInternal()
|
D | preg_parser_fuzzer.cc | 39 RegistryDict dict; in LLVMFuzzerTestOneInput()
|