Home
last modified time | relevance | path

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

/third_party/python/PC/clinic/
Dwinreg.c.h216 winreg_CreateKey_impl(PyObject *module, HKEY key, const Py_UNICODE *sub_key);
223 const Py_UNICODE *sub_key; in winreg_CreateKey() local
233 sub_key = NULL; in winreg_CreateKey()
237 sub_key = _PyUnicode_AsUnicode(args[1]); in winreg_CreateKey()
239 sub_key = PyUnicode_AsWideCharString(args[1], NULL); in winreg_CreateKey()
241 if (sub_key == NULL) { in winreg_CreateKey()
249 _return_value = winreg_CreateKey_impl(module, key, sub_key); in winreg_CreateKey()
258 PyMem_Free((void *)sub_key); in winreg_CreateKey()
294 const Py_UNICODE *sub_key, int reserved,
304 const Py_UNICODE *sub_key; in winreg_CreateKeyEx() local
[all …]
/third_party/python/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 …]
/third_party/node/deps/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()
/third_party/skia/third_party/externals/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()
/third_party/python/PC/
Dwinreg.c892 winreg_CreateKey_impl(PyObject *module, HKEY key, const Py_UNICODE *sub_key) in winreg_CreateKey_impl() argument
899 (Py_ssize_t)key, sub_key, in winreg_CreateKey_impl()
903 rc = RegCreateKeyW(key, sub_key, &retKey); in winreg_CreateKey_impl()
941 const Py_UNICODE *sub_key, int reserved, in winreg_CreateKeyEx_impl() argument
949 (Py_ssize_t)key, sub_key, in winreg_CreateKeyEx_impl()
953 rc = RegCreateKeyExW(key, sub_key, reserved, NULL, 0, in winreg_CreateKeyEx_impl()
985 winreg_DeleteKey_impl(PyObject *module, HKEY key, const Py_UNICODE *sub_key) in winreg_DeleteKey_impl() argument
990 (Py_ssize_t)key, sub_key, in winreg_DeleteKey_impl()
994 rc = RegDeleteKeyW(key, sub_key ); in winreg_DeleteKey_impl()
1026 const Py_UNICODE *sub_key, REGSAM access, in winreg_DeleteKeyEx_impl() argument
[all …]
/third_party/gstreamer/gstplugins_bad/sys/asio/
Dgstasioutils.cpp87 HKEY sub_key = nullptr; in gst_asio_enum_new_device_info_from_reg() local
98 status = RegOpenKeyExW (reg_key, key_name, 0, KEY_READ, &sub_key); in gst_asio_enum_new_device_info_from_reg()
103 status = RegQueryValueExW (sub_key, in gst_asio_enum_new_device_info_from_reg()
118 status = RegQueryValueExW (sub_key, in gst_asio_enum_new_device_info_from_reg()
135 if (sub_key) in gst_asio_enum_new_device_info_from_reg()
136 RegCloseKey (sub_key); in gst_asio_enum_new_device_info_from_reg()
/third_party/python/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 …]