/external/icu/icu4c/source/common/ |
D | wintz.cpp | 62 static LONG openTZRegKey(HKEY *hkey, const char *winid) in openTZRegKey() argument 76 hkey); in openTZRegKey() 84 HKEY hkey; in getTZI() local 86 result = openTZRegKey(&hkey, winid); in getTZI() 90 result = RegQueryValueExA(hkey, in getTZI() 96 RegCloseKey(hkey); in getTZI() 106 HKEY hkey; in getSTDName() local 108 result = openTZRegKey(&hkey, winid); in getSTDName() 112 result = RegQueryValueExA(hkey, in getSTDName() 118 RegCloseKey(hkey); in getSTDName() [all …]
|
/external/libusb/msvc/ |
D | missing.c | 38 HKEY hkey; in getenv() local 50 rc = RegOpenKeyEx(HKEY_LOCAL_MACHINE, ENVIRONMENT_REG_PATH, 0, KEY_QUERY_VALUE, &hkey); in getenv() 58 rc = RegQueryValueEx(hkey, wName, NULL, &dwType, in getenv() 60 RegCloseKey(hkey); in getenv()
|
/external/curl/lib/ |
D | hmac.c | 57 unsigned char *hkey; in Curl_HMAC_init() local 77 hkey = (unsigned char *) ctxt->hmac_hashctxt2 + hashparams->hmac_ctxtsize; in Curl_HMAC_init() 78 (*hashparams->hmac_hfinal)(hkey, ctxt->hmac_hashctxt1); in Curl_HMAC_init() 79 key = hkey; in Curl_HMAC_init()
|
D | curl_ntlm_core.c | 356 HCRYPTKEY hkey; in encrypt_des() local 383 if(!CryptImportKey(hprov, (BYTE *) &blob, sizeof(blob), 0, 0, &hkey)) { in encrypt_des() 392 CryptEncrypt(hkey, 0, FALSE, 0, out, &len, len); in encrypt_des() 394 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 | 110 HKEY hkey; member 144 if (obkey->hkey) in PyHKEY_deallocFunc() 145 RegCloseKey((HKEY)obkey->hkey); in PyHKEY_deallocFunc() 152 return ((PyHKEYObject *)ob)->hkey != 0; in PyHKEY_boolFunc() 159 return PyLong_FromVoidPtr(pyhkey->hkey); in PyHKEY_intFunc() 166 return PyUnicode_FromFormat("<PyHKEY:%p>", pyhkey->hkey); in PyHKEY_strFunc() 295 ret = (void*)self->hkey; in winreg_HKEYType_Detach_impl() 296 self->hkey = 0; in winreg_HKEYType_Detach_impl() 345 {"handle", T_INT, OFF(hkey), READONLY}, 391 key->hkey = hInit; in PyHKEY_New() [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 66 :ref:`HKEY_* constants <hkey-constants>`. 88 :ref:`HKEY_* constants <hkey-constants>`. 117 :ref:`HKEY_* constants <hkey-constants>`. 142 :ref:`HKEY_* constants <hkey-constants>`. 172 :ref:`HKEY_* constants <hkey-constants>`. 182 :ref:`HKEY_* constants <hkey-constants>`. [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/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 | 125 hkey; member 1061 hkey; in NTGetRegistryValue() local 1069 if (RegOpenKeyExA(root,key,0,KEY_READ | flags,&hkey) != ERROR_SUCCESS) in NTGetRegistryValue() 1076 status=RegQueryValueExA(hkey,(char *) name,0,&type,p,&extent); in NTGetRegistryValue() 1077 RegCloseKey(hkey); in NTGetRegistryValue() 1123 hkey; in NTLocateGhostscript() local 1136 if (RegOpenKeyExA(registry_roots[j].hkey,key,0,mode,&hkey) == in NTLocateGhostscript() 1149 for (k=0; RegEnumKeyA(hkey,k,key,extent) == ERROR_SUCCESS; k++) in NTLocateGhostscript() 1169 (void) RegCloseKey(hkey); in NTLocateGhostscript() 1274 if (NTGetRegistryValue(registry_roots[root_index].hkey,buffer,flags,name, in NTGhostscriptGetString()
|
/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 | 60 hkey = OpenKey(root, subkey, 0, KEY_ALL_ACCESS) 66 subsubkey = EnumKey(hkey, 0) 70 self.delete_tree(hkey, subsubkey) 71 CloseKey(hkey)
|
/external/v8/gypfiles/ |
D | vs_toolchain.py | 97 with _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, subkey) as hkey: 98 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 | 4244 struct wpabuf *secret, *pub, *hkey; in owe_process_assoc_resp() local 4342 hkey = wpabuf_alloc(wpabuf_len(pub) + elems.owe_dh_len - 2 + 2); in owe_process_assoc_resp() 4343 if (!hkey) { in owe_process_assoc_resp() 4349 wpabuf_put_buf(hkey, pub); /* C */ in owe_process_assoc_resp() 4351 wpabuf_put_data(hkey, elems.owe_dh + 2, elems.owe_dh_len - 2); /* A */ in owe_process_assoc_resp() 4352 wpabuf_put_le16(hkey, sm->owe_group); /* group */ in owe_process_assoc_resp() 4354 res = hmac_sha256(wpabuf_head(hkey), wpabuf_len(hkey), in owe_process_assoc_resp() 4357 res = hmac_sha384(wpabuf_head(hkey), wpabuf_len(hkey), in owe_process_assoc_resp() 4360 res = hmac_sha512(wpabuf_head(hkey), wpabuf_len(hkey), in owe_process_assoc_resp() 4362 wpabuf_clear_free(hkey); in owe_process_assoc_resp()
|
/external/wpa_supplicant_8/src/ap/ |
D | ieee802_11.c | 2159 struct wpabuf *secret, *pub, *hkey; in owe_process_assoc_req() local 2236 hkey = wpabuf_alloc(owe_dh_len - 2 + wpabuf_len(pub) + 2); in owe_process_assoc_req() 2237 if (!hkey) { in owe_process_assoc_req() 2243 wpabuf_put_data(hkey, owe_dh + 2, owe_dh_len - 2); /* C */ in owe_process_assoc_req() 2244 wpabuf_put_buf(hkey, pub); /* A */ in owe_process_assoc_req() 2246 wpabuf_put_le16(hkey, group); /* group */ in owe_process_assoc_req() 2248 res = hmac_sha256(wpabuf_head(hkey), wpabuf_len(hkey), in owe_process_assoc_req() 2251 res = hmac_sha384(wpabuf_head(hkey), wpabuf_len(hkey), in owe_process_assoc_req() 2254 res = hmac_sha512(wpabuf_head(hkey), wpabuf_len(hkey), in owe_process_assoc_req() 2256 wpabuf_clear_free(hkey); in owe_process_assoc_req()
|
/external/python/cpython3/Lib/importlib/ |
D | _bootstrap_external.py | 620 with cls._open_registry(key) as hkey: 621 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/python/cpython3/Tools/msi/bundle/bootstrap/ |
D | PythonBootstrapperApplication.cpp | 794 HKEY hkey = HKEY_LOCAL_MACHINE; in OnDetectPackageComplete() local 814 auto hr = LoadAssociateFilesStateFromKey(_engine, hkey); in OnDetectPackageComplete()
|