Home
last modified time | relevance | path

Searched refs:sub_key (Results 1 - 5 of 5) sorted by relevance

/third_party/python/PC/clinic/
H A Dwinreg.c.h194 "CreateKey($module, key, sub_key, /)\n"
201 " sub_key\n"
204 "If key is one of the predefined keys, sub_key may be None. In that case,\n"
216 winreg_CreateKey_impl(PyObject *module, HKEY key, const Py_UNICODE *sub_key);
223 const Py_UNICODE *sub_key = NULL; 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()
304 const Py_UNICODE *sub_key = NULL; winreg_CreateKeyEx() local
357 const Py_UNICODE *sub_key = NULL; winreg_DeleteKey() local
431 const Py_UNICODE *sub_key = NULL; winreg_DeleteKeyEx() local
727 const Py_UNICODE *sub_key = NULL; winreg_LoadKey() local
808 const Py_UNICODE *sub_key = NULL; winreg_OpenKey() local
865 const Py_UNICODE *sub_key = NULL; winreg_OpenKeyEx() local
956 const Py_UNICODE *sub_key = NULL; winreg_QueryValue() local
1156 const Py_UNICODE *sub_key = NULL; winreg_SetValue() local
[all...]
/third_party/python/Lib/test/
H A Dtest_winreg.py75 def _write_test_data(self, root_key, subkeystr="sub_key",
82 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)
116 def _read_test_data(self, root_key, subkeystr="sub_key", OpenKey=OpenKey):
124 with OpenKey(key, subkeystr) as sub_key:
129 data = EnumValue(sub_key, index)
139 read_val, read_typ = QueryValueEx(sub_key, value_nam
[all...]
/third_party/python/PC/
H A Dwinreg.c888 sub_key: Py_UNICODE(accept={str, NoneType})
894 If key is one of the predefined keys, sub_key may be None. In that case,
904 winreg_CreateKey_impl(PyObject *module, HKEY key, const Py_UNICODE *sub_key) in winreg_CreateKey_impl() argument
911 (Py_ssize_t)key, sub_key, in winreg_CreateKey_impl()
915 rc = RegCreateKeyW(key, sub_key, &retKey); in winreg_CreateKey_impl()
932 sub_key: Py_UNICODE(accept={str, NoneType})
942 If key is one of the predefined keys, sub_key may be None. In that case,
953 const Py_UNICODE *sub_key, int reserved, in winreg_CreateKeyEx_impl()
961 (Py_ssize_t)key, sub_key, in winreg_CreateKeyEx_impl()
965 rc = RegCreateKeyExW(key, sub_key, reserve in winreg_CreateKeyEx_impl()
952 winreg_CreateKeyEx_impl(PyObject *module, HKEY key, const Py_UNICODE *sub_key, int reserved, REGSAM access) winreg_CreateKeyEx_impl() argument
997 winreg_DeleteKey_impl(PyObject *module, HKEY key, const Py_UNICODE *sub_key) winreg_DeleteKey_impl() argument
1042 winreg_DeleteKeyEx_impl(PyObject *module, HKEY key, const Py_UNICODE *sub_key, REGSAM access, int reserved) winreg_DeleteKeyEx_impl() argument
1353 winreg_LoadKey_impl(PyObject *module, HKEY key, const Py_UNICODE *sub_key, const Py_UNICODE *file_name) winreg_LoadKey_impl() argument
1391 winreg_OpenKey_impl(PyObject *module, HKEY key, const Py_UNICODE *sub_key, int reserved, REGSAM access) winreg_OpenKey_impl() argument
1427 winreg_OpenKeyEx_impl(PyObject *module, HKEY key, const Py_UNICODE *sub_key, int reserved, REGSAM access) winreg_OpenKeyEx_impl() argument
1502 winreg_QueryValue_impl(PyObject *module, HKEY key, const Py_UNICODE *sub_key) winreg_QueryValue_impl() argument
1700 winreg_SetValue_impl(PyObject *module, HKEY key, const Py_UNICODE *sub_key, DWORD type, PyObject *value_obj) winreg_SetValue_impl() argument
[all...]
/third_party/node/deps/brotli/c/dec/
H A 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/
H A 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()

Completed in 5 milliseconds