Home
last modified time | relevance | path

Searched refs:end (Results 1 - 25 of 5164) sorted by relevance

12345678910>>...207

/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/
H A Dquery_helper.h34 static bool Handle(const std::vector<std::string> &words, int &pointer, int end, DBQuery &dbQuery);
35 static bool HandleExtra(const std::vector<std::string> &words, int &pointer, int end, DBQuery &dbQuery);
36 static bool HandleEqualTo(const std::vector<std::string> &words, int &pointer, int end, DBQuery &dbQuery);
37 static bool HandleNotEqualTo(const std::vector<std::string> &words, int &pointer, int end, DBQuery &dbQuery);
38 static bool HandleGreaterThan(const std::vector<std::string> &words, int &pointer, int end, DBQuery &dbQuery);
39 static bool HandleLessThan(const std::vector<std::string> &words, int &pointer, int end, DBQuery &dbQuery);
41 const std::vector<std::string> &words, int &pointer, int end, DBQuery &dbQuery);
42 static bool HandleLessThanOrEqualTo(const std::vector<std::string> &words, int &pointer, int end, DBQuery &dbQuery);
43 static bool HandleIsNull(const std::vector<std::string> &words, int &pointer, int end, DBQuery &dbQuery);
44 static bool HandleIsNotNull(const std::vector<std::string> &words, int &pointer, int end, DBQuer
[all...]
H A Dquery_helper.cpp52 std::vector<std::string> words(std::sregex_token_iterator(inputTrim.begin(), inputTrim.end(), regex, -1), in StringToDbQuery()
60 int end = words.size() - 1; // Read pointer ends at size - 1 in StringToDbQuery() local
62 for (int count = 0; pointer <= end && count <= MAX_QUERY_COMPLEXITY; ++count) { in StringToDbQuery()
65 isSuccess = HandleEqualTo(words, pointer, end, dbQuery); in StringToDbQuery()
67 isSuccess = HandleNotEqualTo(words, pointer, end, dbQuery); in StringToDbQuery()
69 isSuccess = HandleGreaterThan(words, pointer, end, dbQuery); in StringToDbQuery()
71 isSuccess = HandleLessThan(words, pointer, end, dbQuery); in StringToDbQuery()
73 isSuccess = HandleGreaterThanOrEqualTo(words, pointer, end, dbQuery); in StringToDbQuery()
75 isSuccess = HandleLessThanOrEqualTo(words, pointer, end, dbQuery); in StringToDbQuery()
77 isSuccess = Handle(words, pointer, end, dbQuer in StringToDbQuery()
87 Handle(const std::vector<std::string> &words, int &pointer, int end, DBQuery &dbQuery) Handle() argument
117 HandleExtra(const std::vector<std::string> &words, int &pointer, int end, DBQuery &dbQuery) HandleExtra() argument
139 HandleEqualTo(const std::vector<std::string> &words, int &pointer, int end, DBQuery &dbQuery) HandleEqualTo() argument
166 HandleNotEqualTo(const std::vector<std::string> &words, int &pointer, int end, DBQuery &dbQuery) HandleNotEqualTo() argument
193 HandleGreaterThan(const std::vector<std::string> &words, int &pointer, int end, DBQuery &dbQuery) HandleGreaterThan() argument
218 HandleLessThan(const std::vector<std::string> &words, int &pointer, int end, DBQuery &dbQuery) HandleLessThan() argument
243 HandleGreaterThanOrEqualTo( const std::vector<std::string> &words, int &pointer, int end, DBQuery &dbQuery) HandleGreaterThanOrEqualTo() argument
269 HandleLessThanOrEqualTo( const std::vector<std::string> &words, int &pointer, int end, DBQuery &dbQuery) HandleLessThanOrEqualTo() argument
295 HandleIsNull(const std::vector<std::string> &words, int &pointer, int end, DBQuery &dbQuery) HandleIsNull() argument
307 HandleIsNotNull(const std::vector<std::string> &words, int &pointer, int end, DBQuery &dbQuery) HandleIsNotNull() argument
319 HandleIn(const std::vector<std::string> &words, int &pointer, int end, DBQuery &dbQuery) HandleIn() argument
355 HandleNotIn(const std::vector<std::string> &words, int &pointer, int end, DBQuery &dbQuery) HandleNotIn() argument
391 HandleLike(const std::vector<std::string> &words, int &pointer, int end, DBQuery &dbQuery) HandleLike() argument
404 HandleNotLike(const std::vector<std::string> &words, int &pointer, int end, DBQuery &dbQuery) HandleNotLike() argument
417 HandleAnd(const std::vector<std::string> &words, int &pointer, int end, DBQuery &dbQuery) HandleAnd() argument
424 HandleOr(const std::vector<std::string> &words, int &pointer, int end, DBQuery &dbQuery) HandleOr() argument
431 HandleOrderByAsc(const std::vector<std::string> &words, int &pointer, int end, DBQuery &dbQuery) HandleOrderByAsc() argument
443 HandleOrderByDesc(const std::vector<std::string> &words, int &pointer, int end, DBQuery &dbQuery) HandleOrderByDesc() argument
455 HandleOrderByWriteTime(const std::vector<std::string> &words, int &pointer, int end, DBQuery &dbQuery) HandleOrderByWriteTime() argument
468 HandleLimit(const std::vector<std::string> &words, int &pointer, int end, DBQuery &dbQuery) HandleLimit() argument
481 HandleBeginGroup(const std::vector<std::string> &words, int &pointer, int end, DBQuery &dbQuery) HandleBeginGroup() argument
488 HandleEndGroup(const std::vector<std::string> &words, int &pointer, int end, DBQuery &dbQuery) HandleEndGroup() argument
495 HandleKeyPrefix(const std::vector<std::string> &words, int &pointer, int end, DBQuery &dbQuery) HandleKeyPrefix() argument
508 HandleInKeys(const std::vector<std::string> &words, int &pointer, int end, DBQuery &dbQuery) HandleInKeys() argument
534 HandleSetSuggestIndex(const std::vector<std::string> &words, int &pointer, int end, DBQuery &dbQuery) HandleSetSuggestIndex() argument
546 HandleDeviceId(const std::vector<std::string> &words, int &pointer, int end, DBQuery &dbQuery) HandleDeviceId() argument
628 GetIntegerList(const std::vector<std::string> &words, int &elementPointer, int end) GetIntegerList() argument
648 GetLongList(const std::vector<std::string> &words, int &elementPointer, int end) GetLongList() argument
668 GetDoubleList(const std::vector<std::string> &words, int &elementPointer, int end) GetDoubleList() argument
688 GetStringList(const std::vector<std::string> &words, int &elementPointer, int end) GetStringList() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Drich_editor_controller.cpp51 int32_t start, int32_t end, TextStyle textStyle, ImageSpanAttribute imageStyle) in UpdateSpanStyle()
57 if (end < 0 || end > length) { in UpdateSpanStyle()
58 end = length; in UpdateSpanStyle()
60 if (start > end) { in UpdateSpanStyle()
61 std::swap(start, end); in UpdateSpanStyle()
63 if (start > length || end < 0 || start == end) { in UpdateSpanStyle()
67 richEditorPattern->UpdateSpanStyle(start, end, textStyle, imageStyle); in UpdateSpanStyle()
76 SelectionInfo RichEditorController::GetSpansInfo(int32_t start, int32_t end) in GetSpansInfo() argument
50 UpdateSpanStyle( int32_t start, int32_t end, TextStyle textStyle, ImageSpanAttribute imageStyle) UpdateSpanStyle() argument
90 auto end = std::max(richEditorPattern->GetTextSelector().GetTextEnd(), 0); GetSelectionSpansInfo() local
108 UpdateParagraphStyle(int32_t start, int32_t end, const struct UpdateParagraphStyle& style) UpdateParagraphStyle() argument
115 GetParagraphsInfo(int32_t start, int32_t end) GetParagraphsInfo() argument
125 ToStyledString(int32_t start, int32_t end) ToStyledString() argument
[all...]
H A Dparagraph_manager.cpp123 for (auto it = paragraphs_.begin(); it != paragraphs_.end(); ++it, ++idx) { in GetIndex()
132 return paragraphs_.back().end; in GetIndex()
145 for (auto it = paragraphs_.begin(); it != paragraphs_.end(); ++it, ++idx) { in GetGlyphPositionAtCoordinate()
162 finalResult.position_ = static_cast<size_t>(info.end); in GetGlyphPositionAtCoordinate()
173 for (auto it = paragraphs_.begin(); it != paragraphs_.end(); ++it) { in GetGlyphIndexByCoordinate()
181 return paragraphs_.back().end; in GetGlyphIndexByCoordinate()
184 bool ParagraphManager::GetWordBoundary(int32_t offset, int32_t& start, int32_t& end) const in GetWordBoundary()
190 for (auto it = paragraphs_.begin(); it != paragraphs_.end(); ++it) { in GetWordBoundary()
192 if (LessNotEqual(offset, info.end)) { in GetWordBoundary()
193 auto flag = info.paragraph->GetWordBoundary(offsetIndex, start, end); in GetWordBoundary()
282 GetRectsForRange( int32_t start, int32_t end, RectHeightStyle heightStyle, RectWidthStyle widthStyle) GetRectsForRange() argument
321 GetRects(int32_t start, int32_t end, RectHeightPolicy rectHeightPolicy) const GetRects() argument
348 GetParagraphsRects( int32_t start, int32_t end, RectHeightPolicy rectHeightPolicy) const GetParagraphsRects() argument
[all...]
/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/
H A Dtext_input_menu_test.cpp42 * @tc.steps: step2. Set start = end and menuPolicy as MenuPolicy::DEFAULT in HWTEST_F()
46 auto end = 5; in HWTEST_F() local
49 pattern_->SetSelectionFlag(start, end, options); in HWTEST_F()
54 * @tc.steps: step3. Set start != end and menuPolicy as MenuPolicy::DEFAULT in HWTEST_F()
58 end = 10; in HWTEST_F()
59 pattern_->SetSelectionFlag(start, end, options); in HWTEST_F()
80 * @tc.steps: step2. Set start = end and menuPolicy as MenuPolicy::HIDE in HWTEST_F()
84 auto end = 5; in HWTEST_F() local
87 pattern_->SetSelectionFlag(start, end, options); in HWTEST_F()
92 * @tc.steps: step3. Set start != end an in HWTEST_F()
125 auto end = 5; HWTEST_F() local
163 auto end = 5; HWTEST_F() local
201 auto end = 5; HWTEST_F() local
239 auto end = 5; HWTEST_F() local
278 auto end = 5; HWTEST_F() local
317 auto end = 5; HWTEST_F() local
359 auto end = 5; HWTEST_F() local
398 auto end = 5; HWTEST_F() local
437 auto end = 5; HWTEST_F() local
476 auto end = 5; HWTEST_F() local
514 int32_t end = 1; HWTEST_F() local
542 int32_t end = 1; HWTEST_F() local
573 int32_t end = 1; HWTEST_F() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/animation/
H A Danimatable_data.cpp22 const Dimension& start, const Dimension& end, float process) in Blend()
29 return start * scaleB + end * scaleA; in Blend()
34 const Color& start, const Color& end, float process) in Blend()
40 uint8_t alpha = static_cast<uint8_t>(startA + (end.GetAlpha() - startA) * process); in Blend()
41 uint8_t red = static_cast<uint8_t>(startR + (end.GetRed() - startR) * process); in Blend()
42 uint8_t green = static_cast<uint8_t>(startG + (end.GetGreen() - startG) * process); in Blend()
43 uint8_t blue = static_cast<uint8_t>(startB + (end.GetBlue() - startB) * process); in Blend()
48 BorderStyle AnimatableData<BorderStyle>::Blend(const BorderStyle& start, const BorderStyle& end, float process) in Blend() argument
51 return end; in Blend()
57 Shadow AnimatableData<Shadow>::Blend(const Shadow& start, const Shadow& end, floa argument
21 Blend( const Dimension& start, const Dimension& end, float process) Blend() argument
33 Blend( const Color& start, const Color& end, float process) Blend() argument
63 Blend( const BackgroundImageSize& start, const BackgroundImageSize& end, float process) Blend() argument
[all...]
H A Danimatable_data.h32 static T Blend(const T& start, const T& end, float process) in Blend() argument
34 return start + (end - start) * process; in Blend()
41 virtual T Animate(const T& start, const T& end, float process) in Animate() argument
43 return Blend(start, end, process); in Animate()
61 BorderStyle AnimatableData<BorderStyle>::Blend(const BorderStyle& start, const BorderStyle& end, float process);
64 Shadow AnimatableData<Shadow>::Blend(const Shadow& start, const Shadow& end, float process);
68 const BackgroundImageSize& start, const BackgroundImageSize& end, float process);
71 Dimension AnimatableData<Dimension>::Blend(const Dimension& start, const Dimension& end, float process);
74 Color AnimatableData<Color>::Blend(const Color& start, const Color& end, float process);
H A Devaluator.h34 virtual T Evaluate(const T& begin, const T& end, float fraction) = 0;
44 T Evaluate(const T& begin, const T& end, float fraction) override
46 return begin + (end - begin) * fraction;
53 Color Evaluate(const Color& begin, const Color& end, float fraction) override
62 // convert end color from ARGB to linear
66 double endAlpha = end.GetAlpha();
67 ConvertGammaToLinear(end, endLinearRed, endLinearGreen, endLinearBlue);
112 BorderStyle Evaluate(const BorderStyle& begin, const BorderStyle& end, float fraction) override
115 return end;
126 TransformOperation Evaluate(const TransformOperation& begin, const TransformOperation& end, floa
[all...]
/foundation/ability/ability_runtime/test/unittest/extension_config_mgr_test/
H A Dextension_config_mgr_test.cpp88 result = (mgr.blocklistConfig_.find(BLOCK_LIST_ITEM_SERVICE_EXTENSION) != mgr.blocklistConfig_.end()); in HWTEST_F()
90 result = (mgr.blocklistConfig_.find(BLOCK_LIST_ITEM_FORM_EXTENSION) != mgr.blocklistConfig_.end()); in HWTEST_F()
92 result = (mgr.blocklistConfig_.find(BLOCK_LIST_ITEM_FILE_ACCESS_EXTENSION) != mgr.blocklistConfig_.end()); in HWTEST_F()
94 result = (mgr.blocklistConfig_.find(BLOCK_LIST_ITEM_BACKUP_EXTENSION) != mgr.blocklistConfig_.end()); in HWTEST_F()
96 result = (mgr.blocklistConfig_.find(BLOCK_LIST_ITEM_ENTERPRISE_ADMIN_EXTENSION) != mgr.blocklistConfig_.end()); in HWTEST_F()
98 result = (mgr.blocklistConfig_.find(BLOCK_LIST_ITEM_WINDOW_EXTENSION_EXTENSION) != mgr.blocklistConfig_.end()); in HWTEST_F()
100 result = (mgr.blocklistConfig_.find(BLOCK_LIST_ITEM_WALLPAPER_EXTENSION) != mgr.blocklistConfig_.end()); in HWTEST_F()
102 result = (mgr.blocklistConfig_.find(BLOCK_LIST_ITEM_STATIC_SUBSCRIBER_EXTENSION) != mgr.blocklistConfig_.end()); in HWTEST_F()
104 result = (mgr.blocklistConfig_.find(BLOCK_LIST_ITEM_ACCESSIBILITY_EXTENSION) != mgr.blocklistConfig_.end()); in HWTEST_F()
106 result = (mgr.blocklistConfig_.find(BLOCK_LIST_ITEM_INPUT_METHOD_EXTENSION_ABILITY) != mgr.blocklistConfig_.end()); in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/frameworks/core/common/ime/
H A Dtext_editing_value.cpp122 void TextEditingValue::UpdateSelection(int32_t start, int32_t end) in UpdateSelection() argument
127 if (static_cast<size_t>(end) > GetWideText().length()) { in UpdateSelection()
128 end = static_cast<int32_t>(GetWideText().length()); in UpdateSelection()
130 selection.Update(start, end); in UpdateSelection()
134 void TextEditingValue::UpdateCompose(int32_t start, int32_t end) in UpdateCompose() argument
136 compose.Update(start, end); in UpdateCompose()
149 int32_t end = selection.GetEnd(); in SelectionAwareTextManipulation() local
150 if (static_cast<size_t>(end) > wideText.length() || start > end) { in SelectionAwareTextManipulation()
154 if ((start <= 0) && (end < in SelectionAwareTextManipulation()
207 int32_t end = selection.GetEnd(); GetSelectedText() local
227 int32_t end = textSelection.GetEnd(); GetSelectedText() local
246 int32_t end = selection.GetEnd(); GetAfterSelection() local
261 Delete(int32_t start, int32_t end) Delete() argument
[all...]
H A Dtext_range.h25 int32_t end = -1; member
29 return this->start == other.start && this->end == other.end; in operator ==()
34 return this->start != other.start || this->end != other.end; in operator !=()
/foundation/arkui/ace_engine/interfaces/napi/kits/observer/
H A Dui_observer.cpp65 if (std::find(unspecifiedNavigationListeners_.begin(), unspecifiedNavigationListeners_.end(), listener) != in RegisterNavigationCallback()
66 unspecifiedNavigationListeners_.end()) { in RegisterNavigationCallback()
78 if (iter == specifiedCNavigationListeners_.end()) { in RegisterNavigationCallback()
84 if (std::find(holder.begin(), holder.end(), listener) != holder.end()) { in RegisterNavigationCallback()
101 unspecifiedNavigationListeners_.end(), in UnRegisterNavigationCallback()
106 unspecifiedNavigationListeners_.end() in UnRegisterNavigationCallback()
114 if (iter == specifiedCNavigationListeners_.end()) { in UnRegisterNavigationCallback()
125 holder.end(), in UnRegisterNavigationCallback()
130 holder.end() in UnRegisterNavigationCallback()
[all...]
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/hdi_interface/
H A Dwifi_hdi_common.c172 int HdiGetCipherInfo(char *start, char *end, int ciphers, const char *delim) in HdiGetCipherInfo() argument
178 HDI_HANDLE_CIPHER_INFO(ret, start, end, delim, "%sCCMP-256"); in HdiGetCipherInfo()
181 HDI_HANDLE_CIPHER_INFO(ret, start, end, delim, "%sGCMP-256"); in HdiGetCipherInfo()
184 HDI_HANDLE_CIPHER_INFO(ret, start, end, delim, "%sCCMP"); in HdiGetCipherInfo()
187 HDI_HANDLE_CIPHER_INFO(ret, start, end, delim, "%sGCMP"); in HdiGetCipherInfo()
190 HDI_HANDLE_CIPHER_INFO(ret, start, end, delim, "%sTKIP"); in HdiGetCipherInfo()
193 HDI_HANDLE_CIPHER_INFO(ret, start, end, delim, "%sAES-128-CMAC"); in HdiGetCipherInfo()
196 HDI_HANDLE_CIPHER_INFO(ret, start, end, delim, "%sBIP-GMAC-128"); in HdiGetCipherInfo()
199 HDI_HANDLE_CIPHER_INFO(ret, start, end, delim, "%sBIP-GMAC-256"); in HdiGetCipherInfo()
202 HDI_HANDLE_CIPHER_INFO(ret, start, end, deli in HdiGetCipherInfo()
211 HdiGetCipherTxt(char *pos, char *end, int cipher) HdiGetCipherTxt() argument
646 HdiGetIeTxt(char *pos, char *end, const char *proto, const uint8_t *ie, size_t ieLen) HdiGetIeTxt() argument
721 char *end = txt + maxlen; HdiBufEncode() local
780 HdiGetWifiCategoryTxt(char *pos, char* end, const struct HdiElems *elems) HdiGetWifiCategoryTxt() argument
850 HdiGetWapiTxt(char *pos, char *end, const uint8_t *ie) HdiGetWapiTxt() argument
[all...]
/foundation/multimedia/av_session/frameworks/native/ohavsession/src/
H A DOHAVSessionCallbackImpl.cpp26 for (auto it = playCallbacks_.begin(); it != playCallbacks_.end(); ++it) { in OnPlay()
33 for (auto it = pauseCallbacks_.begin(); it != pauseCallbacks_.end(); ++it) { in OnPause()
40 for (auto it = stopCallbacks_.begin(); it != stopCallbacks_.end(); ++it) { in OnStop()
47 for (auto it = playNextCallbacks_.begin(); it != playNextCallbacks_.end(); ++it) { in OnPlayNext()
54 for (auto it = playPreviousCallbacks_.begin(); it != playPreviousCallbacks_.end(); ++it) { in OnPlayPrevious()
61 for (auto it = forwardCallbacks_.begin(); it != forwardCallbacks_.end(); ++it) { in OnFastForward()
68 for (auto it = rewindCallbacks_.begin(); it != rewindCallbacks_.end(); ++it) { in OnRewind()
75 for (auto it = seekCallbacks_.begin(); it != seekCallbacks_.end(); ++it) { in OnSeek()
82 for (auto it = setLoopModeCallbacks_.begin(); it != setLoopModeCallbacks_.end(); ++it) { in OnSetLoopMode()
89 for (auto it = toggleFavoriteCallbacks_.begin(); it != toggleFavoriteCallbacks_.end(); in OnToggleFavorite()
[all...]
/foundation/arkui/ui_lite/frameworks/components/
H A Dui_circle_progress.cpp48 void UICircleProgress::GetStartEndAngle(int16_t& start, int16_t& end) const in GetStartEndAngle()
52 end = startAngle_; in GetStartEndAngle()
55 end = endAngle_; in GetStartEndAngle()
59 void UICircleProgress::GetAngleRange(int16_t& start, int16_t& end) const in GetAngleRange()
61 GetStartEndAngle(start, end); in GetAngleRange()
62 DrawArc::GetInstance()->GetDrawRange(start, end); in GetAngleRange()
65 void UICircleProgress::GetRedrawAngle(int16_t& start, int16_t& end) const in GetRedrawAngle()
67 GetStartEndAngle(start, end); in GetRedrawAngle()
73 int16_t angleRange = end - start; in GetRedrawAngle()
78 start = end in GetRedrawAngle()
94 int16_t end; DrawCommonCircle() local
[all...]
/foundation/communication/netmanager_base/services/netstatsmanager/src/
H A Dnet_stats_data_handler.cpp29 int32_t NetStatsDataHandler::ReadStatsData(std::vector<NetStatsInfo> &infos, uint64_t start, uint64_t end) in ReadStatsData() argument
36 return helper->SelectData(infos, UID_TABLE, start, end); in ReadStatsData()
39 int32_t NetStatsDataHandler::ReadStatsData(std::vector<NetStatsInfo> &infos, uint64_t uid, uint64_t start, uint64_t end) in ReadStatsData() argument
46 return helper->SelectData(uid, start, end, infos); in ReadStatsData()
50 uint64_t end) in ReadStatsData()
61 return helper->SelectData(iface, start, end, infos); in ReadStatsData()
65 const uint32_t uid, uint64_t start, uint64_t end) in ReadStatsData()
76 return helper->SelectData(iface, uid, start, end, infos); in ReadStatsData()
80 uint64_t start, uint64_t end) in ReadStatsDataByIdent()
90 ret1 = helper->QueryData(UID_TABLE, ident, start, end, info in ReadStatsDataByIdent()
49 ReadStatsData(std::vector<NetStatsInfo> &infos, const std::string &iface, uint64_t start, uint64_t end) ReadStatsData() argument
64 ReadStatsData(std::vector<NetStatsInfo> &infos, const std::string &iface, const uint32_t uid, uint64_t start, uint64_t end) ReadStatsData() argument
79 ReadStatsDataByIdent(std::vector<NetStatsInfo> &infos, const std::string &ident, uint64_t start, uint64_t end) ReadStatsDataByIdent() argument
101 ReadStatsData(std::vector<NetStatsInfo> &infos, uint32_t uid, const std::string &ident, uint64_t start, uint64_t end) ReadStatsData() argument
180 DeleteByDate(const std::string &tableName, uint64_t start, uint64_t end) DeleteByDate() argument
[all...]
H A Dnet_stats_history.cpp23 int32_t NetStatsHistory::GetHistory(std::vector<NetStatsInfo> &recv, uint64_t start, uint64_t end) in GetHistory() argument
30 return handler->ReadStatsData(recv, start, end); in GetHistory()
33 int32_t NetStatsHistory::GetHistory(std::vector<NetStatsInfo> &recv, uint32_t uid, uint64_t start, uint64_t end) in GetHistory() argument
40 return handler->ReadStatsData(recv, uid, start, end); in GetHistory()
44 uint64_t end) in GetHistory()
51 return handler->ReadStatsData(recv, iface, start, end); in GetHistory()
55 uint64_t start, uint64_t end) in GetHistory()
62 return handler->ReadStatsData(recv, iface, uid, start, end); in GetHistory()
66 uint64_t end) in GetHistoryByIdent()
73 return handler->ReadStatsDataByIdent(recv, ident, start, end); in GetHistoryByIdent()
43 GetHistory(std::vector<NetStatsInfo> &recv, const std::string &iface, uint64_t start, uint64_t end) GetHistory() argument
54 GetHistory(std::vector<NetStatsInfo> &recv, const std::string &iface, uint32_t uid, uint64_t start, uint64_t end) GetHistory() argument
65 GetHistoryByIdent(std::vector<NetStatsInfo> &recv, const std::string &ident, uint64_t start, uint64_t end) GetHistoryByIdent() argument
76 GetHistory(std::vector<NetStatsInfo> &recv, uint32_t uid, const std::string &ident, uint64_t start, uint64_t end) GetHistory() argument
[all...]
H A Dnet_stats_cached.cpp75 uidStatsInfo.insert(uidStatsInfo.end(), stats_.GetUidStatsInfo().begin(), stats_.GetUidStatsInfo().end()); in GetUidStatsCached()
81 std::transform(stats_.GetUidSimStatsInfo().begin(), stats_.GetUidSimStatsInfo().end(), in GetUidSimStatsCached()
92 uidPushStatsInfo.insert(uidPushStatsInfo.end(), uidPushStatsInfo_.begin(), uidPushStatsInfo_.end()); in GetUidPushStatsCached()
98 uidPushStatsInfo.insert(uidPushStatsInfo.end(), allPushStatsInfo_.begin(), allPushStatsInfo_.end()); in GetAllPushStatsCached()
104 ifaceStatsInfo.insert(ifaceStatsInfo.end(), stats_.GetIfaceStatsInfo().begin(), stats_.GetIfaceStatsInfo().end()); in GetIfaceStatsCached()
131 std::for_each(allInfos.begin(), allInfos.end(), [ in GetKernelStats()
[all...]
/foundation/communication/netmanager_base/services/netmanagernative/bpf/include/
H A Dbitmap_manager.h113 if (it == map_.end()) { in OrInsert()
128 for (; it != map_.end(); ++it) { in OrForEach()
189 * @param endAddr end ip
220 * @param endIp end ip
231 * @param end end index
235 static uint32_t Rfind(uint32_t ip, uint32_t start, uint32_t end, uint32_t value);
259 * @param addr6End end ip
277 * get biggest prefixlen from start ip and end ip
280 * @param end en
487 uint16_t end; global() member
502 AddMap(uint16_t start, uint16_t end, const Bitmap &bitmap) AddMap() argument
529 SearchIntersection(uint16_t start, uint16_t end, std::vector<uint32_t> &indexs) SearchIntersection() argument
557 Insert(uint16_t start, uint16_t end, const Bitmap &bitmap) Insert() argument
581 AddSegBitmap(uint16_t start, uint16_t end, const Bitmap &bitmap, std::vector<SegmentBitmap> &mapList) AddSegBitmap() argument
610 GetMapList(uint16_t start, uint16_t end, const Bitmap &bitmap, std::vector<uint32_t> &indexs, std::vector<SegmentBitmap> &list) GetMapList() argument
[all...]
/foundation/ability/ability_base/interfaces/kits/native/want/src/
H A Dskills.cpp97 auto it = std::find(entities_.begin(), entities_.end(), entity); in AddEntity()
98 if (it == entities_.end()) { in AddEntity()
110 return std::find(entities_.begin(), entities_.end(), entity) != entities_.end(); in HasEntity()
121 auto it = std::find(entities_.begin(), entities_.end(), entity); in RemoveEntity()
122 if (it != entities_.end()) { in RemoveEntity()
158 auto it = std::find(actions_.begin(), actions_.end(), action); in AddAction()
159 if (it == actions_.end()) { in AddAction()
171 return std::find(actions_.begin(), actions_.end(), action) != actions_.end(); in HasAction()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scrollable/
H A Dscrollable_utils.cpp63 int32_t GetScrollDownOrRightItemIndex(Axis axis, float offset, int32_t start, int32_t end, RefPtr<FrameNode>& host) in GetScrollDownOrRightItemIndex() argument
65 auto inIndex = end; in GetScrollDownOrRightItemIndex()
80 int32_t GetScrollUpOrLeftItemIndex(Axis axis, float offset, int32_t start, int32_t end, RefPtr<FrameNode>& host) in GetScrollUpOrLeftItemIndex() argument
83 for (; outIndex <= end; outIndex++) { in GetScrollUpOrLeftItemIndex()
97 int32_t start, int32_t end, std::vector<RefPtr<ForEachBaseNode>>& lazyNodes, LayoutWrapper* wrapper) in RecycleItemsByIndex()
99 wrapper->RecycleItemsByIndex(start, end); in RecycleItemsByIndex()
101 node->RecycleItems(start, end); in RecycleItemsByIndex()
122 Axis axis, float offset, int32_t start, int32_t end, LayoutWrapper* wrapper) in RecycleItemsOutOfBoundary()
124 if (start >= end || start < 0 || end < in RecycleItemsOutOfBoundary()
96 RecycleItemsByIndex( int32_t start, int32_t end, std::vector<RefPtr<ForEachBaseNode>>& lazyNodes, LayoutWrapper* wrapper) RecycleItemsByIndex() argument
121 RecycleItemsOutOfBoundary( Axis axis, float offset, int32_t start, int32_t end, LayoutWrapper* wrapper) RecycleItemsOutOfBoundary() argument
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/
H A Dsubscribe_manager.cpp78 if (unFinishedLocalAutoSubMap_.find(device) != unFinishedLocalAutoSubMap_.end() && in ActiveLocalSubscribeQuery()
79 unFinishedLocalAutoSubMap_[device].find(queryId) != unFinishedLocalAutoSubMap_[device].end()) { in ActiveLocalSubscribeQuery()
127 if (iterTmp == localSubscribeTotalMap_.end()) { in GetAllUnFinishSubQueries()
148 if (unFinishedLocalAutoSubMap_.find(device) != unFinishedLocalAutoSubMap_.end() && in RemoveLocalSubscribeQuery()
149 unFinishedLocalAutoSubMap_[device].find(queryId) != unFinishedLocalAutoSubMap_[device].end()) { in RemoveLocalSubscribeQuery()
176 if (remoteSubscribedMap_.find(device) == remoteSubscribedMap_.end()) { in IsLastRemoteContainSubscribe()
180 if (iter == remoteSubscribedTotalMap_.end()) { in IsLastRemoteContainSubscribe()
191 if (iter == remoteSubscribedMap_.end()) { in GetRemoteSubscribeQueryIds()
196 if (remoteSubscribedTotalMap_.find(queryInfo.first) == remoteSubscribedTotalMap_.end()) { in GetRemoteSubscribeQueryIds()
209 if (localSubscribeMap_.find(device) != localSubscribeMap_.end()) { in LocalSubscribeLimitCheck()
[all...]
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/cgroup_sched_plugin/framework/sched_controller/
H A Dsupervisor.cpp30 auto a = std::find_if(abilities_.begin(), abilities_.end(), [ token ] (const auto& a) { in GetAbilityInfoNonNull()
33 if (a != abilities_.end()) { in GetAbilityInfoNonNull()
43 auto a = std::find_if(abilities_.begin(), abilities_.end(), [ token ] (const auto& a) { in GetAbilityInfo()
46 if (a != abilities_.end()) { in GetAbilityInfo()
54 auto w = std::find_if(windows_.begin(), windows_.end(), [ windowId ] (const auto& w) { in GetWindowInfoNonNull()
57 if (w != windows_.end()) { in GetWindowInfoNonNull()
67 for (auto iter = abilities_.begin(); iter != abilities_.end(); ++iter) { in RemoveAbilityByToken()
77 return std::any_of(abilities_.begin(), abilities_.end(), [ token ] (const auto& abi) { in HasAbility()
84 return std::any_of(abilities_.begin(), abilities_.end(), [] (const auto& abi) { in HasServiceExtension()
93 return std::any_of(windows_.begin(), windows_.end(), [] (cons in IsVisible()
[all...]
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_common/
H A Dwifi_channel_helper.cpp61 if (it != mValidChannels.end() && it->second.size() > 0) { in GetValidBands()
65 if (it != mValidChannels.end() && it->second.size() > 0) { in GetValidBands()
104 std::vector<int32_t> supp2Gfreqs(freqs2G.begin(), freqs2G.end()); in UpdateValidChannels()
105 std::vector<int32_t> supp5Gfreqs(freqs5G.begin(), freqs5G.end()); in UpdateValidChannels()
106 for (auto iter = supp2Gfreqs.begin(); iter != supp2Gfreqs.end(); iter++) { in UpdateValidChannels()
113 for (auto iter = supp5Gfreqs.begin(); iter != supp5Gfreqs.end(); iter++) { in UpdateValidChannels()
159 mValidFreqs[ScanBandType::SCAN_BAND_24_GHZ].end()); in GetAvailableScanFreqs()
164 mValidFreqs[ScanBandType::SCAN_BAND_5_GHZ].end()); in GetAvailableScanFreqs()
168 freqs.insert(freqs.end(), mValidFreqs[ScanBandType::SCAN_BAND_24_GHZ].begin(), in GetAvailableScanFreqs()
169 mValidFreqs[ScanBandType::SCAN_BAND_24_GHZ].end()); in GetAvailableScanFreqs()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/texgine/src/opentype_parser/
H A Dranges.cpp26 if (range.end - range.start == 1) { in AddRange()
35 if (const auto &it = singles_.find(codepoint); it != singles_.end()) { in GetGlyphId()
39 for (const auto &[start, end, gid] : ranges_) { in GetGlyphId()
40 if (codepoint >= start && codepoint < end) { in GetGlyphId()
50 for (const auto &[start, end, gid] : ranges_) { in Dump()
53 << " ~ 0x" << std::uppercase << std::hex << std::setw(4) << std::setfill('0') << end in Dump()
54 << ": offset " << std::dec << end; in Dump() local

Completed in 14 milliseconds

12345678910>>...207