/external/curl/lib/ |
D | hmac.c | 58 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()
|
D | curl_ntlm_core.c | 336 HCRYPTKEY hkey; in encrypt_des() local 363 if(!CryptImportKey(hprov, (BYTE *) &blob, sizeof(blob), 0, 0, &hkey)) { in encrypt_des() 372 CryptEncrypt(hkey, 0, FALSE, 0, out, &len, len); in encrypt_des() 374 CryptDestroyKey(hkey); in encrypt_des()
|
/external/python/cpython3/Lib/test/test_importlib/ |
D | test_windows.py | 22 hkey = OpenKey(root, subkey, access=KEY_ALL_ACCESS) 28 subsubkey = EnumKey(hkey, 0) 32 delete_registry_tree(hkey, subsubkey) 33 CloseKey(hkey)
|
/external/python/cpython3/PC/ |
D | winreg.c | 111 HKEY hkey; member 145 if (obkey->hkey) in PyHKEY_deallocFunc() 146 RegCloseKey((HKEY)obkey->hkey); in PyHKEY_deallocFunc() 153 return ((PyHKEYObject *)ob)->hkey != 0; in PyHKEY_boolFunc() 160 return PyLong_FromVoidPtr(pyhkey->hkey); in PyHKEY_intFunc() 167 return PyUnicode_FromFormat("<PyHKEY:%p>", pyhkey->hkey); in PyHKEY_strFunc() 296 if (PySys_Audit("winreg.PyHKEY.Detach", "n", (Py_ssize_t)self->hkey) < 0) { in winreg_HKEYType_Detach_impl() 299 ret = (void*)self->hkey; in winreg_HKEYType_Detach_impl() 300 self->hkey = 0; in winreg_HKEYType_Detach_impl() 349 {"handle", T_INT, OFF(hkey), READONLY}, [all …]
|
/external/python/cpython2/Doc/library/ |
D | _winreg.rst | 25 .. function:: CloseKey(hkey) 27 Closes a previously opened registry key. The *hkey* argument specifies a 31 If *hkey* is not closed using this method (or via :meth:`hkey.Close() <PyHKEY.Close>`), 32 it is closed when the *hkey* object is destroyed by Python. 55 :ref:`HKEY_* constants <hkey-constants>`. 74 :ref:`HKEY_* constants <hkey-constants>`. 101 :ref:`HKEY_* constants <hkey-constants>`. 123 :ref:`HKEY_* constants <hkey-constants>`. 151 :ref:`HKEY_* constants <hkey-constants>`. 161 :ref:`HKEY_* constants <hkey-constants>`. [all …]
|
/external/python/cpython3/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 …]
|
/external/python/cpython2/PC/ |
D | _winreg.c | 388 HKEY hkey; member 422 if (obkey->hkey) in PyHKEY_deallocFunc() 423 RegCloseKey((HKEY)obkey->hkey); in PyHKEY_deallocFunc() 430 return ((PyHKEYObject *)ob)->hkey != 0; in PyHKEY_nonzeroFunc() 437 return PyLong_FromVoidPtr(pyhkey->hkey); in PyHKEY_intFunc() 445 ob, pyhkey->hkey); in PyHKEY_printFunc() 453 return PyString_FromFormat("<PyHKEY:%p>", pyhkey->hkey); in PyHKEY_strFunc() 516 {"handle", T_PYSSIZET, offsetof(PyHKEYObject, hkey), READONLY}, 577 ret = (void*)pThis->hkey; in PyHKEY_DetachMethod() 578 pThis->hkey = 0; in PyHKEY_DetachMethod() [all …]
|
/external/chromium-trace/catapult/third_party/pyserial/serial/tools/ |
D | list_ports_windows.py | 155 hkey = SetupDiOpenDevRegKey( 165 hkey, 171 RegCloseKey(hkey)
|
/external/ImageMagick/MagickCore/ |
D | nt-base.c | 130 hkey; member 1019 hkey; in NTGetRegistryValue() local 1027 if (RegOpenKeyExA(root,key,0,KEY_READ | flags,&hkey) != ERROR_SUCCESS) in NTGetRegistryValue() 1034 status=RegQueryValueExA(hkey,(char *) name,0,&type,p,&extent); in NTGetRegistryValue() 1035 RegCloseKey(hkey); in NTGetRegistryValue() 1082 hkey; in NTLocateGhostscript() local 1095 if (RegOpenKeyExA(registry_roots[j].hkey,key,0,mode,&hkey) == in NTLocateGhostscript() 1108 for (k=0; RegEnumKeyA(hkey,k,key,extent) == ERROR_SUCCESS; k++) in NTLocateGhostscript() 1133 (void) RegCloseKey(hkey); in NTLocateGhostscript() 1240 if (NTGetRegistryValue(registry_roots[root_index].hkey,buffer,flags,name,value,&extent) != 0) in NTGhostscriptGetString() [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_winreg.py | 67 hkey = OpenKey(root, subkey, KEY_ALL_ACCESS) 73 subsubkey = EnumKey(hkey, 0) 77 self.delete_tree(hkey, subsubkey) 78 CloseKey(hkey)
|
/external/python/cpython3/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)
|
/external/tpm2-tss/src/tss2-esys/ |
D | esys_crypto_ossl.c | 286 EVP_PKEY *hkey = NULL; in iesys_cryptossl_hmac_start() local 312 if (!(hkey = EVP_PKEY_new_mac_key(EVP_PKEY_HMAC, NULL, key, size))) { in iesys_cryptossl_hmac_start() 318 mycontext->hmac.ossl_hash_alg, NULL, hkey)) { in iesys_cryptossl_hmac_start() 327 EVP_PKEY_free(hkey); in iesys_cryptossl_hmac_start() 334 if(hkey) in iesys_cryptossl_hmac_start() 335 EVP_PKEY_free(hkey); in iesys_cryptossl_hmac_start()
|
/external/erofs-utils/lib/ |
D | xattr.c | 98 unsigned int hash[2], hkey; in get_xattritem() local 100 hkey = xattr_item_hash(prefix, kvbuf, len, hash); in get_xattritem() 102 hash_for_each_possible(ea_hashtable, item, node, hkey) { in get_xattritem() 127 hash_add(ea_hashtable, &item->node, hkey); in get_xattritem()
|
/external/python/setuptools/setuptools/ |
D | msvc.py | 448 for hkey in self.HKEYS: 450 bkey = openkey(hkey, ms(key), 0, KEY_READ) 454 bkey = openkey(hkey, ms(key, True), 0, KEY_READ) 502 for hkey in self.ri.HKEYS: 505 bkey = winreg.OpenKey(hkey, ms(key), 0, winreg.KEY_READ)
|
/external/libchrome/build/ |
D | vs_toolchain.py | 103 with _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, subkey) as hkey: 104 return _winreg.QueryValueEx(hkey, value)[0]
|
/external/clang/lib/Driver/ |
D | MSVCToolChain.cpp | 96 static bool readFullStringValue(HKEY hkey, const char *valueName, in readFullStringValue() argument 106 result = RegQueryValueExW(hkey, WideValueName.c_str(), NULL, &type, NULL, in readFullStringValue() 111 result = RegQueryValueExW(hkey, WideValueName.c_str(), NULL, NULL, &buffer[0], in readFullStringValue()
|
/external/wpa_supplicant_8/src/rsn_supp/ |
D | wpa.c | 5084 struct wpabuf *secret, *pub, *hkey; in owe_process_assoc_resp() local 5182 hkey = wpabuf_alloc(wpabuf_len(pub) + elems.owe_dh_len - 2 + 2); in owe_process_assoc_resp() 5183 if (!hkey) { in owe_process_assoc_resp() 5189 wpabuf_put_buf(hkey, pub); /* C */ in owe_process_assoc_resp() 5191 wpabuf_put_data(hkey, elems.owe_dh + 2, elems.owe_dh_len - 2); /* A */ in owe_process_assoc_resp() 5192 wpabuf_put_le16(hkey, sm->owe_group); /* group */ in owe_process_assoc_resp() 5194 res = hmac_sha256(wpabuf_head(hkey), wpabuf_len(hkey), in owe_process_assoc_resp() 5197 res = hmac_sha384(wpabuf_head(hkey), wpabuf_len(hkey), in owe_process_assoc_resp() 5200 res = hmac_sha512(wpabuf_head(hkey), wpabuf_len(hkey), in owe_process_assoc_resp() 5202 wpabuf_clear_free(hkey); in owe_process_assoc_resp()
|
/external/ethtool/ |
D | ethtool.c | 3830 char *hkey; in do_grxfh() local 3883 hkey = ((char *)rss->rss_config + indir_bytes); in do_grxfh() 3891 printf("%02x\n", (u8) hkey[i]); in do_grxfh() 3893 printf("%02x:", (u8) hkey[i]); in do_grxfh() 4025 char *hkey = NULL; in do_srxfh() local 4176 err = parse_hkey(&hkey, rss_head.key_size, in do_srxfh() 4232 if (hkey) in do_srxfh() 4234 hkey, rss->key_size); in do_srxfh() 4247 free(hkey); in do_srxfh()
|
/external/wpa_supplicant_8/src/ap/ |
D | ieee802_11.c | 4044 struct wpabuf *secret, *pub, *hkey; in owe_process_assoc_req() local 4121 hkey = wpabuf_alloc(owe_dh_len - 2 + wpabuf_len(pub) + 2); in owe_process_assoc_req() 4122 if (!hkey) { in owe_process_assoc_req() 4128 wpabuf_put_data(hkey, owe_dh + 2, owe_dh_len - 2); /* C */ in owe_process_assoc_req() 4129 wpabuf_put_buf(hkey, pub); /* A */ in owe_process_assoc_req() 4131 wpabuf_put_le16(hkey, group); /* group */ in owe_process_assoc_req() 4133 res = hmac_sha256(wpabuf_head(hkey), wpabuf_len(hkey), in owe_process_assoc_req() 4136 res = hmac_sha384(wpabuf_head(hkey), wpabuf_len(hkey), in owe_process_assoc_req() 4139 res = hmac_sha512(wpabuf_head(hkey), wpabuf_len(hkey), in owe_process_assoc_req() 4141 wpabuf_clear_free(hkey); in owe_process_assoc_req()
|
/external/llvm-project/clang/lib/Driver/ToolChains/ |
D | MSVC.cpp | 936 static bool readFullStringValue(HKEY hkey, const char *valueName, in readFullStringValue() argument 946 result = RegQueryValueExW(hkey, WideValueName.c_str(), NULL, &type, NULL, in readFullStringValue() 951 result = RegQueryValueExW(hkey, WideValueName.c_str(), NULL, NULL, &buffer[0], in readFullStringValue()
|
/external/python/cpython3/Lib/importlib/ |
D | _bootstrap_external.py | 732 with cls._open_registry(key) as hkey: 733 filepath = winreg.QueryValue(hkey, '')
|
/external/python/cpython2/PC/bdist_wininst/ |
D | install.c | 1422 HKEY hkey; // Is this Python in HKCU or HKLM? member 1471 ivi->hkey = hkRoot; in GetPythonVersions() 1626 hkey_root = ivi->hkey; in SelectPythonDlgProc()
|
/external/python/cpython3/PC/bdist_wininst/ |
D | install.c | 1466 HKEY hkey; // Is this Python in HKCU or HKLM? member 1515 ivi->hkey = hkRoot; in GetPythonVersions() 1670 hkey_root = ivi->hkey; in SelectPythonDlgProc()
|
/external/tpm2-tss/ |
D | CHANGELOG.md | 106 - Fixed leak of hkey on success in iesys_cryptossl_hmac_start 131 - Fixed leak of hkey on success in iesys_cryptossl_hmac_start
|
/external/python/cpython3/Tools/msi/bundle/bootstrap/ |
D | PythonBootstrapperApplication.cpp | 790 HKEY hkey = HKEY_LOCAL_MACHINE; in OnDetectPackageComplete() local 816 auto hr = LoadAssociateFilesStateFromKey(_engine, hkey); in OnDetectPackageComplete()
|