Home
last modified time | relevance | path

Searched refs:keys (Results 276 - 300 of 1719) sorted by relevance

1...<<11121314151617181920>>...69

/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/resourcemanager/
H A Dcapability_info_manager.cpp198 std::vector<std::string> keys; in AddCapability() local
214 keys.push_back(key); in AddCapability()
217 if (keys.empty() || values.empty()) { in AddCapability()
221 if (dbAdapterPtr_->PutDataBatch(keys, values) != DH_FWK_SUCCESS) { in AddCapability()
353 void CapabilityInfoManager::OnChange(const DistributedKv::DataOrigin &origin, Keys &&keys) in OnChange() argument
356 std::vector<DistributedKv::Entry> insertRecords = GetEntriesByKeys(keys[ChangeOp::OP_INSERT]); in OnChange()
361 std::vector<DistributedKv::Entry> updateRecords = GetEntriesByKeys(keys[ChangeOp::OP_UPDATE]); in OnChange()
366 std::vector<std::string> delKeys = keys[ChangeOp::OP_DELETE]; in OnChange()
653 std::vector<DistributedKv::Entry> CapabilityInfoManager::GetEntriesByKeys(const std::vector<std::string> &keys) in GetEntriesByKeys() argument
655 if (!IsArrayLengthValid(keys)) { in GetEntriesByKeys()
[all...]
/third_party/node/lib/internal/
H A Dutil.js578 function defineLazyProperties(target, id, keys, enumerable = true) {
581 for (let i = 0; i < keys.length; i++) {
582 const key = keys[i];
618 function defineReplaceableLazyAttribute(target, id, keys, writable = true) {
620 for (let i = 0; i < keys.length; i++) {
621 const key = keys[i];
658 function exposeLazyInterfaces(target, id, keys) {
659 defineLazyProperties(target, id, keys, false);
679 function filterOwnProperties(source, keys) {
681 for (let i = 0; i < keys
[all...]
/third_party/icu/icu4c/source/test/perf/unisetperf/draft/
H A Dbitset.cpp36 int64_t keys[0x800]; // 2k member
49 * Map at most 1k=0x400 different keys with this data structure.
61 keys[hash]=key; in map()
64 } else if(keys[hash]==key) { in map()
77 * Invert the hash map: Fill an array of length countKeys() with the keys
84 k[i]=keys[reverse[i]]; in invert()
/third_party/mesa3d/src/compiler/glsl/
H A Dshader_cache.cpp119 cache_item_metadata.keys = in shader_cache_write_program_metadata()
123 if (!cache_item_metadata.keys) in shader_cache_write_program_metadata()
127 memcpy(cache_item_metadata.keys[i], prog->Shaders[i]->disk_cache_sha1, in shader_cache_write_program_metadata()
141 free(cache_item_metadata.keys); in shader_cache_write_program_metadata()
/third_party/node/lib/internal/modules/esm/
H A Dresolve.js573 const keys = ObjectGetOwnPropertyNames(target);
574 for (let i = 0; i < keys.length; i++) {
575 const key = keys[i];
579 '"exports" cannot contain numeric property keys.');
582 for (let i = 0; i < keys.length; i++) {
583 const key = keys[i];
611 const keys = ObjectGetOwnPropertyNames(exports);
614 for (let j = 0; j < keys.length; j++) {
615 const key = keys[j];
622 '"exports" cannot contain some keys startin
[all...]
/third_party/node/deps/openssl/openssl/util/
H A Dfind-doc-nits184 my $tags_as_key = join(':', sort keys %tags);
191 keys %tags );
253 keys %files );
260 keys %files );
317 sort keys %foundfilenames)
417 foreach my $n ( keys %names ) {
679 foreach my $k ( keys %preferred_words ) {
891 my %names = map { $_ => 1 } (keys %name_map, keys %state, keys
[all...]
/third_party/openssl/util/
H A Dfind-doc-nits184 my $tags_as_key = join(':', sort keys %tags);
191 keys %tags );
253 keys %files );
260 keys %files );
317 sort keys %foundfilenames)
417 foreach my $n ( keys %names ) {
679 foreach my $k ( keys %preferred_words ) {
891 my %names = map { $_ => 1 } (keys %name_map, keys %state, keys
[all...]
/third_party/skia/infra/bots/gen_tasks_logic/
H A Ddm_flags.go22 keys := make([]string, 0, len(parts))
32 keys = append(keys, key)
35 sort.Strings(keys)
36 rv := make([]string, 0, 2*len(keys))
37 for _, key := range keys {
131 keys := keyParams(b.parts)
133 keys = append(keys, "renderer", "skottie")
137 keys
[all...]
/third_party/node/deps/undici/src/lib/mock/
H A Dpluralizer.js25 const keys = one ? singulars : plurals
27 return { ...keys, count, noun }
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/
H A Ddistributeddb_storage_sqlite_single_ver_natural_executor_test.cpp404 vector<Key> keys; in HWTEST_F() local
405 EXPECT_EQ(g_nullHandle->GetAllMetaKeys(keys), -E_INVALID_DB); in HWTEST_F()
519 * @tc.desc: Failed to get the keys
532 vector<Key> keys; in HWTEST_F() local
533 EXPECT_EQ(g_connection->GetKeys(option, KEY_1, keys), -E_INVALID_ARGS); in HWTEST_F()
536 * @tc.steps: step2. Get keys in cacheDB state in HWTEST_F()
546 EXPECT_EQ(g_connection->GetKeys(option, KEY_1, keys), -E_EKEYREVOKED); in HWTEST_F()
550 * @tc.steps: step3. Get keys in null db connection in HWTEST_F()
556 EXPECT_EQ(emptyConn->GetKeys(option, KEY_1, keys), -E_NOT_INIT); in HWTEST_F()
573 std::vector<Key> keys; in HWTEST_F() local
606 std::vector<Key> keys; HWTEST_F() local
922 std::vector<Key> keys; HWTEST_F() local
1148 std::vector<Key> keys; HWTEST_F() local
1219 const std::set<Key> keys; HWTEST_F() local
[all...]
/foundation/arkui/ace_engine/test/unittest/core/pattern/grid/
H A Dgrid_test_ng.cpp241 std::list<std::string> keys; in CreateRepeatGrid()
243 keys.emplace_back(std::to_string(i)); in CreateRepeatGrid()
245 return keys; in CreateRepeatGrid()
248 std::list<std::string> keys; in CreateRepeatGrid()
250 keys.emplace_back("0"); in CreateRepeatGrid()
252 return keys; in CreateRepeatGrid()
/foundation/communication/netstack/frameworks/js/builtin/fetch/src/
H A Dfetch_module.cpp97 std::unique_ptr<JSIVal, decltype(&JSI::ReleaseValue)> keys(JSI::GetObjectKeys(nv), JSI::ReleaseValue); in GetNameValue()
98 if (keys == nullptr || JSI::ValueIsUndefined(keys.get()) || !JSI::ValueIsArray(keys.get())) { in GetNameValue()
103 uint32_t length = JSI::GetArrayLength(keys.get()); in GetNameValue()
105 std::unique_ptr<JSIVal, decltype(&JSI::ReleaseValue)> key(JSI::GetPropertyByIndex(keys.get(), index), in GetNameValue()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/extension/
H A Dcloud_cursor_impl.cpp176 OhCloudExtVector *keys = nullptr; in GetData() local
178 auto status = OhCloudExtValueBucketGetKeys(vb, &keys, reinterpret_cast<unsigned int *>(&keysLen)); in GetData()
179 if (status != ERRNO_SUCCESS || keys == nullptr) { in GetData()
182 auto pKeys = std::shared_ptr<OhCloudExtVector>(keys, [](auto *keys) { OhCloudExtVectorFree(keys); }); in GetData()
/third_party/icu/icu4c/source/common/unicode/
H A Dlocid.h326 * 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/node/tools/gyp/pylib/gyp/
H A DMSVSVersion.py470 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/test/fixtures/wpt/WebCryptoAPI/derive_bits_keys/
H A Dcfrg_curves_keys.js11 Object.keys(kSmallOrderPoint).forEach(function(algorithmName) {
37 // Ensure the keys generated by each algorithm are valid for key derivation.
38 Object.keys(sizes).forEach(function(algorithmName) {
48 }, "Key derivation using a " + algorithmName + " generated keys.");
57 Object.keys(sizes).forEach(function(algorithmName) {
173 Object.keys(pkcs8).forEach(function(algorithmName) {
184 Object.keys(pkcs8).forEach(function(algorithmName) {
195 Object.keys(spki).forEach(function(algorithmName) {
/third_party/nghttp2/src/
H A Dshrpx_config_test.cc182 CU_ASSERT(2 == ticket_keys->keys.size()); in test_shrpx_config_read_tls_ticket_key_file()
183 auto key = &ticket_keys->keys[0]; in test_shrpx_config_read_tls_ticket_key_file()
193 key = &ticket_keys->keys[1]; in test_shrpx_config_read_tls_ticket_key_file()
227 CU_ASSERT(2 == ticket_keys->keys.size()); in test_shrpx_config_read_tls_ticket_key_file_aes_256()
228 auto key = &ticket_keys->keys[0]; in test_shrpx_config_read_tls_ticket_key_file_aes_256()
238 key = &ticket_keys->keys[1]; in test_shrpx_config_read_tls_ticket_key_file_aes_256()
/third_party/node/deps/icu-small/source/common/unicode/
H A Dlocid.h326 * 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
1226 LocalPointer<StringEnumeration> keys(createKeywords(status)); in getKeywords()
1227 if (U_FAILURE(status) || keys.isNull()) { in getKeywords()
1232 const char* buffer = keys->next(&resultLength, status); in getKeywords()
1243 LocalPointer<StringEnumeration> keys(createUnicodeKeywords(status)); in getUnicodeKeywords()
1244 if (U_FAILURE(status) || keys.isNull()) { in getUnicodeKeywords()
1249 const char* buffer = keys in getUnicodeKeywords()
[all...]
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/
H A DMSVSVersion.py470 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 Dini.js21 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 Dlocid.h326 * 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 DDrawPass.cpp161 // 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()
/foundation/deviceprofile/device_info_manager/services/core/src/persistenceadapter/kvadapter/
H A Dkv_adapter.cpp262 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 Dconstructor.js538 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 Dnode_env_var.cc219 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...]

Completed in 37 milliseconds

1...<<11121314151617181920>>...69