/third_party/flutter/skia/third_party/externals/sdl/src/core/windows/ |
D | SDL_windows.c | 157 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/python/PC/ |
D | winreg.c | 112 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/Doc/library/ |
D | winreg.rst | 31 .. 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/python/Lib/test/test_importlib/ |
D | test_windows.py | 42 hkey = OpenKey(root, subkey, access=KEY_ALL_ACCESS) 48 subsubkey = EnumKey(hkey, 0) 52 delete_registry_tree(hkey, subsubkey) 53 CloseKey(hkey)
|
/third_party/openssl/apps/ |
D | enc.c | 115 char *hkey = NULL, *hiv = NULL, *hsalt = NULL, *p; in enc_main() local 254 hkey = opt_arg(); in enc_main() 348 if ((str == NULL) && (cipher != NULL) && (hkey == NULL)) { in enc_main() 537 if (hkey != NULL) { in enc_main() 538 if (!set_hex(hkey, key, EVP_CIPHER_get_key_length(cipher))) { in enc_main() 543 cleanse(hkey); in enc_main()
|
/third_party/openssl/crypto/engine/ |
D | eng_openssl.c | 511 ASN1_OCTET_STRING *hkey = NULL; in ossl_hmac_keygen() local 515 hkey = ASN1_OCTET_STRING_dup(&hctx->ktmp); in ossl_hmac_keygen() 516 if (!hkey) in ossl_hmac_keygen() 518 EVP_PKEY_assign(pkey, EVP_PKEY_HMAC, hkey); in ossl_hmac_keygen()
|
/third_party/python/Lib/test/ |
D | test_winreg.py | 61 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/ |
D | MSVSVersion.py | 193 with OpenKey(HKEY_LOCAL_MACHINE, subkey) as hkey: 194 return QueryValueEx(hkey, value)[0]
|
/third_party/node/tools/gyp/pylib/gyp/ |
D | MSVSVersion.py | 236 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/ |
D | wpa.c | 4563 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/ |
D | wpa.c | 5075 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/ |
D | ieee802_11.c | 2661 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/ |
D | ieee802_11.c | 4178 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.py | 822 with cls._open_registry(key) as hkey: 823 filepath = winreg.QueryValue(hkey, '')
|
/third_party/python/Tools/msi/bundle/bootstrap/ |
D | PythonBootstrapperApplication.cpp | 790 HKEY hkey = HKEY_LOCAL_MACHINE; in OnDetectPackageComplete() local 816 auto hr = LoadAssociateFilesStateFromKey(_engine, hkey); in OnDetectPackageComplete()
|