/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/ |
H A D | MSVSVersion.py | 470 keys = [ 476 for index in range(len(keys)): 477 path = _RegistryGetValue(keys[index], "InstallDir") 501 keys = [ 507 for index in range(len(keys)): 508 path = _RegistryGetValue(keys[index], version)
|
/third_party/node/deps/npm/node_modules/ini/lib/ |
H A D | ini.js | 21 const keys = opt.sort ? Object.keys(obj).sort() : Object.keys(obj) 25 // 1. Get the keys 26 // 2. Exclude keys pointing to objects unless the value is null or an array 27 // 3. Add `[]` to array keys 28 // 4. Ensure non empty set of keys 34 keys 46 for (const k of keys) { 153 // Convert keys wit [all...] |
/third_party/skia/third_party/externals/icu/source/common/unicode/ |
H A D | locid.h | 326 * Checks if two locale keys are the same. 329 * @return True if the two locale keys are the same, false otherwise. 335 * Checks if two locale keys are not the same. 338 * @return True if the two locale keys are not the same, false 1214 LocalPointer<StringEnumeration> keys(createKeywords(status)); in getKeywords() 1215 if (U_FAILURE(status) || keys.isNull()) { in getKeywords() 1220 const char* buffer = keys->next(&resultLength, status); in getKeywords() 1231 LocalPointer<StringEnumeration> keys(createUnicodeKeywords(status)); in getUnicodeKeywords() 1232 if (U_FAILURE(status) || keys.isNull()) { in getUnicodeKeywords() 1237 const char* buffer = keys in getUnicodeKeywords() [all...] |
/third_party/skia/experimental/graphite/src/ |
H A D | DrawPass.cpp | 161 // its size should be done with care and good reason. The performance of sorting the keys is in Make() 180 std::vector<SortKey> keys; in Make() local 181 keys.reserve(draws->renderStepCount()); // will not exceed but may use less with occluded draws in Make() 221 keys.push_back({&draw, stepIndex, pipelineIndex, geometryIndex, shadingIndex}); in Make() 236 std::sort(keys.begin(), keys.end()); in Make() 247 for (const SortKey& key : keys) { in Make()
|
/third_party/node/deps/undici/src/lib/mock/ |
H A D | pluralizer.js | 25 const keys = one ? singulars : plurals 27 return { ...keys, count, noun }
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/ |
H A D | distributeddb_storage_transaction_data_test.cpp | 686 std::vector<Key> keys; in HWTEST_F() local 687 keys.push_back(KEY_1); in HWTEST_F() 688 keys.push_back(KEY_2); in HWTEST_F() 699 EXPECT_EQ(g_naturalStoreConnection->DeleteBatch(option, keys), E_OK); in HWTEST_F() 722 std::vector<Key> keys; in HWTEST_F() local 723 keys.push_back(KEY_1); in HWTEST_F() 724 keys.push_back(KEY_2); in HWTEST_F() 726 keys.push_back(k3); in HWTEST_F() 737 EXPECT_EQ(g_naturalStoreConnection->DeleteBatch(option, keys), E_OK); in HWTEST_F() 760 std::vector<Key> keys; in HWTEST_F() local 816 std::vector<Key> keys; HWTEST_F() local [all...] |
/foundation/deviceprofile/device_info_manager/services/core/src/persistenceadapter/kvadapter/ |
H A D | kv_adapter.cpp | 262 std::vector<DistributedKv::Key> keys; in DeleteByPrefix() local 264 keys.push_back(item.key); in DeleteByPrefix() 266 status = kvStorePtr_->DeleteBatch(keys); in DeleteByPrefix() 366 int32_t KVAdapter::DeleteBatch(const std::vector<std::string>& keys) in DeleteBatch() argument 368 if (keys.empty() || keys.size() > MAX_PROFILE_SIZE) { in DeleteBatch() 369 HILOGE("keys size(%{public}zu) is invalid!", keys.size()); in DeleteBatch() 373 uint32_t keysSize = static_cast<uint32_t>(keys.size()); in DeleteBatch() 377 auto batch = std::vector<std::string>(keys in DeleteBatch() [all...] |
/third_party/node/lib/internal/console/ |
H A D | constructor.js | 538 const keys = []; 543 ArrayPrototypePush(keys, _inspect(tabularData[i * 2])); 549 ArrayPrototypePush(keys, _inspect(k)); 558 keys, 591 const keys = properties || ObjectKeys(item); 592 for (const key of keys) { 603 const keys = ObjectKeys(map); 606 ArrayPrototypePush(keys, valuesKey); 609 ArrayPrototypeUnshift(keys, indexKey); 612 return final(keys, value [all...] |
/third_party/node/src/ |
H A D | node_env_var.cc | 219 Local<Array> keys = Enumerate(isolate); in Clone() local 220 uint32_t keys_length = keys->Length(); in Clone() 222 Local<Value> key = keys->Get(context, i).ToLocalChecked(); in Clone() 297 Local<Array> keys; in AssignFromObject() local 298 if (!entries->GetOwnPropertyNames(context).ToLocal(&keys)) in AssignFromObject() 300 uint32_t keys_length = keys->Length(); in AssignFromObject() 303 if (!keys->Get(context, i).ToLocal(&key)) in AssignFromObject() 325 Local<Array> keys = Enumerate(isolate); in AssignToObject() local 326 uint32_t keys_length = keys->Length(); in AssignToObject() 330 bool ok = keys in AssignToObject() [all...] |
/foundation/arkui/ace_engine_lite/frameworks/src/core/router/ |
H A D | js_page_state_machine.cpp | 315 jerry_value_t keys = jerry_get_object_keys(params); in EvalPage() local 316 uint16_t size = jerry_get_array_length(keys); in EvalPage() 318 jerry_value_t key = jerry_get_property_by_index(keys, idx); in EvalPage() 323 ReleaseJerryValue(keys, params, VA_ARG_END_FLAG); in EvalPage() 490 jerry_value_t keys = jerry_get_object_keys(viewModel_); in DeleteViewModelProperties() local 491 uint32_t size = jerry_get_array_length(keys); in DeleteViewModelProperties() 493 jerry_value_t key = jerry_get_property_by_index(keys, index); in DeleteViewModelProperties() 497 jerry_release_value(keys); in DeleteViewModelProperties()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/multiver/ |
H A D | multi_ver_natural_store_connection.cpp | 217 int MultiVerNaturalStoreConnection::DeleteBatch(const IOption &option, const std::vector<Key> &keys) in DeleteBatch() argument 219 if (keys.empty() || keys.size() > DBConstant::MAX_BATCH_SIZE) { in DeleteBatch() 220 LOGE("[MultiVer]DeleteBatch size[%zu]!", keys.size()); in DeleteBatch() 223 if (!CheckDeletedKeys(keys)) { in DeleteBatch() 237 for (const auto &item : keys) { in DeleteBatch() 493 bool MultiVerNaturalStoreConnection::CheckDeletedKeys(const std::vector<Key> &keys) in CheckDeletedKeys() argument 495 for (const auto &item : keys) { in CheckDeletedKeys()
|
/third_party/icu/tools/unicodetools/com/ibm/rbm/gui/ |
H A D | BundleItemCreationDialog.java | 210 Enumeration keys = lookups.keys(); in initComponents() 211 while (keys.hasMoreElements()) { in initComponents() 212 String name = (String)keys.nextElement(); in initComponents() 238 keys = lookups.keys(); in initComponents() 239 while (keys.hasMoreElements()) { in initComponents() 240 String name = (String)keys.nextElement(); in initComponents()
|
/third_party/node/test/fixtures/wpt/WebCryptoAPI/derive_bits_keys/ |
H A D | pbkdf2.js | 12 // What kinds of keys can be created with deriveKey? The following: 17 // We get several kinds of base keys. Normal ones that can be used for 29 Object.keys(derivations).forEach(function(passwordSize) { 30 Object.keys(derivations[passwordSize]).forEach(function(saltSize) { 31 Object.keys(derivations[passwordSize][saltSize]).forEach(function(hashName) { 32 Object.keys(derivations[passwordSize][saltSize][hashName]).forEach(function(iterations) { 49 Object.keys(derivedKeyType.algorithm).forEach(function(prop) { 181 Object.keys(derivedKeyType.algorithm).forEach(function(prop) { 213 Object.keys(derivedKeyType.algorithm).forEach(function(prop) { 234 // Deriving bits and keys require [all...] |
/third_party/node/deps/undici/src/lib/core/ |
H A D | request.js | 189 const keys = Object.keys(headers) 190 for (let i = 0; i < keys.length; i++) { 191 const key = keys[i] 373 const keys = Object.keys(headers) 374 for (let i = 0; i < keys.length; i++) { 375 const key = keys[i]
|
/foundation/arkui/ace_engine/frameworks/core/common/ |
H A D | event_manager.cpp | 1583 uint8_t EventManager::GetKeyboardShortcutKeys(const std::vector<ModifierKey>& keys) in GetKeyboardShortcutKeys() argument 1589 if (keys.size() > KEYS_MAX_VALUE) { in GetKeyboardShortcutKeys() 1592 for (const auto& key : keys) { in GetKeyboardShortcutKeys() 1654 bool EventManager::IsSameKeyboardShortcutNode(const std::string& value, uint8_t keys) in IsSameKeyboardShortcutNode() argument 1667 if (keyboardShortcut.value.find(value) != std::string::npos && keyboardShortcut.keys == keys) { in IsSameKeyboardShortcutNode() 1676 uint8_t keys, std::vector<std::vector<KeyCode>>& keyCodes, std::vector<uint8_t>& permutation) in AddKeyboardShortcutSingleKey() 1681 if (keys & CtrlKeysBit::CTRL) { in AddKeyboardShortcutSingleKey() 1686 if (keys & CtrlKeysBit::SHIFT) { in AddKeyboardShortcutSingleKey() 1691 if (keys in AddKeyboardShortcutSingleKey() 1675 AddKeyboardShortcutSingleKey( uint8_t keys, std::vector<std::vector<KeyCode>>& keyCodes, std::vector<uint8_t>& permutation) AddKeyboardShortcutSingleKey() argument 1700 AddKeyboardShortcutDoubleKeysWithCtrlShift( uint8_t keys, std::vector<std::vector<KeyCode>>& keyCodes, std::vector<uint8_t>& permutation) AddKeyboardShortcutDoubleKeysWithCtrlShift() argument 1727 AddKeyboardShortcutDoubleKeysWithCtrlAlt( uint8_t keys, std::vector<std::vector<KeyCode>>& keyCodes, std::vector<uint8_t>& permutation) AddKeyboardShortcutDoubleKeysWithCtrlAlt() argument 1754 AddKeyboardShortcutDoubleKeysWithShiftAlt( uint8_t keys, std::vector<std::vector<KeyCode>>& keyCodes, std::vector<uint8_t>& permutation) AddKeyboardShortcutDoubleKeysWithShiftAlt() argument 1781 AddKeyboardShortcutDoubleKeys( uint8_t keys, std::vector<std::vector<KeyCode>>& keyCodes, std::vector<uint8_t>& permutation) AddKeyboardShortcutDoubleKeys() argument 1795 AddKeyboardShortcutTripleKeys( uint8_t keys, std::vector<std::vector<KeyCode>>& keyCodes, std::vector<uint8_t>& permutation) AddKeyboardShortcutTripleKeys() argument 1848 AddKeyboardShortcutKeys( uint8_t keys, std::vector<std::vector<KeyCode>>& keyCodes, std::vector<uint8_t>& permutation) AddKeyboardShortcutKeys() argument [all...] |
/foundation/communication/dsoftbus/core/adapter/kv_store/include/ |
H A D | lnn_kv_data_change_listener.h | 30 void OnChange(const DistributedKv::DataOrigin &origin, Keys &&keys) override; 33 std::vector<DistributedKv::Entry> ConvertCloudChangeDataToEntries(const std::vector<std::string> &keys);
|
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/src/ |
H A D | kvstore_observer_client.cpp | 43 void KvStoreObserverClient::OnChange(const DataOrigin &origin, IKvStoreObserver::Keys &&keys) in OnChange() argument 47 kvStoreObserver_->OnChange(origin, std::move(keys)); in OnChange()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/ |
H A D | query_utils.h | 30 static void FillStringQueryKeys(std::set<Key> &keys, const std::vector<Type> &pkList); 32 static void FillByteQueryKeys(std::set<Key> &keys, const std::vector<Type> &pkList);
|
/third_party/jerryscript/tests/jerry/ |
H A D | regression-test-issue-2105.js | 52 assert(Object.keys(a) == "one,two"); 54 assert(Object.keys(this) == "assert,gc,print,resourceName,a,fail,fail_two");
|
/third_party/node/test/parallel/ |
H A D | test-binding-constants.js | 10 Object.keys(constants).sort(), ['crypto', 'fs', 'os', 'trace', 'zlib'] 14 Object.keys(constants.os).sort(), ['UV_UDP_REUSEADDR', 'dlopen', 'errno',
|
H A D | test-vm-inherited_properties.js | 31 assert.deepStrictEqual(Object.keys(sandbox), ['z']); 38 assert.deepStrictEqual(Object.keys(sandbox), ['z', 'x']);
|
/third_party/node/benchmark/http/ |
H A D | headers.js | 20 const Is = [ ...Array(Math.max(n / len, 1)).keys() ]; 21 const Js = [ ...Array(len).keys() ];
|
/third_party/node/benchmark/url/ |
H A D | url-resolve.js | 16 href: Object.keys(hrefs), 17 path: Object.keys(paths),
|
/third_party/node/deps/npm/node_modules/jsonparse/test/ |
H A D | primitives.js | 37 var keys = this.stack 43 [ keys, value ],
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_key_create/speculative/ |
H A D | 5-1.c | 18 * total number of keys per process [PTHREAD_KEYS_MAX] has been 26 * 1. Define an array of keys 27 * 2. Use pthread_key_create() and create those keys 28 * 3. Verify that you can set and get specific values for those keys without 41 static pthread_key_t keys[PTHREAD_KEYS_MAX + 1]; variable 48 rc = pthread_key_create(&keys[i], NULL); in main()
|