Home
last modified time | relevance | path

Searched refs:keys (Results 151 - 175 of 3056) sorted by relevance

12345678910>>...123

/third_party/node/test/parallel/
H A Dtest-querystring-maxKeys-non-finite.js53 assert.strictEqual(Object.keys(resultInfinity).length, count);
54 assert.strictEqual(Object.keys(resultNaN).length, count);
57 assert.strictEqual(Object.keys(resultInfinityString).length, originalMaxLength);
58 assert.strictEqual(Object.keys(resultNaNString).length, originalMaxLength);
/third_party/mesa3d/src/util/tests/hash_table/
H A Dinsert_many.c54 uint32_t keys[SIZE]; in main() local
63 keys[i] = i; in main()
65 _mesa_hash_table_insert(ht, keys + i, NULL); in main()
69 entry = _mesa_hash_table_search(ht, keys + i); in main()
H A Ddelete_management.c54 uint32_t keys[SIZE]; in main() local
63 keys[i] = i; in main()
65 _mesa_hash_table_insert(ht, keys + i, NULL); in main()
76 entry = _mesa_hash_table_search(ht, keys + i); in main()
/third_party/alsa-utils/alsamixer/
H A Dconfigparser.c316 int keys[3] = { -1, -1, -1 }; in cfg_bind() local
344 keys[0] = curskey_parse(argv[0]); in cfg_bind()
345 if (keys[0] < 0 || keys[0] >= (int)ARRAY_SIZE(mixer_bindings)) { in cfg_bind()
351 if (keys[0] == KEY_ENTER || keys[0] == '\n' || keys[0] == '\r') { in cfg_bind()
352 keys[0] = KEY_ENTER; in cfg_bind()
353 keys[1] = '\n'; in cfg_bind()
354 keys[ in cfg_bind()
[all...]
/third_party/python/Lib/test/
H A Dtest_dbm_dumb.py39 self.assertEqual(list(f.keys()), [])
102 keys = self.keys_helper(f)
156 keys = self.keys_helper(f)
166 keys = sorted(f.keys())
167 dkeys = sorted(self._dict.keys())
168 self.assertEqual(keys, dkeys)
169 return keys
200 self.assertEqual(list(db.keys()), [b"dumbdbm context manager"])
203 db.keys()
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/intersil/orinoco/
H A Dwext.c28 /* Helper routine to record keys
34 kfree_sensitive(priv->keys[index].key); in orinoco_set_key()
35 kfree_sensitive(priv->keys[index].seq); in orinoco_set_key()
38 priv->keys[index].key = kzalloc(key_len, GFP_ATOMIC); in orinoco_set_key()
39 if (!priv->keys[index].key) in orinoco_set_key()
42 priv->keys[index].key = NULL; in orinoco_set_key()
45 priv->keys[index].seq = kzalloc(seq_len, GFP_ATOMIC); in orinoco_set_key()
46 if (!priv->keys[index].seq) in orinoco_set_key()
49 priv->keys[index].seq = NULL; in orinoco_set_key()
51 priv->keys[inde in orinoco_set_key()
[all...]
/third_party/node/lib/
H A D_http_outgoing.js225 const keys = ObjectKeys(val);
228 for (let i = 0; i < keys.length; ++i) {
229 const name = keys[i];
252 const keys = ObjectKeys(headers);
255 for (let i = 0; i < keys.length; ++i) {
256 const key = keys[i];
269 const keys = ObjectKeys(val);
272 for (let i = 0; i < keys.length; ++i) {
273 const header = headers[keys[i]];
275 header[0] = val[keys[
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
H A Dflow_dissector_load.h17 struct bpf_map *prog_array, *keys; in bpf_flow_load() local
49 keys = bpf_object__find_map_by_name(*obj, keys_map_name); in bpf_flow_load()
50 if (!keys) in bpf_flow_load()
53 *keys_fd = bpf_map__fd(keys); in bpf_flow_load()
/kernel/linux/linux-5.10/tools/perf/scripts/python/
H A Dcheck-perf-trace.py73 keys = unhandled.keys()
74 if not keys:
83 for event_name in keys:
/kernel/linux/linux-6.6/tools/perf/scripts/python/
H A Dcheck-perf-trace.py73 keys = unhandled.keys()
74 if not keys:
83 for event_name in keys:
/third_party/openGLES/extensions/
H A Dprintreg.py18 if (key in ext.keys()):
22 if (key in ext.keys()):
29 if (key in ext.keys()):
41 # print('keys in registry =', len(reg.keys()))
46 for key in sorted(reg.keys(), key = striplibs):
/third_party/skia/third_party/externals/opengl-registry/extensions/
H A Dprintreg.py30 if (key in ext.keys()):
34 if (key in ext.keys()):
41 if (key in ext.keys()):
53 # print('keys in registry =', len(reg.keys()))
58 for key in sorted(reg.keys(), key = striplibs):
/third_party/skia/infra/bots/buildstats/
H A Dbuildstats_wasm.py48 keys = keystr.split(' ')
49 for i in range(0, len(keys), 2):
50 results['key'][keys[i]] = keys[i+1]
H A Dbuildstats_web.py33 keys = keystr.split(' ')
34 for i in range(0, len(keys), 2):
35 results['key'][keys[i]] = keys[i+1]
/kernel/linux/linux-6.6/drivers/input/keyboard/
H A Domap4-keypad.c84 u64 keys; member
114 u64 keys, bool down) in omap4_keypad_report_keys()
122 bitmap_from_u64(mask, keys); in omap4_keypad_report_keys()
141 static void omap4_keypad_scan_keys(struct omap4_keypad *keypad_data, u64 keys) in omap4_keypad_scan_keys() argument
147 changed = keys ^ keypad_data->keys; in omap4_keypad_scan_keys()
153 omap4_keypad_report_keys(keypad_data, changed & ~keys, false); in omap4_keypad_scan_keys()
156 omap4_keypad_report_keys(keypad_data, changed & keys, true); in omap4_keypad_scan_keys()
158 keypad_data->keys = keys; in omap4_keypad_scan_keys()
113 omap4_keypad_report_keys(struct omap4_keypad *keypad_data, u64 keys, bool down) omap4_keypad_report_keys() argument
180 u64 keys; omap4_keypad_irq_thread_fn() local
[all...]
/kernel/linux/linux-5.10/fs/ext4/
H A Dfsmap.c59 struct ext4_fsmap *keys,
256 static int ext4_getfsmap_logdev(struct super_block *sb, struct ext4_fsmap *keys, in ext4_getfsmap_logdev() argument
262 /* Set up search keys */ in ext4_getfsmap_logdev()
263 info->gfi_low = keys[0]; in ext4_getfsmap_logdev()
278 if (keys[0].fmr_physical > 0) in ext4_getfsmap_logdev()
467 struct ext4_fsmap *keys, in ext4_getfsmap_datadev()
483 if (keys[0].fmr_physical >= eofs) in ext4_getfsmap_datadev()
485 else if (keys[0].fmr_physical < bofs) in ext4_getfsmap_datadev()
486 keys[0].fmr_physical = bofs; in ext4_getfsmap_datadev()
487 if (keys[ in ext4_getfsmap_datadev()
466 ext4_getfsmap_datadev(struct super_block *sb, struct ext4_fsmap *keys, struct ext4_getfsmap_info *info) ext4_getfsmap_datadev() argument
[all...]
/kernel/linux/linux-6.6/fs/ext4/
H A Dfsmap.c59 struct ext4_fsmap *keys,
256 static int ext4_getfsmap_logdev(struct super_block *sb, struct ext4_fsmap *keys, in ext4_getfsmap_logdev() argument
262 /* Set up search keys */ in ext4_getfsmap_logdev()
263 info->gfi_low = keys[0]; in ext4_getfsmap_logdev()
278 if (keys[0].fmr_physical > 0) in ext4_getfsmap_logdev()
467 struct ext4_fsmap *keys, in ext4_getfsmap_datadev()
483 if (keys[0].fmr_physical >= eofs) in ext4_getfsmap_datadev()
485 else if (keys[0].fmr_physical < bofs) in ext4_getfsmap_datadev()
486 keys[0].fmr_physical = bofs; in ext4_getfsmap_datadev()
487 if (keys[ in ext4_getfsmap_datadev()
466 ext4_getfsmap_datadev(struct super_block *sb, struct ext4_fsmap *keys, struct ext4_getfsmap_info *info) ext4_getfsmap_datadev() argument
[all...]
/test/xts/acts/kernel_lite/process_posix/src/
H A DPthreadBasicApiTest.cpp199 pthread_key_t keys[PTHREAD_KEYS_MAX]; in HWTEST_F() local
201 re = pthread_key_create(&keys[i], nullptr); in HWTEST_F()
219 re = pthread_key_delete(keys[i]); in HWTEST_F()
238 pthread_key_t keys; in HWTEST_F() local
241 EXPECT_EQ(pthread_key_create(&keys, nullptr), 0) << "> return errno"; in HWTEST_F()
243 void *reVoidP = pthread_getspecific(keys); in HWTEST_F()
246 EXPECT_EQ(pthread_setspecific(keys, testVoidP), 0) << "> return errno"; in HWTEST_F()
248 reVoidP = pthread_getspecific(keys); in HWTEST_F()
251 EXPECT_EQ(pthread_key_delete(keys), 0) << "> return errno"; in HWTEST_F()
253 reVoidP = pthread_getspecific(keys); in HWTEST_F()
304 pthread_key_t keys; ThreadPthreadSpecificAllDelete() local
[all...]
/kernel/linux/linux-5.10/drivers/input/
H A Dmatrix-keymap.c76 u32 *keys; in matrix_keypad_parse_keymap() local
97 keys = kmalloc_array(size, sizeof(u32), GFP_KERNEL); in matrix_keypad_parse_keymap()
98 if (!keys) in matrix_keypad_parse_keymap()
101 retval = device_property_read_u32_array(dev, propname, keys, size); in matrix_keypad_parse_keymap()
110 row_shift, keys[i])) { in matrix_keypad_parse_keymap()
119 kfree(keys); in matrix_keypad_parse_keymap()
/kernel/linux/linux-6.6/drivers/input/
H A Dmatrix-keymap.c76 u32 *keys; in matrix_keypad_parse_keymap() local
97 keys = kmalloc_array(size, sizeof(u32), GFP_KERNEL); in matrix_keypad_parse_keymap()
98 if (!keys) in matrix_keypad_parse_keymap()
101 retval = device_property_read_u32_array(dev, propname, keys, size); in matrix_keypad_parse_keymap()
110 row_shift, keys[i])) { in matrix_keypad_parse_keymap()
119 kfree(keys); in matrix_keypad_parse_keymap()
/third_party/mesa3d/.gitlab-ci/tests/utils/
H A Dtest_lava_log.py50 ids=GITLAB_SECTION_SCENARIOS.keys(),
158 ids=SENSITIVE_DATA_SCENARIOS.keys(),
204 ids=COLOR_MANGLED_SCENARIOS.keys(),
240 ids=GITLAB_SECTION_MANGLED_SCENARIOS.keys(),
257 ids=WATCHDOG_SCENARIOS.keys(),
344 ids=A618_NETWORK_ISSUE_SCENARIOS.keys(),
/third_party/vk-gl-cts/framework/delibs/depool/
H A DdePoolHashArray.h56 * deBool HashArray_copyToArray (Hash* hashArray, KeyArray* keys, ValueArray* values);
72 deBool TYPENAME##_copyToArray (const TYPENAME* hashArray, DE_PTR_TYPE(KEYARRAYTYPE) keys, DE_PTR_TYPE(VALUEARRAYTYPE) values); \
116 * \param CMPFUNC Function used for exact matching of the keys.
150 deBool TYPENAME##_copyToArray (const TYPENAME* hashArray, DE_PTR_TYPE(KEYARRAYTYPE) keys, DE_PTR_TYPE(VALUEARRAYTYPE) values) \
156 if ((keys && !KEYARRAYTYPE##_setSize(keys, numElements)) || \
163 if (keys) KEYARRAYTYPE##_set(keys, ndx, key); \
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/orinoco/
H A Dwext.c28 /* Helper routine to record keys
34 kfree_sensitive(priv->keys[index].key); in orinoco_set_key()
35 kfree_sensitive(priv->keys[index].seq); in orinoco_set_key()
38 priv->keys[index].key = kzalloc(key_len, GFP_ATOMIC); in orinoco_set_key()
39 if (!priv->keys[index].key) in orinoco_set_key()
42 priv->keys[index].key = NULL; in orinoco_set_key()
45 priv->keys[index].seq = kzalloc(seq_len, GFP_ATOMIC); in orinoco_set_key()
46 if (!priv->keys[index].seq) in orinoco_set_key()
49 priv->keys[index].seq = NULL; in orinoco_set_key()
51 priv->keys[inde in orinoco_set_key()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/map_tests/
H A Dmap_percpu_stats.c62 static void delete_and_lookup_batch(int map_fd, void *keys, __u32 count) in delete_and_lookup_batch() argument
71 keys, values, &count, in delete_and_lookup_batch()
92 void *keys; in delete_all_elements() local
96 keys = calloc(MAX_MAP_KEY_SIZE, MAX_ENTRIES); in delete_all_elements()
97 CHECK(!keys, "calloc", "error: %s\n", strerror(errno)); in delete_all_elements()
100 memcpy(keys + n*MAX_MAP_KEY_SIZE, &key, MAX_MAP_KEY_SIZE); in delete_all_elements()
104 * they have different semantics in relation to the keys in delete_all_elements()
107 delete_and_lookup_batch(map_fd, keys, n); in delete_all_elements()
111 void *keyp = keys + i*MAX_MAP_KEY_SIZE; in delete_all_elements()
125 free(keys); in delete_all_elements()
[all...]
/test/testfwk/developer_test/src/core/config/
H A Dresource_manager.py107 if "type" in item.keys():
115 if "name" in item.keys():
131 if "nodeattrib" in data_dic.keys():
165 if "name" not in item.keys():
197 if "name" not in item.keys():
222 if "environment" in data_dic.keys():
229 if "preparer" in data_dic.keys():
236 if "preparer" in data_dic.keys():
243 if "cleaner" in data_dic.keys():

Completed in 16 milliseconds

12345678910>>...123