Home
last modified time | relevance | path

Searched refs:key_name (Results 1 – 25 of 68) sorted by relevance

123

/external/chromium_org/third_party/libjingle/source/talk/base/
Dwin32regkey.cc55 HRESULT RegKey::Create(HKEY parent_key, const wchar_t* key_name) { in Create() argument
57 key_name, in Create()
65 HRESULT RegKey::Open(HKEY parent_key, const wchar_t* key_name) { in Open() argument
66 return Open(parent_key, key_name, KEY_ALL_ACCESS); in Open()
238 HRESULT RegKey::DeleteSubKey(const wchar_t* key_name) { in DeleteSubKey() argument
239 ASSERT(key_name != NULL); in DeleteSubKey()
242 LONG res = ::RegDeleteKey(h_key_, key_name); in DeleteSubKey()
274 const wchar_t* key_name, in Create() argument
280 ASSERT(key_name != NULL); in Create()
285 LONG res = ::RegCreateKeyEx(parent_key, key_name, 0, lpszClass, options, in Create()
[all …]
Dwin32regkey.h61 HRESULT Create(HKEY parent_key, const wchar_t* key_name);
64 const wchar_t* key_name,
72 HRESULT Open(HKEY parent_key, const wchar_t* key_name);
74 HRESULT Open(HKEY parent_key, const wchar_t* key_name, REGSAM sam_desired);
96 bool HasSubkey(const wchar_t* key_name) const;
107 HRESULT GetSubkeyNameAt(int index, std::wstring* key_name);
261 HRESULT DeleteSubKey(const wchar_t* key_name);
264 HRESULT RecurseDeleteSubKey(const wchar_t* key_name);
298 static bool SafeKeyNameForDeletion(const wchar_t* key_name);
322 static std::wstring GetParentKeyInfo(std::wstring* key_name);
/external/chromium_org/third_party/webrtc/base/
Dwin32regkey.cc38 HRESULT RegKey::Create(HKEY parent_key, const wchar_t* key_name) { in Create() argument
40 key_name, in Create()
48 HRESULT RegKey::Open(HKEY parent_key, const wchar_t* key_name) { in Open() argument
49 return Open(parent_key, key_name, KEY_ALL_ACCESS); in Open()
221 HRESULT RegKey::DeleteSubKey(const wchar_t* key_name) { in DeleteSubKey() argument
222 ASSERT(key_name != NULL); in DeleteSubKey()
225 LONG res = ::RegDeleteKey(h_key_, key_name); in DeleteSubKey()
257 const wchar_t* key_name, in Create() argument
263 ASSERT(key_name != NULL); in Create()
268 LONG res = ::RegCreateKeyEx(parent_key, key_name, 0, lpszClass, options, in Create()
[all …]
Dwin32regkey.h44 HRESULT Create(HKEY parent_key, const wchar_t* key_name);
47 const wchar_t* key_name,
55 HRESULT Open(HKEY parent_key, const wchar_t* key_name);
57 HRESULT Open(HKEY parent_key, const wchar_t* key_name, REGSAM sam_desired);
79 bool HasSubkey(const wchar_t* key_name) const;
90 HRESULT GetSubkeyNameAt(int index, std::wstring* key_name);
244 HRESULT DeleteSubKey(const wchar_t* key_name);
247 HRESULT RecurseDeleteSubKey(const wchar_t* key_name);
281 static bool SafeKeyNameForDeletion(const wchar_t* key_name);
305 static std::wstring GetParentKeyInfo(std::wstring* key_name);
/external/chromium_org/chromeos/attestation/
Dattestation_flow.cc201 std::string key_name = GetKeyNameForProfile(certificate_profile, in StartCertificateRequest() local
214 key_name, in StartCertificateRequest()
223 key_name, in StartCertificateRequest()
238 key_name, in StartCertificateRequest()
249 const std::string& key_name, in SendCertificateRequestToPCA() argument
267 key_name, in SendCertificateRequestToPCA()
274 const std::string& key_name, in SendCertificateResponseToDaemon() argument
289 key_name, in SendCertificateResponseToDaemon()
296 const std::string& key_name, in GetExistingCertificate() argument
301 key_name, in GetExistingCertificate()
/external/chromium_org/chromeos/dbus/
Dmock_cryptohome_client.h115 const std::string& key_name,
120 const std::string& key_name,
125 const std::string& key_name,
130 const std::string& key_name,
135 const std::string& key_name,
140 const std::string& key_name,
149 const std::string& key_name,
155 const std::string& key_name,
160 const std::string& key_name,
Dcryptohome_client.h330 const std::string& key_name,
341 const std::string& key_name,
353 const std::string& key_name,
364 const std::string& key_name,
377 const std::string& key_name,
392 const std::string& key_name,
410 const std::string& key_name,
424 const std::string& key_name,
436 const std::string& key_name,
Dfake_cryptohome_client.h110 const std::string& key_name,
115 const std::string& key_name,
120 const std::string& key_name,
125 const std::string& key_name,
130 const std::string& key_name,
135 const std::string& key_name,
144 const std::string& key_name,
150 const std::string& key_name,
155 const std::string& key_name,
Dcryptohome_client.cc500 const std::string& key_name, in AsyncTpmAttestationFinishCertRequest() argument
512 writer.AppendString(key_name); in AsyncTpmAttestationFinishCertRequest()
523 const std::string& key_name, in TpmAttestationDoesKeyExist() argument
532 writer.AppendString(key_name); in TpmAttestationDoesKeyExist()
540 const std::string& key_name, in TpmAttestationGetCertificate() argument
549 writer.AppendString(key_name); in TpmAttestationGetCertificate()
560 const std::string& key_name, in TpmAttestationGetPublicKey() argument
569 writer.AppendString(key_name); in TpmAttestationGetPublicKey()
580 const std::string& key_name, in TpmAttestationRegisterKey() argument
589 writer.AppendString(key_name); in TpmAttestationRegisterKey()
[all …]
/external/chromium_org/chrome/installer/util/
Ddelete_reg_key_work_item_unittest.cc88 std::wstring key_name(test_data_.base_path() + L"\\UndeletableKey"); in TEST_F() local
89 EXPECT_EQ(ERROR_SUCCESS, key.Create(test_data_.root_key(), key_name.c_str(), in TEST_F()
91 EXPECT_EQ(ERROR_SUCCESS, key.WriteValue(NULL, key_name.c_str())); in TEST_F()
116 test_data_.root_key(), key_name, WorkItem::kWow64Default)); in TEST_F()
118 EXPECT_EQ(ERROR_SUCCESS, key.Open(test_data_.root_key(), key_name.c_str(), in TEST_F()
122 EXPECT_EQ(ERROR_SUCCESS, key.Open(test_data_.root_key(), key_name.c_str(), in TEST_F()
126 EXPECT_EQ(key_name, str_value); in TEST_F()
Dauto_launch_util.cc69 base::string16 key_name(ProfileToKeyName(profile_directory)); in WillLaunchAtLoginWithSwitch() local
72 HKEY_CURRENT_USER, key_name, &autolaunch)) { in WillLaunchAtLoginWithSwitch()
148 base::string16 key_name(ProfileToKeyName(profile_directory)); in SetWillLaunchAtLogin() local
204 base::win::AddCommandToAutoRun(HKEY_CURRENT_USER, key_name, cmd_line); in SetWillLaunchAtLogin()
206 base::win::RemoveCommandFromAutoRun(HKEY_CURRENT_USER, key_name); in SetWillLaunchAtLogin()
/external/chromium_org/chrome/browser/signin/
Dsignin_header_helper.cc95 const std::string key_name(it->first); in BuildManageAccountsParams() local
96 if (key_name == kServiceTypeAttrName) { in BuildManageAccountsParams()
99 } else if (key_name == kEmailAttrName) { in BuildManageAccountsParams()
101 } else if (key_name == kIsSamlAttrName) { in BuildManageAccountsParams()
103 } else if (key_name == kContinueUrlAttrName) { in BuildManageAccountsParams()
105 } else if (key_name == kIsSameTabAttrName) { in BuildManageAccountsParams()
108 DLOG(WARNING) << "Unexpected GAIA header attribute '" << key_name << "'."; in BuildManageAccountsParams()
/external/chromium_org/components/autofill/core/browser/
Dautofill_ie_toolbar_import_win.cc262 std::wstring key_name(kProfileKey); in ImportCurrentUserProfiles() local
263 key_name.append(L"\\"); in ImportCurrentUserProfiles()
264 key_name.append(iterator_profiles.Name()); in ImportCurrentUserProfiles()
265 RegKey key(HKEY_CURRENT_USER, key_name.c_str(), KEY_READ); in ImportCurrentUserProfiles()
286 std::wstring key_name(kCreditCardKey); in ImportCurrentUserProfiles() local
287 key_name.append(L"\\"); in ImportCurrentUserProfiles()
288 key_name.append(iterator_cc.Name()); in ImportCurrentUserProfiles()
289 RegKey key(HKEY_CURRENT_USER, key_name.c_str(), KEY_READ); in ImportCurrentUserProfiles()
/external/chromium_org/sync/util/
Dcryptographer.cc47 return nigoris_.end() != nigoris_.find(data.key_name()); in CanDecrypt()
53 data.key_name() == default_nigori_name_; in CanDecryptUsingDefaultKey()
110 NigoriMap::const_iterator it = nigoris_.find(encrypted.key_name()); in DecryptToString()
193 SetDefaultKey(pending_keys_->key_name()); in AddKeyImpl()
211 void Cryptographer::SetDefaultKey(const std::string& key_name) { in SetDefaultKey() argument
212 DCHECK(nigoris_.end() != nigoris_.find(key_name)); in SetDefaultKey()
213 default_nigori_name_ = key_name; in SetDefaultKey()
246 const std::string& new_default_key_name = pending_keys_->key_name(); in DecryptPendingKeys()
Dcryptographer_unittest.cc136 EXPECT_EQ(encrypted1.key_name(), encrypted2.key_name()); in TEST_F()
137 EXPECT_NE(encrypted1.key_name(), encrypted3.key_name()); in TEST_F()
138 EXPECT_EQ(encrypted3.key_name(), encrypted4.key_name()); in TEST_F()
/external/chromium_org/athena/virtual_keyboard/
Dvk_message_handler.cc34 std::string key_name; in SendKeyEvent() local
42 if (!params->GetString(3, &key_name)) in SendKeyEvent()
49 type, char_value, key_code, key_name, modifiers, window->GetHost()); in SendKeyEvent()
/external/chromium_org/tools/grit/grit/format/policy_templates/writers/
Dadm_writer.py94 def _WritePart(self, policy, key_name, builder): argument
112 builder.AddLine('KEYNAME "%s\\%s"' % (key_name, policy['name']))
132 def _WritePolicy(self, policy, key_name, builder): argument
149 self._WritePart(policy, key_name, builder)
182 def _CreateTemplate(self, category_path, key_name, policies): argument
194 lines.AddLine('KEYNAME "%s"' % key_name)
/external/chromium_org/base/test/
Dtest_reg_util_win.cc34 base::string16 key_name = iterator_test_root_key.Name(); in DeleteStaleTestKeys() local
36 Tokenize(key_name, base::string16(kTimestampDelimiter), &tokens); in DeleteStaleTestKeys()
40 test_root_key.DeleteKey(key_name.c_str()); in DeleteStaleTestKeys()
48 test_root_key.DeleteKey(key_name.c_str()); in DeleteStaleTestKeys()
/external/chromium_org/build/android/gyp/
Dfinalize_apk.py17 def SignApk(key_path, key_name, key_passwd, unsigned_path, signed_path): argument
26 key_name,
57 SignApk(options.key_path, options.key_name, options.key_passwd,
/external/chromium_org/chromeos/cryptohome/
Dasync_method_caller.cc160 const std::string& key_name, in AsyncTpmAttestationFinishCertRequest() argument
167 key_name, in AsyncTpmAttestationFinishCertRequest()
178 const std::string& key_name, in TpmAttestationRegisterKey() argument
184 key_name, in TpmAttestationRegisterKey()
195 const std::string& key_name, in TpmAttestationSignEnterpriseChallenge() argument
205 key_name, in TpmAttestationSignEnterpriseChallenge()
220 const std::string& key_name, in TpmAttestationSignSimpleChallenge() argument
227 key_name, in TpmAttestationSignSimpleChallenge()
Dasync_method_caller.h145 const std::string& key_name,
155 const std::string& key_name,
168 const std::string& key_name,
184 const std::string& key_name,
Dmock_async_method_caller.h69 const std::string& key_name,
74 const std::string& key_name,
80 const std::string& key_name,
89 const std::string& key_name,
/external/lldb/source/Plugins/SymbolVendor/MacOSX/
DSymbolVendorMacOSX.cpp221 … const char *key_name = (const char *)::xmlNodeGetContent(key_node); in CreateInstance() local
222 … if (strcmp(key_name, "DBGBuildSourcePath") == 0) in CreateInstance()
241 … else if (strcmp(key_name, "DBGSourcePath") == 0) in CreateInstance()
261 if (key_name != NULL) in CreateInstance()
262 xmlFree((void *) key_name); in CreateInstance()
/external/chromium_org/tools/telemetry/telemetry/core/
Ddiscover.py114 key_name = camel_case.ToUnderscore(obj.__name__)
116 key_name = module.__name__.split('.')[-1]
117 classes[key_name] = obj
/external/chromium_org/components/policy/core/common/
Dpreg_parser_win.cc153 void HandleRecord(const base::string16& key_name, in HandleRecord() argument
161 Tokenize(key_name, kRegistryPathSeparator, &path); in HandleRecord()
257 base::string16 key_name; in ReadFile() local
263 if (!ReadFieldString(&cursor, end, &key_name)) in ReadFile()
298 if (StartsWith(key_name, root, false)) in ReadFile()
299 HandleRecord(key_name.substr(root.size()), value, type, data, dict); in ReadFile()

123