/base/powermgr/power_manager/services/native/src/runninglock/ |
H A D | running_lock_proxy.cpp | 38 auto& tokenWksMap = proxyIter->second; in AddRunningLock() 58 TokenWorkSourceMap& tokenWksMap = proxyIter->second; in RemoveRunningLock() 67 if (proxyIter->second.empty()) { in RemoveRunningLock() 83 auto& tokenWksMap = proxyIter->second; in UpdateWorkSource() 89 auto& workSourceMap = tokenWksMapIter->second.first; in UpdateWorkSource() 96 workSourcesState.insert({ iter->first, { iter->second.first, iter->second.second } }); in UpdateWorkSource() 97 if (iter->second.second) { in UpdateWorkSource() [all...] |
/third_party/curl/lib/ |
H A D | strcase.c | 92 static int casecompare(const char *first, const char *second) in casecompare() argument 94 while(*first && *second) { in casecompare() 95 if(Curl_raw_toupper(*first) != Curl_raw_toupper(*second)) in casecompare() 99 second++; in casecompare() 105 return !*first == !*second; in casecompare() 109 int curl_strequal(const char *first, const char *second) in curl_strequal() argument 111 if(first && second) in curl_strequal() 113 return casecompare(first, second); in curl_strequal() 116 return (NULL == first && NULL == second); in curl_strequal() 119 static int ncasecompare(const char *first, const char *second, size_ argument 135 curl_strnequal(const char *first, const char *second, size_t max) curl_strnequal() argument [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gatt/ |
H A D | gatt_database.cpp | 43 service.endHandle_ = availableHandlePair.second; in AddService() 94 ReleaseHandle(sIt->second); in DeleteService() 96 for (auto &ccc : sIt->second.characteristics_) { in DeleteService() 97 attributes_.erase(ccc.second.valueHandle_); in DeleteService() 98 valueHandleMap_.erase(ccc.second.valueHandle_); in DeleteService() 99 for (auto &descriptor : ccc.second.descriptors_) { in DeleteService() 100 attributes_.erase(descriptor.second.handle_); in DeleteService() 101 valueHandleMap_.erase(descriptor.second.handle_); in DeleteService() 131 // [start handle, end handle][first,second] in ReleaseHandle() 134 // before [start handle, end handle][c.first, c.second] in ReleaseHandle() [all...] |
H A D | gatt_cache.cpp | 27 if (!it.second) { in AddService() 28 it.first->second.endHandle_ = service.endHandle_; in AddService() 29 it.first->second.uuid_ = service.uuid_; in AddService() 42 it->second.includeServices_.push_back(includeService); in AddIncludeService() 54 auto result = it->second.characteristics_.emplace(characteristic.handle_, characteristic); in AddCharacteristic() 55 if (result.second) { in AddCharacteristic() 58 result.first->second.properties_ = characteristic.properties_; in AddCharacteristic() 59 result.first->second.uuid_ = characteristic.uuid_; in AddCharacteristic() 69 auto cIt = sIt.second.characteristics_.find(cccHandle); in AddDescriptor() 70 if (cIt != sIt.second in AddDescriptor() [all...] |
H A D | gatt_client_profile.cpp | 330 auto iter = pimpl->cacheMap_.find(connectHandle)->second.GetIncludeServices(startHandle); in FindIncludedServices() 356 auto iter = pimpl->cacheMap_.find(connectHandle)->second.GetCharacteristics(startHandle); in DiscoverAllCharacteristicOfService() 388 auto iter = pimpl->cacheMap_.find(connectHandle)->second.GetCharacteristics(startHandle); in DiscoverCharacteristicByUuid() 448 uint16_t serviceHandle = pimpl->cacheMap_.find(connectHandle)->second.GetDescriptors(startHandle).second; in DiscoverAllCharacteristicDescriptors() 453 *pimpl->cacheMap_.find(connectHandle)->second.GetDescriptors(startHandle).first); in DiscoverAllCharacteristicDescriptors() 794 return &cache->second.GetServices(); in GetServices() 804 return cache->second.GetCharacteristicEndHandle(svcHandle, handle); in GetCharacteristicEndHandle() 822 auto sIt = cache->second.GetServices().find(handle); in GetService() 823 if (sIt != cache->second in GetService() [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_hf/ |
H A D | hfp_hf_call_manager.cpp | 45 if (it->second.GetState() == state) { in GetCallByState() 46 return &(it->second); in GetCallByState() 57 calls.push_back(it->second); in GetCurrentCalls() 74 iter->second.SetState(HFP_HF_CALL_STATE_FINISHED); in UpdateCallDone() 75 NotifyCallChanged(iter->second); in UpdateCallDone() 78 if ((iter->second.GetState() != updateiter->second.GetState()) || in UpdateCallDone() 79 (iter->second.GetNumber() != updateiter->second.GetNumber()) || in UpdateCallDone() 80 (iter->second in UpdateCallDone() [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/communicator/src/ |
H A D | frame_retainer.cpp | 69 for (auto &eachTarget : eachLabel.second) { in Finalize() 70 for (auto &eachFrame : eachTarget.second) { in Finalize() 72 eachFrame.second); in Finalize() 73 delete eachFrame.second.buffer; in Finalize() 74 eachFrame.second.buffer = nullptr; in Finalize() 108 LogRetainInfo("[Retainer][Retain] DISCARD", inFrame.commLabel, inFrame.srcTarget, iter->first, iter->second); in RetainFrame() 109 totalSizeByByte_ -= iter->second.buffer->GetSize(); in RetainFrame() 111 delete iter->second.buffer; in RetainFrame() 112 iter->second.buffer = nullptr; in RetainFrame() 136 for (const auto &eachFrame : eachTarget.second) { in FetchFramesForSpecificCommunicator() [all...] |
/foundation/ability/ability_runtime/services/abilitymgr/src/ |
H A D | sub_managers_helper.cpp | 63 currentConnectManager_ = it->second; in InitConnectManager() 82 currentDataAbilityManager_ = it->second; in InitDataAbilityManager() 99 currentPendingWantManager_ = it->second; in InitPendWantManager() 120 currentMissionListManager_ = it->second; in InitMissionListManager() 142 currentUIAbilityManager_ = it->second; in InitUIAbilityManager() 181 if (item.second && item.second->ContainsDataAbility(scheduler)) { in GetDataAbilityManager() 182 return item.second; in GetDataAbilityManager() 200 return it->second; in GetDataAbilityManagerByUserId() 210 if (item.second in GetDataAbilityManagerByToken() [all...] |
/foundation/ability/ability_runtime/services/abilitymgr/src/utils/ |
H A D | dump_utils.cpp | 26 result.second = KEY_DUMP_ALL; in DumpMapOne() 29 result.second = KEY_DUMP_STACK_LIST; in DumpMapOne() 32 result.second = KEY_DUMP_STACK; in DumpMapOne() 35 result.second = KEY_DUMP_MISSION; in DumpMapOne() 38 result.second = KEY_DUMP_TOP_ABILITY; in DumpMapOne() 41 result.second = KEY_DUMP_WAIT_QUEUE; in DumpMapOne() 44 result.second = KEY_DUMP_SERVICE; in DumpMapOne() 47 result.second = KEY_DUMP_DATA; in DumpMapOne() 50 result.second = KEY_DUMP_FOCUS_ABILITY; in DumpMapOne() 61 result.second in DumpMapTwo() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/syntax/ |
H A D | lazy_for_each_builder.h | 160 if (!node.second) { in RemoveAllChild() 163 auto frameNode = AceType::DynamicCast<FrameNode>(node.second->GetFrameChildByIndex(0, true)); in RemoveAllChild() 167 auto pair = expiringItem_.try_emplace(node.first, LazyForEachCacheChild(index, std::move(node.second))); in RemoveAllChild() 168 if (!pair.second) { in RemoveAllChild() 185 if (node.second) { in SetActiveChildRange() 186 auto frameNode = AceType::DynamicCast<FrameNode>(node.second->GetFrameChildByIndex(0, true)); in SetActiveChildRange() 193 if (keyIter != expiringItem_.end() && keyIter->second.second) { in SetActiveChildRange() 194 node.second = keyIter->second in SetActiveChildRange() [all...] |
H A D | lazy_for_each_builder.cpp | 25 if (iter->second.second) { in GetChildByIndex() 26 return iter->second; in GetChildByIndex() 28 auto keyIter = expiringItem_.find(iter->second.first); in GetChildByIndex() 29 if (keyIter != expiringItem_.end() && keyIter->second.second) { in GetChildByIndex() 31 iter->second.second = keyIter->second.second; in GetChildByIndex() [all...] |
/foundation/ability/form_fwk/services/src/ |
H A D | form_refresh_limiter.cpp | 39 return retVal.second; in AddItem() 66 infoPair.second.refreshCount = 0; in ResetLimit() 67 infoPair.second.isReported = false; in ResetLimit() 68 infoPair.second.remindFlag = false; in ResetLimit() 83 if (info->second.refreshCount < Constants::LIMIT_COUNT) { in IsEnableRefresh() 88 if (info->second.refreshCount == Constants::LIMIT_COUNT && !info->second.isReported) { in IsEnableRefresh() 89 info->second.isReported = true; in IsEnableRefresh() 108 return info->second.refreshCount; in GetRefreshCount() 124 info->second in Increase() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/ |
H A D | list_divider_arithmetic.h | 37 div.second.isDelta = false;
in SetMap() 75 if (it == dividermap_.end() || !it->second.isDelta) {
76 result.emplace(child.first, child.second);
81 .offset = it->second.offset * scale,
82 .length = it->second.length * scale,
101 if (it == another.end() || it->second.offset != child.second.offset ||
102 it->second.length != child.second.length) {
128 if (it1 == dividermap_.end() || !it1->second in Calculate() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/top_down/ |
H A D | water_flow_layout_info.cpp | 27 auto iter = crossItems.second.find(itemIndex); in GetCrossIndex() 28 if (iter != crossItems.second.end()) { in GetCrossIndex() 52 for (const auto& iter : crossItems.second) { in UpdateStartIndex() 53 if (GreatNotEqual(iter.second.first + iter.second.second + currentOffset_, 0.0f)) { in UpdateStartIndex() 59 if (NearZero(iter.second.first + iter.second.second) && NearZero(currentOffset_)) { in UpdateStartIndex() 73 for (const auto& iter : crossItems.second) { in GetEndIndexByOffset() [all...] |
/foundation/ability/ability_runtime/frameworks/cj/ffi/ |
H A D | cj_ability_lifecycle_callback.cpp | 126 if (!callback.second) { in OnAbilityCreate() 130 callback.second(ability); in OnAbilityCreate() 142 if (!callback.second) { in OnWindowStageCreate() 146 callback.second(ability, windowStage); in OnWindowStageCreate() 158 if (!callback.second) { in OnWindowStageActive() 162 callback.second(ability, windowStage); in OnWindowStageActive() 174 if (!callback.second) { in OnWindowStageInactive() 178 callback.second(ability, windowStage); in OnWindowStageInactive() 190 if (!callback.second) { in OnWindowStageDestroy() 194 callback.second(abilit in OnWindowStageDestroy() [all...] |
/base/sensors/sensor/services/src/ |
H A D | client_info.cpp | 63 for (const auto &pidIt : it->second) { in GetSensorState() 64 if (pidIt.second.GetSensorState()) { in GetSensorState() 90 for (const auto &pidIt : it->second) { in GetBestSensorInfo() 91 int64_t curSamplingPeriodNs = pidIt.second.GetSamplingPeriodNs(); in GetBestSensorInfo() 92 int64_t curReportDelayNs = pidIt.second.GetMaxReportDelayNs(); in GetBestSensorInfo() 115 for (const auto &pidIt : it->second) { in OnlyCurPidSensorEnabled() 116 if (!pidIt.second.GetSensorState()) { in OnlyCurPidSensorEnabled() 144 return ret.second; in UpdateAppThreadInfo() 176 if (uid != appThreadInfoIt.second.uid) { in GetSensorChannelByUid() 184 sensorChannel.push_back(channelIt->second); in GetSensorChannelByUid() [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/service/src/common/ |
H A D | power_state_machine.cpp | 122 } else if (powerLevel.second != PowerModeLevel::NO_ACTION && powerLevel.second != controlPowerLevel.second) { in Entry() 123 int sniffRet = pd_.BtmEnterSniffMode(PowerSpec::GetPowerParam(powerLevel.second)); in Entry() 159 } else if (powerLevel.second != PowerModeLevel::NO_ACTION && in Dispatch() 160 powerLevel.second != controlPowerLevel.second) { in Dispatch() 161 int sniffRet = pd_.BtmEnterSniffMode(PowerSpec::GetPowerParam(powerLevel.second)); in Dispatch() 173 if (powerLevel.second != PowerModeLevel::NO_ACTION && powerLevel.second ! in Dispatch() [all...] |
/third_party/ninja/src/ |
H A D | dyndep_parser_test.cc | 365 EXPECT_EQ(false, i->second.restat_); in TEST_F() 366 EXPECT_EQ(0u, i->second.implicit_outputs_.size()); in TEST_F() 367 EXPECT_EQ(0u, i->second.implicit_inputs_.size()); in TEST_F() 378 EXPECT_EQ(false, i->second.restat_); in TEST_F() 379 EXPECT_EQ(0u, i->second.implicit_outputs_.size()); in TEST_F() 380 EXPECT_EQ(0u, i->second.implicit_inputs_.size()); in TEST_F() 391 EXPECT_EQ(false, i->second.restat_); in TEST_F() 392 EXPECT_EQ(0u, i->second.implicit_outputs_.size()); in TEST_F() 393 ASSERT_EQ(1u, i->second.implicit_inputs_.size()); in TEST_F() 394 EXPECT_EQ("impin", i->second in TEST_F() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUArgumentUsageInfo.cpp | 58 << " PrivateSegmentBuffer: " << FI.second.PrivateSegmentBuffer in print() 59 << " DispatchPtr: " << FI.second.DispatchPtr in print() 60 << " QueuePtr: " << FI.second.QueuePtr in print() 61 << " KernargSegmentPtr: " << FI.second.KernargSegmentPtr in print() 62 << " DispatchID: " << FI.second.DispatchID in print() 63 << " FlatScratchInit: " << FI.second.FlatScratchInit in print() 64 << " PrivateSegmentSize: " << FI.second.PrivateSegmentSize in print() 65 << " WorkGroupIDX: " << FI.second.WorkGroupIDX in print() 66 << " WorkGroupIDY: " << FI.second.WorkGroupIDY in print() 67 << " WorkGroupIDZ: " << FI.second in print() [all...] |
/foundation/multimedia/player_framework/services/services/monitor/server/ |
H A D | monitor_server.cpp | 70 dumpString += " objsize = " + std::to_string(it->second.size()); in Dump() 74 dumpString += " remainder = " + std::to_string(timeInfoIt->second.time) + "ms"; in Dump() 75 dumpString += " alarmed = " + std::to_string(timeInfoIt->second.alarmed); in Dump() 100 timeInfoIt->second.time = MONITOR_TIMEMS; in Click() 101 timeInfoIt->second.triggerFlag = true; in Click() 170 auto objIt = std::find(objListIt->second.begin(), objListIt->second.end(), obj); in RegisterObj() 171 CHECK_AND_RETURN_RET_LOG(objIt == objListIt->second.end(), MSERR_OK, "The obj has already been registered"); in RegisterObj() 174 objListIt->second.push_back(obj); in RegisterObj() 194 auto objIt = std::find(objListIt->second in CancellationObj() [all...] |
/foundation/CastEngine/castengine_wifi_display/services/interaction/scene/ |
H A D | scene_format.cpp | 31 return ret.second; in PutBoolValue() 42 return ret.second; in PutUint16Value() 53 return ret.second; in PutIntValue() 64 return ret.second; in PutUint32Value() 75 return ret.second; in PutInt64Value() 86 return ret.second; in PutUint64Value() 97 return ret.second; in PutFloatValue() 108 return ret.second; in PutDoubleValue() 119 return ret.second; in PutStringValue() 130 return ret.second; in PutObjectValue() [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vf_separatefields.c | 28 AVFrame *second; member 75 if (!s->second) { in filter_frame() 78 AVFrame *second = s->second; in filter_frame() local 80 extract_field(second, s->nb_planes, second->top_field_first); in filter_frame() 82 if (second->pts != AV_NOPTS_VALUE && in filter_frame() 84 second->pts += inpicref->pts; in filter_frame() 86 second->pts = AV_NOPTS_VALUE; in filter_frame() 88 ret = ff_filter_frame(outlink, second); in filter_frame() [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | inner_bundle_info.cpp | 210 item->second.aotCompileStatus = aotCompileStatus; in SetAOTCompileStatus() 220 return item->second.aotCompileStatus; in GetAOTCompileStatus() 228 item.second.aotCompileStatus = AOTCompileStatus::NOT_COMPILED; in ResetAOTFlags() 239 item->second.aotCompileStatus = AOTCompileStatus::NOT_COMPILED; in ResetAOTCompileStatus() 257 hspInfo.moduleName = item->second.moduleName; in GetInternalDependentHspInfo() 258 hspInfo.hapPath = item->second.hapPath; in GetInternalDependentHspInfo() 1450 hapInfo.name = it->second.name; in FindHapModuleInfo() 1451 hapInfo.package = it->second.modulePackage; in FindHapModuleInfo() 1452 hapInfo.moduleName = it->second.moduleName; in FindHapModuleInfo() 1453 hapInfo.description = it->second in FindHapModuleInfo() [all...] |
/base/sensors/medical_sensor/services/medical_sensor/src/ |
H A D | client_info.cpp | 56 for (const auto &pidIt : it->second) { in GetSensorState() 57 if (pidIt.second.GetSensorState() == SENSOR_ENABLED) { in GetSensorState() 85 for (const auto &pidIt : it->second) { in GetBestSensorInfo() 86 int64_t curSamplingPeriodNs = pidIt.second.GetSamplingPeriodNs(); in GetBestSensorInfo() 87 int64_t curReportDelayNs = pidIt.second.GetMaxReportDelayNs(); in GetBestSensorInfo() 111 for (const auto &pidIt : it->second) { in OnlyCurPidSensorEnabled() 112 if (pidIt.second.GetSensorState() != SENSOR_ENABLED) { in OnlyCurPidSensorEnabled() 140 HiLog::Debug(LABEL, "%{public}s insert uid ret.second : %{public}d", __func__, ret.second); in UpdateUid() 141 return ret.second; in UpdateUid() [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | Pair.java | 12 * A pair of objects: first and second. 15 * @param <S> second object type 19 public final S second; field in Pair 21 protected Pair(F first, S second) { in Pair() argument 23 this.second = second; in Pair() 29 * @param second must be non-null 32 public static <F, S> Pair<F, S> of(F first, S second) { in of() argument 33 if (first == null || second == null) { in of() 36 return new Pair<F, S>(first, second); in of() [all...] |