Home
last modified time | relevance | path

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

12

/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.py61 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 …]
Daudit-tests.py309 from winreg import OpenKey, EnumKey, CloseKey, HKEY_LOCAL_MACHINE
318 k = OpenKey(HKEY_LOCAL_MACHINE, "Software")
/external/python/dateutil/dateutil/tz/
Dwin.py37 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/
Dtest_windows.py18 EnumKey, CloseKey, DeleteKey, OpenKey
42 hkey = OpenKey(root, subkey, access=KEY_ALL_ACCESS)
71 OpenKey(HKEY_CURRENT_USER, base_key)
/external/cronet/base/win/
Dregistry.cc73 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()
Dregistry_unittest.cc298 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()
Dregistry.h73 LONG OpenKey(const wchar_t* relative_key_name, REGSAM access);
/external/openthread/tools/harness-simulation/harness/Thread_Harness/Sniffer/
DSimSniffer.py84 reg_key = wr.OpenKey(reg, WINREG_KEY)
87 reg_subkey = wr.OpenKey(reg_key, iface_guids[i] + r'\Connection')
/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/python/cpython3/Lib/
Dmimetypes.py271 with _winreg.OpenKey(_winreg.HKEY_CLASSES_ROOT, '') as hkcr:
274 with _winreg.OpenKey(hkcr, subkeyname) as subkey:
/external/python/cpython3/Doc/library/
Dwinreg.rst82 .. 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/
Dwin_utils.py81 with winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE, COUNTER_REGISTRY_KEY) as perfkey:
/external/python/setuptools/setuptools/
Dmsvc.py149 key = winreg.OpenKey(
648 openkey = winreg.OpenKey
733 bkey = winreg.OpenKey(hkey, ms(key), 0, winreg.KEY_READ)
/external/deqp/scripts/ctsbuild/
Dconfig.py166 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/libcxx/utils/google-benchmark/
Dmingw.py106 key = winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE, r'SOFTWARE\7-Zip')
/external/libchrome/build/
Dvs_toolchain.py103 with _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, subkey) as hkey:
/external/angle/build/
Dvs_toolchain.py152 with _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, subkey) as hkey:
/external/python/setuptools/pkg_resources/_vendor/
Dappdirs.py471 key = _winreg.OpenKey(
/external/cronet/build/
Dvs_toolchain.py152 with _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, subkey) as hkey:
/external/python/cpython3/Lib/importlib/
D_bootstrap_external.py809 return winreg.OpenKey(winreg.HKEY_CURRENT_USER, key)
811 return winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE, key)
/external/python/cpython2/Tools/msi/
Dmsilib.py390 key = _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, k)

12