/foundation/bundlemanager/app_domain_verify/frameworks/common/include/httpsession/ |
H A D | ffrt_safe_map.h | 35 map_ = rhs.map_; in SafeMap() 41 map_ = rhs.map_; in operator =() 50 return map_[key]; in ReadVal() 57 callback(map_[key]); in ChangeValueByLambda() 70 return map_.size(); in Size() 86 return map_.empty(); in IsEmpty() 100 auto ret = map_.insert(std::pair<K, V>(key, value)); in Insert() 115 auto ret = map_ in EnsureInsert() 214 std::map<K, V> map_; global() member in OHOS::AppDomainVerify::SafeMap [all...] |
/foundation/systemabilitymgr/samgr/services/samgr/native/include/ |
H A D | concurrent_map.h | 32 map_ = rhs.map_; in ConcurrentMap() 38 map_ = rhs.map_; in operator =() 48 return map_.size(); in Size() 55 return map_.empty(); in IsEmpty() 61 auto ret = map_.insert(std::pair<K, V>(key, value)); in Insert() 68 auto ret = map_.insert(std::pair<K, V>(key, value)); in EnsureInsert() 71 map_.erase(ret.first); in EnsureInsert() 72 map_ in EnsureInsert() 117 std::map<K, V> map_; global() member in OHOS::ConcurrentMap [all...] |
/foundation/filemanagement/storage_service/services/common/include/ |
H A D | storage_rl_map.h | 33 return map_[key]; in ReadVal() 38 map_.erase(key); in Erase() 43 auto result = map_.insert(std::pair<K, V>(key, value)); in Insert() 49 map_.clear(); in Clear() 54 map_.empty(); in Empty() 59 auto it = map_.find(key); in Contains() 60 if (it != map_.end()) { in Contains() 68 return map_.find(key); in Find() 73 return map_.find(key); in Find() 78 return map_ in Size() 103 std::map<K, V> map_; global() member in OHOS::StorageService::StorageRlMap [all...] |
/foundation/multimedia/media_foundation/engine/include/plugin/common/ |
H A D | plugin_meta.h | 36 auto iter = map_.find(tag); \ 37 if (iter != map_.end()) { \ 38 map_.erase(iter++); \ 40 map_.insert(std::make_pair(tag, value)); \ 47 if (map_.count(tag) == 0) { \ 50 return AnyCast<ValueType>(&map_.at(tag), value); \ 130 map_ = other.map_; in operator =() 139 map_ = other.map_; in Meta() 216 std::map<Tag, Any> map_; global() member in OHOS::Media::Plugin::Meta [all...] |
/foundation/filemanagement/dfs_service/test/unittests/cloudsync_sa/mock/ |
H A D | task_mock.cpp | 89 if (map_.find(key) == map_.end()) { in AllocRunner() 92 map_.insert({key, runner}); in AllocRunner() 94 return map_[key]; in AllocRunner() 101 map_.erase(key); in ReleaseRunner() 108 if (map_.find(key) == map_.end()) { in GetRunner() 111 return map_[key]; in GetRunner()
|
/foundation/multimedia/media_foundation/interface/inner_api/meta/ |
H A D | meta.h | 54 auto iter = map_.find(tag); \ 55 if (iter != map_.end()) { \ 56 map_.erase(iter++); \ 58 map_.insert(std::make_pair(tag, value)); \ 74 if (map_.count(tag) == 0) { \ 77 return AnyCast<Any>(&map_.at(tag), value); \ 435 map_ = other.map_; in operator =() 441 swap(map_, other.map_); in operator =() 582 std::map<TagType, Any> map_; global() member in OHOS::Media::Meta [all...] |
/foundation/multimedia/image_framework/interfaces/kits/js/common/include/ |
H A D | pixel_map_napi.h | 177 return map_[key]; in operator []() 182 return map_.empty(); in IsEmpty() 188 if (!IsEmpty() && (map_.find(key) != map_.end())) map_.erase(key); in Insert() 189 auto ret = map_.insert(std::pair<uint32_t, std::shared_ptr<PixelMap>>(key, value)); in Insert() 196 auto it = map_.find(key); in Find() 197 return it != map_.end() ? true : false; in Find() 203 if (map_.find(key) != map_ in Erase() 222 std::map<uint32_t, std::shared_ptr<PixelMap>> map_; global() member in OHOS::Media::ImageType::PixelMapContainer [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/video/ |
H A D | video_component_v2.h | 36 return map_; in GetGestureComponentMap() 41 map_ = map; in SetGestureComponentMap() 72 std::unordered_map<std::string, RefPtr<Component>> map_; member in OHOS::Ace::VideoComponentV2
|
H A D | video_element_v2.cpp | 27 auto iter = map_.find(name); in GetRootComponent() 28 if (iter != map_.end()) { in GetRootComponent() 147 auto iter = map_.find(name); in GetEventComponents() 148 if (iter != map_.end()) { in GetEventComponents() 164 auto oldBoxIter = map_.find("box"); in GetEventComponents() 165 if (oldBoxIter != map_.end()) { in GetEventComponents() 267 map_ = videoComponentV2->GetGestureComponentMap(); in InitStatus()
|
H A D | video_element_v2.h | 46 std::unordered_map<std::string, RefPtr<Component>> map_; member in OHOS::Ace::VideoElementV2
|
/foundation/communication/bluetooth/frameworks/js/napi/src/common/ |
H A D | napi_async_work.cpp | 196 auto it = map_.find(type); in TryPush() 197 if (it != map_.end()) { in TryPush() 204 map_.erase(it); in TryPush() 207 map_[type] = std::move(asyncWork); in TryPush() 214 map_.erase(type); in Erase() 220 auto it = map_.find(type); in Get() 221 return it != map_.end() ? it->second : nullptr; in Get()
|
/foundation/communication/netmanager_base/services/netmanagernative/bpf/include/ |
H A D | bitmap_manager.h | 112 auto it = map_.find(key); in OrInsert() 113 if (it == map_.end()) { in OrInsert() 114 map_.insert(std::make_pair(key, Bitmap(val))); in OrInsert() 127 auto it = map_.begin(); in OrForEach() 128 for (; it != map_.end(); ++it) { in OrForEach() 135 return map_.erase(key); in Delete() 140 map_.clear(); in Clear() 145 return map_; in Get() 150 return map_.empty(); in Empty() 154 std::unordered_map<T, Bitmap> map_; member in OHOS::NetManagerStandard::BpfUnorderedMap [all...] |
/foundation/bundlemanager/app_domain_verify/frameworks/common/src/httpsession/ |
H A D | app_domain_verify_task_mgr.cpp | 32 AutoSeqReleaser(SafeMap<uint32_t, std::shared_ptr<IHttpTask>>* map, uint32_t seq) : seq_(seq), map_(map) in AutoSeqReleaser() 39 if (map_ != nullptr) { in ~AutoSeqReleaser() 40 map_->Erase(seq_); in ~AutoSeqReleaser() 46 SafeMap<uint32_t, std::shared_ptr<IHttpTask>>* map_; member in OHOS::AppDomainVerify::AutoSeqReleaser
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/ |
H A D | arkModifier.js | 156 this.map_ = new Map(); 159 this.map_.clear(); 162 return this.map_.delete(key); 165 this.map_.forEach(callbackfn, thisArg); 168 return this.map_.get(key); 171 return this.map_.has(key); 175 this.map_.set(key, value); 180 return this.map_.size; 183 return this.map_.entries(); 186 return this.map_ [all...] |
H A D | arkComponent.js | 3025 this.map_ = new Map(); 3029 this.map_.clear(); 3032 return this.map_.delete(key); 3035 this.map_.forEach(callbackfn, thisArg); 3038 return this.map_.get(key); 3041 return this.map_.has(key); 3045 this.map_.set(key, value); 3050 return this.map_.size; 3053 return this.map_.entries(); 3056 return this.map_ [all...] |
/foundation/graphic/graphic_surface/surface/include/ |
H A D | producer_surface_delegator.h | 46 std::map<int32_t, std::vector<sptr<SurfaceBuffer>>> map_; member in OHOS::ProducerSurfaceDelegator
|
/foundation/communication/bluetooth/frameworks/js/napi/include/ |
H A D | napi_async_work.h | 100 std::map<int, std::shared_ptr<NapiAsyncWork>> map_ {};
|
/foundation/graphic/graphic_surface/surface/src/ |
H A D | producer_surface_delegator.cpp | 24 map_.clear(); in ~ProducerSurfaceDelegator()
|
/foundation/multimedia/media_foundation/src/meta/ |
H A D | meta.cpp | 571 auto iter = map_.find(key); in GetValueType() 572 if (iter != map_.end()) { in GetValueType() 625 map_.clear(); in FromParcel() 637 map_[key] = value; in FromParcel()
|