/external/python/cpython2/Lib/test/ |
D | test_winreg.py | 67 hkey = OpenKey(root, subkey, KEY_ALL_ACCESS) 121 def _read_test_data(self, root_key, OpenKey=OpenKey): argument 127 key = OpenKey(root_key, test_key_name) 129 with OpenKey(key, "sub_key") as sub_key: 162 key = OpenKey(root_key, test_key_name, 0, KEY_ALL_ACCESS) 163 sub_key = OpenKey(key, "sub_key", 0, KEY_ALL_ACCESS) 186 key = OpenKey(root_key, test_key_name) 267 with OpenKey(HKEY_CURRENT_USER, test_key_name, 0, KEY_ALL_ACCESS) as key: 282 with OpenKey(HKEY_CURRENT_USER, test_key_name, 0, KEY_ALL_ACCESS) as key: 306 key = OpenKey(HKEY_CURRENT_USER, test_key_name) [all …]
|
D | test_mimetypes.py | 101 return lambda key, name: _winreg.OpenKey(key, name.rstrip("\xa3")) 151 def OpenKey(self, key, name): member in Win32MimeTypesTestCase.test_registry_read_error.MockWinreg 154 return _winreg.OpenKey(key, name)
|
/external/python/cpython3/Lib/test/ |
D | test_winreg.py | 61 hkey = OpenKey(root, subkey, 0, KEY_ALL_ACCESS) 117 def _read_test_data(self, root_key, subkeystr="sub_key", OpenKey=OpenKey): argument 123 key = OpenKey(root_key, test_key_name) 125 with OpenKey(key, subkeystr) as sub_key: 158 key = OpenKey(root_key, test_key_name, 0, KEY_ALL_ACCESS) 159 sub_key = OpenKey(key, subkeystr, 0, KEY_ALL_ACCESS) 182 key = OpenKey(root_key, test_key_name) 216 self._read_test_data(HKEY_CURRENT_USER, OpenKey=oke) 317 key = OpenKey(HKEY_CURRENT_USER, test_key_name) 407 with OpenKey(HKEY_LOCAL_MACHINE, "Software") as key: [all …]
|
D | audit-tests.py | 309 from winreg import OpenKey, EnumKey, CloseKey, HKEY_LOCAL_MACHINE 318 k = OpenKey(HKEY_LOCAL_MACHINE, "Software")
|
/external/python/dateutil/dateutil/tz/ |
D | win.py | 37 winreg.OpenKey(handle, TZKEYNAMENT).Close() 152 with winreg.OpenKey(handle, TZKEYNAME) as tzkey: 220 with winreg.OpenKey(handle, tzkeyname) as tzkey: 278 with winreg.OpenKey(handle, TZLOCALKEYNAME) as tzlocalkey: 287 with winreg.OpenKey(handle, tzkeyname) as tzkey:
|
/external/python/cpython3/Lib/test/test_importlib/ |
D | test_windows.py | 18 EnumKey, CloseKey, DeleteKey, OpenKey 42 hkey = OpenKey(root, subkey, access=KEY_ALL_ACCESS) 71 OpenKey(HKEY_CURRENT_USER, base_key)
|
/external/cronet/base/win/ |
D | registry.cc | 73 static inline LSTATUS OpenKey(HKEY hKey, in OpenKey() function in base::win::internal::Standard 177 static LSTATUS OpenKey(HKEY hKey, in OpenKey() function in base::win::internal::ExportDerived 533 LONG result = Reg::OpenKey(rootkey, subkey, 0, access, &subhkey); in Open() 544 LONG GenericRegKey<Reg>::OpenKey(const wchar_t* relative_key_name, in OpenKey() function in base::win::internal::GenericRegKey 558 LONG result = Reg::OpenKey(key_, relative_key_name, 0, access, &subkey); in OpenKey() 643 Reg::OpenKey(key_, name, 0, READ_CONTROL | wow64access_, &subkey); in DeleteKey() 659 Reg::OpenKey(key_, name, 0, KEY_READ | wow64access_, &target_key); in DeleteEmptyKey() 860 result = Reg::OpenKey(root_key, name, 0, KEY_ENUMERATE_SUB_KEYS | access, in RegDelRecurse()
|
D | registry_unittest.cc | 298 ASSERT_NE(ERROR_SUCCESS, key.OpenKey(L"foo", KEY_READ)); in TYPED_TEST() 302 ASSERT_EQ(ERROR_SUCCESS, key.OpenKey(L"foo", KEY_READ)); in TYPED_TEST() 596 key.OpenKey(L"Microsoft", KEY_READ | KEY_WOW64_64KEY)); in TYPED_TEST() 597 ASSERT_EQ(ERROR_SUCCESS, key.OpenKey(L"Windows", KEY_READ | KEY_WOW64_64KEY)); in TYPED_TEST()
|
D | registry.h | 73 LONG OpenKey(const wchar_t* relative_key_name, REGSAM access);
|
/external/openthread/tools/harness-simulation/harness/Thread_Harness/Sniffer/ |
D | SimSniffer.py | 84 reg_key = wr.OpenKey(reg, WINREG_KEY) 87 reg_subkey = wr.OpenKey(reg_key, iface_guids[i] + r'\Connection')
|
/external/python/cpython2/Lib/ |
D | mimetypes.py | 254 with _winreg.OpenKey(_winreg.HKEY_CLASSES_ROOT, '') as hkcr: 257 with _winreg.OpenKey(hkcr, subkeyname) as subkey:
|
D | urllib.py | 1538 internetSettings = _winreg.OpenKey(_winreg.HKEY_CURRENT_USER, 1588 internetSettings = _winreg.OpenKey(_winreg.HKEY_CURRENT_USER,
|
/external/python/cpython3/Lib/ |
D | mimetypes.py | 271 with _winreg.OpenKey(_winreg.HKEY_CLASSES_ROOT, '') as hkcr: 274 with _winreg.OpenKey(hkcr, subkeyname) as subkey:
|
/external/python/cpython3/Doc/library/ |
D | winreg.rst | 82 .. audit-event:: winreg.OpenKey/result key winreg.CreateKey 114 .. audit-event:: winreg.OpenKey/result key winreg.CreateKeyEx 307 .. function:: OpenKey(key, sub_key, reserved=0, access=KEY_READ) 327 .. audit-event:: winreg.OpenKey key,sub_key,access winreg.OpenKey 329 .. audit-event:: winreg.OpenKey/result key winreg.OpenKey 482 To open the key, use the :func:`CreateKey` or :func:`OpenKey` methods. 800 with OpenKey(HKEY_LOCAL_MACHINE, "foo") as key:
|
/external/python/cpython3/Lib/test/libregrtest/ |
D | win_utils.py | 81 with winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE, COUNTER_REGISTRY_KEY) as perfkey:
|
/external/python/setuptools/setuptools/ |
D | msvc.py | 149 key = winreg.OpenKey( 648 openkey = winreg.OpenKey 733 bkey = winreg.OpenKey(hkey, ms(key), 0, winreg.KEY_READ)
|
/external/deqp/scripts/ctsbuild/ |
D | config.py | 166 key = _winreg.OpenKey(root, name, 0, _winreg.KEY_READ | arch)
|
/external/python/cpython2/Doc/library/ |
D | _winreg.rst | 255 .. function:: OpenKey(key, sub_key[, res[, sam]]) 277 The functionality of :func:`OpenKeyEx` is provided via :func:`OpenKey`, 415 To open the key, use the :func:`CreateKey` or :func:`OpenKey` methods. 710 with OpenKey(HKEY_LOCAL_MACHINE, "foo") as key:
|
/external/libcxx/utils/google-benchmark/ |
D | mingw.py | 106 key = winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE, r'SOFTWARE\7-Zip')
|
/external/libchrome/build/ |
D | vs_toolchain.py | 103 with _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, subkey) as hkey:
|
/external/angle/build/ |
D | vs_toolchain.py | 152 with _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, subkey) as hkey:
|
/external/python/setuptools/pkg_resources/_vendor/ |
D | appdirs.py | 471 key = _winreg.OpenKey(
|
/external/cronet/build/ |
D | vs_toolchain.py | 152 with _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, subkey) as hkey:
|
/external/python/cpython3/Lib/importlib/ |
D | _bootstrap_external.py | 809 return winreg.OpenKey(winreg.HKEY_CURRENT_USER, key) 811 return winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE, key)
|
/external/python/cpython2/Tools/msi/ |
D | msilib.py | 390 key = _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, k)
|