Home
last modified time | relevance | path

Searched refs:keys (Results 226 - 250 of 2294) sorted by relevance

12345678910>>...92

/kernel/linux/linux-6.6/tools/perf/scripts/python/
H A Dfailed-syscalls-by-pid.py69 comm_keys = syscalls.keys()
71 pid_keys = syscalls[comm].keys()
74 id_keys = syscalls[comm][pid].keys()
77 ret_keys = syscalls[comm][pid][id].keys()
/third_party/node/test/parallel/
H A Dtest-https-agent-additional-options.js52 const keys = Object.keys(https.globalAgent.freeSockets);
55 keys.some((val) => val.startsWith(value.toString() + ':') ||
58 `missing value: ${value.toString()} in ${keys}`
H A Dtest-querystring-multichar-separator.js8 assert.deepStrictEqual(Object.keys(actual).sort(),
9 Object.keys(expected).sort());
10 Object.keys(expected).forEach(function(key) {
/third_party/mesa3d/src/panfrost/shared/
H A Dpan_minmax_cache.c35 * ratio and cache search speed). Note that keys are adjacent so we get cache
54 if (cache->keys[i] == ht_key) { in panfrost_minmax_cache_get()
85 cache->keys[index] = ht_key; in panfrost_minmax_cache_add()
107 uint64_t key = cache->keys[i]; in panfrost_minmax_cache_invalidate()
115 cache->keys[valid_count] = key; in panfrost_minmax_cache_invalidate()
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/Retired/
H A DinsertTags.py27 logDiag(specFile + ': found', len(pageMap.keys()), 'potential pages')
38 for name in pageMap.keys():
45 for name in pageMap.keys():
48 if (not name in refDesc.keys()):
/third_party/python/Lib/tkinter/
H A Dscrolledtext.py33 text_meths = vars(Text).keys()
34 methods = vars(Pack).keys() | vars(Grid).keys() | vars(Place).keys()
/third_party/skia/infra/bots/buildstats/
H A Dbuildstats_cpp.py36 keys = keystr.split(' ')
37 for i in range(0, len(keys), 2):
38 results['key'][keys[i]] = keys[i+1]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/common/distributeddb/src/
H A Ddistributed_test_tools.cpp697 DBStatus DistributedTestTools::DeleteBatch(KvStoreDelegate &kvStoreDelegate, const vector<Key> &keys) argument
699 if (keys.size() > BATCH_RECORDS) {
703 for (const auto &iter : keys) {
706 if (cnt % BATCH_RECORDS == 0 || cnt == static_cast<int>(keys.size())) {
716 return kvStoreDelegate.DeleteBatch(keys);
870 vector<Entry> data1, vector<Key> keys, DistributedTestSysInfo &si)
873 MST_LOG("[gen data]:%zu, %zu.", data1.size(), keys.size());
903 MST_LOG("[time calculator]put first [%d]keys,\tvalue[%dB-length],\tcost[%fus],\tper[%fus].",
922 MST_LOG("[time calculator]get first [%d]keys,\tvalue[%dB-length],\tcost[%fus],\tper[%fus].",
941 MST_LOG("[time calculator]put second [%d]keys,\tvalu
869 CheckBeforeOpenDB(bool getSysInfo, steady_clock::time_point &tick, vector<Entry> data1, vector<Key> keys, DistributedTestSysInfo &si) global() argument
999 vector<Key> keys = GetKeysFromEntries(data1, false); global() local
1040 vector<Key> keys = GetKeysFromEntries(data1, false); global() local
1092 vector<Key> keys = GetKeysFromEntries(data1, false); global() local
1147 vector<Key> keys = GetKeysFromEntries(data1, false); global() local
1199 vector<Key> keys = GetKeysFromEntries(data1, false); global() local
1249 vector<Key> keys = GetKeysFromEntries(data1, false); global() local
1552 TransactionBeforOpenDB(bool getSysInfo, steady_clock::time_point &tick, vector<Entry> &data1, vector<Key> &keys, DistributedTestSysInfo &si) global() argument
1705 BeginTransaction3(KvStoreDelegate *store1, vector<Key> &keys) global() argument
1716 CheckSnapShot1(KvStoreSnapshotDelegate *snapShot, KvStoreDelegate *store1, vector<Key> &keys) global() argument
1729 CheckSnapShot2(KvStoreSnapshotDelegate *snapShot, KvStoreDelegate *store1, vector<Key> &keys) global() argument
1768 vector<Key> keys = GetKeysFromEntries(data1, false); global() local
[all...]
H A Ddistributeddb_schema_test_tools.cpp157 vector<Key> keys; in GenerateCombineSchemaEntries() local
163 keys.push_back(key); in GenerateCombineSchemaEntries()
169 entry.key = keys[index]; in GenerateCombineSchemaEntries()
229 bool DistributedDBSchemaTestTools::PreInsertRecords(KvStoreNbDelegate *&delegate, vector<Key> &keys, in PreInsertRecords() argument
234 keys.push_back({'k', static_cast<uint8_t>(index + 49 + beginNumber)}); // 49 is the ASCII number of 'a' in PreInsertRecords()
238 result = (DistributedDBNbTestTools::Put(*delegate, keys[index], value) == OK); in PreInsertRecords()
294 const std::vector<DistributedDB::Key> &keys, const std::vector<std::string> &schemasValue) in TransformToSchemaEntry()
296 if (keys.size() != schemasValue.size()) { in TransformToSchemaEntry()
297 MST_LOG("The number of keys is not equal to the value strings' number!"); in TransformToSchemaEntry()
302 entries.push_back({keys[inde in TransformToSchemaEntry()
293 TransformToSchemaEntry(std::vector<DistributedDB::Entry> &entries, const std::vector<DistributedDB::Key> &keys, const std::vector<std::string> &schemasValue) TransformToSchemaEntry() argument
312 vector<Key> keys; GenerateSpecificSchemaEntries() local
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
H A DTrieMapTest.java420 ArrayList<String> keys = new ArrayList<String>(keySet); in TestTimeGet()
422 long comparisonTime = timeGet(keys, unicodeTestMap, 0, null, 0); in TestTimeGet()
423 timeGet(keys, unicodeTestMap, comparisonTime, null, 0); in TestTimeGet()
424 timeGet(keys, unicodeTestMap, comparisonTime, Style.BYTES, 3); in TestTimeGet()
425 timeGet(keys, unicodeTestMap, comparisonTime, Style.CHARS, 3); in TestTimeGet()
429 public long timeGet(ArrayList<String> keys, Map<String, Integer> testmap, long comparisonTime, Style style, int ratioToMap) { in timeGet() argument
440 for (String key : keys) { in timeGet()
445 }, keys, map); in timeGet()
447 logln("\tget() time\tTREEMAP\tn/a\t" + t.toString(keys.size()) + "\t\titerations=" + t.getIterations()); in timeGet()
449 logln("\tget() time\tHASHMAP\tn/a\t" + t.toString(keys in timeGet()
481 ArrayList<String> keys; global() field in TrieMapTest.MyLoop
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
H A DTrieMapTest.java417 ArrayList<String> keys = new ArrayList<String>(keySet); in TestTimeGet()
419 long comparisonTime = timeGet(keys, unicodeTestMap, 0, null, 0); in TestTimeGet()
420 timeGet(keys, unicodeTestMap, comparisonTime, null, 0); in TestTimeGet()
421 timeGet(keys, unicodeTestMap, comparisonTime, Style.BYTES, 3); in TestTimeGet()
422 timeGet(keys, unicodeTestMap, comparisonTime, Style.CHARS, 3); in TestTimeGet()
426 public long timeGet(ArrayList<String> keys, Map<String, Integer> testmap, long comparisonTime, Style style, int ratioToMap) { in timeGet() argument
437 for (String key : keys) { in timeGet()
442 }, keys, map); in timeGet()
444 logln("\tget() time\tTREEMAP\tn/a\t" + t.toString(keys.size()) + "\t\titerations=" + t.getIterations()); in timeGet()
446 logln("\tget() time\tHASHMAP\tn/a\t" + t.toString(keys in timeGet()
478 ArrayList<String> keys; global() field in TrieMapTest.MyLoop
[all...]
/third_party/openssl/test/
H A Dendecoder_legacy_test.c190 * key types, and generate the keys themselves on program setup.
222 } keys[] = { variable
279 for (i = 0; i < OSSL_NELEM(keys); i++) { in lookup_key()
280 if (strcmp(keys[i].keytype, type) == 0) in lookup_key()
281 return &keys[i]; in lookup_key()
332 /* Now try decoding the results and compare the resulting keys */ in test_protected_PEM()
399 /* Now try decoding the results and compare the resulting keys */ in test_unprotected_PEM()
466 /* Now try decoding the results and compare the resulting keys */ in test_DER()
518 /* Set up the keys */ in test_key()
694 TEST_info("Generating keys in OPT_TEST_DECLARE_USAGE()
[all...]
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/unittest/common/dbadapter/src/
H A Ddb_adapter_test.cpp160 std::vector<std::string> keys; in HWTEST_F() local
165 keys.push_back(key); in HWTEST_F()
168 EXPECT_EQ(DH_FWK_SUCCESS, g_dbAdapterPtr->PutDataBatch(keys, values)); in HWTEST_F()
185 std::vector<std::string> keys { std::string(TEST_DEV_ID_2 + TEST_DH_ID_0) }; in HWTEST_F()
188 EXPECT_EQ(DH_FWK_SUCCESS, g_dbAdapterPtr->PutDataBatch(keys, values)); in HWTEST_F()
189 g_dbAdapterPtr->RemoveDataByKey(keys[0]); in HWTEST_F()
203 std::vector<std::string> keys { std::string(TEST_DEV_ID_2 + TEST_DH_ID_0) }; in HWTEST_F()
206 EXPECT_EQ(ERR_DH_FWK_PARA_INVALID, g_dbAdapterPtr->PutDataBatch(keys, valuesEmpty)); in HWTEST_F()
254 std::vector<std::string> keys { std::string(TEST_DEV_ID_2 + TEST_DH_ID_0) }; in HWTEST_F()
257 EXPECT_EQ(ERR_DH_FWK_PARA_INVALID, g_dbAdapterPtr->PutDataBatch(keys, value in HWTEST_F()
[all...]
/third_party/libinput/test/
H A Dtest-keyboard.c174 } keys[] = { in START_TEST() local
183 int events[2 * (ARRAY_LENGTH(keys) + 1)]; in START_TEST()
188 /* Enable all tested keys on the device */ in START_TEST()
190 while (i < 2 * ARRAY_LENGTH(keys)) { in START_TEST()
191 key = keys[i / 2].code; in START_TEST()
207 for (i = 0; i < ARRAY_LENGTH(keys); ++i) { in START_TEST()
208 key = keys[i].code; in START_TEST()
226 /* Mark all released keys until device is removed */ in START_TEST()
244 for (i = 0; i < ARRAY_LENGTH(keys); ++i) { in START_TEST()
245 if (keys[ in START_TEST()
[all...]
/third_party/node/deps/npm/node_modules/postcss-selector-parser/dist/selectors/
H A Dindex.js5 Object.keys(_types).forEach(function (key) {
11 Object.keys(_constructors).forEach(function (key) {
17 Object.keys(_guards).forEach(function (key) {
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_key_create/
H A D1-2.c30 static pthread_key_t keys[NUM_OF_THREADS]; variable
37 if (pthread_setspecific(keys[i], (void *)(KEY_VALUE)) != 0) { in a_thread_func()
52 if (pthread_key_create(&keys[i], NULL) != 0) { in main()
75 ("Test FAILED: Could not use a certain key value to set for many keys\n"); in main()
/third_party/python/Tools/freeze/
H A Dmakemakefile.py8 keys = sorted(makevars.keys())
9 for key in keys:
/foundation/multimedia/media_foundation/engine/pipeline/core/
H A Dcompatible_check.cpp367 resCap.keys.clear(); in MergeCapabilityKeys()
368 for (const auto& pairKey : originCap.keys) { in MergeCapabilityKeys()
369 auto oIte = otherCap.keys.find(pairKey.first); in MergeCapabilityKeys()
370 if (oIte == otherCap.keys.end()) { in MergeCapabilityKeys()
372 resCap.keys.insert(pairKey); in MergeCapabilityKeys()
383 resCap.keys[pairKey.first] = tmp; in MergeCapabilityKeys()
386 resCap.keys.clear(); in MergeCapabilityKeys()
393 for (const auto& pairKey : otherCap.keys) { in MergeCapabilityKeys()
394 if (resCap.keys.count(pairKey.first) == 0) { in MergeCapabilityKeys()
395 resCap.keys in MergeCapabilityKeys()
[all...]
/foundation/resourceschedule/ffrt/tools/ffrt_trace_process/
H A Dffrt_trace_recover.py152 if pid not in ffrt_pids.keys():
156 if tid not in ffrt_pids[pid].keys():
162 if prev_tid not in trace_map.keys():
165 if next_tid not in trace_map.keys():
172 if tid not in trace_map.keys():
180 if tid not in trace_map.keys():
225 for tid in tids.keys():
273 if gid not in task_labels[pid].keys():
376 if pid not in task_labels.keys():
378 if gid not in task_labels[pid].keys()
[all...]
/third_party/node/deps/v8/third_party/inspector_protocol/
H A Dcode_generator.py46 keys, values = list(zip(*items))
49 keys = tuple('async_' if k == 'async' else k for k in keys)
50 return collections.namedtuple('X', keys)(*values)
54 keys = list(config_tuple._fields) # pylint: disable=E1101
55 values = [getattr(config_tuple, k) for k in keys]
56 for i in range(len(keys)):
58 values[i] = init_defaults(values[i], path + "." + keys[i], defaults)
63 if optional_key.find(".") == -1 and optional_key not in keys:
64 keys
[all...]
/third_party/node/tools/inspector_protocol/
H A Dcode_generator.py43 keys, values = list(zip(*items))
46 keys = tuple('async_' if k == 'async' else k for k in keys)
47 return collections.namedtuple('X', keys)(*values)
51 keys = list(config_tuple._fields) # pylint: disable=E1101
52 values = [getattr(config_tuple, k) for k in keys]
53 for i in range(len(keys)):
55 values[i] = init_defaults(values[i], path + "." + keys[i], defaults)
60 if optional_key.find(".") == -1 and optional_key not in keys:
61 keys
[all...]
/kernel/linux/linux-5.10/drivers/input/keyboard/
H A Dsh_keysc.c88 DECLARE_BITMAP(keys, SH_KEYSC_MAXKEYS); in sh_keysc_isr()
100 bitmap_zero(keys, SH_KEYSC_MAXKEYS); in sh_keysc_isr()
116 __set_bit(n + k, keys); in sh_keysc_isr()
125 bitmap_complement(keys, keys, SH_KEYSC_MAXKEYS); in sh_keysc_isr()
126 bitmap_and(keys1, keys1, keys, SH_KEYSC_MAXKEYS); in sh_keysc_isr()
127 bitmap_or(keys0, keys0, keys, SH_KEYSC_MAXKEYS); in sh_keysc_isr()
129 sh_keysc_map_dbg(&pdev->dev, keys, "keys"); in sh_keysc_isr()
216 input->phys = "sh-keysc-keys/input in sh_keysc_probe()
[all...]
/kernel/linux/linux-6.6/drivers/input/keyboard/
H A Dsh_keysc.c88 DECLARE_BITMAP(keys, SH_KEYSC_MAXKEYS); in sh_keysc_isr()
100 bitmap_zero(keys, SH_KEYSC_MAXKEYS); in sh_keysc_isr()
116 __set_bit(n + k, keys); in sh_keysc_isr()
125 bitmap_complement(keys, keys, SH_KEYSC_MAXKEYS); in sh_keysc_isr()
126 bitmap_and(keys1, keys1, keys, SH_KEYSC_MAXKEYS); in sh_keysc_isr()
127 bitmap_or(keys0, keys0, keys, SH_KEYSC_MAXKEYS); in sh_keysc_isr()
129 sh_keysc_map_dbg(&pdev->dev, keys, "keys"); in sh_keysc_isr()
216 input->phys = "sh-keysc-keys/input in sh_keysc_probe()
[all...]
/third_party/ffmpeg/libavformat/
H A Dau.c74 static const char keys[][7] = { in au_read_annotation() local
118 for (i = 0; i < FF_ARRAY_ELEMS(keys); i++) { in au_read_annotation()
119 if (av_strcasecmp(keys[i], key) == 0) { in au_read_annotation()
120 av_dict_set(&(s->metadata), keys[i], value, AV_DICT_DONT_STRDUP_VAL); in au_read_annotation()
254 static const char keys[][7] = { in au_get_annotations() local
265 for (int i = 0; i < FF_ARRAY_ELEMS(keys); i++) { in au_get_annotations()
266 t = av_dict_get(m, keys[i], NULL, 0); in au_get_annotations()
270 av_bprintf(annotations, "%s=%s", keys[i], t->value); in au_get_annotations()
/third_party/json/tests/thirdparty/fifo_map/
H A Dfifo_map.hpp51 fifo_map_compare(std::unordered_map<Key, std::size_t>* k) : keys(k) {} in fifo_map_compare()
54 This function compares two keys with respect to the order in which they
55 were added to the container. For this, the mapping keys is used.
59 // look up timestamps for both keys in operator ()()
60 const auto timestamp_lhs = keys->find(lhs); in operator ()()
61 const auto timestamp_rhs = keys->find(rhs); in operator ()()
63 if (timestamp_lhs == keys->end()) in operator ()()
69 if (timestamp_rhs == keys->end()) in operator ()()
81 keys->insert({key, timestamp++}); in add_key()
86 keys in remove_key()
91 std::unordered_map<Key, std::size_t>* keys = nullptr; global() member in nlohmann::fifo_map_compare
[all...]

Completed in 14 milliseconds

12345678910>>...92