Home
last modified time | relevance | path

Searched refs:hkey (Results 1 – 21 of 21) sorted by relevance

/third_party/flutter/skia/third_party/externals/sdl/src/core/windows/
DSDL_windows.c157 HKEY hkey; in WIN_LookupAudioDeviceName()
172 rc = (RegOpenKeyExW(HKEY_LOCAL_MACHINE, strw, 0, KEY_QUERY_VALUE, &hkey) == ERROR_SUCCESS); in WIN_LookupAudioDeviceName()
178 rc = (RegQueryValueExW(hkey, L"Name", NULL, NULL, NULL, &len) == ERROR_SUCCESS); in WIN_LookupAudioDeviceName()
180 RegCloseKey(hkey); in WIN_LookupAudioDeviceName()
186 RegCloseKey(hkey); in WIN_LookupAudioDeviceName()
190 rc = (RegQueryValueExW(hkey, L"Name", NULL, NULL, (LPBYTE) strw, &len) == ERROR_SUCCESS); in WIN_LookupAudioDeviceName()
191 RegCloseKey(hkey); in WIN_LookupAudioDeviceName()
/third_party/boost/libs/log/src/windows/
Devent_log_registry.hpp315 HKEY hkey = 0; in verify_event_log_registry() local
321 &hkey); in verify_event_log_registry()
325 auto_hkey_close hkey_guard(hkey); in verify_event_log_registry()
333 … res = registry::get_value(hkey, registry::get_event_message_file_param_name(), module_name); in verify_event_log_registry()
341 … res = registry::get_value(hkey, registry::get_category_message_file_param_name(), module_name); in verify_event_log_registry()
350 … res = registry::get_value(hkey, registry::get_category_count_param_name(), category_count); in verify_event_log_registry()
359 … res = registry::get_value(hkey, registry::get_types_supported_param_name(), event_types); in verify_event_log_registry()
387 HKEY hkey = 0; in init_event_log_registry() local
397 &hkey, in init_event_log_registry()
402 auto_hkey_close hkey_guard(hkey); in init_event_log_registry()
[all …]
/third_party/curl/lib/
Dhmac.c58 unsigned char *hkey; in Curl_HMAC_init() local
78 hkey = (unsigned char *) ctxt->hmac_hashctxt2 + hashparams->hmac_ctxtsize; in Curl_HMAC_init()
79 (*hashparams->hmac_hfinal)(hkey, ctxt->hmac_hashctxt1); in Curl_HMAC_init()
80 key = hkey; in Curl_HMAC_init()
Dcurl_ntlm_core.c310 HCRYPTKEY hkey; in encrypt_des() local
337 if(!CryptImportKey(hprov, (BYTE *) &blob, sizeof(blob), 0, 0, &hkey)) { in encrypt_des()
346 CryptEncrypt(hkey, 0, FALSE, 0, out, &len, len); in encrypt_des()
348 CryptDestroyKey(hkey); in encrypt_des()
/third_party/openssl/crypto/hmac/
Dhm_pmeth.c88 ASN1_OCTET_STRING *hkey = NULL; in pkey_hmac_keygen() local
92 hkey = ASN1_OCTET_STRING_dup(&hctx->ktmp); in pkey_hmac_keygen()
93 if (!hkey) in pkey_hmac_keygen()
95 EVP_PKEY_assign(pkey, EVP_PKEY_HMAC, hkey); in pkey_hmac_keygen()
/third_party/boost/libs/locale/src/shared/
Dmessage.cpp132 uint32_t hkey = 0; in find() local
134 hkey = pj_winberger_hash_function(key_in); in find()
140 hkey = st; in find()
142 uint32_t incr = 1 + hkey % (hash_size_-2); in find()
143 hkey %= hash_size_; in find()
144 uint32_t orig=hkey; in find()
148 uint32_t idx = get(hash_offset_ + 4*hkey); in find()
156 hkey=(hkey + incr) % hash_size_; in find()
157 } while(hkey!=orig); in find()
/third_party/python/PC/
Dwinreg.c112 HKEY hkey; member
146 if (obkey->hkey) in PyHKEY_deallocFunc()
147 RegCloseKey((HKEY)obkey->hkey); in PyHKEY_deallocFunc()
154 return ((PyHKEYObject *)ob)->hkey != 0; in PyHKEY_boolFunc()
161 return PyLong_FromVoidPtr(pyhkey->hkey); in PyHKEY_intFunc()
168 return PyUnicode_FromFormat("<PyHKEY:%p>", pyhkey->hkey); in PyHKEY_strFunc()
297 if (PySys_Audit("winreg.PyHKEY.Detach", "n", (Py_ssize_t)self->hkey) < 0) { in winreg_HKEYType_Detach_impl()
300 ret = (void*)self->hkey; in winreg_HKEYType_Detach_impl()
301 self->hkey = 0; in winreg_HKEYType_Detach_impl()
350 {"handle", T_INT, OFF(hkey), READONLY},
[all …]
/third_party/python/Lib/test/test_importlib/
Dtest_windows.py42 hkey = OpenKey(root, subkey, access=KEY_ALL_ACCESS)
48 subsubkey = EnumKey(hkey, 0)
52 delete_registry_tree(hkey, subsubkey)
53 CloseKey(hkey)
/third_party/python/Doc/library/
Dwinreg.rst31 .. function:: CloseKey(hkey)
33 Closes a previously opened registry key. The *hkey* argument specifies a
38 If *hkey* is not closed using this method (or via :meth:`hkey.Close()
39 <PyHKEY.Close>`), it is closed when the *hkey* object is destroyed by
68 :ref:`HKEY_* constants <hkey-constants>`.
94 :ref:`HKEY_* constants <hkey-constants>`.
127 :ref:`HKEY_* constants <hkey-constants>`.
154 :ref:`HKEY_* constants <hkey-constants>`.
186 :ref:`HKEY_* constants <hkey-constants>`.
198 :ref:`HKEY_* constants <hkey-constants>`.
[all …]
/third_party/openssl/apps/
Denc.c102 char *hkey = NULL, *hiv = NULL, *hsalt = NULL, *p; in enc_main() local
246 hkey = opt_arg(); in enc_main()
338 if ((str == NULL) && (cipher != NULL) && (hkey == NULL)) { in enc_main()
519 if (hkey != NULL) { in enc_main()
520 if (!set_hex(hkey, key, EVP_CIPHER_key_length(cipher))) { in enc_main()
525 OPENSSL_cleanse(hkey, strlen(hkey)); in enc_main()
/third_party/boost/boost/interprocess/detail/
Dwin32_api.hpp419 typedef boost::ipwinapiext::HKEY_ hkey; typedef
577 static const hkey hkey_local_machine = (hkey)(unsigned long*)(long)(0x80000002);
858 inline long reg_open_key_ex(hkey hKey, const char *lpSubKey, unsigned long ulOptions, unsigned long… in reg_open_key_ex()
861 inline long reg_query_value_ex(hkey hKey, const char *lpValueName, unsigned long*lpReserved, unsign… in reg_query_value_ex()
864 inline long reg_close_key(hkey hKey) in reg_close_key()
1335 hkey key_;
1336 reg_closer(hkey key) : key_(key){} in reg_closer()
1340 inline bool get_registry_value_buffer(hkey key_type, const char *subkey_name, const char *value_nam… in get_registry_value_buffer()
1343 hkey key; in get_registry_value_buffer()
1362 inline bool get_registry_value_string(hkey key_type, const char *subkey_name, const char *value_nam… in get_registry_value_string()
[all …]
/third_party/openssl/crypto/engine/
Deng_openssl.c494 ASN1_OCTET_STRING *hkey = NULL; in ossl_hmac_keygen() local
498 hkey = ASN1_OCTET_STRING_dup(&hctx->ktmp); in ossl_hmac_keygen()
499 if (!hkey) in ossl_hmac_keygen()
501 EVP_PKEY_assign(pkey, EVP_PKEY_HMAC, hkey); in ossl_hmac_keygen()
/third_party/python/Lib/test/
Dtest_winreg.py61 hkey = OpenKey(root, subkey, 0, KEY_ALL_ACCESS)
67 subsubkey = EnumKey(hkey, 0)
71 self.delete_tree(hkey, subsubkey)
72 CloseKey(hkey)
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/
DMSVSVersion.py193 with OpenKey(HKEY_LOCAL_MACHINE, subkey) as hkey:
194 return QueryValueEx(hkey, value)[0]
/third_party/node/tools/gyp/pylib/gyp/
DMSVSVersion.py236 with OpenKey(HKEY_LOCAL_MACHINE, subkey) as hkey:
237 return QueryValueEx(hkey, value)[0]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/rsn_supp/
Dwpa.c4563 struct wpabuf *secret, *pub, *hkey; in owe_process_assoc_resp() local
4661 hkey = wpabuf_alloc(wpabuf_len(pub) + elems.owe_dh_len - 2 + 2); in owe_process_assoc_resp()
4662 if (!hkey) { in owe_process_assoc_resp()
4668 wpabuf_put_buf(hkey, pub); /* C */ in owe_process_assoc_resp()
4670 wpabuf_put_data(hkey, elems.owe_dh + 2, elems.owe_dh_len - 2); /* A */ in owe_process_assoc_resp()
4671 wpabuf_put_le16(hkey, sm->owe_group); /* group */ in owe_process_assoc_resp()
4673 res = hmac_sha256(wpabuf_head(hkey), wpabuf_len(hkey), in owe_process_assoc_resp()
4676 res = hmac_sha384(wpabuf_head(hkey), wpabuf_len(hkey), in owe_process_assoc_resp()
4679 res = hmac_sha512(wpabuf_head(hkey), wpabuf_len(hkey), in owe_process_assoc_resp()
4681 wpabuf_clear_free(hkey); in owe_process_assoc_resp()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/
Dwpa.c5075 struct wpabuf *secret, *pub, *hkey; in owe_process_assoc_resp() local
5173 hkey = wpabuf_alloc(wpabuf_len(pub) + elems.owe_dh_len - 2 + 2); in owe_process_assoc_resp()
5174 if (!hkey) { in owe_process_assoc_resp()
5180 wpabuf_put_buf(hkey, pub); /* C */ in owe_process_assoc_resp()
5182 wpabuf_put_data(hkey, elems.owe_dh + 2, elems.owe_dh_len - 2); /* A */ in owe_process_assoc_resp()
5183 wpabuf_put_le16(hkey, sm->owe_group); /* group */ in owe_process_assoc_resp()
5185 res = hmac_sha256(wpabuf_head(hkey), wpabuf_len(hkey), in owe_process_assoc_resp()
5188 res = hmac_sha384(wpabuf_head(hkey), wpabuf_len(hkey), in owe_process_assoc_resp()
5191 res = hmac_sha512(wpabuf_head(hkey), wpabuf_len(hkey), in owe_process_assoc_resp()
5193 wpabuf_clear_free(hkey); in owe_process_assoc_resp()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dieee802_11.c2661 struct wpabuf *secret, *pub, *hkey; in owe_process_assoc_req() local
2738 hkey = wpabuf_alloc(owe_dh_len - 2 + wpabuf_len(pub) + 2); in owe_process_assoc_req()
2739 if (!hkey) { in owe_process_assoc_req()
2745 wpabuf_put_data(hkey, owe_dh + 2, owe_dh_len - 2); /* C */ in owe_process_assoc_req()
2746 wpabuf_put_buf(hkey, pub); /* A */ in owe_process_assoc_req()
2748 wpabuf_put_le16(hkey, group); /* group */ in owe_process_assoc_req()
2750 res = hmac_sha256(wpabuf_head(hkey), wpabuf_len(hkey), in owe_process_assoc_req()
2753 res = hmac_sha384(wpabuf_head(hkey), wpabuf_len(hkey), in owe_process_assoc_req()
2756 res = hmac_sha512(wpabuf_head(hkey), wpabuf_len(hkey), in owe_process_assoc_req()
2758 wpabuf_clear_free(hkey); in owe_process_assoc_req()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dieee802_11.c4178 struct wpabuf *secret, *pub, *hkey; in owe_process_assoc_req() local
4255 hkey = wpabuf_alloc(owe_dh_len - 2 + wpabuf_len(pub) + 2); in owe_process_assoc_req()
4256 if (!hkey) { in owe_process_assoc_req()
4262 wpabuf_put_data(hkey, owe_dh + 2, owe_dh_len - 2); /* C */ in owe_process_assoc_req()
4263 wpabuf_put_buf(hkey, pub); /* A */ in owe_process_assoc_req()
4265 wpabuf_put_le16(hkey, group); /* group */ in owe_process_assoc_req()
4267 res = hmac_sha256(wpabuf_head(hkey), wpabuf_len(hkey), in owe_process_assoc_req()
4270 res = hmac_sha384(wpabuf_head(hkey), wpabuf_len(hkey), in owe_process_assoc_req()
4273 res = hmac_sha512(wpabuf_head(hkey), wpabuf_len(hkey), in owe_process_assoc_req()
4275 wpabuf_clear_free(hkey); in owe_process_assoc_req()
/third_party/python/Lib/importlib/
D_bootstrap_external.py822 with cls._open_registry(key) as hkey:
823 filepath = winreg.QueryValue(hkey, '')
/third_party/python/Tools/msi/bundle/bootstrap/
DPythonBootstrapperApplication.cpp790 HKEY hkey = HKEY_LOCAL_MACHINE; in OnDetectPackageComplete() local
816 auto hr = LoadAssociateFilesStateFromKey(_engine, hkey); in OnDetectPackageComplete()