Home
last modified time | relevance | path

Searched refs:sub_key (Results 1 – 7 of 7) sorted by relevance

/external/python/cpython3/PC/clinic/
Dwinreg.c.h188 winreg_CreateKey_impl(PyObject *module, HKEY key, const Py_UNICODE *sub_key);
195 const Py_UNICODE *sub_key; in winreg_CreateKey() local
199 clinic_HKEY_converter, &key, &sub_key)) { in winreg_CreateKey()
202 _return_value = winreg_CreateKey_impl(module, key, sub_key); in winreg_CreateKey()
242 const Py_UNICODE *sub_key, int reserved,
252 const Py_UNICODE *sub_key; in winreg_CreateKeyEx() local
258 clinic_HKEY_converter, &key, &sub_key, &reserved, &access)) { in winreg_CreateKeyEx()
261 _return_value = winreg_CreateKeyEx_impl(module, key, sub_key, reserved, access); in winreg_CreateKeyEx()
293 winreg_DeleteKey_impl(PyObject *module, HKEY key, const Py_UNICODE *sub_key);
300 const Py_UNICODE *sub_key; in winreg_DeleteKey() local
[all …]
/external/python/cpython3/Lib/test/
Dtest_winreg.py81 sub_key = CreateKey(key, subkeystr)
85 SetValueEx(sub_key, value_name, 0, value_type, value_data)
91 nkeys, nvalues, since_mod = QueryInfoKey(sub_key)
98 int_sub_key = int(sub_key)
99 CloseKey(sub_key)
124 with OpenKey(key, subkeystr) as sub_key:
129 data = EnumValue(sub_key, index)
139 read_val, read_typ = QueryValueEx(sub_key, value_name)
144 sub_key.Close()
158 sub_key = OpenKey(key, subkeystr, 0, KEY_ALL_ACCESS)
[all …]
/external/python/cpython2/Lib/test/
Dtest_winreg.py86 sub_key = CreateKey(key, "sub_key")
90 SetValueEx(sub_key, value_name, 0, value_type, value_data)
96 nkeys, nvalues, since_mod = QueryInfoKey(sub_key)
103 int_sub_key = int(sub_key)
104 CloseKey(sub_key)
129 with OpenKey(key, "sub_key") as sub_key:
134 data = EnumValue(sub_key, index)
144 read_val, read_typ = QueryValueEx(sub_key, value_name)
149 sub_key.Close()
163 sub_key = OpenKey(key, "sub_key", 0, KEY_ALL_ACCESS)
[all …]
/external/brotli/c/dec/
Dhuffman.c179 brotli_reg_t sub_key; /* 2nd level table prefix code */ in BrotliBuildHuffmanTable() local
232 sub_key = (BROTLI_REVERSE_BITS_LOWEST << 1); in BrotliBuildHuffmanTable()
237 if (sub_key == (BROTLI_REVERSE_BITS_LOWEST << 1U)) { in BrotliBuildHuffmanTable()
242 sub_key = BrotliReverseBits(key); in BrotliBuildHuffmanTable()
244 root_table[sub_key] = ConstructHuffmanCode( in BrotliBuildHuffmanTable()
246 (uint16_t)(((size_t)(table - root_table)) - sub_key)); in BrotliBuildHuffmanTable()
247 sub_key = 0; in BrotliBuildHuffmanTable()
252 &table[BrotliReverseBits(sub_key)], step, table_size, code); in BrotliBuildHuffmanTable()
253 sub_key += sub_key_step; in BrotliBuildHuffmanTable()
/external/python/cpython3/PC/
Dwinreg.c866 winreg_CreateKey_impl(PyObject *module, HKEY key, const Py_UNICODE *sub_key) in winreg_CreateKey_impl() argument
872 rc = RegCreateKeyW(key, sub_key, &retKey); in winreg_CreateKey_impl()
906 const Py_UNICODE *sub_key, int reserved, in winreg_CreateKeyEx_impl() argument
913 rc = RegCreateKeyExW(key, sub_key, reserved, NULL, 0, in winreg_CreateKeyEx_impl()
941 winreg_DeleteKey_impl(PyObject *module, HKEY key, const Py_UNICODE *sub_key) in winreg_DeleteKey_impl() argument
945 rc = RegDeleteKeyW(key, sub_key ); in winreg_DeleteKey_impl()
977 const Py_UNICODE *sub_key, REGSAM access, in winreg_DeleteKeyEx_impl() argument
998 rc = (*pfn)(key, sub_key, access, reserved); in winreg_DeleteKeyEx_impl()
1281 winreg_LoadKey_impl(PyObject *module, HKEY key, const Py_UNICODE *sub_key, in winreg_LoadKey_impl() argument
1288 rc = RegLoadKeyW(key, sub_key, file_name ); in winreg_LoadKey_impl()
[all …]
/external/python/cpython3/Doc/library/
Dwinreg.rst60 .. function:: CreateKey(key, sub_key)
68 *sub_key* is a string that names the key this method opens or creates.
70 If *key* is one of the predefined keys, *sub_key* may be ``None``. In that
82 .. function:: CreateKeyEx(key, sub_key, reserved=0, access=KEY_WRITE)
90 *sub_key* is a string that names the key this method opens or creates.
98 If *key* is one of the predefined keys, *sub_key* may be ``None``. In that
112 .. function:: DeleteKey(key, sub_key)
119 *sub_key* is a string that must be a subkey of the key identified by the *key*
131 .. function:: DeleteKeyEx(key, sub_key, access=KEY_WOW64_64KEY, reserved=0)
144 *sub_key* is a string that must be a subkey of the key identified by the
[all …]
/external/python/cpython2/Doc/library/
D_winreg.rst49 .. function:: CreateKey(key, sub_key)
57 *sub_key* is a string that names the key this method opens or creates.
59 If *key* is one of the predefined keys, *sub_key* may be ``None``. In that
68 .. function:: CreateKeyEx(key, sub_key[, res[, sam]])
76 *sub_key* is a string that names the key this method opens or creates.
85 If *key* is one of the predefined keys, *sub_key* may be ``None``. In that
96 .. function:: DeleteKey(key, sub_key)
103 *sub_key* is a string that must be a subkey of the key identified by the *key*
112 .. function:: DeleteKeyEx(key, sub_key[, sam[, res]])
125 *sub_key* is a string that must be a subkey of the key identified by the
[all …]