/external/python/cpython2/PC/ |
D | _winreg.c | 1017 HKEY hKey; in PyConnectRegistry() local 1024 if (!PyHKEY_AsHKEY(obKey, &hKey, FALSE)) in PyConnectRegistry() 1027 rc = RegConnectRegistry(szCompName, hKey, &retKey); in PyConnectRegistry() 1038 HKEY hKey; in PyCreateKey() local 1045 if (!PyHKEY_AsHKEY(obKey, &hKey, FALSE)) in PyCreateKey() 1047 rc = RegCreateKey(hKey, subKey, &retKey); in PyCreateKey() 1056 HKEY hKey; in PyCreateKeyEx() local 1066 if (!PyHKEY_AsHKEY(obKey, &hKey, FALSE)) in PyCreateKeyEx() 1069 rc = RegCreateKeyEx(hKey, subKey, res, NULL, (DWORD)NULL, in PyCreateKeyEx() 1079 HKEY hKey; in PyDeleteKey() local [all …]
|
/external/libwebsockets/lib/plat/windows/ |
D | windows-resolv.c | 44 HKEY hKey, hSub; in lws_plat_asyncdns_init() local 48 if ((err = RegOpenKey(HKEY_LOCAL_MACHINE, key, &hKey)) != ERROR_SUCCESS) { in lws_plat_asyncdns_init() 54 for (i = 0; RegEnumKey(hKey, i, subkey, sizeof(subkey)) == ERROR_SUCCESS; i++) { in lws_plat_asyncdns_init() 57 if (RegOpenKey(hKey, subkey, &hSub) == ERROR_SUCCESS && in lws_plat_asyncdns_init() 64 RegCloseKey(hKey); in lws_plat_asyncdns_init() 69 RegCloseKey(hKey); in lws_plat_asyncdns_init()
|
/external/mdnsresponder/mDNSWindows/ControlPanel/ |
D | ControlPanelExe.cpp | 81 HKEY hKey; in MyRegDeleteKey() local 93 err = RegOpenKeyEx( hKeyRoot, lpSubKey, 0, KEY_READ, &hKey ); in MyRegDeleteKey() 110 err = RegEnumKeyEx(hKey, 0, szName, &dwSize, NULL, NULL, NULL, &ftWrite); in MyRegDeleteKey() 125 err = RegEnumKeyEx( hKey, 0, szName, &dwSize, NULL, NULL, NULL, &ftWrite ); in MyRegDeleteKey() 134 RegCloseKey( hKey ); in MyRegDeleteKey()
|
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/ |
D | ares_init.c | 598 static int get_REG_SZ(HKEY hKey, const char *leafKeyName, char **outptr) in get_REG_SZ() argument 606 res = RegQueryValueExA(hKey, leafKeyName, 0, NULL, NULL, &size); in get_REG_SZ() 617 res = RegQueryValueExA(hKey, leafKeyName, 0, NULL, in get_REG_SZ() 639 static int get_REG_SZ_9X(HKEY hKey, const char *leafKeyName, char **outptr) in get_REG_SZ_9X() argument 648 res = RegQueryValueExA(hKey, leafKeyName, 0, &dataType, NULL, &size); in get_REG_SZ_9X() 659 res = RegQueryValueExA(hKey, leafKeyName, 0, &dataType, in get_REG_SZ_9X() 1362 HKEY hKey, hKeyEnum; in get_SuffixList_Windows() local 1375 KEY_READ, &hKey) == ERROR_SUCCESS) in get_SuffixList_Windows() 1377 get_REG_SZ(hKey, SEARCHLIST_KEY, outptr); in get_SuffixList_Windows() 1378 if (get_REG_SZ(hKey, DOMAIN_KEY, &p)) in get_SuffixList_Windows() [all …]
|
/external/python/cpython3/PC/bdist_wininst/ |
D | install.c | 1479 HKEY hKey; in GetPythonVersions() local 1485 0, KEY_READ, &hKey)) in GetPythonVersions() 1488 while (ERROR_SUCCESS == RegEnumKeyEx(hKey, index, in GetPythonVersions() 1522 RegCloseKey(hKey); in GetPythonVersions() 1529 HKEY hKey; in HasLocalMachinePrivs() local 1538 &hKey); in HasLocalMachinePrivs() 1540 RegCloseKey(hKey); in HasLocalMachinePrivs() 1750 HKEY hKey, hSubkey; in OpenLogfile() local 1768 &hKey, /* result key */ in OpenLogfile() 1812 result = RegCreateKeyEx(hKey, subkey_name, in OpenLogfile() [all …]
|
/external/python/cpython2/PC/bdist_wininst/ |
D | install.c | 1435 HKEY hKey; in GetPythonVersions() local 1441 0, KEY_READ, &hKey)) in GetPythonVersions() 1444 while (ERROR_SUCCESS == RegEnumKeyEx(hKey, index, in GetPythonVersions() 1478 RegCloseKey(hKey); in GetPythonVersions() 1485 HKEY hKey; in HasLocalMachinePrivs() local 1494 &hKey); in HasLocalMachinePrivs() 1496 RegCloseKey(hKey); in HasLocalMachinePrivs() 1706 HKEY hKey, hSubkey; in OpenLogfile() local 1724 &hKey, /* result key */ in OpenLogfile() 1768 result = RegCreateKeyEx(hKey, subkey_name, in OpenLogfile() [all …]
|
/external/deqp/framework/platform/win32/ |
D | tcuWin32VulkanPlatform.cpp | 134 HKEY hKey; in getStringRegKey() local 139 nError = RegOpenKeyExA(HKEY_LOCAL_MACHINE, regKey.c_str(), 0, KEY_READ, &hKey); in getStringRegKey() 142 …nError = RegQueryValueExA(hKey, strValueName.c_str(), 0, DE_NULL, (LPBYTE)szBuffer, &dwBufferSize); in getStringRegKey()
|
/external/clang/lib/Driver/ |
D | MSVCToolChain.cpp | 140 HKEY hKey = NULL; in getSystemRegistryString() 191 KEY_READ | KEY_WOW64_32KEY, &hKey); in getSystemRegistryString() 193 lResult = readFullStringValue(hKey, valueName, value); in getSystemRegistryString() 200 RegCloseKey(hKey); in getSystemRegistryString() 209 RegOpenKeyExA(hRootKey, keyPath, 0, KEY_READ | KEY_WOW64_32KEY, &hKey); in getSystemRegistryString() 211 lResult = readFullStringValue(hKey, valueName, value); in getSystemRegistryString() 216 RegCloseKey(hKey); in getSystemRegistryString()
|
/external/python/cpython3/Tools/msi/bundle/bootstrap/ |
D | PythonBootstrapperApplication.cpp | 572 HKEY hKey; in SuccessPage_Show() local 578 &hKey in SuccessPage_Show() 581 res = RegQueryValueExW(hKey, L"LongPathsEnabled", nullptr, &dataType, in SuccessPage_Show() 583 RegCloseKey(hKey); in SuccessPage_Show() 2819 HKEY hKey; in LoadOptionalFeatureStatesFromKey() local 2823 res = RegOpenKeyExW(hkHive, subkey, 0, KEY_READ | KEY_WOW64_64KEY, &hKey); in LoadOptionalFeatureStatesFromKey() 2825 res = RegOpenKeyExW(hkHive, subkey, 0, KEY_READ | KEY_WOW64_32KEY, &hKey); in LoadOptionalFeatureStatesFromKey() 2835 res = RegQueryValueExW(hKey, p->regName, nullptr, nullptr, nullptr, nullptr); in LoadOptionalFeatureStatesFromKey() 2841 RegCloseKey(hKey); in LoadOptionalFeatureStatesFromKey() 2846 RegCloseKey(hKey); in LoadOptionalFeatureStatesFromKey() [all …]
|
/external/llvm-project/clang/lib/Driver/ToolChains/ |
D | MSVC.cpp | 983 HKEY hKey = NULL; in getSystemRegistryString() 1034 KEY_READ | KEY_WOW64_32KEY, &hKey); in getSystemRegistryString() 1036 if (readFullStringValue(hKey, valueName, value)) { in getSystemRegistryString() 1042 RegCloseKey(hKey); in getSystemRegistryString() 1051 RegOpenKeyExA(hRootKey, keyPath, 0, KEY_READ | KEY_WOW64_32KEY, &hKey); in getSystemRegistryString() 1053 if (readFullStringValue(hKey, valueName, value)) in getSystemRegistryString() 1057 RegCloseKey(hKey); in getSystemRegistryString()
|
/external/pdfium/fxjs/xfa/ |
D | cfxjse_value.cpp | 217 v8::Local<v8::String> hKey = in HasObjectOwnProperty() local 223 ->HasRealNamedProperty(GetIsolate()->GetCurrentContext(), hKey) in HasObjectOwnProperty() 227 ->HasOwnProperty(GetIsolate()->GetCurrentContext(), hKey) in HasObjectOwnProperty()
|
/external/libcups/cups/ |
D | tls-sspi.c | 1893 HCRYPTKEY hKey = (HCRYPTKEY)NULL; /* Handle to crypto key */ in http_sspi_make_credentials() local 1954 if (!CryptGenKey(hProv, AT_KEYEXCHANGE, CRYPT_EXPORTABLE, &hKey)) in http_sspi_make_credentials() 2045 if (hKey) in http_sspi_make_credentials() 2046 CryptDestroyKey(hKey); in http_sspi_make_credentials()
|