Home
last modified time | relevance | path

Searched refs:start (Results 1 - 25 of 885) sorted by relevance

12345678910>>...36

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/span/
H A Dmutable_span_string.cpp37 void MutableSpanString::RemoveSpans(int32_t start, int32_t length, bool removeSpecialSpan) in RemoveSpans() argument
39 if (!CheckRange(start, length)) { in RemoveSpans()
42 auto end = start + length; in RemoveSpans()
43 ChangeStartAndEndToCorrectNum(start, end); in RemoveSpans()
44 length = end - start; in RemoveSpans()
55 RemoveSpan(start, length, spanKey); in RemoveSpans()
59 RemoveSpecialSpans(start, length); in RemoveSpans()
63 void MutableSpanString::RemoveSpecialSpans(int32_t start, int32_t length) in RemoveSpecialSpans() argument
65 if (!CheckRange(start, length)) { in RemoveSpecialSpans()
68 auto end = start in RemoveSpecialSpans()
90 ReplaceSpan(int32_t start, int32_t length, const RefPtr<SpanBase>& span) ReplaceSpan() argument
118 ApplyReplaceStringToSpans( int32_t start, int32_t length, const std::string& other, SpanStringOperation op) ApplyReplaceStringToSpans() argument
132 HandleSpanOperation( std::list<RefPtr<NG::SpanItem>>::iterator it, int32_t start, int32_t length, const std::string& other, SpanStringOperation op, const std::pair<int32_t, int32_t>& intersection) HandleSpanOperation() argument
189 ApplyReplaceStringToSpanBase( int32_t start, int32_t length, const std::string& other, SpanStringOperation op) ApplyReplaceStringToSpanBase() argument
203 ProcessSpanBaseList(std::list<RefPtr<SpanBase>>& spans, int32_t start, int32_t end, const std::string& other, SpanStringOperation op, SpanType spanType) ProcessSpanBaseList() argument
250 ReplaceString(int32_t start, int32_t length, const std::string& other) ReplaceString() argument
274 UpdateSpansAndSpanMapWithOffsetAfterInsert(int32_t start, int32_t offset, bool useFrontStyle) UpdateSpansAndSpanMapWithOffsetAfterInsert() argument
301 InsertUseFrontStyle(int32_t start) InsertUseFrontStyle() argument
320 InsertString(int32_t start, const std::string& other) InsertString() argument
373 RemoveString(int32_t start, int32_t length) RemoveString() argument
413 ReplaceSpanString(int32_t start, int32_t length, const RefPtr<SpanString>& spanString) ReplaceSpanString() argument
427 UpdateSpanAndSpanMapAfterInsertSpanString(int32_t start, int32_t offset) UpdateSpanAndSpanMapAfterInsertSpanString() argument
439 ApplyInsertSpanStringToSpans(int32_t start, const RefPtr<SpanString>& spanString) ApplyInsertSpanStringToSpans() argument
473 ApplyInsertSpanStringToSpanBase(int32_t start, const RefPtr<SpanString>& spanString) ApplyInsertSpanStringToSpanBase() argument
506 InsertSpanString(int32_t start, const RefPtr<SpanString>& spanString) InsertSpanString() argument
544 IsInsertAroundSpecialNode(int32_t start) IsInsertAroundSpecialNode() argument
567 InsertStringAroundSpecialNode( int32_t start, const std::string& str, AroundSpecialNode aroundMode) InsertStringAroundSpecialNode() argument
[all...]
H A Dmutable_span_string.h36 void ReplaceString(int32_t start, int32_t length, const std::string& other);
37 void InsertString(int32_t start, const std::string& other);
38 void RemoveString(int32_t start, int32_t length);
39 void ReplaceSpan(int32_t start, int32_t length, const RefPtr<SpanBase>& span);
40 void RemoveSpans(int32_t start, int32_t length, bool removeSpecialSpan = true);
42 void ReplaceSpanString(int32_t start, int32_t length, const RefPtr<SpanString>& spanString);
43 void InsertSpanString(int32_t start, const RefPtr<SpanString>& spanString);
53 std::list<RefPtr<NG::SpanItem>>::iterator it, int32_t start, int32_t length,
55 void ApplyReplaceStringToSpans(int32_t start, int32_t length, const std::string& other, SpanStringOperation op);
56 void ApplyInsertStringToSpans(int32_t start, cons
[all...]
H A Dspan_string.h56 RefPtr<SpanString> GetSubSpanString(int32_t start, int32_t length) const;
57 std::vector<RefPtr<SpanBase>> GetSpans(int32_t start, int32_t length) const;
58 std::vector<RefPtr<SpanBase>> GetSpans(int32_t start, int32_t length, SpanType spanType) const;
62 void RemoveSpan(int32_t start, int32_t length, SpanType key);
63 bool CheckRange(int32_t start, int32_t length, bool allowLengthZero = false) const;
73 RefPtr<LineHeightSpan> ToLineHeightSpan(const RefPtr<NG::SpanItem>& spanItem, int32_t start, int32_t end);
75 const RefPtr<NG::SpanItem>& spanItem, int32_t start, int32_t end);
76 RefPtr<ImageSpan> ToImageSpan(const RefPtr<NG::SpanItem>& spanItem, int32_t start, int32_t end);
77 RefPtr<TextShadowSpan> ToTextShadowSpan(const RefPtr<NG::SpanItem>& spanItem, int32_t start, int32_t end);
78 RefPtr<GestureSpan> ToGestureSpan(const RefPtr<NG::SpanItem>& spanItem, int32_t start, int32_
[all...]
H A Dspan_string.cpp26 std::wstring SpanString::GetWideStringSubstr(const std::wstring& content, int32_t start, int32_t length) in GetWideStringSubstr() argument
28 if (start >= static_cast<int32_t>(content.length())) { in GetWideStringSubstr()
31 return content.substr(start, length); in GetWideStringSubstr()
34 std::wstring SpanString::GetWideStringSubstr(const std::wstring& content, int32_t start) in GetWideStringSubstr() argument
36 if (start >= static_cast<int32_t>(content.length())) { in GetWideStringSubstr()
39 return content.substr(start); in GetWideStringSubstr()
287 auto start = (*iter)->interval.first; in GetStepsByPosition() local
288 spanItem->content = StringUtils::ToString(wStr.substr(pos - start)); in GetStepsByPosition()
291 (*iter)->content = StringUtils::ToString(wStr.substr(0, pos - start)); in GetStepsByPosition()
299 void SpanString::AddSpecialSpan(const RefPtr<SpanBase>& span, SpanType type, int32_t start) in AddSpecialSpan() argument
363 ChangeStartAndEndToCorrectNum(int32_t& start, int32_t& end) ChangeStartAndEndToCorrectNum() argument
392 ChangeStartToCorrectNum(int32_t& start) ChangeStartToCorrectNum() argument
450 auto start = span->GetStartIndex(); AddSpan() local
472 RemoveSpan(int32_t start, int32_t length, SpanType key) RemoveSpan() argument
540 auto start = spanBase->GetStartIndex(); CheckRange() local
560 CheckRange(int32_t start, int32_t length, bool allowLengthZero) const CheckRange() argument
631 GetSubSpanString(int32_t start, int32_t length) const GetSubSpanString() argument
669 GetSubSpanList( int32_t start, int32_t length, const std::list<RefPtr<SpanBase>>& spans) const GetSubSpanList() argument
695 GetSpans(int32_t start, int32_t length) const GetSpans() argument
709 GetSpans(int32_t start, int32_t length, SpanType spanType) const GetSpans() argument
725 GetSpan(int32_t start, int32_t length, SpanType spanType) const GetSpan() argument
800 UpdateSpansWithOffset(int32_t start, int32_t offset) UpdateSpansWithOffset() argument
812 UpdateSpanMapWithOffset(int32_t start, int32_t offset) UpdateSpanMapWithOffset() argument
826 UpdateSpanBaseWithOffset(RefPtr<SpanBase>& span, int32_t start, int32_t offset) UpdateSpanBaseWithOffset() argument
836 RemoveSpecialSpan(int32_t start, int32_t end, SpanType type) RemoveSpecialSpan() argument
871 GetSpecialTypesVector(std::list<int32_t>& indexList, int32_t start, int32_t length) GetSpecialTypesVector() argument
888 GetNormalTypesVector(std::list<std::pair<int32_t, int32_t>>& indexList, int32_t start, int32_t length) GetNormalTypesVector() argument
905 ContainSpecialNode(int32_t start, int32_t length) ContainSpecialNode() argument
1025 auto start = spanItem->interval.first; UpdateSpansMap() local
1052 ToFontSpan(const RefPtr<NG::SpanItem>& spanItem, int32_t start, int32_t end) ToFontSpan() argument
1064 ToDecorationSpan( const RefPtr<NG::SpanItem>& spanItem, int32_t start, int32_t end) ToDecorationSpan() argument
1074 ToBaselineOffsetSpan( const RefPtr<NG::SpanItem>& spanItem, int32_t start, int32_t end) ToBaselineOffsetSpan() argument
1085 ToLetterSpacingSpan( const RefPtr<NG::SpanItem>& spanItem, int32_t start, int32_t end) ToLetterSpacingSpan() argument
1096 ToGestureSpan(const RefPtr<NG::SpanItem>& spanItem, int32_t start, int32_t end) ToGestureSpan() argument
1108 ToTextShadowSpan( const RefPtr<NG::SpanItem>& spanItem, int32_t start, int32_t end) ToTextShadowSpan() argument
1116 ToImageSpan(const RefPtr<NG::SpanItem>& spanItem, int32_t start, int32_t end) ToImageSpan() argument
1123 ToParagraphStyleSpan( const RefPtr<NG::SpanItem>& spanItem, int32_t start, int32_t end) ToParagraphStyleSpan() argument
1137 ToLineHeightSpan(const RefPtr<NG::SpanItem>& spanItem, int32_t start, int32_t end) ToLineHeightSpan() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/
H A Dwater_flow_sections.cpp19 // push: start, 0, newSection
20 // update: start, 0, newSection
21 // splice: start, deleteCount, newSections
23 size_t start, size_t deleteCount, const std::vector<WaterFlowSections::Section>& newSections) in ChangeData()
25 start = std::min(start, sections_.size()); in ChangeData()
26 deleteCount = std::min(deleteCount, sections_.size() - start); in ChangeData()
30 "section changed, start:%{public}zu, deleteCount:%{public}zu, newSections:%{public}zu", start, deleteCount, in ChangeData()
32 NotifySectionChange(start, deleteCoun in ChangeData()
22 ChangeData( size_t start, size_t deleteCount, const std::vector<WaterFlowSections::Section>& newSections) ChangeData() argument
62 ReplaceFrom(size_t start, const std::vector<WaterFlowSections::Section>& newSections) ReplaceFrom() argument
67 NotifySectionChange( int32_t start, int32_t deleteCount, const std::vector<WaterFlowSections::Section>& newSections) NotifySectionChange() 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()
56 start = std::max(0, start); 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
81 return richEditorPattern->GetSpansInfo(start, en in GetSpansInfo()
50 UpdateSpanStyle( int32_t start, int32_t end, TextStyle textStyle, ImageSpanAttribute imageStyle) UpdateSpanStyle() argument
89 auto start = std::max(richEditorPattern->GetTextSelector().GetTextStart(), 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.cpp127 return info.paragraph->GetGlyphIndexByCoordinate(offset) + info.start; in GetIndex()
150 finalResult.position_ = result.position_ + static_cast<size_t>(info.start); in GetGlyphPositionAtCoordinate()
176 return info.paragraph->GetGlyphIndexByCoordinate(offset, isSelectionPos) + info.start; in GetGlyphIndexByCoordinate()
184 bool ParagraphManager::GetWordBoundary(int32_t offset, int32_t& start, int32_t& end) const in GetWordBoundary() argument
193 auto flag = info.paragraph->GetWordBoundary(offsetIndex, start, end); in GetWordBoundary()
194 start += startIndex; in GetWordBoundary()
283 int32_t start, int32_t end, RectHeightStyle heightStyle, RectWidthStyle widthStyle) in GetRectsForRange()
288 if (info.start >= end) { in GetRectsForRange()
291 int32_t relativeStart = std::max(static_cast<int32_t>(0), start - info.start); in GetRectsForRange()
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/ai/intelligent_voice_framework/utils/
H A Dtime_util.h58 static void GetTime(timespec &start);
59 static uint32_t TimeElapse(const timespec &start);
60 static void TimeElapse(const timespec &start, const timespec &end);
61 static long TimeElapseUs(const timespec &start, const timespec &end);
65 inline void TimeUtil::GetTime(timespec &start) in GetTime() argument
67 if (clock_gettime(CLOCK_MONOTONIC, &start) == -1) { in GetTime()
72 inline uint32_t TimeUtil::TimeElapse(const timespec &start) in TimeElapse() argument
79 return (current.tv_sec > start.tv_sec) ? (current.tv_sec - start.tv_sec) : 0; in TimeElapse()
82 inline void TimeUtil::TimeElapse(const timespec &start, cons argument
93 TimeElapseUs(const timespec &start, const timespec &end) TimeElapseUs() argument
[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
124 if (start < 0) { in UpdateSelection()
125 start = 0; 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()
148 int32_t start = selection.GetStart(); in SelectionAwareTextManipulation() local
150 if (static_cast<size_t>(end) > wideText.length() || start > end) { in SelectionAwareTextManipulation()
154 if ((start <= 0) && (end <= 0)) { in SelectionAwareTextManipulation()
158 if ((start > in SelectionAwareTextManipulation()
190 int32_t start = selection.GetStart(); GetBeforeSelection() local
206 int32_t start = selection.GetStart(); GetSelectedText() local
226 int32_t start = textSelection.GetStart(); GetSelectedText() local
261 Delete(int32_t start, int32_t end) Delete() argument
[all...]
H A Dtext_range.h24 int32_t start = -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/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()
36 float startA = start.GetAlpha(); in Blend()
37 float startR = start.GetRed(); in Blend()
38 float startG = start.GetGreen(); in Blend()
39 float startB = start.GetBlue(); in Blend()
48 BorderStyle AnimatableData<BorderStyle>::Blend(const BorderStyle& start, const BorderStyle& end, float process) in Blend() argument
53 return start; in Blend()
57 Shadow AnimatableData<Shadow>::Blend(const Shadow& start, cons 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, cons
[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()
45 auto start = 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()
59 pattern_->SetSelectionFlag(start, end, options); in HWTEST_F()
80 * @tc.steps: step2. Set start = end and menuPolicy as MenuPolicy::HIDE in HWTEST_F()
83 auto start = 5; in HWTEST_F() local
87 pattern_->SetSelectionFlag(start, end, options); in HWTEST_F()
92 * @tc.steps: step3. Set start != end and menuPolicy as MenuPolicy::HIDE in HWTEST_F()
97 pattern_->SetSelectionFlag(start, en in HWTEST_F()
124 auto start = 5; HWTEST_F() local
162 auto start = 5; HWTEST_F() local
200 auto start = 5; HWTEST_F() local
238 auto start = 5; HWTEST_F() local
277 auto start = 5; HWTEST_F() local
316 auto start = 5; HWTEST_F() local
358 auto start = 5; HWTEST_F() local
397 auto start = 5; HWTEST_F() local
436 auto start = 5; HWTEST_F() local
475 auto start = 5; HWTEST_F() local
513 int32_t start = 0; HWTEST_F() local
541 int32_t start = 0; HWTEST_F() local
572 int32_t start = 0; HWTEST_F() local
[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() argument
51 start = endAngle_; in GetStartEndAngle()
54 start = startAngle_; in GetStartEndAngle()
59 void UICircleProgress::GetAngleRange(int16_t& start, int16_t& end) const in GetAngleRange() argument
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() argument
67 GetStartEndAngle(start, end); in GetRedrawAngle()
73 int16_t angleRange = end - start; in GetRedrawAngle()
78 start in GetRedrawAngle()
93 int16_t start; DrawCommonCircle() local
[all...]
H A Dui_chart.cpp261 Point start; in RefreshInvalidateRect() local
262 GetPoint(startIndex, start); in RefreshInvalidateRect()
266 int16_t xMin = MATH_MIN(start.x, end.x); in RefreshInvalidateRect()
267 int16_t xMax = MATH_MAX(start.x, end.x); in RefreshInvalidateRect()
558 Point& start, in Smooth()
566 if (((end.y - start.y <= 0) && (current.y - end.y <= 0)) || ((end.y - start.y >= 0) && (current.y - end.y >= 0))) { in Smooth()
567 slope = (current.x == start.x) ? QUARTER_IN_DEGREE : FastAtan2(current.x - start.x, current.y - start in Smooth()
557 Smooth(uint16_t startPos, Point& start, Point& end, Point& current, UIChartDataSerial* data, uint16_t& slope, uint16_t& preSlope) Smooth() argument
583 Point start; GetDataBySmooth() local
616 Point start; DrawSmoothPolyLine() local
671 Point start; DrawPolyLine() local
819 Point start; DrawGradientColor() local
865 CalcVerticalInfo(int16_t top, int16_t bottom, int16_t start, int16_t end, int16_t& y, int16_t& yHeight) CalcVerticalInfo() argument
929 Point start = {limitPoints.start.x, y}; GradientColor() local
[all...]
/foundation/CastEngine/castengine_wifi_display/services/protocol/frame/
H A Dh264_frame.cpp65 auto start = ptr + prefix; in SplitH264() local
69 auto nextStart = MemFind(start, end - start, "\x00\x00\x01", 3); in SplitH264()
78 cb(start - prefix, nextStart - start + prefix, prefix); in SplitH264()
80 start = nextStart + nextPrefix; in SplitH264()
86 cb(start - prefix, end - start + prefix, prefix); in SplitH264()
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/
H A Ddate_picker_dialog_composed_element.cpp50 jsonValue->Put("start", GetStart().c_str()); in GetShow()
68 auto start = render->GetStartDate(); in GetStart() local
70 startDate += std::to_string(start.GetYear()); in GetStart()
72 startDate += std::to_string(start.GetMonth()); in GetStart()
74 startDate += std::to_string(start.GetDay()); in GetStart()
84 auto start = render->GetEndDate(); in GetEnd() local
86 endDate += std::to_string(start.GetYear()); in GetEnd()
88 endDate += std::to_string(start.GetMonth()); in GetEnd()
90 endDate += std::to_string(start.GetDay()); in GetEnd()
100 auto start in GetSelected() local
[all...]
H A Ddate_picker_composed_element.cpp38 DumpLog::GetInstance().AddDesc(std::string("start: ").append(GetStart())); in Dump()
65 jsonValue->Put("start", GetStart().c_str()); in GetConstructor()
75 auto start = render->GetStartDate(); in GetStart() local
77 startDate += std::to_string(start.GetYear()); in GetStart()
79 startDate += std::to_string(start.GetMonth()); in GetStart()
81 startDate += std::to_string(start.GetDay()); in GetStart()
91 auto start = render->GetEndDate(); in GetEnd() local
93 endDate += std::to_string(start.GetYear()); in GetEnd()
95 endDate += std::to_string(start.GetMonth()); in GetEnd()
97 endDate += std::to_string(start in GetEnd()
107 auto start = render->GetSelectedDate(); GetSelected() local
[all...]
/foundation/communication/netmanager_base/services/netstatsmanager/src/
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()
43 int32_t NetStatsHistory::GetHistory(std::vector<NetStatsInfo> &recv, const std::string &iface, uint64_t start, in GetHistory() argument
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()
65 int32_t NetStatsHistory::GetHistoryByIdent(std::vector<NetStatsInfo> &recv, const std::string &ident, uint64_t start, in GetHistoryByIdent() argument
73 return handler->ReadStatsDataByIdent(recv, ident, start, en in GetHistoryByIdent()
54 GetHistory(std::vector<NetStatsInfo> &recv, const std::string &iface, uint32_t uid, uint64_t start, uint64_t end) GetHistory() argument
76 GetHistory(std::vector<NetStatsInfo> &recv, uint32_t uid, const std::string &ident, uint64_t start, uint64_t end) GetHistory() argument
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/style_string/
H A Djs_span_string.h50 static RefPtr<SpanBase> ParseJsSpanBase(int32_t start, int32_t length, SpanType type, const JSRef<JSObject>& obj);
52 int32_t start, int32_t length, SpanType type, const JSRef<JSObject>& obj, const JSCallbackInfo& info);
55 static RefPtr<SpanBase> ParseJsFontSpan(int32_t start, int32_t length, const JSRef<JSObject>& obj);
58 static RefPtr<SpanBase> ParseJsDecorationSpan(int32_t start, int32_t length, const JSRef<JSObject>& obj);
61 static RefPtr<SpanBase> ParseJsLetterSpacingSpan(int32_t start, int32_t length, const JSRef<JSObject>& obj);
64 static RefPtr<SpanBase> ParseJsBaselineOffsetSpan(int32_t start, int32_t length, const JSRef<JSObject>& obj);
67 static RefPtr<SpanBase> ParseJsGestureSpan(int32_t start, int32_t length, const JSRef<JSObject>& obj);
70 static RefPtr<SpanBase> ParseJSBackgroundColorSpan(int32_t start, int32_t length, const JSRef<JSObject>& obj);
73 static RefPtr<SpanBase> ParseJsTextShadowSpan(int32_t start, int32_t length, const JSRef<JSObject>& obj);
76 static RefPtr<SpanBase> ParseJsLineHeightSpan(int32_t start, int32_
[all...]
H A Djs_span_string.cpp236 auto start = info[0]->ToNumber<int32_t>(); in GetSubSpanString() local
237 auto length = spanString_->GetLength() - start; in GetSubSpanString()
241 if (!CheckParameters(start, length)) { in GetSubSpanString()
244 auto spanString = spanString_->GetSubSpanString(start, length); in GetSubSpanString()
259 auto start = info[0]->ToNumber<int32_t>(); in GetSpans() local
261 if (!CheckParameters(start, length)) { in GetSpans()
271 spans = spanString_->GetSpans(start, length, type); in GetSpans()
273 spans = spanString_->GetSpans(start, length); in GetSpans()
287 resultObj->SetProperty<int32_t>("start", spanObject->GetStartIndex()); in CreateJsSpanBaseObject()
421 int32_t start, int32_ in ParseJsSpanBaseWithoutSpecialSpan()
420 ParseJsSpanBaseWithoutSpecialSpan( int32_t start, int32_t length, SpanType type, const JSRef<JSObject>& obj, const JSCallbackInfo& info) ParseJsSpanBaseWithoutSpecialSpan() argument
429 ParseJsSpanBase(int32_t start, int32_t length, SpanType type, const JSRef<JSObject>& obj) ParseJsSpanBase() argument
462 ParseJsFontSpan(int32_t start, int32_t length, const JSRef<JSObject>& obj) ParseJsFontSpan() argument
472 ParseJsParagraphStyleSpan(int32_t start, int32_t length, const JSRef<JSObject>& obj) ParseJsParagraphStyleSpan() argument
483 ParseJsDecorationSpan(int32_t start, int32_t length, const JSRef<JSObject>& obj) ParseJsDecorationSpan() argument
495 ParseJsBaselineOffsetSpan(int32_t start, int32_t length, const JSRef<JSObject>& obj) ParseJsBaselineOffsetSpan() argument
506 ParseJsLetterSpacingSpan(int32_t start, int32_t length, const JSRef<JSObject>& obj) ParseJsLetterSpacingSpan() argument
517 ParseJsGestureSpan(int32_t start, int32_t length, const JSRef<JSObject>& obj) ParseJsGestureSpan() argument
528 ParseJsTextShadowSpan(int32_t start, int32_t length, const JSRef<JSObject>& obj) ParseJsTextShadowSpan() argument
539 ParseJSBackgroundColorSpan(int32_t start, int32_t length, const JSRef<JSObject>& obj) ParseJSBackgroundColorSpan() argument
550 ParseJsLineHeightSpan(int32_t start, int32_t length, const JSRef<JSObject>& obj) ParseJsLineHeightSpan() argument
561 GetImageAttachment(int32_t start, int32_t length, const JSRef<JSObject>& obj) GetImageAttachment() argument
574 ParseJsCustomSpan(int32_t start, int32_t length, const JSCallbackInfo& args) ParseJsCustomSpan() argument
604 ParseJsExtSpan(int32_t start, int32_t length, const JSRef<JSObject>& obj) ParseJsExtSpan() argument
614 ParseJsUrlSpan(int32_t start, int32_t length, const JSRef<JSObject>& obj) ParseJsUrlSpan() argument
634 CheckParameters(int32_t start, int32_t length) CheckParameters() argument
657 int32_t start = 0; ParseJsSpanBaseVector() local
951 int32_t start = info[0]->ToNumber<int32_t>(); ReplaceString() local
968 auto start = info[0]->ToNumber<int32_t>(); InsertString() local
988 auto start = info[0]->ToNumber<int32_t>(); RemoveString() local
1012 VerifyImageParameters(int32_t start, int32_t length) VerifyImageParameters() argument
1025 VerifyCustomSpanParameters(int32_t start, int32_t length) VerifyCustomSpanParameters() argument
1057 auto start = startObj->ToNumber<int32_t>(); ReplaceSpan() local
1106 auto start = startObj->ToNumber<int32_t>(); AddSpan() local
1146 auto start = info[0]->ToNumber<int32_t>(); RemoveSpan() local
1169 auto start = info[0]->ToNumber<int32_t>(); RemoveSpans() local
1190 auto start = info[0]->ToNumber<int32_t>(); ReplaceSpanString() local
1217 auto start = info[0]->ToNumber<int32_t>(); InsertSpanString() local
[all...]
/foundation/CastEngine/castengine_cast_plus_stream/src/stream/src/local/src/
H A Dcast_local_file_channel_server.cpp178 int64_t start = 0; in ProcessRequestData() local
180 bool ret = ParseStringToInt64(request[HTTP_REQ_RANGE_START], start); in ProcessRequestData()
182 if (!ret || start <= INVALID_END_POS) { in ProcessRequestData()
183 CLOGE("Invalid request param, start:%{public}" PRId64 ", end: %{public}" PRId64, start, end); in ProcessRequestData()
187 ResponseFileRequest(request[HTTP_REQ_URI], start, end); in ProcessRequestData()
263 int CastLocalFileChannelServer::ReadFileData(const struct LocalFileInfo &data, int64_t start, int64_t sendLen, in ReadFileData() argument
274 readLen = ReadFileDataByFd(fd, start, sendLen, ptr); in ReadFileData()
279 void CastLocalFileChannelServer::ResponseFileDataRequest(const std::string &uri, int64_t fileLen, int64_t start, in ResponseFileDataRequest() argument
287 newEnd = std::min(fileLen, std::min(newEnd, start in ResponseFileDataRequest()
327 ResponseFileRequest(const std::string &uri, int64_t start, int64_t end) ResponseFileRequest() argument
367 ReadFileDataByFd(int fd, int64_t start, int sendLen, uint8_t *buffer) ReadFileDataByFd() argument
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/src/
H A Dpacket.c246 static Payload *PacketMoveToOffset(const Packet *pkt, Payload *start, const Payload *end, uint32_t *offset) in PacketMoveToOffset() argument
253 while (BufferGetSize(start->buf) + currOffset <= *offset) { in PacketMoveToOffset()
254 if (start == end) { in PacketMoveToOffset()
257 currOffset += BufferGetSize(start->buf); in PacketMoveToOffset()
258 start = start->next; in PacketMoveToOffset()
263 return start; in PacketMoveToOffset()
266 static uint32_t PacketCopyToBuffer(Payload *start, const Payload *end, uint8_t *buffer, uint32_t offset, uint32_t size) in PacketCopyToBuffer() argument
269 uint32_t remain = BufferGetSize(start->buf) - offset; in PacketCopyToBuffer()
271 if (memcpy_s(buffer, size, (uint8_t *)BufferPtr(start in PacketCopyToBuffer()
299 PacketCopyFromBuffer( Payload *start, const Payload *end, const uint8_t *buffer, uint32_t offset, uint32_t size) PacketCopyFromBuffer() argument
340 Payload *start = pkt->payload; PacketPayloadRead() local
357 Payload *start = pkt->payload; PacketPayloadWrite() local
386 Payload *start = pkt->head; PacketRead() local
[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
67 for (; inIndex >= start; inIndex--) { in GetScrollDownOrRightItemIndex()
80 int32_t GetScrollUpOrLeftItemIndex(Axis axis, float offset, int32_t start, int32_t end, RefPtr<FrameNode>& host) in GetScrollUpOrLeftItemIndex() argument
82 auto outIndex = start; 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 < 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/CastEngine/castengine_cast_framework/service/src/session/src/stream/src/local/src/
H A Dcast_local_file_channel_server.cpp178 int64_t start = 0; in ProcessRequestData() local
180 bool ret = ParseStringToInt64(request[HTTP_REQ_RANGE_START], start); in ProcessRequestData()
182 if (!ret || start <= INVALID_END_POS) { in ProcessRequestData()
183 CLOGE("Invalid request param, start:%{public}" PRId64 ", end: %{public}" PRId64, start, end); in ProcessRequestData()
187 ResponseFileRequest(request[HTTP_REQ_URI], start, end); in ProcessRequestData()
256 int CastLocalFileChannelServer::ReadFileData(const struct LocalFileInfo &data, int64_t start, int64_t sendLen, in ReadFileData() argument
267 readLen = ReadFileDataByFd(fd, start, sendLen, ptr); in ReadFileData()
272 void CastLocalFileChannelServer::ResponseFileDataRequest(const std::string &uri, int64_t fileLen, int64_t start, in ResponseFileDataRequest() argument
280 newEnd = std::min(fileLen, std::min(newEnd, start in ResponseFileDataRequest()
320 ResponseFileRequest(const std::string &uri, int64_t start, int64_t end) ResponseFileRequest() argument
356 ReadFileDataByFd(int fd, int64_t start, int sendLen, uint8_t *buffer) ReadFileDataByFd() argument
[all...]

Completed in 14 milliseconds

12345678910>>...36