Home
last modified time | relevance | path

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

/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
34 _winreg = None variable
132 key = _winreg.OpenKey(root, name, 0, _winreg.KEY_READ | arch)
133 _winreg.CloseKey(key)
139 if sys.platform == 'win32' and _winreg != None:
144 arch = _winreg.KEY_WOW64_32KEY if nativeArch == self.ARCH_64BIT else 0
146 …10: [(_winreg.HKEY_CLASSES_ROOT, "VisualStudio.DTE.10.0"), (_winreg.HKEY_LOCAL_MACHINE, "Software…
147 …11: [(_winreg.HKEY_CLASSES_ROOT, "VisualStudio.DTE.11.0"), (_winreg.HKEY_LOCAL_MACHINE, "Software…
148 …12: [(_winreg.HKEY_CLASSES_ROOT, "VisualStudio.DTE.12.0"), (_winreg.HKEY_LOCAL_MACHINE, "Software…
149 …14: [(_winreg.HKEY_CLASSES_ROOT, "VisualStudio.DTE.14.0"), (_winreg.HKEY_LOCAL_MACHINE, "Software…
/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/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.py634 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/v8/gypfiles/
Dvs_toolchain.py93 import _winreg
97 with _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, subkey) as hkey:
98 return _winreg.QueryValueEx(hkey, value)[0]
/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/cpython2/Tools/freeze/
Dextensions_win32.ini55 [_winreg] section
/external/google-benchmark/
Dmingw.py17 import _winreg as winreg
/external/python/cpython2/Misc/
Dmaintainers.rst56 _winreg brian.curtin*, stutzbach
DNEWS1753 - Issue #21151: Fixed a segfault in the _winreg module when ``None`` is passed
2119 - Issue #21349: Passing a memoryview to _winreg.SetValueEx now correctly raises
6689 - Issue #7347: _winreg: Add CreateKeyEx and DeleteKeyEx, as well as fix a bug in
7592 - Issue #4807: Port the _winreg module to Windows CE.
11724 - _winreg's HKEY object has gained __enter__ and __exit__ methods to
11725 support the context management protocol. The _winreg module also
DHISTORY331 - Patch #1448199: Release interpreter lock in _winreg.ConnectRegistry.
3634 - The _winreg module could segfault when reading very large registry
9426 _winreg - Windows registry access.
9532 - The winreg module has been renamed to _winreg. (There are plans for
/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/PC/VC6/
Dpythoncore.dsp192 SOURCE=..\_winreg.c
/external/python/cpython2/Doc/whatsnew/
D2.7.rst2310 * The :mod:`_winreg` module for accessing the registry now implements
2311 the :func:`~_winreg.CreateKeyEx` and :func:`~_winreg.DeleteKeyEx`
2313 take several extra arguments. The :func:`~_winreg.DisableReflectionKey`,
2314 :func:`~_winreg.EnableReflectionKey`, and :func:`~_winreg.QueryReflectionKey`
D2.0.rst1132 * :mod:`_winreg`: An interface to the Windows registry. :mod:`_winreg` is an
1135 :mod:`_winreg` was written by Bill Tutt and Mark Hammond.
D2.6.rst3121 * The :mod:`_winreg` module now has a function,
3128 :mod:`_winreg` also has better support for x64 systems,