/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/data/ |
H A D | unified_data.cpp | 38 for (const auto &record : this->records_) { in GetSize() 65 this->records_.push_back(record); in AddRecord() 76 this->records_.push_back(record); in AddRecords() 82 if (records_.size() > index) { in GetRecordAt() 83 return records_[index]; in GetRecordAt() 90 this->records_ = std::move(records); in SetRecords() 95 return this->records_; in GetRecords() 101 for (const std::shared_ptr<UnifiedRecord> &record : records_) { in GetTypesLabels() 109 for (const std::shared_ptr<UnifiedRecord> &record : records_) { in HasType() 120 for (const auto &record : records_) { in GetEntriesTypes() [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/ |
H A D | cache_cursor.cpp | 24 : row_(0), maxCol_(0), records_(std::move(records)) in CacheCursor() 26 maxRow_ = records_.size(); in CacheCursor() 28 for (auto it = records_[0].begin(); it != records_[0].end(); it++) { in CacheCursor() 98 data = records_[row]; in GetRow() 116 auto it = records_[row].find(col); in Get() 117 if (it == records_[row].end()) { in Get()
|
H A D | cache_cursor.h | 43 std::vector<DistributedData::VBucket> records_; member in OHOS::DistributedRdb::CacheCursor
|
/foundation/multimedia/av_codec/test/unittest/hcodec_test/helper/ |
H A D | test_utils.cpp | 50 records_.clear(); in Clear() 56 records_[apiName].totalCost += cost; in Update() 57 records_[apiName].totalCnt++; in Update() 62 for (const auto& one : records_) { in Print()
|
H A D | test_utils.h | 37 std::map<std::string, Total> records_; member
|
/foundation/distributeddatamgr/pasteboard/framework/innerkits/src/ |
H A D | paste_data.cpp | 76 records_.clear(); in ~PasteData() 85 for (const auto &item : data.records_) { in PasteData() 86 this->records_.emplace_back(std::make_shared<PasteDataRecord>(*item)); in PasteData() 91 PasteData::PasteData(std::vector<std::shared_ptr<PasteDataRecord>> records) : records_{ std::move(records) } in PasteData() 113 this->records_.clear(); in operator =() 116 for (const auto &item : data.records_) { in operator =() 117 this->records_.emplace_back(std::make_shared<PasteDataRecord>(*item)); in operator =() 168 records_.insert(records_.begin(), std::move(record)); in AddRecord() 181 for (const auto &item : records_) { in GetMimeTypes() [all...] |
/foundation/ability/ability_runtime/services/abilitymgr/src/ |
H A D | insight_intent_execute_manager.cpp | 121 records_[intentId] = record; in AddRecord() 124 records_.erase(intentId - INSIGHT_INTENT_EXECUTE_RECORDS_MAX_SIZE); in AddRecord() 126 TAG_LOGD(AAFwkTag::INTENT, "init done, records_ size: %{public}zu", records_.size()); in AddRecord() 133 records_.erase(intentId); in RemoveExecuteIntent() 141 auto findResult = records_.find(intentId); in ExecuteIntentDone() 142 if (findResult == records_.end()) { in ExecuteIntentDone() 169 TAG_LOGD(AAFwkTag::INTENT, "execute done, records_ size: %{public}zu", records_.size()); in ExecuteIntentDone() 176 auto result = records_ in RemoteDied() [all...] |
/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/test/unittest/ |
H A D | unified_data_test.cpp | 128 EXPECT_EQ(unifiedData.records_.size(), 0); in HWTEST_F() 143 EXPECT_EQ(unifiedData.records_.size(), 0); in HWTEST_F() 149 * @tc.desc: Abnormal testcase of GetRecordAt, because the length of records_ is equal to the length of index 156 unifiedData.records_ = std::vector<std::shared_ptr<UnifiedRecord>>(); in HWTEST_F() 157 std::size_t index = unifiedData.records_.size(); in HWTEST_F()
|
H A D | unified_data_helper_test.cpp | 92 * @tc.desc: Abnormal testcase of Unpack, the records_ length is 0 100 data.records_ = std::vector<std::shared_ptr<UnifiedRecord>>(); in HWTEST_F()
|
/foundation/distributeddatamgr/udmf/interfaces/cj/src/ |
H A D | unified_data_impl.cpp | 70 this->records_.push_back(record); in CUnifiedData() 78 this->records_.push_back(record); in AddRecord() 101 for (auto record : this->records_) { in GetRecords()
|
/foundation/multimodalinput/input/util/common/src/ |
H A D | util.cpp | 583 records_.push_back({record, now}); in Record() 584 if (records_.size() >= maxRecordCount_) { in Record() 599 size_t recordCount = records_.size(); in FlushRecords() 601 if (!records_.empty()) { in FlushRecords() 603 oss << ", first: " << records_.front().record << "-("; in FlushRecords() 604 auto firstTime = records_.front().timestamp; in FlushRecords() 616 if (records_.size() > 1) { in FlushRecords() 617 size_t i = records_.size() - 1; in FlushRecords() 618 const auto &recordInfo = records_[i]; in FlushRecords() 621 records_ in FlushRecords() [all...] |
/foundation/distributeddatamgr/udmf/interfaces/cj/include/ |
H A D | unified_data_impl.h | 44 std::vector<UDMF::CUnifiedRecord *> records_; member in OHOS::UDMF::CUnifiedData
|
/foundation/multimodalinput/input/util/common/include/ |
H A D | aggregator.h | 46 std::vector<RecordInfo> records_; member in OHOS::MMI::Aggregator
|
/foundation/arkui/ace_engine/frameworks/base/log/ |
H A D | ace_performance_check.cpp | 41 std::vector<std::pair<int64_t, std::string>> AceScopedPerformanceCheck::records_; member in OHOS::Ace::AceScopedPerformanceCheck 85 records_.push_back(recordInfo); in ~AceScopedPerformanceCheck() 220 for (auto record : records_) { in RecordFunctionTimeout() 239 records_.clear(); in RecordFunctionTimeout()
|
H A D | ace_performance_check.h | 91 static std::vector<std::pair<int64_t, std::string>> records_; member in OHOS::Ace::final
|
/foundation/distributeddatamgr/udmf/interfaces/innerkits/data/ |
H A D | unified_data.h | 65 std::vector<std::shared_ptr<UnifiedRecord>> records_; member in OHOS::UDMF::UnifiedData
|
/foundation/ability/ability_runtime/services/abilitymgr/include/ |
H A D | insight_intent_execute_manager.h | 93 std::map<uint64_t, std::shared_ptr<InsightIntentExecuteRecord>> records_; member in OHOS::AAFwk::InsightIntentExecuteManager
|
/foundation/distributeddatamgr/pasteboard/framework/innerkits/include/ |
H A D | paste_data.h | 158 std::vector<std::shared_ptr<PasteDataRecord>> records_; member in OHOS::MiscServices::PasteData
|
/foundation/arkui/ace_engine/frameworks/bridge/card_frontend/ |
H A D | js_card_parser.cpp | 39 records_.emplace_back(StringUtils::StringToInt(key), value); in AddRecord() 49 std::sort(records_.begin(), records_.end(), in GetVersionPatch() 53 for (const auto& record : records_) { in GetVersionPatch() 64 std::vector<std::pair<int32_t, std::string>> records_; member in OHOS::Ace::Framework::__anon1664::VersionData
|