Home
last modified time | relevance | path

Searched refs:OpenKey (Results 1 – 21 of 21) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_winreg.py67 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 …]
Dtest_mimetypes.py101 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/
Dtest_winreg.py60 hkey = OpenKey(root, subkey, 0, KEY_ALL_ACCESS)
116 def _read_test_data(self, root_key, subkeystr="sub_key", OpenKey=OpenKey): argument
122 key = OpenKey(root_key, test_key_name)
124 with OpenKey(key, subkeystr) as sub_key:
157 key = OpenKey(root_key, test_key_name, 0, KEY_ALL_ACCESS)
158 sub_key = OpenKey(key, subkeystr, 0, KEY_ALL_ACCESS)
181 key = OpenKey(root_key, test_key_name)
215 self._read_test_data(HKEY_CURRENT_USER, OpenKey=oke)
316 key = OpenKey(HKEY_CURRENT_USER, test_key_name)
405 with OpenKey(HKEY_LOCAL_MACHINE, "Software") as key:
[all …]
/external/python/dateutil/dateutil/tz/
Dwin.py29 winreg.OpenKey(handle, TZKEYNAMENT).Close()
143 with winreg.OpenKey(handle, TZKEYNAME) as tzkey:
197 with winreg.OpenKey(handle, tzkeyname) as tzkey:
239 with winreg.OpenKey(handle, TZLOCALKEYNAME) as tzlocalkey:
248 with winreg.OpenKey(handle, tzkeyname) as tzkey:
/external/python/cpython3/Lib/test/test_importlib/
Dtest_windows.py17 EnumKey, CloseKey, DeleteKey, OpenKey
22 hkey = OpenKey(root, subkey, access=KEY_ALL_ACCESS)
/external/epid-sdk/tools/revokekey/src/
Dmain.c50 int OpenKey(char const* privkey_file, char const* gpubkey_file, in OpenKey() function
331 retval = OpenKey(privkey_file->filename[0], gpubkey_file->filename[0], in main()
/external/python/cpython3/Lib/
Dmimetypes.py255 with _winreg.OpenKey(_winreg.HKEY_CLASSES_ROOT, '') as hkcr:
258 with _winreg.OpenKey(hkcr, subkeyname) as subkey:
/external/python/cpython2/Lib/
Dmimetypes.py254 with _winreg.OpenKey(_winreg.HKEY_CLASSES_ROOT, '') as hkcr:
257 with _winreg.OpenKey(hkcr, subkeyname) as subkey:
Durllib.py1538 internetSettings = _winreg.OpenKey(_winreg.HKEY_CURRENT_USER,
1588 internetSettings = _winreg.OpenKey(_winreg.HKEY_CURRENT_USER,
/external/deqp/scripts/build/
Dconfig.py148 key = _winreg.OpenKey(root, name, 0, _winreg.KEY_READ | arch)
/external/python/cpython2/Doc/library/
D_winreg.rst255 .. 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/google-benchmark/
Dmingw.py106 key = winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE, r'SOFTWARE\7-Zip')
/external/v8/gypfiles/
Dvs_toolchain.py97 with _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, subkey) as hkey:
/external/libcxx/utils/google-benchmark/
Dmingw.py106 key = winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE, r'SOFTWARE\7-Zip')
/external/python/setuptools/pkg_resources/_vendor/
Dappdirs.py421 key = _winreg.OpenKey(
/external/python/setuptools/setuptools/
Dmsvc.py446 openkey = winreg.OpenKey
505 bkey = winreg.OpenKey(hkey, ms(key), 0, winreg.KEY_READ)
/external/python/cpython3/Lib/importlib/
D_bootstrap_external.py657 return _winreg.OpenKey(_winreg.HKEY_CURRENT_USER, key)
659 return _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, key)
/external/python/cpython3/Doc/library/
Dwinreg.rst283 .. function:: OpenKey(key, sub_key, reserved=0, access=KEY_READ)
444 To open the key, use the :func:`CreateKey` or :func:`OpenKey` methods.
751 with OpenKey(HKEY_LOCAL_MACHINE, "foo") as key:
/external/python/cpython2/Tools/msi/
Dmsilib.py390 key = _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, k)
/external/python/cpython3/Lib/urllib/
Drequest.py2630 internetSettings = winreg.OpenKey(winreg.HKEY_CURRENT_USER,
2678 internetSettings = winreg.OpenKey(winreg.HKEY_CURRENT_USER,
/external/python/cpython3/Misc/
DHISTORY7722 - Issue #14943: Correct a default argument value for winreg.OpenKey