/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/ |
H A D | rs_surface_buffer_callback_manager.cpp | 53 auto iter = surfaceBufferCallbacks_.find({pid, uid});
in RegisterSurfaceBufferCallback() 74 auto iter = surfaceBufferCallbacks_.find({pid, uid});
in UnregisterSurfaceBufferCallback() 96 auto iter = surfaceBufferCallbacks_.find({pid, uid});
in GetSurfaceBufferCallback() 114 auto iter = stagingSurfaceBufferIds_.find({pid, uid});
in EnqueueSurfaceBufferId() 125 if (surfaceBufferCallbacks_.find({pid, uid}) == std::end(surfaceBufferCallbacks_)) {
in OnSurfaceBufferOpItemDestruct()
|
/foundation/multimedia/media_foundation/engine/include/foundation/osal/base/ |
H A D | synchronizer.h | 52 cv_.Wait(lock, [this, syncId] { return syncMap_.find(syncId) != syncMap_.end(); }); in Wait() 67 auto rtv = cv_.WaitFor(lock, timeoutMs, [this, syncId] { return syncMap_.find(syncId) != syncMap_.end(); }); in WaitFor() 84 cv_.Wait(lock, [this, syncId] { return syncMap_.find(syncId) != syncMap_.end(); }); in Wait() 103 auto rtv = cv_.WaitFor(lock, timeoutMs, [this, syncId] { return syncMap_.find(syncId) != syncMap_.end(); }); in WaitFor() 120 if (waitSet_.find(syncId) != waitSet_.end()) { in Notify()
|
/foundation/multimedia/media_foundation/src/osal/base/ |
H A D | synchronizer.h | 51 cv_.Wait(lock, [this, syncId] { return syncMap_.find(syncId) != syncMap_.end(); }); in Wait() 66 auto rtv = cv_.WaitFor(lock, timeoutMs, [this, syncId] { return syncMap_.find(syncId) != syncMap_.end(); }); in WaitFor() 83 cv_.Wait(lock, [this, syncId] { return syncMap_.find(syncId) != syncMap_.end(); }); in Wait() 102 auto rtv = cv_.WaitFor(lock, timeoutMs, [this, syncId] { return syncMap_.find(syncId) != syncMap_.end(); }); in WaitFor() 119 if (waitSet_.find(syncId) != waitSet_.end()) { in Notify()
|
/foundation/multimedia/player_framework/services/services/player/subscriber/ |
H A D | account_subscriber.cpp | 58 auto mapIt = userMap_.find(userId); in DispatchEvent() 97 auto mapIt = userMap_.find(userId); in RegisterCommonEventReceiver() 104 auto receiverIt = std::find(mapIt->second.begin(), mapIt->second.end(), in RegisterCommonEventReceiver() 121 auto mapIt = userMap_.find(userId); in UnregisterCommonEventReceiver() 123 MEDIA_LOGI("unregister fail, cannot find userId"); in UnregisterCommonEventReceiver() 126 auto receiverIt = std::find(mapIt->second.begin(), mapIt->second.end(), in UnregisterCommonEventReceiver() 129 MEDIA_LOGI("unregister fail, cannot find receiver"); in UnregisterCommonEventReceiver()
|
/foundation/multimedia/player_framework/services/services/sa_media/ipc/ |
H A D | media_service_stub.cpp | 55 auto itDeath = deathRecipientMap_.find(pid); in DestroyStubForPid() 66 auto itListener = mediaListenerMap_.find(pid); in DestroyStubForPid() 109 auto it = mediaFuncs_.find(code); in GetMediaStubFunc() 142 deathRecipientMap_.find(pid) != deathRecipientMap_.end() ? deathRecipientMap_[pid] : nullptr; in SetDeathListener() 144 mediaListenerMap_.find(pid) != mediaListenerMap_.end() ? mediaListenerMap_[pid] : nullptr; in SetDeathListener()
|
/foundation/multimodalinput/input/test/facility/virtual_device/src/ |
H A D | general_device.cpp | 74 std::map<std::string, std::string>::const_iterator cItr = nodes.find(name); in FindDeviceNode() 115 std::string::size_type spos = res.find(kname); in GetInputDeviceNodes() 118 std::string::size_type tpos = res.find("\"", spos); in GetInputDeviceNodes() 124 std::string::size_type spos = res.find(kevent); in GetInputDeviceNodes() 126 std::map<std::string, std::string>::const_iterator cItr = nodes.find(name); in GetInputDeviceNodes()
|
/foundation/multimedia/player_framework/services/utils/ |
H A D | time_format_utils.cpp | 91 std::string::size_type position = dataTime.find(" "); in FormatDataTimeByString() 96 if (data.find("-") == data.npos) { in FormatDataTimeByString() 105 if (data.find("-") == data.npos) { in FormatDataTimeByString() 110 if (time.find(":") == data.npos) { in FormatDataTimeByString() 115 time = time.substr(0, time.find(".")); in FormatDataTimeByString()
|
/foundation/deviceprofile/device_info_manager/old/services/core/src/authority/ |
H A D | trust_group_manager.cpp | 38 if (jsonObject.find(FIELD_GROUP_NAME) != jsonObject.end() && jsonObject[FIELD_GROUP_NAME].is_string()) { in from_json() 41 if (jsonObject.find(FIELD_GROUP_ID) != jsonObject.end() && jsonObject[FIELD_GROUP_ID].is_string()) { in from_json() 44 if (jsonObject.find(FIELD_GROUP_OWNER) != jsonObject.end() && jsonObject[FIELD_GROUP_OWNER].is_string()) { in from_json() 47 if (jsonObject.find(FIELD_GROUP_TYPE) != jsonObject.end() && jsonObject[FIELD_GROUP_TYPE].is_number_integer()) { in from_json() 50 if (jsonObject.find(FIELD_GROUP_VISIBILITY) != jsonObject.end() && in from_json()
|
/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/data/ |
H A D | type_descriptor.cpp | 39 isFlexibleType_ = (typeId_.find(FLEXIBLE_TYPE_FLAG) != typeId_.npos); in TypeDescriptor() 52 if (std::find(belongingToTypes_.begin(), belongingToTypes_.end(), higherLevelTypeId) != belongingToTypes_.end()) { in CmpFlexibleTypeLevel() 70 bool isFlexibleType = typeId.find(FLEXIBLE_TYPE_FLAG) != typeId_.npos; in BelongsTo() 96 bool isFlexibleType = typeId.find(FLEXIBLE_TYPE_FLAG) != typeId_.npos; in IsLowerLevelType() 116 bool isFlexibleType = typeId.find(FLEXIBLE_TYPE_FLAG) != typeId_.npos; in IsHigherLevelType()
|
/foundation/distributedhardware/distributed_screen/services/screenclient/src/ |
H A D | screen_client.cpp | 49 auto iter = surfaceMap_.find(windowId); in ShowWindow() 68 auto iter = surfaceMap_.find(windowId); in HideWindow() 87 auto iter = surfaceMap_.find(windowId); in MoveWindow() 107 auto iter = surfaceMap_.find(windowId); in GetSurface() 122 auto iter = surfaceMap_.find(windowId); in RemoveWindow()
|
/foundation/filemanagement/app_file_service/services/backup_sa/src/module_ipc/ |
H A D | svc_restore_deps_manager.cpp | 65 if (depsMap_.find(bundle) == depsMap_.end()) { in IsAllDepsRestored() 71 if (find(restoredBundles_.begin(), restoredBundles_.end(), dep) == restoredBundles_.end()) { in IsAllDepsRestored() 83 if (depsMap_.find(bundleNameIndexInfo) != depsMap_.end()) { in BuildDepsMap() 90 if (restoreDeps.find(",") != string::npos) { in BuildDepsMap() 152 auto it = toRestoreBundleMap_.find(bundleName); in UpdateToRestoreBundleMap()
|
/third_party/ninja/src/ |
H A D | eval_env.cc | 22 map<string, string>::iterator i = bindings_.find(var); in LookupVariable() 40 map<string, const Rule*>::iterator i = rules_.find(rule_name); in LookupRuleCurrentScope() 47 map<string, const Rule*>::iterator i = rules_.find(rule_name); in LookupRule() 60 Bindings::const_iterator i = bindings_.find(key); in GetBinding() 88 map<string, string>::iterator i = bindings_.find(var); in LookupWithFallback()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
H A D | gen_blit11helper.py | 169 if dimension == "2D" and operation.find("TOI") != -1: 210 if dimension == "2D" and blitshader[0].find("TOI") != -1: 235 if dimension == "2D" and blitshader[0].find("TOI") != -1: 258 if dimension == "2D" and blitshader[0].find("TOI") != -1: 272 if dimension == "2D" and blitshader[0].find("TOI") != -1:
|
/third_party/skia/src/core/ |
H A D | SkImageFilterCache.cpp | 58 if (Value* v = fLookup.find(key)) { 73 if (Value* v = fLookup.find(key)) { 80 if (auto* values = fImageFilterValues.find(filter)) { 107 auto* values = fImageFilterValues.find(filter); 124 if (auto* values = fImageFilterValues.find(v->fFilter)) { in removeInternal()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/ObjCARC/ |
H A D | BlotMapVector.h | 79 iterator find(const KeyT &Key) { in find() function in llvm::BlotMapVector 80 typename MapTy::iterator It = Map.find(Key); in find() 86 const_iterator find(const KeyT &Key) const { in find() function in llvm::BlotMapVector 87 typename MapTy::const_iterator It = Map.find(Key); in find() 97 typename MapTy::iterator It = Map.find(Key); in blot()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
H A D | DominanceFrontier.h | 84 iterator find(BlockT *B) { return Frontiers.find(B); } in find() function in llvm::DominanceFrontierBase 85 const_iterator find(BlockT *B) const { return Frontiers.find(B); } in find() function in llvm::DominanceFrontierBase 88 assert(find(BB) == end() && "Block already in DominanceFrontier!"); in addBasicBlock()
|
/foundation/ability/ability_runtime/services/dataobsmgr/src/ |
H A D | dataobs_mgr_inner_pref.cpp | 59 auto obsPair = observers_.find(uri.ToString()); in HandleUnregisterObserver() 96 size_t pos = uriStr.find('?'); in HandleNotifyChange() 103 auto obsPair = observers_.find(observerKey); in HandleNotifyChange() 129 auto it = obsRecipient_.find(dataObserver->AsObject()); in AddObsDeathRecipient() 155 auto it = obsRecipient_.find(dataObserver); in RemoveObsDeathRecipient() 202 auto obs = std::find(value.begin(), value.end(), dataObserver); in HaveRegistered()
|
/foundation/arkui/ace_engine/frameworks/base/i18n/ |
H A D | date_time_sequence.cpp | 45 if (DATE_ORDER_MAP.find(languageTag) != DATE_ORDER_MAP.end()) { in GetDateOrder() 46 orderResult.dateOrder = DATE_ORDER_MAP.find(languageTag)->second; in GetDateOrder() 87 if (DATETIME_ORDER_MAP.find(languageTag) != DATETIME_ORDER_MAP.end()) { in GetDateTimeOrder() 88 orderResult.dateTimeOrder = DATETIME_ORDER_MAP.find(languageTag)->second; in GetDateTimeOrder() 132 if (AM_PM_TIME_ORDER_MAP.find(languageTag) != AM_PM_TIME_ORDER_MAP.end()) { in GetAmPmTimeOrder() 133 orderResult.amPmTimeOrder = AM_PM_TIME_ORDER_MAP.find(languageTag)->second; in GetAmPmTimeOrder() 179 auto it = pattern2index.find(order[i]); in ModifyOrder()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/quick_fix/ |
H A D | quick_fix_manager_host_impl.cpp | 158 if (fileName.find("..") != std::string::npos in IsFileNameValid() 159 || fileName.find("/") != std::string::npos in IsFileNameValid() 160 || fileName.find("\\") != std::string::npos in IsFileNameValid() 161 || fileName.find("%") != std::string::npos) { in IsFileNameValid() 174 if (path.find(ServiceConstants::RELATIVE_PATH) != std::string::npos) { in CopyHqfToSecurityDir() 178 if (path.find(prefixStr) != 0) { in CopyHqfToSecurityDir()
|
/foundation/graphic/graphic_2d/rosen/modules/hyper_graphic_manager/core/frame_rate_manager/ |
H A D | hgm_energy_consumption_policy.cpp | 70 auto isEnable = animationPowerConfig.find("animation_energy_assurance_enable"); in SetEnergyConsumptionConfig() 81 auto idleFps = animationPowerConfig.find("animation_idle_fps"); in SetEnergyConsumptionConfig() 87 auto idleDuration = animationPowerConfig.find("animation_idle_duration"); in SetEnergyConsumptionConfig() 93 auto touchUpTime = animationPowerConfig.find("animation_touch_up_duration"); in SetEnergyConsumptionConfig() 109 auto it = UI_RATE_TYPE_NAME_MAP.find(rateTypeName); in SetUiEnergyConsumptionConfig() 200 auto it = uiEnergyAssuranceMap_.find(rsRange.type_); in GetUiIdleFps()
|
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/dash/mpd_parser/ |
H A D | dash_period_manager.cpp | 132 // if AdaptationSet and AdaptationSet.Representation can not find mime/contentType. we parse in ParseAdptSetList() 149 if (mimeType.find(VIDEO_MIME_TYPE) != std::string::npos) { in ParseAdptSetTypeByMime() 151 } else if (mimeType.find(AUDIO_MIME_TYPE) != std::string::npos) { in ParseAdptSetTypeByMime() 153 } else if (mimeType.find(SUBTITLE_MIME_APPLICATION) != std::string::npos || in ParseAdptSetTypeByMime() 154 mimeType.find(SUBTITLE_MIME_TEXT) != std::string::npos) { in ParseAdptSetTypeByMime() 159 ((mimeType.find(SUBTITLE_MIME_APPLICATION) != std::string::npos) ? SUBTITLE_MIME_APPLICATION in ParseAdptSetTypeByMime() 161 } else if (mimeType.find(subtitleMimeType_) == std::string::npos) { in ParseAdptSetTypeByMime()
|
/foundation/multimodalinput/input/service/mouse_event_normalize/src/ |
H A D | mouse_event_normalize.cpp | 45 auto iter = processors_.find(deviceId); in GetProcessor() 47 MMI_HILOGE("Can't find mouse processor by deviceId:%{public}d", deviceId); in GetProcessor() 56 auto iter = processors_.find(deviceId); in GetCurrentProcessor() 58 MMI_HILOGE("Can't find mouse processor by deviceId:%{public}d", deviceId); in GetCurrentProcessor() 83 auto iter = processors_.find(deviceId); in GetPointerEvent() 85 MMI_HILOGE("Can't find mouse processor by deviceId:%{public}d", deviceId); in GetPointerEvent() 104 if (auto it = processors_.find(deviceId); it != processors_.end()) { in OnEvent() 153 if (auto it = processors_.find(deviceId); it != processors_.end()) { in NormalizeRotateEvent() 175 if (auto it = processors_.find(deviceId); it != processors_.end()) { in CheckAndPackageAxisEvent()
|
/foundation/systemabilitymgr/samgr/interfaces/innerkits/common/include/ |
H A D | parse_util.h | 74 if (obj.find(key.c_str()) != obj.end() && obj[key.c_str()].is_boolean()) { in GetBoolFromJson() 81 if (obj.find(key.c_str()) != obj.end() && obj[key.c_str()].is_string()) { in GetStringFromJson() 88 if (obj.find(key.c_str()) != obj.end() && obj[key.c_str()].is_number_integer()) { in GetInt32FromJson() 96 if (obj.find(key.c_str()) != obj.end() && obj[key.c_str()].is_array()) { in GetStringArrayFromJson() 108 if (obj.find(key.c_str()) != obj.end() && obj[key.c_str()].is_array()) { in GetIntArrayFromJson() 120 if (obj.find(key.c_str()) != obj.end() && obj[key.c_str()].is_array()) { in GetIntArrayFromJson()
|
/foundation/resourceschedule/device_usage_statistics/services/packagegroup/src/ |
H A D | bundle_active_group_handler.cpp | 81 if (checkBundleTaskMap_.find(msgKey) != checkBundleTaskMap_.end()) { in SendCheckBundleMsg() 88 if (groupHandler->checkBundleTaskMap_.find(msgKey) == groupHandler->checkBundleTaskMap_.end()) { in SendCheckBundleMsg() 101 if (checkBundleTaskMap_.find(msgKey) == checkBundleTaskMap_.end()) { in RemoveCheckBundleMsg() 130 if (taskHandlerMap_.find(eventId) == taskHandlerMap_.end()) { in SendEvent() 136 if (groupHandler->taskHandlerMap_.find(eventId) == groupHandler->taskHandlerMap_.end()) { in SendEvent() 153 if (taskHandlerMap_.find(eventId) == taskHandlerMap_.end()) { in RemoveEvent()
|
/foundation/distributeddatamgr/preferences/frameworks/native/include/ |
H A D | priority_queue.h | 86 if (indexes_.find(id) != indexes_.end()) { in Find() 95 auto index = indexes_.find(id); in Update() 108 auto running = running_.find(id); in Update() 121 return !wait || running_.find(id) == running_.end(); in Remove() 123 auto index = indexes_.find(id); in Remove() 144 auto it = running_.find(id); in Finish()
|