Home
last modified time | relevance | path

Searched refs:first (Results 1 - 25 of 2155) sorted by relevance

12345678910>>...87

/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/extension/
H A Dcloud_db_impl.cpp46 if (data.first == nullptr) { in Execute()
49 auto status = OhCloudExtCloudDbExecuteSql(database_, &sqlInfo, data.first); in Execute()
50 OhCloudExtHashMapFree(data.first); in Execute()
59 if (valIn.first == nullptr || exdIn.first == nullptr) { in BatchInsert()
60 OhCloudExtVectorFree(valIn.first); in BatchInsert()
61 OhCloudExtVectorFree(exdIn.first); in BatchInsert()
65 table.size(), valIn.first, exdIn.first); in BatchInsert()
67 extends = ExtensionUtil::ConvertBuckets(exdIn.first); in BatchInsert()
[all...]
/foundation/ability/ability_runtime/services/abilitymgr/src/utils/
H A Ddump_utils.cpp25 result.first = true; in DumpMapOne()
28 result.first = true; in DumpMapOne()
31 result.first = true; in DumpMapOne()
34 result.first = true; in DumpMapOne()
37 result.first = true; in DumpMapOne()
40 result.first = true; in DumpMapOne()
43 result.first = true; in DumpMapOne()
46 result.first = true; in DumpMapOne()
49 result.first = true; in DumpMapOne()
60 result.first in DumpMapTwo()
[all...]
/foundation/graphic/graphic_3d/lume/LumeBase/api/base/containers/
H A Dvector.h84 // first element
225 vector(InputIt first, InputIt last) : allocator_(default_allocator()) in vector() argument
227 const auto size = static_cast<size_type>(last - first); in vector()
229 init_copy(data_, first, last); in vector()
233 vector(const_pointer first, const_pointer last) : allocator_(default_allocator()) in vector() argument
235 const auto size = static_cast<size_type>(last - first); in vector()
237 init_copy(data_, first, size); in vector()
298 // first copy to the initialized objects.. in operator =()
648 iterator insert(const_iterator pos, const_iterator first, const_iterator last) in insert() argument
650 return insert_impl(pos, first, las in insert()
653 insert(const_iterator pos, iterator first, iterator last) insert() argument
659 insert(const_iterator pos, InputIt first, InputIt last) insert() argument
685 append(InputIt first, InputIt last) append() argument
705 append(const_pointer first, const_pointer last) append() argument
736 erase(const_iterator first, const_iterator last) erase() argument
846 uninitialized_default_construct(pointer first, pointer last) uninitialized_default_construct() argument
857 uninitialized_value_construct(pointer first, pointer last) uninitialized_value_construct() argument
868 uninitialized_copy(const_pointer first, const_pointer last, pointer d_first) uninitialized_copy() argument
880 uninitialized_fill(pointer first, const_pointer last, const_reference value) uninitialized_fill() argument
892 uninitialized_move(pointer first, const_pointer last, pointer d_first) uninitialized_move() argument
907 copy(pointer pos, InputIt first, InputIt last) copy() argument
943 move(pointer first, const_pointer last, pointer d_first) move() argument
955 reverse_move(pointer first, pointer last, pointer dst) reverse_move() argument
986 destroy(iterator first, iterator last) destroy() argument
1095 init_copy(pointer pos, InputIt first, InputIt last) init_copy() argument
1172 insert_impl(const_iterator pos, InputIt first, InputIt last) insert_impl() argument
[all...]
/foundation/communication/dhcp/services/dhcp_server/src/
H A Ddhcp_option.cpp54 if (pOptions->first != nullptr) { in HasInitialized()
66 if (pOptions->first != nullptr && pOptions->first == pOptions->last) { in InitOptionList()
78 pOptions->first = pOptions->last = pNode; in InitOptionList()
79 pOptions->first->previous = nullptr; in InitOptionList()
95 if (pOptions->first == nullptr) { in PushBackOption()
127 if (pOptions->first == pOptions->last) { in PushFrontOption()
128 pNode->previous = pOptions->first; in PushFrontOption()
129 pOptions->first->next = pNode; in PushFrontOption()
132 pNode->next = pOptions->first in PushFrontOption()
[all...]
/foundation/ability/ability_runtime/test/unittest/dump_utils_test/
H A Ddump_utils_test.cpp52 EXPECT_TRUE(result.first); in HWTEST_F()
69 EXPECT_TRUE(result.first); in HWTEST_F()
86 EXPECT_TRUE(result.first); in HWTEST_F()
103 EXPECT_TRUE(result.first); in HWTEST_F()
120 EXPECT_TRUE(result.first); in HWTEST_F()
137 EXPECT_TRUE(result.first); in HWTEST_F()
154 EXPECT_TRUE(result.first); in HWTEST_F()
171 EXPECT_TRUE(result.first); in HWTEST_F()
188 EXPECT_TRUE(result.first); in HWTEST_F()
205 EXPECT_TRUE(result.first); in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_option.cpp59 if (attr.first != DOM_OPTION_CONTENT) { in SetSpecializedAttr()
63 if (attr.first == DOM_OPTION_SELECTED) { in SetSpecializedAttr()
68 if (attr.first == DOM_OPTION_VALUE) { in SetSpecializedAttr()
73 if (attr.first == DOM_OPTION_ICON) { in SetSpecializedAttr()
83 if (attr.first == DOM_OPTION_ACTION) { in SetSpecializedAttr()
92 if (attr.first == DOM_OPTION_CONTENT) { in SetSpecializedAttr()
102 if (attr.first == DOM_DISABLED) { in SetSpecializedAttr()
107 if (attr.first == DOM_SHOW) { in SetSpecializedAttr()
112 if (attr.first == DOM_FOCUSABLE) { in SetSpecializedAttr()
125 if (style.first in SetSpecializedStyle()
[all...]
H A Ddom_rating.cpp34 if (attr.first == DOM_RATING_INDICATOR) { in SetSpecializedAttr()
42 rating.starNum_.first = StringToInt(val); in SetSpecializedAttr()
47 rating.ratingScore_.first = StringToDouble(val); in SetSpecializedAttr()
52 rating.stepSize_.first = StringToDouble(val); in SetSpecializedAttr()
56 auto operatorIter = ratingAttrOperators.find(attr.first); in SetSpecializedAttr()
67 if (style.first == DOM_RTL_FLIP) { in SetSpecializedStyle()
75 rating.backgroundSrc_.first = val; in SetSpecializedStyle()
80 rating.foregroundSrc_.first = val; in SetSpecializedStyle()
85 rating.secondarySrc_.first = val; in SetSpecializedStyle()
89 auto operatorIter = ratingStyleOperators.find(style.first); in SetSpecializedStyle()
[all...]
H A Ddom_progress.cpp120 BinarySearchFindIndex(progressAttrsOperators, ArraySize(progressAttrsOperators), attr.first.c_str()); in SetSpecializedAttr()
134 progress.backgroundColor_.first = progress.ParseColor(val); in SetSpecializedStyle()
143 progress.centerX_.first = StringToDouble(val); in SetSpecializedStyle()
148 progress.centerY_.first = StringToDouble(val); in SetSpecializedStyle()
156 progress.color_.first = progress.ParseColor(val); in SetSpecializedStyle()
168 progress.radius_.first = StringToDouble(val); in SetSpecializedStyle()
173 progress.scaleNumber_.first = StringUtils::StringToInt(val); in SetSpecializedStyle()
178 progress.scaleWidth_.first = progress.ParseDimension(val); in SetSpecializedStyle()
183 progress.cachedColor_.first = progress.ParseColor(val); in SetSpecializedStyle()
190 progress.strokeWidth_.first in SetSpecializedStyle()
[all...]
H A Ddom_popup.cpp94 if (attr.first == DOM_PLACEMENT) { in SetSpecializedAttr()
100 } else if (attr.first == DOM_ARROW_OFFSET) { in SetSpecializedAttr()
103 } else if (attr.first == DOM_CLICKABLE) { in SetSpecializedAttr()
106 } else if (attr.first == DOM_KEEP_ALIVE) { in SetSpecializedAttr()
115 if (style.first == DOM_BACKGROUND_COLOR || style.first == DOM_BACKGROUND || style.first == DOM_BACKGROUND_IMAGE) { in SetSpecializedStyle()
120 if (style.first == DOM_POSITION || style.first == DOM_POSITION_LEFT || style.first in SetSpecializedStyle()
[all...]
H A Ddom_refresh.cpp54 if (attr.first == DOM_REFRESH_OFFSET) { in SetSpecializedAttr()
58 } else if (attr.first == DOM_REFRESH_REFRESHING) { in SetSpecializedAttr()
61 } else if (attr.first == DOM_REFRESH_TYPE) { in SetSpecializedAttr()
68 } else if (attr.first == DOM_REFRESH_LASTTIME) { in SetSpecializedAttr()
71 } else if (attr.first == DOM_REFRESH_FRICTION) { in SetSpecializedAttr()
74 } else if (attr.first == DOM_REFRESH_TIME_OFFSET) { in SetSpecializedAttr()
84 if (style.first == DOM_REFRESH_PROGRESS_COLOR) { in SetSpecializedStyle()
85 progressColor_.first = ParseColor(style.second); in SetSpecializedStyle()
89 if (style.first == DOM_REFRESH_BACKGROUND_COLOR) { in SetSpecializedStyle()
132 progressColor_.first in GetSpecializedComponent()
[all...]
/foundation/graphic/graphic_3d/lume/metaobject/src/
H A Dcontainer_observer.cpp56 return other.added_.first == added_.first && other.removed_.first == removed_.first &&
57 other.moved_.first == moved_.first;
68 return added_.first && removed_.first && moved_.first; in Subscribe()
76 if (added_.first) { in Unsubscribe()
[all...]
/foundation/multimedia/av_codec/services/engine/codec/video/hcodec/
H A Dhcodec_utils.cpp25 switch (meta->GetValueType(iter->first)) { in StringifyMeta()
27 dumpStream << iter->first << " = " << std::to_string(Media::AnyCast<int32_t>(iter->second)) << " | "; in StringifyMeta()
30 dumpStream << iter->first << " = " << std::to_string(Media::AnyCast<uint32_t>(iter->second)) << " | "; in StringifyMeta()
33 dumpStream << iter->first << " = " << std::to_string(Media::AnyCast<bool>(iter->second)) << " | "; in StringifyMeta()
36 dumpStream << iter->first << " = " << std::to_string(Media::AnyCast<double>(iter->second)) << " | "; in StringifyMeta()
39 dumpStream << iter->first << " = " << std::to_string(Media::AnyCast<int64_t>(iter->second)) << " | "; in StringifyMeta()
42 dumpStream << iter->first << " = " << std::to_string(Media::AnyCast<float>(iter->second)) << " | "; in StringifyMeta()
45 dumpStream << iter->first << " = " << "unknown type | "; in StringifyMeta()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/communicator/src/
H A Dframe_retainer.cpp71 LogRetainInfo("[Retainer][Final] DISCARD", eachLabel.first, eachTarget.first, eachFrame.first, in Finalize()
108 LogRetainInfo("[Retainer][Retain] DISCARD", inFrame.commLabel, inFrame.srcTarget, iter->first, iter->second); in RetainFrame()
137 fetchOrder[eachFrame.first] = eachTarget.first; in FetchFramesForSpecificCommunicator()
141 RetainWork &work = perLabel[entry.second][entry.first]; in FetchFramesForSpecificCommunicator()
142 LogRetainInfo("[Retainer][Fetch] FETCH-OUT", inCommLabel, entry.second, entry.first, work); in FetchFramesForSpecificCommunicator()
161 LogRetainInfo("[Retainer][Surveil] DISCARD", label, eachTarget.first, eachFrame.first, in DecreaseRemainTimeAndDiscard()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Dclip_path.cpp112 std::string::size_type first = 0; in GetBasicShapeInfo() local
114 if (tmp != std::string::npos && tmp >= first) { in GetBasicShapeInfo()
115 first = tmp + std::strlen("inset("); in GetBasicShapeInfo()
116 data = value.substr(first, (value.find_first_of(')', first) - first)); in GetBasicShapeInfo()
120 if (tmp != std::string::npos && tmp >= first) { in GetBasicShapeInfo()
121 first = tmp + std::strlen("circle("); in GetBasicShapeInfo()
122 data = value.substr(first, (value.find_first_of(')', first) in GetBasicShapeInfo()
[all...]
/foundation/arkui/ace_engine/test/unittest/core/property/
H A Dtemplates_parser_test_ng.cpp192 EXPECT_EQ(result.first.size(), rt.size()); in HWTEST_F()
193 for (int i = 0; i < rt.size() && i < result.first.size(); i++) { in HWTEST_F()
194 EXPECT_EQ(rt[i], result.first[i]); in HWTEST_F()
208 * @tc.expected: retVal.first is empty. in HWTEST_F()
216 EXPECT_EQ(retVal.first.size(), 4); in HWTEST_F()
220 * @tc.expected: retVal.first.size() is 100. in HWTEST_F()
229 EXPECT_EQ(retVal.first.size(), 4); in HWTEST_F()
230 for (int i = 0; i < retVal.first.size(); i++) { in HWTEST_F()
231 EXPECT_EQ(retVal.first[i], gt[i]); in HWTEST_F()
236 * @tc.expected: retVal.first in HWTEST_F()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui_effect/
H A Dutils.h35 return std::clamp(para, limits.first, limits.second);
40 return Vector3f(std::clamp(para.x_, limits.first, limits.second), std::clamp(para.y_, limits.first, limits.second),
41 std::clamp(para.z_, limits.first, limits.second));
46 return Vector4f(std::clamp(para.x_, limits.first, limits.second), std::clamp(para.y_, limits.first, limits.second),
47 std::clamp(para.z_, limits.first, limits.second), std::clamp(para.w_, limits.first, limits.second));
/foundation/multimedia/av_session/frameworks/native/ohavsession/src/
H A DOHAVSessionCallbackImpl.cpp27 it->first(avsession_, CONTROL_CMD_PLAY, it->second); in OnPlay()
34 it->first(avsession_, CONTROL_CMD_PAUSE, it->second); in OnPause()
41 it->first(avsession_, CONTROL_CMD_STOP, it->second); in OnStop()
48 it->first(avsession_, CONTROL_CMD_PLAY_NEXT, it->second); in OnPlayNext()
55 it->first(avsession_, CONTROL_CMD_PLAY_PREVIOUS, it->second); in OnPlayPrevious()
62 it->first(avsession_, time, it->second); in OnFastForward()
69 it->first(avsession_, time, it->second); in OnRewind()
76 it->first(avsession_, time, it->second); in OnSeek()
83 it->first(avsession_, static_cast<AVSession_LoopMode>(loopMode), it->second); in OnSetLoopMode()
90 it->first(avsession in OnToggleFavorite()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/property/
H A Dlayout_constraint.h37 static bool CompareWithInfinityCheck(const OptionalSize<float>& first, const OptionalSize<float>& second) in CompareWithInfinityCheck()
39 if (first.Width().has_value() ^ second.Width().has_value()) { in CompareWithInfinityCheck()
42 auto widthBothInf = GreaterOrEqualToInfinity(first.Width().value_or(0.0f)) && in CompareWithInfinityCheck()
44 if (!widthBothInf && !NearEqual(first.Width().value_or(0), second.Width().value_or(0))) { in CompareWithInfinityCheck()
47 if (first.Height().has_value() ^ second.Height().has_value()) { in CompareWithInfinityCheck()
50 auto heightBothInf = GreaterOrEqualToInfinity(first.Height().value_or(0.0f)) && in CompareWithInfinityCheck()
52 if (!heightBothInf && !NearEqual(first.Height().value_or(0), second.Height().value_or(0))) { in CompareWithInfinityCheck()
58 static bool CompareWithInfinityCheck(const SizeT<float>& first, const SizeT<float>& second) in CompareWithInfinityCheck()
60 auto widthBothInf = GreaterOrEqualToInfinity(first.Width()) && GreaterOrEqualToInfinity(second.Width()); in CompareWithInfinityCheck()
61 auto heightBothInf = GreaterOrEqualToInfinity(first in CompareWithInfinityCheck()
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/common/
H A Dpower_state_machine.cpp119 if (powerLevel.first != PowerSsrLevel::NO_ACTION && powerLevel.first != controlPowerLevel.first) { in Entry()
120 int ssrRet = pd_.BtmSetSniffSubrating(PowerSpec::GetPowerSsrParam(powerLevel.first)); in Entry()
156 if (powerLevel.first != PowerSsrLevel::NO_ACTION && powerLevel.first != controlPowerLevel.first) { in Dispatch()
157 int ssrRet = pd_.BtmSetSniffSubrating(PowerSpec::GetPowerSsrParam(powerLevel.first)); in Dispatch()
214 pd_.GetRequestPowerLevel().first, in Dispatch()
215 pd_.GetControlPowerLevel().first); in Dispatch()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/syntax/
H A Dlazy_for_each_builder.cpp28 auto keyIter = expiringItem_.find(iter->second.first); in GetChildByIndex()
35 return { keyIter->first, keyIter->second.second }; in GetChildByIndex()
50 expiringItem_.emplace(itemInfo.first, LazyForEachCacheChild(index, itemInfo.second)); in GetChildByIndex()
51 cachedItems_[index] = LazyForEachChild(itemInfo.first, nullptr); in GetChildByIndex()
63 node.first = -1; in OnDataReloaded()
67 expiringItem_.try_emplace(node.first, LazyForEachCacheChild(-1, std::move(node.second))); in OnDataReloaded()
77 if (!cachedItems_.empty() && index <= static_cast<size_t>(cachedItems_.rbegin()->first)) { in OnDataAdded()
86 if (static_cast<size_t>(node.first) >= index && node.first != -1) { in OnDataAdded()
87 node.first in OnDataAdded()
[all...]
/foundation/multimedia/media_foundation/interface/inner_api/cpp_ext/
H A Dalgorithm_ext.h22 inline bool AnyOf(Iterator first, Iterator last, UnaryPredicate p) // implementation of std::any_of used on c++11 in AnyOf() argument
24 while (first != last) { in AnyOf()
25 if (p(*first)) { in AnyOf()
28 ++first; in AnyOf()
/foundation/multimedia/media_foundation/engine/include/foundation/cpp_ext/
H A Dalgorithm_ext.h22 inline bool AnyOf(Iterator first, Iterator last, UnaryPredicate p) // implementation of std::any_of used on c++11 in AnyOf() argument
24 while (first != last) { in AnyOf()
25 if (p(*first)) { in AnyOf()
28 ++first; in AnyOf()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/object/
H A Dobject_dms_handler.cpp56 if (it->first.dSchedEventType_ != DistributedSchedule::DMS_CONTINUE) { in IsContinue()
59 if (it->first.srcNetworkId_ == localDeviceInfo.networkId && it->first.srcBundleName_ == bundleName) { in IsContinue()
64 if (it->first.dstNetworkId_ == localDeviceInfo.networkId && it->first.destBundleName_ == bundleName) { in IsContinue()
85 if (it->first.dSchedEventType_ != DistributedSchedule::DMS_CONTINUE) { in GetDstBundleName()
88 if (it->first.srcNetworkId_ == localDeviceInfo.networkId && it->first.srcBundleName_ == srcBundleName && in GetDstBundleName()
89 it->first.dstNetworkId_ == dstNetworkId) { in GetDstBundleName()
91 srcBundleName.c_str(), it->first in GetDstBundleName()
[all...]
/foundation/arkui/ace_engine/frameworks/core/animation/
H A Danimator_group.cpp23 if (info.first) { in ~AnimatorGroup()
24 info.first->RemoveStopListener(info.second); in ~AnimatorGroup()
63 if (info.first) { in Play()
64 runningAnimators_.emplace(info.first); in Play()
65 info.first->Play(); in Play()
77 if (info.first) { in Stop()
78 info.first->Stop(); in Stop()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/span/
H A Dmutable_span_string.cpp48 auto spanKey = it.first; in RemoveSpans()
108 auto startIndex = pair.first; in ReplaceSpan()
137 auto spanItemStart = (*it)->interval.first; in HandleSpanOperation()
146 newSpan->interval.first = spanItemStart; in HandleSpanOperation()
158 if (spanItemStart == intersection.first && spanItemEnd == intersection.second) { in HandleSpanOperation()
162 if (spanItemStart < intersection.first && intersection.second < spanItemEnd && op == SpanStringOperation::REMOVE) { in HandleSpanOperation()
173 if (intersection.first > spanItemStart) { in HandleSpanOperation()
184 (*it)->interval.first = end; in HandleSpanOperation()
194 if (spansMap_.find(iter.first) == spansMap_.end()) { in ApplyReplaceStringToSpanBase()
195 spansMap_[iter.first] in ApplyReplaceStringToSpanBase()
[all...]

Completed in 14 milliseconds

12345678910>>...87