/ohos5.0/base/inputmethod/imf/frameworks/common/ |
H A D | concurrent_map.h | 55 entries_ = std::move(tmp); 71 entries_ = std::move(tmp); 96 if (!filter(entries_)) { in Emplace() 117 return (entries_.find(key) != entries_.end()); in Contains() 144 return entries_.clear(); in Clear() 150 return entries_.empty(); in Empty() 156 return entries_.size(); in Size() 172 for (auto it = entries_.begin(); it != entries_.end();) { in EraseIf() 226 entries_.erase(key); in Compute() 243 entries_.erase(key); in ComputeIfPresent() [all …]
|
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/native/include/ |
H A D | concurrent_map.h | 56 if (&entries_ == &other) { 71 entries_ = std::move(tmp); 87 entries_ = std::move(tmp); 112 if (!filter(entries_)) { in Emplace() 146 return (entries_.find(key) != entries_.end()); in Contains() 187 return entries_.clear(); in Clear() 193 return entries_.empty(); in Empty() 199 return entries_.size(); in Size() 215 for (auto it = entries_.begin(); it != entries_.end();) { in EraseIf() 311 if (entries_.empty()) { in DoActionIfEmpty() [all …]
|
/ohos5.0/foundation/ability/ability_runtime/services/dataobsmgr/include/ |
H A D | concurrent_map.h | 55 entries_ = std::move(tmp); 71 entries_ = std::move(tmp); 96 if (!filter(entries_)) { in Emplace() 117 return (entries_.find(key) != entries_.end()); in Contains() 144 return entries_.clear(); in Clear() 150 return entries_.empty(); in Empty() 156 return entries_.size(); in Size() 172 for (auto it = entries_.begin(); it != entries_.end();) { in EraseIf() 226 entries_.erase(key); in Compute() 243 entries_.erase(key); in ComputeIfPresent() [all …]
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/common/ |
H A D | concurrent_map.h | 55 entries_ = std::move(tmp); 71 entries_ = std::move(tmp); 96 if (!filter(entries_)) { in Emplace() 130 return (entries_.find(key) != entries_.end()); in Contains() 157 return entries_.clear(); in Clear() 163 return entries_.empty(); in Empty() 169 return entries_.size(); in Size() 185 for (auto it = entries_.begin(); it != entries_.end();) { in EraseIf() 239 entries_.erase(key); in Compute() 281 if (entries_.empty()) { in DoActionIfEmpty() [all …]
|
/ohos5.0/foundation/distributeddatamgr/relational_store/rdbmock/frameworks/native/rdb/ |
H A D | concurrent_map.h | 55 entries_ = std::move(tmp); 71 entries_ = std::move(tmp); 96 if (!filter(entries_)) { in Emplace() 117 return (entries_.find(key) != entries_.end()); in Contains() 144 return entries_.clear(); in Clear() 150 return entries_.empty(); in Empty() 156 return entries_.size(); in Size() 172 for (auto it = entries_.begin(); it != entries_.end();) { in EraseIf() 187 return entries_[key]; 274 if (entries_.empty()) { in DoActionIfEmpty() [all …]
|
/ohos5.0/base/theme/wallpaper_mgr/utils/include/ |
H A D | concurrent_map.h | 49 entries_ = std::move(tmp); 65 entries_ = std::move(tmp); 90 return (entries_.find(key) != entries_.end()); in Contains() 116 return entries_.clear(); in Clear() 122 return entries_.empty(); in Empty() 128 return entries_.size(); in Size() 144 for (auto it = entries_.begin(); it != entries_.end();) { in EraseIf() 151 count -= entries_.size(); in EraseIf() 198 entries_.erase(key); in Compute() 215 entries_.erase(key); in ComputeIfPresent() [all …]
|
/ohos5.0/foundation/distributeddatamgr/pasteboard/framework/framework/include/common/ |
H A D | concurrent_map.h | 50 entries_ = std::move(tmp); 66 entries_ = std::move(tmp); 92 return (entries_.find(key) != entries_.end()); in Contains() 119 return entries_.clear(); in Clear() 125 return entries_.empty(); in Empty() 131 return entries_.size(); in Size() 147 for (auto it = entries_.begin(); it != entries_.end();) { in EraseIf() 154 count -= entries_.size(); in EraseIf() 201 entries_.erase(key); in Compute() 218 entries_.erase(key); in ComputeIfPresent() [all …]
|
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/heif_impl/heif_parser/box/ |
H A D | item_property_box.cpp | 118 entries_.push_back(entry); in ParseContent() 125 auto iter = std::find_if(entries_.begin(), entries_.end(), [&itemId](const auto& entry) { in GetProperties() 134 for (idx = 0; idx < entries_.size(); idx++) { in AddProperty() 135 if (entries_[idx].itemId == itemId) { in AddProperty() 140 if (idx == entries_.size()) { in AddProperty() 143 entries_.push_back(entry); in AddProperty() 146 entries_[idx].associations.push_back(assoc); in AddProperty() 154 for (const PropertyEntry &entry: entries_) { in InferFullBoxVersion() 174 size_t entryNum = entries_.size(); in Write() 177 for (const PropertyEntry &entry: entries_) { in Write() [all …]
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/mock/ |
H A D | db_change_data_mock.cpp | 23 entries_[INSERT].push_back(entry); in DBChangeDataMock() 26 entries_[UPDATE].push_back(entry); in DBChangeDataMock() 29 entries_[DELETE].push_back(entry); in DBChangeDataMock() 35 return entries_[INSERT]; in GetEntriesInserted() 40 return entries_[UPDATE]; in GetEntriesUpdated() 45 return entries_[DELETE]; in GetEntriesDeleted() 55 entries_[type].push_back(std::move(entry)); in AddEntry()
|
H A D | db_store_mock.cpp | 22 return Get(entries_, key, value); in Get() 27 return GetEntries(entries_, keyPrefix, entries); in GetEntries() 60 return PutBatch(entries_, { { key, value } }); in Put() 65 return PutBatch(entries_, entries); in PutBatch() 70 return DeleteBatch(entries_, keys); in DeleteBatch() 75 return DeleteBatch(entries_, { key }); in Delete()
|
H A D | db_change_data_mock.h | 40 std::list<DBEntry> entries_[BUTT];
|
/ohos5.0/foundation/distributeddatamgr/kv_store/databaseutils/src/ |
H A D | acl.cpp | 49 for (const auto &e : entries_) { in ReCalcMaskPerm() 59 return entries_.empty(); in IsEmpty() 64 if (entries_.count(entry)) { in CompareInsertEntry() 65 auto it = entries_.find(entry); in CompareInsertEntry() 66 entries_.erase(it); in CompareInsertEntry() 72 entries_.insert(entry); in CompareInsertEntry() 78 if (entries_.size() >= ENTRIES_MAX_NUM) { in InsertEntry() 99 bufSize = sizeof(AclXattrHeader) + sizeof(AclXattrEntry) * entries_.size(); in Serialize() 113 for (const auto &e : entries_) { in Serialize() 141 entries_.clear(); in DeSerialize() [all …]
|
/ohos5.0/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/data/ |
H A D | unified_record.cpp | 87 if (entries_->find(utdId) != entries_->end()) { in HasType() 105 entries_->insert_or_assign(utdId, std::move(value)); in AddEntry() 114 auto it = entries_->find(utdId); in GetEntry() 115 if (it != entries_->end() && !(std::holds_alternative<std::monostate>(it->second))) { in GetEntry() 119 if (getter != nullptr && (utdId_ == utdId || it != entries_->end())) { in GetEntry() 129 auto res = std::make_shared<std::map<std::string, ValueType>>(*entries_); in GetEntries() 142 for (const auto& [key, value] : *entries_) { in GetUtdIds()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | bundle_scanner.cpp | 50 APP_LOGD("scan result num:%{public}zu", entries_.size()); in Scan() 51 for (const auto &item : entries_) { in Scan() 56 return entries_; in Scan() 80 entries_.push_back(dirPath + ServiceConstants::PATH_SEPARATOR + currentName); in ScanImpl()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/multiver/ |
H A D | multi_ver_sync_task_context.cpp | 144 entries_ = entries; in SetEntries() 149 for (auto &item : entries_) { in ReleaseEntries() 155 entries_.clear(); in ReleaseEntries() 156 entries_.shrink_to_fit(); in ReleaseEntries() 161 entries = entries_; in GetEntries() 166 entry = entries_[index]; in GetEntry()
|
H A D | multi_ver_sync_task_context.h | 94 std::vector<MultiVerKvEntry *> entries_; variable
|
H A D | multi_ver_data_sync.cpp | 64 for (const auto &iter : entries_) { in CalculateLen() 75 entries_ = std::move(data); in SetData() 80 data = entries_; in GetData()
|
H A D | multi_ver_data_sync.h | 62 std::vector<std::vector<uint8_t>> entries_;
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | heif_parser_box_test.cpp | 108 heifIpmaBox->entries_.push_back(ref); 112 heifIpmaBox->entries_.clear(); 116 heifIpmaBox->entries_.push_back(ref); 147 ipma->entries_.push_back(ref); 165 heifIpmaBox->entries_.push_back(ref); 180 heifIpmaBox->entries_.push_back(ref); 182 heifIpmaBox->entries_.clear(); 191 heifIpmaBox->entries_.push_back(ref);
|
/ohos5.0/foundation/distributeddatamgr/pasteboard/framework/innerkits/src/ |
H A D | paste_data_record.cpp | 302 for (const auto &entry : entries_) { in GetHtmlText() 320 for (const auto &entry : entries_) { in GetPlainText() 333 for (const auto &entry : entries_) { in GetPixelMap() 365 for (const auto &entry : entries_) { in GetOrginUri() 378 for (const auto &entry : entries_) { in GetWant() 395 for (const auto &entry : entries_) { in GetCustomData() 718 for (auto const& entry: entries_) { in GetUdtTypes() 728 for (auto const& entry: entries_) { in GetMimeTypes() 778 for (auto& entry : entries_) { in AddEntry() 786 entries_.emplace_back(value); in AddEntry() [all …]
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | bundle_scanner.h | 46 std::list<std::string> entries_;
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/relational/ |
H A D | relational_sync_data_inserter.cpp | 82 entries_ = std::move(entries); in SetEntries() 251 for (auto &it : entries_) { in Iterate()
|
H A D | relational_sync_data_inserter.h | 78 std::vector<DataItem> entries_; variable
|
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/include/heif_impl/heif_parser/box/ |
H A D | item_property_box.h | 75 std::vector<PropertyEntry> entries_; variable
|
/ohos5.0/foundation/distributeddatamgr/udmf/interfaces/innerkits/data/ |
H A D | unified_record.h | 73 …std::shared_ptr<std::map<std::string, ValueType>> entries_ = std::make_shared<std::map<std::string…
|