Home
last modified time | relevance | path

Searched refs:map_ (Results 1 - 19 of 19) sorted by relevance

/foundation/bundlemanager/app_domain_verify/frameworks/common/include/httpsession/
H A Dffrt_safe_map.h35 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 Dconcurrent_map.h32 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 Dstorage_rl_map.h33 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 Dplugin_meta.h36 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 Dtask_mock.cpp89 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 Dmeta.h54 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 Dpixel_map_napi.h177 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 Dvideo_component_v2.h36 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 Dvideo_element_v2.cpp27 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 Dvideo_element_v2.h46 std::unordered_map<std::string, RefPtr<Component>> map_; member in OHOS::Ace::VideoElementV2
/foundation/communication/bluetooth/frameworks/js/napi/src/common/
H A Dnapi_async_work.cpp196 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 Dbitmap_manager.h112 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 Dapp_domain_verify_task_mgr.cpp32 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 DarkModifier.js156 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 DarkComponent.js3025 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 Dproducer_surface_delegator.h46 std::map<int32_t, std::vector<sptr<SurfaceBuffer>>> map_; member in OHOS::ProducerSurfaceDelegator
/foundation/communication/bluetooth/frameworks/js/napi/include/
H A Dnapi_async_work.h100 std::map<int, std::shared_ptr<NapiAsyncWork>> map_ {};
/foundation/graphic/graphic_surface/surface/src/
H A Dproducer_surface_delegator.cpp24 map_.clear(); in ~ProducerSurfaceDelegator()
/foundation/multimedia/media_foundation/src/meta/
H A Dmeta.cpp571 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()

Completed in 12 milliseconds