/foundation/arkui/ace_engine/test/unittest/core/base/ |
H A D | short_cuts_test_ng.cpp | 93 std::vector<ModifierKey> keys; in HWTEST_F() local 94 keys.push_back(ModifierKey::SHIFT); in HWTEST_F() 95 ViewAbstract::SetKeyboardShortcut(VALUE_TAB, std::move(keys), callback); in HWTEST_F() 102 keys.push_back(ModifierKey::ALT); in HWTEST_F() 103 ViewAbstract::SetKeyboardShortcut(VALUE_TAB, std::move(keys), callback); in HWTEST_F() 110 keys.push_back(ModifierKey::CTRL); in HWTEST_F() 111 ViewAbstract::SetKeyboardShortcut(VALUE_TAB, std::move(keys), callback); in HWTEST_F() 113 keys.clear(); in HWTEST_F() 135 std::vector<ModifierKey> keys; in HWTEST_F() local 136 ViewAbstract::SetKeyboardShortcut(VALUE_TAB, std::move(keys), callbac in HWTEST_F() 160 std::vector<ModifierKey> keys; HWTEST_F() local 194 std::vector<ModifierKey> keys; HWTEST_F() local 228 std::vector<ModifierKey> keys; HWTEST_F() local 253 std::vector<ModifierKey> keys; HWTEST_F() local 287 std::vector<ModifierKey> keys; HWTEST_F() local 321 std::vector<ModifierKey> keys; HWTEST_F() local 363 std::vector<ModifierKey> keys; HWTEST_F() local 388 std::vector<ModifierKey> keys; HWTEST_F() local 422 std::vector<ModifierKey> keys; HWTEST_F() local 456 std::vector<ModifierKey> keys; HWTEST_F() local 498 std::vector<ModifierKey> keys; HWTEST_F() local 523 std::vector<ModifierKey> keys; HWTEST_F() local 557 std::vector<ModifierKey> keys; HWTEST_F() local 591 std::vector<ModifierKey> keys; HWTEST_F() local 633 std::vector<ModifierKey> keys; HWTEST_F() local 658 std::vector<ModifierKey> keys; HWTEST_F() local 692 std::vector<ModifierKey> keys; HWTEST_F() local 726 std::vector<ModifierKey> keys; HWTEST_F() local 768 std::vector<ModifierKey> keys; HWTEST_F() local 793 std::vector<ModifierKey> keys; HWTEST_F() local 827 std::vector<ModifierKey> keys; HWTEST_F() local 861 std::vector<ModifierKey> keys; HWTEST_F() local 903 std::vector<ModifierKey> keys; HWTEST_F() local 928 std::vector<ModifierKey> keys; HWTEST_F() local 962 std::vector<ModifierKey> keys; HWTEST_F() local 996 std::vector<ModifierKey> keys; HWTEST_F() local 1038 std::vector<ModifierKey> keys; HWTEST_F() local 1063 std::vector<ModifierKey> keys; HWTEST_F() local 1097 std::vector<ModifierKey> keys; HWTEST_F() local 1131 std::vector<ModifierKey> keys; HWTEST_F() local 1173 std::vector<ModifierKey> keys; HWTEST_F() local 1198 std::vector<ModifierKey> keys; HWTEST_F() local 1232 std::vector<ModifierKey> keys; HWTEST_F() local 1266 std::vector<ModifierKey> keys; HWTEST_F() local 1308 std::vector<ModifierKey> keys; HWTEST_F() local 1333 std::vector<ModifierKey> keys; HWTEST_F() local 1367 std::vector<ModifierKey> keys; HWTEST_F() local 1401 std::vector<ModifierKey> keys; HWTEST_F() local [all...] |
H A D | short_cuts_little_test_ng.cpp | 88 std::vector<ModifierKey> keys; in HWTEST_F() local 89 ViewAbstract::SetKeyboardShortcut(VALUE_LITTLE_A, std::move(keys), callback); in HWTEST_F() 91 keys.clear(); in HWTEST_F() 113 std::vector<ModifierKey> keys; in HWTEST_F() local 114 keys.push_back(ModifierKey::ALT); in HWTEST_F() 115 ViewAbstract::SetKeyboardShortcut(VALUE_LITTLE_A, std::move(keys), callback); in HWTEST_F() 122 keys.push_back(ModifierKey::CTRL); in HWTEST_F() 123 ViewAbstract::SetKeyboardShortcut(VALUE_LITTLE_A, std::move(keys), callback); in HWTEST_F() 125 keys.clear(); in HWTEST_F() 147 std::vector<ModifierKey> keys; in HWTEST_F() local 181 std::vector<ModifierKey> keys; HWTEST_F() local 223 std::vector<ModifierKey> keys; HWTEST_F() local 248 std::vector<ModifierKey> keys; HWTEST_F() local 274 std::vector<ModifierKey> keys; HWTEST_F() local 300 std::vector<ModifierKey> keys; HWTEST_F() local 326 std::vector<ModifierKey> keys; HWTEST_F() local 351 std::vector<ModifierKey> keys; HWTEST_F() local 377 std::vector<ModifierKey> keys; HWTEST_F() local 403 std::vector<ModifierKey> keys; HWTEST_F() local 429 std::vector<ModifierKey> keys; HWTEST_F() local 454 std::vector<ModifierKey> keys; HWTEST_F() local 480 std::vector<ModifierKey> keys; HWTEST_F() local 506 std::vector<ModifierKey> keys; HWTEST_F() local 532 std::vector<ModifierKey> keys; HWTEST_F() local 557 std::vector<ModifierKey> keys; HWTEST_F() local 583 std::vector<ModifierKey> keys; HWTEST_F() local 609 std::vector<ModifierKey> keys; HWTEST_F() local 635 std::vector<ModifierKey> keys; HWTEST_F() local 660 std::vector<ModifierKey> keys; HWTEST_F() local 686 std::vector<ModifierKey> keys; HWTEST_F() local 712 std::vector<ModifierKey> keys; HWTEST_F() local [all...] |
/foundation/filemanagement/app_file_service/utils/src/b_json/ |
H A D | b_report_entity.cpp | 67 static void ParseSplitsItem(const vector<string> &splits, const unordered_map<string, int> &keys, in ParseSplitsItem() argument 72 if (i <= splitsLen - keys.size()) { in ParseSplitsItem() 82 const unordered_map<string, int> &keys) in ParseReportInfo() 90 ParseSplitsItem(splits, keys, residue, path); in ParseReportInfo() 91 if (residue.size() != keys.size() - 1) { in ParseReportInfo() 95 if (keys.find(INFO_ENCODE_FLAG) != keys.end()) { in ParseReportInfo() 96 fileStat.encodeFlag = residue[keys.find(INFO_ENCODE_FLAG)->second] == "1" ? true : false; in ParseReportInfo() 102 if (keys.find(INFO_MODE) != keys in ParseReportInfo() 80 ParseReportInfo(struct ReportFileInfo &fileStat, const vector<string> &splits, const unordered_map<string, int> &keys) ParseReportInfo() argument 133 DealLine(unordered_map<string, int> &keys, int &num, const string &line, unordered_map<string, struct ReportFileInfo> &infos) DealLine() argument 166 StorageDealLine(unordered_map<string, int> &keys, int &num, const string &line) StorageDealLine() argument 204 unordered_map<string, int> keys; GetReportInfos() local 231 static unordered_map<string, int> keys; GetStorageReportInfos() local [all...] |
/foundation/filemanagement/app_file_service/tests/unittests/backup_utils/b_json/ |
H A D | b_report_entity_test.cpp | 162 unordered_map<string, int> keys;
in HWTEST_F() local 163 auto err = ParseReportInfo(fileStat, splits, keys);
in HWTEST_F() 168 keys.emplace(INFO_MODE, 0);
in HWTEST_F() 169 keys.emplace(INFO_DIR, 1);
in HWTEST_F() 170 keys.emplace(INFO_SIZE, 2);
in HWTEST_F() 171 keys.emplace(INFO_MTIME, 3);
in HWTEST_F() 172 keys.emplace(INFO_HASH, 4);
in HWTEST_F() 173 keys.emplace(INFO_IS_INCREMENTAL, 5);
in HWTEST_F() 174 err = ParseReportInfo(fileStat, splits, keys);
in HWTEST_F() 179 keys in HWTEST_F() 207 unordered_map<string, int> keys; HWTEST_F() local 249 unordered_map<string, int> keys; HWTEST_F() local 274 unordered_map<string, int> keys; HWTEST_F() local 298 unordered_map<string, int> keys; HWTEST_F() local 322 unordered_map<string, int> keys; HWTEST_F() local 346 unordered_map<string, int> keys; HWTEST_F() local 385 unordered_map<string, int> keys; HWTEST_F() local [all...] |
/foundation/communication/dsoftbus/core/adapter/kv_store/src/ |
H A D | lnn_kv_data_change_listener.cpp | 46 void KvDataChangeListener::OnChange(const DistributedKv::DataOrigin &origin, Keys &&keys) in OnChange() argument 48 auto autoSyncTask = [this, origin, keys]() { in OnChange() 50 origin.store.c_str(), keys[ChangeOp::OP_UPDATE].size(), keys[ChangeOp::OP_INSERT].size()); in OnChange() 52 changeKeys.insert(changeKeys.end(), keys[ChangeOp::OP_INSERT].begin(), keys[ChangeOp::OP_INSERT].end()); in OnChange() 53 changeKeys.insert(changeKeys.end(), keys[ChangeOp::OP_UPDATE].begin(), keys[ChangeOp::OP_UPDATE].end()); in OnChange() 67 const std::vector<std::string> &keys) in ConvertCloudChangeDataToEntries() 74 if (keys in ConvertCloudChangeDataToEntries() 66 ConvertCloudChangeDataToEntries( const std::vector<std::string> &keys) ConvertCloudChangeDataToEntries() argument [all...] |
/foundation/distributeddatamgr/kv_store/test/fuzztest/singlekvstore_fuzzer/ |
H A D | singlekvstore_fuzzer.cpp | 104 std::vector<Key> keys; in PutBatchFuzz() local 117 keys.push_back(entry1.key); in PutBatchFuzz() 118 keys.push_back(entry2.key); in PutBatchFuzz() 119 keys.push_back(entry3.key); in PutBatchFuzz() 121 singleKvStore_->DeleteBatch(keys); in PutBatchFuzz() 139 std::string keys = "test_"; in GetEntriesFuzz1() local 143 singleKvStore_->Put(prefix + keys + std::to_string(i), { keys + std::to_string(i) }); in GetEntriesFuzz1() 147 singleKvStore_->Delete(prefix + keys + std::to_string(i)); in GetEntriesFuzz1() 156 std::string keys in GetEntriesFuzz2() local 173 std::string keys = "test_"; SubscribeKvStoreFuzz() local 194 std::string keys = "test_"; SyncCallbackFuzz() local 212 std::string keys = "test_"; GetResultSetFuzz1() local 237 std::string keys = "test_"; GetResultSetFuzz2() local 255 std::string keys = "test_"; GetResultSetFuzz3() local 305 std::string keys = "test_"; GetCountFuzz1() local 320 std::vector<std::string> keys; GetCountFuzz2() local 363 std::vector<std::string> keys; GetSecurityLevelFuzz() local 415 std::vector<std::string> keys; SyncParamFuzz() local 439 std::vector<std::string> keys; SetCapabilityEnabledFuzz() local 501 std::string keys = "test_"; AsyncGetEntriesFuzz() local [all...] |
/foundation/distributeddatamgr/data_share/frameworks/js/napi/observer/src/ |
H A D | napi_subscriber_manager.cpp | 31 std::vector<Key> keys; in AddObservers() local 32 std::for_each(uris.begin(), uris.end(), [&keys, &templateId](auto &uri) { in AddObservers() 33 keys.emplace_back(uri, templateId); in AddObservers() 36 keys, std::make_shared<Observer>(env, callback), in AddObservers() 75 std::vector<Key> keys; in DelObservers() local 76 std::for_each(uris.begin(), uris.end(), [&keys, &templateId](auto &uri) { in DelObservers() 77 keys.emplace_back(uri, templateId); in DelObservers() 79 return BaseCallbacks::DelObservers(keys, callback == nullptr ? nullptr : std::make_shared<Observer>(env, callback), in DelObservers() 107 void NapiRdbSubscriberManager::Emit(const std::vector<Key> &keys, const std::shared_ptr<Observer> &observer) in Emit() argument 109 for (auto const &key : keys) { in Emit() 126 std::vector<Key> keys; AddObservers() local [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/waterversion/ |
H A D | water_version_manager.cpp | 125 for (auto &key : meta.keys) { in GetWaterVersion() 186 for (size_t i = 0; i < metaData.keys.size(); ++i) { in InitMeta() 187 auto key = metaData.keys[i]; in InitMeta() 211 if (meta.version != metaData.version || meta.keys != metaData.keys) { in InitMeta() 212 meta = Upgrade(metaData.keys, meta); in InitMeta() 225 for (size_t i = 0; i < metaData.keys.size(); ++i) { in UpdateWaterVersion() 226 for (size_t j = 0; j < metaData.keys.size(); ++j) { in UpdateWaterVersion() 231 if (j == metaData.keys.size() - 1 && metaData.infos[i][i] > consistentVersion) { in UpdateWaterVersion() 271 WaterVersionMetaData WaterVersionManager::Upgrade(const std::vector<std::string> &keys, in Upgrade() argument [all...] |
/foundation/distributeddatamgr/kv_store/test/fuzztest/devicekvstore_fuzzer/ |
H A D | devicekvstore_fuzzer.cpp | 102 std::vector<Key> keys; in PutBatchFuzz() local 115 keys.push_back(entry1.key); in PutBatchFuzz() 116 keys.push_back(entry2.key); in PutBatchFuzz() 117 keys.push_back(entry3.key); in PutBatchFuzz() 119 deviceKvStore_->DeleteBatch(keys); in PutBatchFuzz() 137 std::string keys = "test_"; in GetEntriesFuzz1() local 141 deviceKvStore_->Put(prefix + keys + std::to_string(i), { keys + std::to_string(i) }); in GetEntriesFuzz1() 145 deviceKvStore_->Delete(prefix + keys + std::to_string(i)); in GetEntriesFuzz1() 154 std::string keys in GetEntriesFuzz2() local 174 std::string keys = "test_"; SyncCallbackFuzz() local 192 std::string keys = "test_"; GetResultSetFuzz1() local 217 std::string keys = "test_"; GetResultSetFuzz2() local 235 std::string keys = "test_"; GetResultSetFuzz3() local 286 std::string keys = "test_"; GetCountFuzz1() local 301 std::vector<std::string> keys; GetCountFuzz2() local 356 std::string keys = "test_"; SubscribeKvStoreFuzz() local 395 std::vector<std::string> keys; GetSecurityLevelFuzz() local 414 std::vector<std::string> keys; SyncParamFuzz() local 438 std::vector<std::string> keys; SetCapabilityEnabledFuzz() local [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/ |
H A D | single_ver_natural_store_connection.cpp | 72 bool SingleVerNaturalStoreConnection::CheckAndGetKeyLen(const std::vector<Key> &keys, const uint32_t limit, in CheckAndGetKeyLen() argument 76 for (const auto &key : keys) { in CheckAndGetKeyLen() 103 std::vector<Key> keys; in Delete() local 104 keys.push_back(key); in Delete() 106 return DeleteBatch(option, keys); in Delete() 109 int SingleVerNaturalStoreConnection::DeleteBatch(const IOption &option, const std::vector<Key> &keys) in DeleteBatch() argument 111 LOGD("[DeleteBatch] keys size is : %zu, dataType : %d", keys.size(), option.dataType); in DeleteBatch() 115 int errCode = CheckSyncKeysValid(keys); in DeleteBatch() 119 return DeleteBatchInner(option, keys); in DeleteBatch() [all...] |
H A D | single_ver_natural_store_connection.h | 39 int DeleteBatch(const IOption &option, const std::vector<Key> &keys) override; 47 virtual int CheckSyncKeysValid(const std::vector<Key> &keys) const = 0; 49 virtual int DeleteBatchInner(const IOption &option, const std::vector<Key> &keys) = 0; 53 bool CheckAndGetKeyLen(const std::vector<Key> &keys, const uint32_t limit, uint32_t &keyLen) const;
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/ |
H A D | query_utils.cpp | 63 std::set<Key> keys; in FillQueryInKeys() local 67 FillStringQueryKeys(keys, pkList); in FillQueryInKeys() 70 FillByteQueryKeys(keys, pkList); in FillQueryInKeys() 76 if (!keys.empty()) { in FillQueryInKeys() 77 query.InKeys(keys); in FillQueryInKeys() 81 void QueryUtils::FillStringQueryKeys(std::set<Key> &keys, const std::vector<Type> &pkList) in FillStringQueryKeys() argument 88 keys.insert(Key((*keyStrPtr).begin(), (*keyStrPtr).end())); in FillStringQueryKeys() 92 void QueryUtils::FillByteQueryKeys(std::set<Key> &keys, const std::vector<Type> &pkList) in FillByteQueryKeys() argument 98 keys.insert(std::get<Bytes>(pk)); in FillByteQueryKeys()
|
/foundation/multimedia/media_foundation/test/unittest/ |
H A D | TestCompatibleCheck.cpp | 46 ASSERT_TRUE(out.keys.empty()); in HWTEST() 50 ASSERT_TRUE(out.keys.empty()); in HWTEST() 54 ASSERT_TRUE(out.keys.empty()); in HWTEST() 58 ASSERT_TRUE(out.keys.empty()); in HWTEST() 63 ASSERT_TRUE(out.keys.empty()); in HWTEST() 67 ASSERT_TRUE(out.keys.empty()); in HWTEST() 71 ASSERT_TRUE(out.keys.empty()); in HWTEST() 75 ASSERT_TRUE(out.keys.empty()); in HWTEST() 79 ASSERT_TRUE(out.keys.empty()); in HWTEST() 92 ASSERT_TRUE(Plugin::AnyCast<uint32_t>(out.keys[CapabilityI in HWTEST() [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/ |
H A D | kvdb_watcher.cpp | 40 std::vector<std::string> keys[OP_BUTT]{}; in OnChange() 41 keys[OP_INSERT] = ConvertToKeys(changeData->second[OP_INSERT]); in OnChange() 42 keys[OP_UPDATE] = ConvertToKeys(changeData->second[OP_UPDATE]); in OnChange() 43 keys[OP_DELETE] = ConvertToKeys(changeData->second[OP_DELETE]); in OnChange() 47 observer->OnChange(dataOrigin, std::move(keys)); in OnChange() 99 std::vector<std::string> keys{}; in ConvertToKeys() 105 keys.push_back(std::move(*key)); in ConvertToKeys() 107 return keys; in ConvertToKeys()
|
/foundation/multimedia/media_foundation/interface/inner_api/plugin/ |
H A D | plugin_caps.h | 68 keys[key] = val; in AppendFixedKey() 75 auto it = keys.find(key); in GetFixedValue() 76 if (it != keys.end()) { in GetFixedValue() 93 keys[key] = std::make_pair(rangeStart, rangeEnd); in AppendIntervalKey() 108 keys[key] = std::move(discreteValues); in AppendDiscreteKeys() 128 std::map<TagType, Any> keys; member
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | for_each_model_impl.cpp | 41 std::vector<std::string> keys = ForEachFunc.idGenFunc_(); in Create() local 42 for (size_t i = 0; i < keys.size(); i++) { in Create() 43 keys[i].insert(0, "-"); in Create() 44 keys[i].insert(0, compilerGenId); in Create() 45 viewStack->PushKey(keys[i]); in Create()
|
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/src/ |
H A D | ikvstore_observer.cpp | 87 void KvStoreObserverProxy::OnChange(const DataOrigin &origin, Keys &&keys) in OnChange() argument 95 if (!ITypesUtil::Marshal(data, origin.store, keys[OP_INSERT], keys[OP_UPDATE], keys[OP_DELETE])) { in OnChange() 145 Keys keys; in OnRemoteRequest() local 146 if (!ITypesUtil::Unmarshal(data, store, keys[OP_INSERT], keys[OP_UPDATE], keys[OP_DELETE])) { in OnRemoteRequest() 150 OnChange({ .store = store }, std::move(keys)); in OnRemoteRequest()
|
/foundation/systemabilitymgr/samgr/test/autotest/tools/ |
H A D | disk_drop_log.py | 38 def count_keys_disk_dropping_logs(path, keys) -> int:
42 @param keys: Keywords to be queried
50 count = read_file.read().count(keys)
55 def check_disk_dropping_logs(path, keys) -> bool:
59 @param keys: Keywords to be queried
69 result = line.find(keys)
|
/foundation/resourceschedule/ffrt/tools/ffrt_trace_process/ |
H A D | ffrt_trace_process.py | 146 if pid != 0 and pid not in active_process_map.keys(): 151 if ti != 0 and ti not in active_process_map[pid].keys(): 156 if switch_info["prev_tid"] not in switch_log_map.keys(): 160 if switch_info["next_tid"] not in switch_log_map.keys(): 206 if switch_log["cpu"] not in statistics["cpu"].keys(): 211 if switch_log["prev_state"] not in statistics["switch_out"].keys(): 296 if gid not in task_records.keys(): 328 if gid in task_records.keys(): 340 if gid in task_records.keys(): 360 if gid in task_records.keys() [all...] |
/foundation/multimodalinput/input/service/subscriber/test/ |
H A D | key_gesture_manager_ex_test.cpp | 244 std::set<int32_t> keys = { KeyEvent::KEYCODE_A, KeyEvent::KEYCODE_B, KeyEvent::KEYCODE_C }; in HWTEST_F() local 245 KeyGestureManager::LongPressCombinationKey longPressCombinationKey(keys); in HWTEST_F() 265 std::set<int32_t> keys = { KeyEvent::KEYCODE_A, KeyEvent::KEYCODE_B, KeyEvent::KEYCODE_C }; in HWTEST_F() local 266 KeyGestureManager::LongPressCombinationKey longPressCombinationKey(keys); in HWTEST_F() 286 std::set<int32_t> keys = { KeyEvent::KEYCODE_A, KeyEvent::KEYCODE_B, KeyEvent::KEYCODE_C }; in HWTEST_F() local 287 KeyGestureManager::LongPressCombinationKey longPressCombinationKey(keys); in HWTEST_F() 309 std::set<int32_t> keys = { KeyEvent::KEYCODE_A, KeyEvent::KEYCODE_B, KeyEvent::KEYCODE_C }; in HWTEST_F() local 310 KeyGestureManager::LongPressCombinationKey longPressCombinationKey(keys); in HWTEST_F() 329 std::set<int32_t> keys = { KeyEvent::KEYCODE_A, KeyEvent::KEYCODE_B, KeyEvent::KEYCODE_C }; in HWTEST_F() local 330 KeyGestureManager::LongPressCombinationKey longPressCombinationKey(keys); in HWTEST_F() 384 std::set<int32_t> keys = { KeyEvent::KEYCODE_A, KeyEvent::KEYCODE_B, KeyEvent::KEYCODE_C }; HWTEST_F() local 405 std::set<int32_t> keys = {}; HWTEST_F() local 420 std::set<int32_t> keys = { KeyEvent::KEYCODE_A, KeyEvent::KEYCODE_B, KeyEvent::KEYCODE_C }; HWTEST_F() local 440 std::set<int32_t> keys = { KeyEvent::KEYCODE_A, KeyEvent::KEYCODE_B, KeyEvent::KEYCODE_C }; HWTEST_F() local 463 std::set<int32_t> keys = { KeyEvent::KEYCODE_A, KeyEvent::KEYCODE_B, KeyEvent::KEYCODE_C }; HWTEST_F() local [all...] |
/foundation/distributeddatamgr/data_share/frameworks/native/proxy/src/ |
H A D | published_data_subscriber_manager.cpp | 34 std::vector<Key> keys; in AddObservers() local 35 std::for_each(uris.begin(), uris.end(), [&keys, &subscriberId](auto &uri) { in AddObservers() 36 keys.emplace_back(uri, subscriberId); in AddObservers() 39 keys, subscriber, std::make_shared<Observer>(callback), in AddObservers() 104 std::vector<Key> keys; in DelObservers() local 105 std::for_each(uris.begin(), uris.end(), [&keys, &subscriberId](auto &uri) { in DelObservers() 106 keys.emplace_back(uri, subscriberId); in DelObservers() 108 return BaseCallbacks::DelObservers(keys, subscriber, in DelObservers() 131 std::vector<Key> keys; 132 std::for_each(uris.begin(), uris.end(), [&keys, [all...] |
H A D | rdb_subscriber_manager.cpp | 45 std::vector<Key> keys; in AddObservers() local 46 std::for_each(uris.begin(), uris.end(), [&keys, &templateId](auto &uri) { in AddObservers() 47 keys.emplace_back(uri, templateId); in AddObservers() 50 keys, subscriber, std::make_shared<Observer>(callback), in AddObservers() 92 std::vector<Key> keys; in DelObservers() local 93 std::for_each(uris.begin(), uris.end(), [&keys, &templateId](auto &uri) { in DelObservers() 94 keys.emplace_back(uri, templateId); in DelObservers() 96 return BaseCallbacks::DelObservers(keys, subscriber, in DelObservers() 138 std::vector<Key> keys; 139 std::for_each(uris.begin(), uris.end(), [&keys, [all...] |
/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_auto_test/src/main/js/default/pages/image-animator/01/ |
H A D | index.js | 53 const keys = Object.keys(vm.$refs);
54 keys.forEach((key) => vm.$refs[key][command]());
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_video.cpp | 187 std::vector<std::string> keys = { "start" }; in JsOnStart() 188 func->Execute(keys, param); in JsOnStart() 205 std::vector<std::string> keys = { "pause" }; in JsOnPause() 206 func->Execute(keys, param); in JsOnPause() 223 std::vector<std::string> keys = { "finish" }; in JsOnFinish() 224 func->Execute(keys, param); in JsOnFinish() 241 std::vector<std::string> keys = { "stop" }; in JsOnStop() 242 func->Execute(keys, param); in JsOnStop() 259 std::vector<std::string> keys = { "fullscreen" }; in JsOnFullscreenChange() 260 func->Execute(keys, para in JsOnFullscreenChange() 355 GetEventMarker(const JSCallbackInfo& info, const std::vector<std::string>& keys) GetEventMarker() argument [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/sync_fuzzer/ |
H A D | sync_fuzzer.cpp | 91 std::vector<Entry> CreateEntries(const uint8_t* data, size_t size, std::vector<Key> keys) in CreateEntries() argument 99 keys.push_back(entry.key); in CreateEntries() 112 std::vector<Key> keys; in NormalSyncPush() local 113 std::vector<Entry> tmp = CreateEntries(data, size, keys); in NormalSyncPush() 135 std::vector<Key> keys; in NormalSyncPull() local 136 std::vector<Entry> tmp = CreateEntries(data, size, keys); in NormalSyncPull() 168 std::vector<Key> keys; in NormalSyncPushAndPull() local 169 std::vector<Entry> tmp = CreateEntries(data, size, keys); in NormalSyncPushAndPull() 195 std::set<Key> keys; in SubscribeOperation() local 199 keys in SubscribeOperation() [all...] |