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.h192 winreg_CreateKey_impl(PyObject *module, HKEY key, const Py_UNICODE *sub_key);
199 const Py_UNICODE *sub_key; in winreg_CreateKey() local
203 clinic_HKEY_converter, &key, &sub_key)) { in winreg_CreateKey()
206 _return_value = winreg_CreateKey_impl(module, key, sub_key); in winreg_CreateKey()
246 const Py_UNICODE *sub_key, int reserved,
256 const Py_UNICODE *sub_key; in winreg_CreateKeyEx() local
262 clinic_HKEY_converter, &key, &sub_key, &reserved, &access)) { in winreg_CreateKeyEx()
265 _return_value = winreg_CreateKeyEx_impl(module, key, sub_key, reserved, access); in winreg_CreateKeyEx()
297 winreg_DeleteKey_impl(PyObject *module, HKEY key, const Py_UNICODE *sub_key);
304 const Py_UNICODE *sub_key; in winreg_DeleteKey() local
[all …]
/external/python/cpython3/Lib/test/
Dtest_winreg.py82 sub_key = CreateKey(key, subkeystr)
86 SetValueEx(sub_key, value_name, 0, value_type, value_data)
92 nkeys, nvalues, since_mod = QueryInfoKey(sub_key)
99 int_sub_key = int(sub_key)
100 CloseKey(sub_key)
125 with OpenKey(key, subkeystr) as sub_key:
130 data = EnumValue(sub_key, index)
140 read_val, read_typ = QueryValueEx(sub_key, value_name)
145 sub_key.Close()
159 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.c882 winreg_CreateKey_impl(PyObject *module, HKEY key, const Py_UNICODE *sub_key) in winreg_CreateKey_impl() argument
889 (Py_ssize_t)key, sub_key, in winreg_CreateKey_impl()
893 rc = RegCreateKeyW(key, sub_key, &retKey); in winreg_CreateKey_impl()
931 const Py_UNICODE *sub_key, int reserved, in winreg_CreateKeyEx_impl() argument
939 (Py_ssize_t)key, sub_key, in winreg_CreateKeyEx_impl()
943 rc = RegCreateKeyExW(key, sub_key, reserved, NULL, 0, in winreg_CreateKeyEx_impl()
975 winreg_DeleteKey_impl(PyObject *module, HKEY key, const Py_UNICODE *sub_key) in winreg_DeleteKey_impl() argument
980 (Py_ssize_t)key, sub_key, in winreg_DeleteKey_impl()
984 rc = RegDeleteKeyW(key, sub_key ); in winreg_DeleteKey_impl()
1016 const Py_UNICODE *sub_key, REGSAM access, in winreg_DeleteKeyEx_impl() argument
[all …]
/external/python/cpython3/Doc/library/
Dwinreg.rst62 .. function:: CreateKey(key, sub_key)
70 *sub_key* is a string that names the key this method opens or creates.
72 If *key* is one of the predefined keys, *sub_key* may be ``None``. In that
80 .. audit-event:: winreg.CreateKey key,sub_key,access winreg.CreateKey
88 .. function:: CreateKeyEx(key, sub_key, reserved=0, access=KEY_WRITE)
96 *sub_key* is a string that names the key this method opens or creates.
104 If *key* is one of the predefined keys, *sub_key* may be ``None``. In that
112 .. audit-event:: winreg.CreateKey key,sub_key,access winreg.CreateKeyEx
122 .. function:: DeleteKey(key, sub_key)
129 *sub_key* is a string that must be a subkey of the key identified by the *key*
[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 …]