/external/chromium_org/chrome/installer/util/ |
D | create_reg_key_work_item.cc | 51 std::wstring key_path; in Do() local 56 key_path.assign(key_list_[i - 1]); in Do() 58 if (key.CreateWithDisposition(predefined_root_, key_path.c_str(), in Do() 64 LOG(ERROR) << key_path << " exists, this is not expected."; in Do() 70 VLOG(1) << "created " << key_path; in Do() 77 LOG(ERROR) << "Failed to create " << key_path; in Do() 89 std::wstring key_path; in Rollback() local 93 key_path.assign(*itr); in Rollback() 94 if (SHDeleteEmptyKey(predefined_root_, key_path.c_str()) == in Rollback() 96 VLOG(1) << "rollback: delete " << key_path; in Rollback() [all …]
|
D | delete_reg_key_work_item_unittest.cc | 39 const std::wstring& key_path = key_paths[i]; in TEST_F() local 41 WorkItem::CreateDeleteRegKeyWorkItem(test_data_.root_key(), key_path)); in TEST_F() 43 EXPECT_NE(ERROR_SUCCESS, key.Open(test_data_.root_key(), key_path.c_str(), in TEST_F() 47 EXPECT_NE(ERROR_SUCCESS, key.Open(test_data_.root_key(), key_path.c_str(), in TEST_F() 55 const std::wstring& key_path = test_data_.empty_key_path(); in TEST_F() local 57 WorkItem::CreateDeleteRegKeyWorkItem(test_data_.root_key(), key_path)); in TEST_F() 59 EXPECT_NE(ERROR_SUCCESS, key.Open(test_data_.root_key(), key_path.c_str(), in TEST_F() 63 EXPECT_EQ(ERROR_SUCCESS, key.Open(test_data_.root_key(), key_path.c_str(), in TEST_F() 71 const std::wstring& key_path = test_data_.non_empty_key_path(); in TEST_F() local 73 WorkItem::CreateDeleteRegKeyWorkItem(test_data_.root_key(), key_path)); in TEST_F() [all …]
|
D | work_item.cc | 68 const std::wstring& key_path, in CreateDeleteRegValueWorkItem() argument 70 return new DeleteRegValueWorkItem(predefined_root, key_path, value_name); in CreateDeleteRegValueWorkItem() 93 const std::wstring& key_path, in CreateSetRegValueWorkItem() argument 97 return new SetRegValueWorkItem(predefined_root, key_path, in CreateSetRegValueWorkItem() 103 const std::wstring& key_path, in CreateSetRegValueWorkItem() argument 107 return new SetRegValueWorkItem(predefined_root, key_path, in CreateSetRegValueWorkItem() 113 const std::wstring& key_path, in CreateSetRegValueWorkItem() argument 117 return new SetRegValueWorkItem(predefined_root, key_path, in CreateSetRegValueWorkItem()
|
D | install_util_unittest.cc | 283 std::wstring key_path(L"SomeKey\\ToDelete"); in TEST_F() local 295 ASSERT_FALSE(RegKey(root, key_path.c_str(), KEY_QUERY_VALUE).Valid()); in TEST_F() 297 InstallUtil::DeleteRegistryValueIf(root, key_path.c_str(), in TEST_F() 299 EXPECT_FALSE(RegKey(root, key_path.c_str(), KEY_QUERY_VALUE).Valid()); in TEST_F() 307 ASSERT_TRUE(RegKey(root, key_path.c_str(), KEY_SET_VALUE).Valid()); in TEST_F() 309 InstallUtil::DeleteRegistryValueIf(root, key_path.c_str(), in TEST_F() 311 EXPECT_TRUE(RegKey(root, key_path.c_str(), KEY_QUERY_VALUE).Valid()); in TEST_F() 320 RegKey(root, key_path.c_str(), in TEST_F() 323 InstallUtil::DeleteRegistryValueIf(root, key_path.c_str(), in TEST_F() 325 EXPECT_TRUE(RegKey(root, key_path.c_str(), KEY_QUERY_VALUE).Valid()); in TEST_F() [all …]
|
D | delete_tree_work_item_unittest.cc | 176 base::FilePath key_path(dir_name_delete); in TEST_F() local 177 key_path = key_path.AppendASCII("key_file.exe"); in TEST_F() 183 base::CopyFile(exe_full_path, key_path); in TEST_F() 184 ASSERT_TRUE(base::PathExists(key_path)); in TEST_F() 187 << " to " << key_path.value(); in TEST_F() 193 ::CreateProcessW(NULL, const_cast<wchar_t*>(key_path.value().c_str()), in TEST_F() 202 std::vector<base::FilePath> key_paths(1, key_path); in TEST_F() 212 EXPECT_TRUE(base::PathExists(key_path)); in TEST_F()
|
D | set_reg_value_work_item.cc | 16 const std::wstring& key_path, in SetRegValueWorkItem() argument 21 key_path_(key_path), in SetRegValueWorkItem() 32 const std::wstring& key_path, in SetRegValueWorkItem() argument 37 key_path_(key_path), in SetRegValueWorkItem() 48 const std::wstring& key_path, in SetRegValueWorkItem() argument 53 key_path_(key_path), in SetRegValueWorkItem()
|
D | work_item_list.cc | 133 const std::wstring& key_path, in AddDeleteRegValueWorkItem() argument 136 key_path, value_name); in AddDeleteRegValueWorkItem() 171 const std::wstring& key_path, in AddSetRegValueWorkItem() argument 176 key_path, in AddSetRegValueWorkItem() 185 const std::wstring& key_path, in AddSetRegValueWorkItem() argument 190 key_path, in AddSetRegValueWorkItem() 199 const std::wstring& key_path, in AddSetRegValueWorkItem() argument 204 WorkItem::CreateSetRegValueWorkItem(predefined_root, key_path, value_name, in AddSetRegValueWorkItem()
|
D | registry_key_backup.cc | 274 bool RegistryKeyBackup::Initialize(HKEY root, const wchar_t* key_path) { in Initialize() argument 275 DCHECK(key_path); in Initialize() 281 LONG result = key.Open(root, key_path, kKeyReadNoNotify); in Initialize() 285 LOG(ERROR) << "Failed to backup key at " << key_path; in Initialize() 289 LOG(ERROR) << "Failed to open key at " << key_path in Initialize() 298 bool RegistryKeyBackup::WriteTo(HKEY root, const wchar_t* key_path) const { in WriteTo() 299 DCHECK(key_path); in WriteTo() 305 LONG result = dest_key.Create(root, key_path, KEY_WRITE); in WriteTo() 307 LOG(ERROR) << "Failed to create destination key at " << key_path in WriteTo()
|
D | set_reg_value_work_item.h | 46 const std::wstring& key_path, 51 SetRegValueWorkItem(HKEY predefined_root, const std::wstring& key_path, 55 SetRegValueWorkItem(HKEY predefined_root, const std::wstring& key_path,
|
D | work_item_list.h | 78 const std::wstring& key_path, 102 const std::wstring& key_path, 110 const std::wstring& key_path, 118 const std::wstring& key_path,
|
D | work_item.h | 106 const std::wstring& key_path, 129 const std::wstring& key_path, 138 const std::wstring& key_path, 146 const std::wstring& key_path,
|
D | registry_key_backup.h | 29 bool Initialize(HKEY root, const wchar_t* key_path); 34 bool WriteTo(HKEY root, const wchar_t* key_path) const;
|
/external/chromium_org/chrome/browser/extensions/ |
D | external_registry_loader_win.cc | 76 base::string16 key_path = ASCIIToWide(kRegistryExtensions); in LoadOnFileThread() local 77 key_path.append(L"\\"); in LoadOnFileThread() 78 key_path.append(*it); in LoadOnFileThread() 80 key_path.c_str(), KEY_READ) != ERROR_SUCCESS) { in LoadOnFileThread() 82 key_path.c_str(), KEY_READ) != ERROR_SUCCESS) { in LoadOnFileThread() 84 << key_path << "."; in LoadOnFileThread() 93 << " for key " << key_path << "."; in LoadOnFileThread() 113 << " for key " << key_path << "."; in LoadOnFileThread() 121 << key_path; in LoadOnFileThread() 127 << " for key " << key_path in LoadOnFileThread() [all …]
|
/external/chromium/chrome/browser/extensions/ |
D | external_registry_extension_loader_win.cc | 49 std::wstring key_path = ASCIIToWide(kRegistryExtensions); in LoadOnFileThread() local 50 key_path.append(L"\\"); in LoadOnFileThread() 51 key_path.append(iterator.Name()); in LoadOnFileThread() 52 if (key.Open(kRegRoot, key_path.c_str(), KEY_READ) == ERROR_SUCCESS) { in LoadOnFileThread() 60 << key_path; in LoadOnFileThread() 72 << " for key " << key_path << " ."; in LoadOnFileThread() 82 << " for key " << key_path << " ."; in LoadOnFileThread() 96 << " for key " << key_path << " ."; in LoadOnFileThread() 101 << " for key " << key_path << " ."; in LoadOnFileThread()
|
/external/chromium_org/components/policy/core/common/cloud/ |
D | resource_cache.cc | 110 base::FilePath key_path; in LoadAllSubkeys() local 111 if (!VerifyKeyPath(key, false, &key_path)) in LoadAllSubkeys() 114 base::FileEnumerator enumerator(key_path, false, base::FileEnumerator::FILES); in LoadAllSubkeys() 143 base::FilePath key_path; in Clear() local 144 if (VerifyKeyPath(key, false, &key_path)) in Clear() 145 base::DeleteFile(key_path, true); in Clear() 152 base::FilePath key_path; in FilterSubkeys() local 153 if (!VerifyKeyPath(key, false, &key_path)) in FilterSubkeys() 156 base::FileEnumerator enumerator(key_path, false, base::FileEnumerator::FILES); in FilterSubkeys() 171 base::DeleteFile(key_path, false); in FilterSubkeys() [all …]
|
/external/chromium_org/base/test/ |
D | test_reg_util_win.cc | 53 string16 key_path = test_key_root; in GenerateTempKeyPath() local 54 key_path += L"\\" + base::Int64ToString16(timestamp.ToInternalValue()); in GenerateTempKeyPath() 55 key_path += kTimestampDelimiter + base::ASCIIToWide(base::GenerateGUID()); in GenerateTempKeyPath() 57 return key_path; in GenerateTempKeyPath() 64 const string16& key_path) in ScopedRegistryKeyOverride() argument 68 temp_key_.Create(HKEY_CURRENT_USER, key_path.c_str(), KEY_ALL_ACCESS)); in ScopedRegistryKeyOverride() 95 string16 key_path = GenerateTempKeyPath(test_key_root_, timestamp_); in OverrideRegistry() local 96 overrides_.push_back(new ScopedRegistryKeyOverride(override, key_path)); in OverrideRegistry()
|
D | test_reg_util_win_unittest.cc | 40 void AssertKeyExists(const string16& key_path) { in AssertKeyExists() argument 43 key.Open(HKEY_CURRENT_USER, key_path.c_str(), KEY_READ)) in AssertKeyExists() 44 << key_path << " does not exist."; in AssertKeyExists() 47 void AssertKeyAbsent(const string16& key_path) { in AssertKeyAbsent() argument 50 key.Open(HKEY_CURRENT_USER, key_path.c_str(), KEY_READ)) in AssertKeyAbsent() 51 << key_path << " exists but it should not."; in AssertKeyAbsent() 54 void CreateKey(const string16& key_path) { in CreateKey() argument 57 key.Create(HKEY_CURRENT_USER, key_path.c_str(), KEY_ALL_ACCESS)); in CreateKey()
|
/external/chromium/chrome/browser/ |
D | idbbindingutilities_browsertest.cc | 31 string16 key_path(UTF8ToUTF16("foo")); in TEST() local 33 serialized_values, key_path, &values); in TEST() 42 key_path = UTF8ToUTF16("PropertyNotAvailable"); in TEST() 44 serialized_values, key_path, &values); in TEST() 52 key_path = UTF8ToUTF16("!+Invalid[KeyPath[[["); in TEST() 54 serialized_values, key_path, &values); in TEST() 113 const string16& key_path) { in CheckValuesForKeyPath() argument 118 id, serialized_values, key_path)); in CheckValuesForKeyPath() 124 id, serialized_values, key_path); in CheckValuesForKeyPath() 130 const string16& key_path) { in CheckInjectValue() argument [all …]
|
D | utility_process_host.cc | 78 const string16& key_path) { in StartIDBKeysFromValuesAndKeyPath() argument 83 id, serialized_values, key_path)); in StartIDBKeysFromValuesAndKeyPath() 89 const string16& key_path) { in StartInjectIDBKey() argument 93 Send(new UtilityMsg_InjectIDBKey(key, value, key_path)); in StartInjectIDBKey()
|
/external/chromium_org/content/browser/indexed_db/ |
D | indexed_db_metadata.h | 20 const IndexedDBKeyPath& key_path, in IndexedDBIndexMetadata() 25 key_path(key_path), in IndexedDBIndexMetadata() 30 IndexedDBKeyPath key_path; member 41 const IndexedDBKeyPath& key_path, 47 IndexedDBKeyPath key_path; member
|
D | indexed_db_metadata.cc | 12 const IndexedDBKeyPath& key_path, in IndexedDBObjectStoreMetadata() argument 17 key_path(key_path), in IndexedDBObjectStoreMetadata()
|
/external/chromium_org/content/child/indexed_db/ |
D | indexed_db_key_builders.cc | 110 const blink::WebIDBKeyPath& key_path) { in Build() argument 111 switch (key_path.keyPathType()) { in Build() 113 return IndexedDBKeyPath(key_path.string()); in Build() 115 return IndexedDBKeyPath(CopyArray(key_path.array())); in Build() 124 const IndexedDBKeyPath& key_path) { in Build() argument 125 switch (key_path.type()) { in Build() 127 return blink::WebIDBKeyPath::create(WebString(key_path.string())); in Build() 129 return blink::WebIDBKeyPath::create(CopyArray(key_path.array())); in Build()
|
D | webidbdatabase_impl.cc | 53 const WebIDBKeyPath& key_path, in createObjectStore() argument 60 params.key_path = IndexedDBKeyPathBuilder::Build(key_path); in createObjectStore() 230 const WebIDBKeyPath& key_path, in createIndex() argument 239 params.key_path = IndexedDBKeyPathBuilder::Build(key_path); in createIndex()
|
D | indexed_db_key_builders.h | 39 static IndexedDBKeyPath Build(const blink::WebIDBKeyPath& key_path); 44 static blink::WebIDBKeyPath Build(const IndexedDBKeyPath& key_path);
|
/external/chromium_org/tools/checkdeps/ |
D | checkdeps_test.py | 35 def VerifySubstringsInProblems(key_path, substrings_in_sequence): argument 42 key_path = os.path.normpath(key_path) 44 index = problem.find(key_path) 52 self.fail('Found no problem for file %s' % key_path)
|