Home
last modified time | relevance | path

Searched refs:_winreg (Results 1 – 25 of 41) sorted by relevance

12

/external/python/cpython2/Lib/test/
Dtest_mimetypes.py94 import _winreg
99 return lambda key, i: _winreg.EnumKey(key, i) + "\xa3"
101 return lambda key, name: _winreg.OpenKey(key, name.rstrip("\xa3"))
103 return lambda subkey, label: (u'текст/простой' , _winreg.REG_SZ)
104 return getattr(_winreg, name)
106 mimetypes._winreg = MockWinreg()
112 mimetypes._winreg = _winreg
115 import _winreg
120 return lambda subkey, label: (u'текст/простой', _winreg.REG_SZ)
121 return getattr(_winreg, name)
[all …]
Dtest_winreg.py13 from _winreg import *
/external/deqp/scripts/build/
Dconfig.py32 import _winreg
35 _winreg = winreg variable
37 _winreg = None variable
167 key = _winreg.OpenKey(root, name, 0, _winreg.KEY_READ | arch)
168 _winreg.CloseKey(key)
174 if sys.platform == 'win32' and _winreg != None:
179 arch = _winreg.KEY_WOW64_32KEY if nativeArch == self.ARCH_64BIT else 0
181 …10: [(_winreg.HKEY_CLASSES_ROOT, "VisualStudio.DTE.10.0"), (_winreg.HKEY_LOCAL_MACHINE, "Software…
182 …11: [(_winreg.HKEY_CLASSES_ROOT, "VisualStudio.DTE.11.0"), (_winreg.HKEY_LOCAL_MACHINE, "Software…
183 …12: [(_winreg.HKEY_CLASSES_ROOT, "VisualStudio.DTE.12.0"), (_winreg.HKEY_LOCAL_MACHINE, "Software…
[all …]
/external/python/cpython2/Tools/scripts/
Dwin_add2path.py13 import _winreg
15 HKCU = _winreg.HKEY_CURRENT_USER
30 with _winreg.CreateKey(HKCU, ENV) as key:
32 envpath = _winreg.QueryValueEx(key, PATH)[0]
42 _winreg.SetValueEx(key, PATH, 0, _winreg.REG_EXPAND_SZ, envpath)
54 print _winreg.ExpandEnvironmentStrings(envpath)
/external/python/cpython3/Lib/
Dmimetypes.py31 import winreg as _winreg namespace
33 _winreg = None variable
241 if not _winreg:
248 ctype = _winreg.EnumKey(mimedb, i)
256 with _winreg.OpenKey(_winreg.HKEY_CLASSES_ROOT, '') as hkcr:
259 with _winreg.OpenKey(hkcr, subkeyname) as subkey:
264 mimetype, datatype = _winreg.QueryValueEx(
266 if datatype != _winreg.REG_SZ:
352 if _winreg:
Dplatform.py345 import _winreg as winreg
392 import _winreg as winreg
/external/python/cpython2/Lib/
Dmimetypes.py31 import _winreg
33 _winreg = None variable
238 if not _winreg:
245 ctype = _winreg.EnumKey(mimedb, i)
254 with _winreg.OpenKey(_winreg.HKEY_CLASSES_ROOT, '') as hkcr:
257 with _winreg.OpenKey(hkcr, subkeyname) as subkey:
262 mimetype, datatype = _winreg.QueryValueEx(
264 if datatype != _winreg.REG_SZ:
353 if _winreg:
Durllib.py1533 import _winreg
1538 internetSettings = _winreg.OpenKey(_winreg.HKEY_CURRENT_USER,
1540 proxyEnable = _winreg.QueryValueEx(internetSettings,
1544 proxyServer = str(_winreg.QueryValueEx(internetSettings,
1582 import _winreg
1588 internetSettings = _winreg.OpenKey(_winreg.HKEY_CURRENT_USER,
1590 proxyEnable = _winreg.QueryValueEx(internetSettings,
1592 proxyOverride = str(_winreg.QueryValueEx(internetSettings,
Dplatform.py664 from _winreg import OpenKeyEx, QueryValueEx, CloseKey, HKEY_LOCAL_MACHINE
/external/python/cpython2/Lib/distutils/
Dmsvc9compiler.py28 import _winreg
30 RegOpenKeyEx = _winreg.OpenKeyEx
31 RegEnumKey = _winreg.EnumKey
32 RegEnumValue = _winreg.EnumValue
33 RegError = _winreg.error
35 HKEYS = (_winreg.HKEY_USERS,
36 _winreg.HKEY_CURRENT_USER,
37 _winreg.HKEY_LOCAL_MACHINE,
38 _winreg.HKEY_CLASSES_ROOT)
Dmsvccompiler.py24 import _winreg
27 hkey_mod = _winreg
29 RegOpenKeyEx = _winreg.OpenKeyEx
30 RegEnumKey = _winreg.EnumKey
31 RegEnumValue = _winreg.EnumValue
32 RegError = _winreg.error
/external/python/cpython2/Lib/distutils/tests/
Dtest_msvc9compiler.py133 import _winreg
134 HKCU = _winreg.HKEY_CURRENT_USER
/external/python/setuptools/setuptools/tests/
Dtest_msvc.py26 _winreg = getattr(distutils.msvc9compiler, '_winreg', None)
27 winreg = getattr(distutils.msvc9compiler, 'winreg', _winreg)
/external/python/setuptools/pkg_resources/_vendor/
Dappdirs.py413 import _winreg
421 key = _winreg.OpenKey(
422 _winreg.HKEY_CURRENT_USER,
425 dir, type = _winreg.QueryValueEx(key, shell_folder_name)
/external/python/cpython2/Doc/library/
Dwindows.rst14 _winreg.rst
D_winreg.rst1 :mod:`_winreg` --- Windows registry access
4 .. module:: _winreg
10 The :mod:`_winreg` module has been renamed to :mod:`winreg` in Python 3.
469 The following constants are defined for use in many :mod:`_winreg` functions.
/external/python/cpython2/Tools/msi/
Dmsilib.py8 import re, string, os, sets, glob, subprocess, sys, _winreg, struct
390 key = _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, k)
391 dir = _winreg.QueryValueEx(key, v)[0]
392 _winreg.CloseKey(key)
/external/python/cpython3/Lib/importlib/
D_bootstrap_external.py712 return _winreg.OpenKey(_winreg.HKEY_CURRENT_USER, key)
714 return _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, key)
726 filepath = _winreg.QueryValue(hkey, '')
/external/python/cpython2/Tools/freeze/
Dextensions_win32.ini55 [_winreg] section
/external/google-benchmark/
Dmingw.py17 import _winreg as winreg
/external/libcxx/utils/google-benchmark/
Dmingw.py17 import _winreg as winreg
/external/python/cpython2/Misc/
Dmaintainers.rst56 _winreg brian.curtin*, stutzbach
/external/python/cpython2/PC/VS7.1/
Dpython.iss158 Source: DLLs\_winreg.pyd; DestDir: {app}\DLLs; CopyMode: alwaysoverwrite; Components: main
159 Source: libs\_winreg.lib; DestDir: {app}\libs; CopyMode: alwaysoverwrite; Components: main
Dpython20.wse1716 Source=.\_winreg.pyd
1717 Destination=%MAINDIR%\DLLs\_winreg.pyd
1812 Source=.\_winreg.lib
1813 Destination=%MAINDIR%\libs\_winreg.lib
/external/python/cpython2/Misc/NEWS.d/
D2.7b1.rst624 _winreg: Add CreateKeyEx and DeleteKeyEx, as well as fix a bug in the return

12