Home
last modified time | relevance | path

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

/external/libusb/msvc/
Dmissing.c38 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/
Dhmac.c57 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()
Dcurl_ntlm_core.c346 HCRYPTKEY hkey; in encrypt_des() local
373 if(!CryptImportKey(hprov, (BYTE *) &blob, sizeof(blob), 0, 0, &hkey)) { in encrypt_des()
382 CryptEncrypt(hkey, 0, FALSE, 0, out, &len, len); in encrypt_des()
384 CryptDestroyKey(hkey); in encrypt_des()
/external/python/cpython3/Lib/test/test_importlib/
Dtest_windows.py22 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/
Dwinreg.c110 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/cpython2/Doc/library/
D_winreg.rst25 .. 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/
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
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/PC/
D_winreg.c388 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/
Dlist_ports_windows.py155 hkey = SetupDiOpenDevRegKey(
165 hkey,
171 RegCloseKey(hkey)
/external/ImageMagick/MagickCore/
Dnt-base.c126 hkey; member
1105 hkey; in NTGetRegistryValue() local
1113 if (RegOpenKeyExA(root,key,0,KEY_READ | flags,&hkey) != ERROR_SUCCESS) in NTGetRegistryValue()
1120 status=RegQueryValueExA(hkey,(char *) name,0,&type,p,&extent); in NTGetRegistryValue()
1121 RegCloseKey(hkey); in NTGetRegistryValue()
1167 hkey; in NTLocateGhostscript() local
1180 if (RegOpenKeyExA(registry_roots[j].hkey,key,0,mode,&hkey) == in NTLocateGhostscript()
1193 for (k=0; RegEnumKeyA(hkey,k,key,extent) == ERROR_SUCCESS; k++) in NTLocateGhostscript()
1213 (void) RegCloseKey(hkey); in NTLocateGhostscript()
1318 if (NTGetRegistryValue(registry_roots[root_index].hkey,buffer,flags,name, in NTGhostscriptGetString()
/external/python/cpython2/Lib/test/
Dtest_winreg.py67 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/
Dtest_winreg.py60 hkey = OpenKey(root, subkey, 0, KEY_ALL_ACCESS)
66 subsubkey = EnumKey(hkey, 0)
70 self.delete_tree(hkey, subsubkey)
71 CloseKey(hkey)
/external/python/setuptools/setuptools/
Dmsvc.py448 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/v8/gypfiles/
Dvs_toolchain.py97 with _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, subkey) as hkey:
98 return _winreg.QueryValueEx(hkey, value)[0]
/external/clang/lib/Driver/
DMSVCToolChain.cpp96 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/
Dwpa.c4511 struct wpabuf *secret, *pub, *hkey; in owe_process_assoc_resp() local
4609 hkey = wpabuf_alloc(wpabuf_len(pub) + elems.owe_dh_len - 2 + 2); in owe_process_assoc_resp()
4610 if (!hkey) { in owe_process_assoc_resp()
4616 wpabuf_put_buf(hkey, pub); /* C */ in owe_process_assoc_resp()
4618 wpabuf_put_data(hkey, elems.owe_dh + 2, elems.owe_dh_len - 2); /* A */ in owe_process_assoc_resp()
4619 wpabuf_put_le16(hkey, sm->owe_group); /* group */ in owe_process_assoc_resp()
4621 res = hmac_sha256(wpabuf_head(hkey), wpabuf_len(hkey), in owe_process_assoc_resp()
4624 res = hmac_sha384(wpabuf_head(hkey), wpabuf_len(hkey), in owe_process_assoc_resp()
4627 res = hmac_sha512(wpabuf_head(hkey), wpabuf_len(hkey), in owe_process_assoc_resp()
4629 wpabuf_clear_free(hkey); in owe_process_assoc_resp()
/external/wpa_supplicant_8/src/ap/
Dieee802_11.c2653 struct wpabuf *secret, *pub, *hkey; in owe_process_assoc_req() local
2730 hkey = wpabuf_alloc(owe_dh_len - 2 + wpabuf_len(pub) + 2); in owe_process_assoc_req()
2731 if (!hkey) { in owe_process_assoc_req()
2737 wpabuf_put_data(hkey, owe_dh + 2, owe_dh_len - 2); /* C */ in owe_process_assoc_req()
2738 wpabuf_put_buf(hkey, pub); /* A */ in owe_process_assoc_req()
2740 wpabuf_put_le16(hkey, group); /* group */ in owe_process_assoc_req()
2742 res = hmac_sha256(wpabuf_head(hkey), wpabuf_len(hkey), in owe_process_assoc_req()
2745 res = hmac_sha384(wpabuf_head(hkey), wpabuf_len(hkey), in owe_process_assoc_req()
2748 res = hmac_sha512(wpabuf_head(hkey), wpabuf_len(hkey), in owe_process_assoc_req()
2750 wpabuf_clear_free(hkey); in owe_process_assoc_req()
/external/python/cpython3/Lib/importlib/
D_bootstrap_external.py670 with cls._open_registry(key) as hkey:
671 filepath = _winreg.QueryValue(hkey, '')
/external/python/cpython3/PC/bdist_wininst/
Dinstall.c1466 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/cpython2/PC/bdist_wininst/
Dinstall.c1422 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/Tools/msi/bundle/bootstrap/
DPythonBootstrapperApplication.cpp786 HKEY hkey = HKEY_LOCAL_MACHINE; in OnDetectPackageComplete() local
806 auto hr = LoadAssociateFilesStateFromKey(_engine, hkey); in OnDetectPackageComplete()
/external/syzkaller/sys/windows/
Dwindows.txt1978 RegGetValueA(hkey ptr[inout, intptr], lpSubKey ptr[inout, int8], lpValue ptr[inout, int8], dwFlags …