/foundation/communication/dhcp/test/unittest/services/dhcp_client/ |
H A D | dhcp_options_test.cpp | 63 int endIndex = 0; in HWTEST_F() local 65 pOption[endIndex + DHCP_OPT_CODE_INDEX] = PAD_OPTION; in HWTEST_F() 66 endIndex += DHCP_OPT_CODE_BYTES; in HWTEST_F() 68 pOption[endIndex + DHCP_OPT_CODE_INDEX] = SUBNET_MASK_OPTION; in HWTEST_F() 69 pOption[endIndex + DHCP_OPT_LEN_INDEX] = DHCP_UINT32_BYTES; in HWTEST_F() 72 memcpy_s(pOption + endIndex + DHCP_OPT_DATA_INDEX, DHCP_UINT32_BYTES, &u32Data, DHCP_UINT32_BYTES) == EOK); in HWTEST_F() 73 endIndex += DHCP_OPT_CODE_BYTES + DHCP_OPT_LEN_BYTES + pOption[endIndex + DHCP_OPT_LEN_INDEX]; in HWTEST_F() 75 pOption[endIndex + DHCP_OPT_CODE_INDEX] = DHCP_MESSAGE_TYPE_OPTION; in HWTEST_F() 76 pOption[endIndex in HWTEST_F() 95 int endIndex = 0; HWTEST_F() local 130 int endIndex = DHCP_OPT_CODE_BYTES + DHCP_OPT_LEN_BYTES + pOption[DHCP_OPT_LEN_INDEX]; HWTEST_F() local 148 int endIndex = 0; HWTEST_F() local 180 int endIndex = 0; HWTEST_F() local 220 int endIndex = 0; HWTEST_F() local 253 int endIndex = 0; HWTEST_F() local 290 int endIndex = DHCP_OPT_CODE_BYTES + DHCP_OPT_LEN_BYTES + pOption[DHCP_OPT_LEN_INDEX]; HWTEST_F() local 308 int endIndex = 0; HWTEST_F() local 346 int endIndex = 0; HWTEST_F() local [all...] |
H A D | dhcp_socket_test.cpp | 120 int endIndex = 0; in HWTEST_F() local 122 pOption[endIndex + DHCP_OPT_CODE_INDEX] = PAD_OPTION; in HWTEST_F() 123 endIndex += DHCP_OPT_CODE_BYTES; in HWTEST_F() 125 pOption[endIndex + DHCP_OPT_CODE_INDEX] = SUBNET_MASK_OPTION; in HWTEST_F() 126 pOption[endIndex + DHCP_OPT_LEN_INDEX] = DHCP_UINT32_BYTES; in HWTEST_F() 129 memcpy_s(pOption + endIndex + DHCP_OPT_DATA_INDEX, DHCP_UINT32_BYTES, &u32Data, DHCP_UINT32_BYTES) == EOK); in HWTEST_F() 130 endIndex += DHCP_OPT_CODE_BYTES + DHCP_OPT_LEN_BYTES + pOption[endIndex + DHCP_OPT_LEN_INDEX]; in HWTEST_F() 132 pOption[endIndex + DHCP_OPT_CODE_INDEX] = END_OPTION; in HWTEST_F()
|
/foundation/arkui/ui_lite/interfaces/kits/common/ |
H A D | spannable_string.h | 81 void SetTextStyle(TextStyle textStyle, uint16_t startIndex, uint16_t endIndex); 83 void SetFontSize(uint8_t inputFontSize, uint16_t startIndex, uint16_t endIndex); 85 void SetFontId(uint16_t inputFontId, uint16_t startIndex, uint16_t endIndex); 89 void SetBackgroundColor(ColorType inputBackgroundColor, uint16_t startIndex, uint16_t endIndex); 91 void SetForegroundColor(ColorType inputForegroundColor, uint16_t startIndex, uint16_t endIndex); 93 void SetLineBackgroundColor(ColorType inputLineBackgroundColor, uint16_t startIndex, uint16_t endIndex); 113 /* If endIndex larger than isSpannableLen_, the array isSpannable_ will re-malloc endIndex length memory. */ 114 bool SetSpannable(bool value, uint16_t startIndex, uint16_t endIndex); 115 void SetFontHeight(int16_t inputHeight, uint16_t startIndex, uint16_t endIndex); 120 EqualInsert(uint16_t& startIndex, uint16_t& endIndex, uint16_t tempStart, uint16_t tempEnd, ListNode<SpanType>** tempSpan, List<SpanType>& tempList) EqualInsert() argument 161 UnequalInsert(uint16_t& startIndex, uint16_t& endIndex, uint16_t tempStart, uint16_t tempEnd, ListNode<SpanType>** tempSpan, List<SpanType>& tempList, SpanType tempLeft, SpanType tempRight) UnequalInsert() argument [all...] |
/foundation/arkui/ui_lite/frameworks/common/ |
H A D | spannable_string.cpp | 35 void SpannableString::SetTextStyle(TextStyle inputTextStyle, uint16_t startIndex, uint16_t endIndex) in SetTextStyle() argument 37 StyleSpan* style = new StyleSpan(inputTextStyle, startIndex, endIndex); in SetTextStyle() 39 SetSpannable(true, startIndex, endIndex); in SetTextStyle() 166 bool SpannableString::SetSpannable(bool value, uint16_t startIndex, uint16_t endIndex) in SetSpannable() argument 175 bool isSuccess = ExpandSpannableLen(endIndex); in SetSpannable() 177 for (uint16_t i = startIndex; ((i < endIndex) && (i < isSpannableLen_)); i++) { in SetSpannable() 197 void SpannableString::SetFontSize(uint8_t inputFontSize, uint16_t startIndex, uint16_t endIndex) in SetFontSize() argument 202 inputSpan.end = endIndex; in SetFontSize() 205 SetSpannable(true, startIndex, endIndex); in SetFontSize() 215 needAddNode = EqualInsert<FontSizeSpan>(startIndex, endIndex, tempStar in SetFontSize() 256 SetFontId(uint16_t inputFontId, uint16_t startIndex, uint16_t endIndex) SetFontId() argument 314 SetFontHeight(int16_t inputHeight, uint16_t startIndex, uint16_t endIndex) SetFontHeight() argument 383 SetBackgroundColor(ColorType inputBackgroundColor, uint16_t startIndex, uint16_t endIndex) SetBackgroundColor() argument 446 SetForegroundColor(ColorType inputForegroundColor, uint16_t startIndex, uint16_t endIndex) SetForegroundColor() argument 508 SetLineBackgroundColor(ColorType inputLineBackgroundColor, uint16_t startIndex, uint16_t endIndex) SetLineBackgroundColor() argument [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
H A D | content_controller.cpp | 40 std::string ContentController::PreprocessString(int32_t startIndex, int32_t endIndex, const std::string& value) in PreprocessString() argument 51 auto selectValue = GetSelectedValue(startIndex, endIndex); in PreprocessString() 59 GetSelectedValue(startIndex, endIndex).find(specialChar) == std::string::npos) { in PreprocessString() 70 auto delLength = static_cast<uint32_t>(std::abs(endIndex - startIndex)); in PreprocessString() 82 bool ContentController::ReplaceSelectedValue(int32_t startIndex, int32_t endIndex, const std::string& value) in ReplaceSelectedValue() argument 84 FormatIndex(startIndex, endIndex); in ReplaceSelectedValue() 85 auto tmp = PreprocessString(startIndex, endIndex, value); in ReplaceSelectedValue() 89 StringUtils::ToString(wideText.substr(endIndex, static_cast<int32_t>(wideText.length()) - endIndex)); in ReplaceSelectedValue() 100 std::string ContentController::GetSelectedValue(int32_t startIndex, int32_t endIndex) in GetSelectedValue() argument 112 FormatIndex(int32_t& startIndex, int32_t& endIndex) FormatIndex() argument 386 int32_t endIndex = index + EMOJI_RANGE_RIGHT; IsIndexBeforeOrInEmoji() local 405 int32_t endIndex = index + AI_TEXT_RANGE_RIGHT; GetSelectedLimitValue() local [all...] |
H A D | content_controller.h | 36 bool ReplaceSelectedValue(int32_t startIndex, int32_t endIndex, const std::string& value); 37 std::string GetSelectedValue(int32_t startIndex, int32_t endIndex); 92 void FormatIndex(int32_t& startIndex, int32_t& endIndex); 94 std::string PreprocessString(int32_t startIndex, int32_t endIndex, const std::string& value);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/syntax/ |
H A D | lazy_layout_wrapper_builder.h | 39 void UpdateIndexRange(int32_t startIndex, int32_t endIndex, const std::list<std::optional<std::string>>& ids) in UpdateIndexRange() argument 42 if ((size != 0) && (size != (endIndex - startIndex + 1))) { in UpdateIndexRange() 44 endIndex, size); in UpdateIndexRange() 49 preEndIndex_ = endIndex; in UpdateIndexRange()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/utils/ |
H A D | text_trace.h | 64 int endIndex = str.rfind('('); in CutPrettyFunction() local 65 if (endIndex == std::string::npos) { in CutPrettyFunction() 72 for (int i = endIndex; i >= 0; --i) { in CutPrettyFunction() 81 str = str.substr(startIndex, endIndex - startIndex); in CutPrettyFunction()
|
/foundation/arkui/ace_engine/frameworks/core/text/ |
H A D | text_emoji_processor.cpp | 99 const std::string& content, int32_t& startIndex, int32_t& endIndex) in IsIndexInEmoji() 106 endIndex = emojiEndIndex; in IsIndexInEmoji() 110 endIndex = index; in IsIndexInEmoji() 138 const std::string& content, int32_t& startIndex, int32_t& endIndex) in GetIndexRelationToEmoji() 140 endIndex = index; in GetIndexRelationToEmoji() 155 emojiBackwardLengthU16 = endIndex - index; // calculate length of the part of emoji in GetIndexRelationToEmoji() 164 endIndex = index + emojiForwardLengthU16; in GetIndexRelationToEmoji() 210 int32_t& startIndex, int32_t& endIndex) in IsIndexBeforeOrInEmoji() 218 endIndex = emojiEndIndex; in IsIndexBeforeOrInEmoji() 222 endIndex in IsIndexBeforeOrInEmoji() 98 IsIndexInEmoji(int32_t index, const std::string& content, int32_t& startIndex, int32_t& endIndex) IsIndexInEmoji() argument 137 GetIndexRelationToEmoji(int32_t index, const std::string& content, int32_t& startIndex, int32_t& endIndex) GetIndexRelationToEmoji() argument 209 IsIndexBeforeOrInEmoji(int32_t index, const std::string& content, int32_t& startIndex, int32_t& endIndex) IsIndexBeforeOrInEmoji() argument 226 IsIndexAfterOrInEmoji(int32_t index, const std::string& content, int32_t& startIndex, int32_t& endIndex) IsIndexAfterOrInEmoji() argument 258 int32_t endIndex = index + length; CalSubWstringRange() local [all...] |
H A D | text_emoji_processor.h | 26 int endIndex; member 53 static bool IsIndexInEmoji(int32_t index, const std::string& content, int32_t& startIndex, int32_t& endIndex); 55 const std::string& content, int32_t& startIndex, int32_t& endIndex); 59 int32_t& startIndex, int32_t& endIndex); 61 int32_t& startIndex, int32_t& endIndex);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/ |
H A D | list_layout_algorithm.cpp | 307 void ListLayoutAlgorithm::HandleJumpAuto(LayoutWrapper* layoutWrapper, int32_t startIndex, int32_t endIndex) in HandleJumpAuto() argument 312 endIndex = GetLanesFloor(layoutWrapper, endIndex); in HandleJumpAuto() 340 } else if (jumpIndex >= endIndex) { in HandleJumpAuto() 434 float startPos, float endPos, int32_t startIndex, int32_t endIndex, int32_t jumpIndex) in CheckNoNeedJumpListItem() 438 int32_t tempEndIndex = endIndex; in CheckNoNeedJumpListItem() 462 int32_t startIndex, int32_t endIndex, int32_t jumpIndex, float jumpIndexStartPos) in CheckNoNeedJumpListItemGroup() 485 if (jumpIndex >= startIndex && jumpIndex <= endIndex) { in CheckNoNeedJumpListItemGroup() 504 startIndex, endIndex); in CheckNoNeedJumpListItemGroup() 547 int32_t startIndex, int32_t endIndex) in JudgeOutOfScreenScrollAutoType() 433 CheckNoNeedJumpListItem(LayoutWrapper* layoutWrapper, float startPos, float endPos, int32_t startIndex, int32_t endIndex, int32_t jumpIndex) CheckNoNeedJumpListItem() argument 461 CheckNoNeedJumpListItemGroup(LayoutWrapper* layoutWrapper, int32_t startIndex, int32_t endIndex, int32_t jumpIndex, float jumpIndexStartPos) CheckNoNeedJumpListItemGroup() argument 545 JudgeOutOfScreenScrollAutoType(const RefPtr<LayoutWrapper>& layoutWrapper, int32_t index, const RefPtr<ListLayoutProperty>& layoutProperty, int32_t indexInGroup, int32_t judgeIndex, int32_t startIndex, int32_t endIndex) JudgeOutOfScreenScrollAutoType() argument 569 NoNeedJump(LayoutWrapper* layoutWrapper, float startPos, float endPos, int32_t startIndex, int32_t endIndex, int32_t jumpIndex, float jumpIndexStartPos) NoNeedJump() argument 719 int32_t endIndex = 0; MeasureList() local 1094 LayoutBackward(LayoutWrapper* layoutWrapper, int32_t endIndex, float endPos) LayoutBackward() argument 1213 int32_t endIndex = FindPredictSnapEndIndexInItemPositions(predictEndPos, scrollSnapAlign); FixPredictSnapOffset() local 1928 auto endIndex = itemPos.rbegin()->first; GetLayoutGroupCachedCount() local 1935 int32_t endIndex = (outOfView || itemPos.empty()) ? -1 : itemPos.rbegin()->first; GetLayoutGroupCachedCount() local 2039 int32_t endIndex = GetEndIndex(); LayoutCachedItemInEdgeGroup() local 2217 FindPredictSnapIndexInItemPositionsStart( float predictEndPos, int32_t& endIndex, int32_t& currIndex) const FindPredictSnapIndexInItemPositionsStart() argument 2239 FindPredictSnapIndexInItemPositionsCenter( float predictEndPos, int32_t& endIndex, int32_t& currIndex) const FindPredictSnapIndexInItemPositionsCenter() argument 2259 FindPredictSnapIndexInItemPositionsEnd( float predictEndPos, int32_t& endIndex, int32_t& currIndex) const FindPredictSnapIndexInItemPositionsEnd() argument 2284 int32_t endIndex = -1; FindPredictSnapEndIndexInItemPositions() local 2403 int32_t endIndex = -1; GetSnapEndIndexAndPos() local [all...] |
H A D | list_item_group_layout_algorithm.cpp | 343 layoutedItemInfo_.value().endIndex >= totalItemCount_ - 1; in NeedMeasureItem() 434 int32_t endIndex = totalItemCount_ - 1; in MeasureListItem() local 462 endIndex = jumpIndex; in MeasureListItem() 466 endIndex = jumpIndex; in MeasureListItem() 485 endIndex = std::min(GetEndIndex(), totalItemCount_ - 1); in MeasureListItem() 491 ModifyReferencePos(GetLanesCeil(endIndex), endPos); in MeasureListItem() 505 endIndex = GetLanesCeil(endIndex); in MeasureListItem() 506 MeasureEnd(layoutWrapper, layoutConstraint, endIndex); in MeasureListItem() 517 endIndex in MeasureListItem() 731 MeasureJumpToItemBackward(LayoutWrapper* layoutWrapper, const LayoutConstraintF& layoutConstraint, int32_t endIndex, float endPos) MeasureJumpToItemBackward() argument 779 MeasureEnd(LayoutWrapper* layoutWrapper, const LayoutConstraintF& layoutConstraint, int32_t endIndex) MeasureEnd() argument 839 CheckJumpBackwardForBigOffset(int32_t& endIndex, float& endPos) CheckJumpBackwardForBigOffset() argument 908 MeasureBackward(LayoutWrapper* layoutWrapper, const LayoutConstraintF& layoutConstraint, int32_t endIndex, float endPos) MeasureBackward() argument 1330 int32_t endIndex = itemPosition_.empty() ? -1 : GetEndIndex(); MeasureCacheForward() local [all...] |
H A D | list_item_group_pattern.cpp | 203 if (layoutedItemInfo_.value().endIndex >= itemTotalCount_ - 1) { in GetEstimateOffset() 224 auto itemCount = layoutedItemInfo_.value().endIndex - layoutedItemInfo_.value().startIndex + 1; in GetEstimateHeight() 469 int32_t endIndex = (outOfView || itemPosition_.empty()) ? -1 : itemPosition_.rbegin()->first; in UpdateCachedIndexForward() local 470 int32_t endLimit = std::min(endIndex + cacheCount * lanes_, itemTotalCount_ - 1); in UpdateCachedIndexForward() 471 int32_t forwardCachedIndex = std::clamp(forwardCachedIndex_, endIndex, endLimit); in UpdateCachedIndexForward() 474 if (iter->first >= endIndex + 1 && iter->first <= endLimit) { in UpdateCachedIndexForward() 481 cachedItemPosition_.find(endIndex + 1) == cachedItemPosition_.end()) { in UpdateCachedIndexForward() 482 forwardCachedIndex = endIndex; in UpdateCachedIndexForward() 528 int32_t endIndex = itemPosition_.rbegin()->first; in UpdateCachedIndexOmni() local 529 int32_t endLimit = std::min(endIndex in UpdateCachedIndexOmni() [all...] |
H A D | list_position_map.h | 495 int32_t endIndex = input; in GetRowEndIndexAndHeight() local 497 while (endIndex < (totalItemCount_ - 1) && in GetRowEndIndexAndHeight() 498 NearEqual(posMap_[endIndex].mainPos, posMap_[endIndex + 1].mainPos)) { in GetRowEndIndexAndHeight() 499 endIndex++; in GetRowEndIndexAndHeight() 501 if (endIndex == totalItemCount_ - 1) { in GetRowEndIndexAndHeight() 502 rowHeight = totalHeight_ - posMap_[endIndex].mainPos - footerSize_; in GetRowEndIndexAndHeight() 504 rowHeight = posMap_[endIndex + 1].mainPos - posMap_[endIndex].mainPos - space_; in GetRowEndIndexAndHeight() 506 return { endIndex, rowHeigh in GetRowEndIndexAndHeight() [all...] |
H A D | list_layout_algorithm.h | 328 void LayoutBackward(LayoutWrapper* layoutWrapper, int32_t endIndex, float endPos); 334 void HandleJumpAuto(LayoutWrapper* layoutWrapper, int32_t startIndex, int32_t endIndex); 343 int32_t startIndex, int32_t endIndex, int32_t jumpIndex, float jumpIndexStartPos); 346 int32_t startIndex, int32_t endIndex, int32_t jumpIndex); 348 bool CheckNoNeedJumpListItemGroup(LayoutWrapper* layoutWrapper, int32_t startIndex, int32_t endIndex, 390 int32_t startIndex, int32_t endIndex); 508 void FindPredictSnapIndexInItemPositionsStart(float predictEndPos, int32_t& endIndex, int32_t& currIndex) const; 509 void FindPredictSnapIndexInItemPositionsCenter(float predictEndPos, int32_t& endIndex, int32_t& currIndex) const; 510 void FindPredictSnapIndexInItemPositionsEnd(float predictEndPos, int32_t& endIndex, int32_t& currIndex) const;
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/ |
H A D | swiper_layout_algorithm.cpp | 223 int32_t endIndex = GetLoopIndex(GetEndIndex()); in Measure() local 224 CheckCachedItem(startIndex, endIndex, layoutWrapper); in Measure() 227 endIndex = std::min(endIndex, realTotalCount_ - 1); in Measure() 228 layoutWrapper->SetActiveChildRange(startIndex, endIndex, cachedCount_, cachedCount_); in Measure() 231 int32_t endIndex = std::min(GetLoopIndex(itemPositionInAnimation_.rbegin()->first), realTotalCount_ - 1); in Measure() local 236 while (endIndex - 1 >= 0 && in Measure() 237 itemPositionInAnimation_.find(endIndex - 1) != itemPositionInAnimation_.end()) { in Measure() 238 endIndex--; in Measure() 240 CheckCachedItem(endIndex, startInde in Measure() 452 int32_t endIndex = 0; MeasureSwiper() local 837 LayoutBackward( LayoutWrapper* layoutWrapper, const LayoutConstraintF& layoutConstraint, int32_t endIndex, float endPos) LayoutBackward() argument 1450 CheckCachedItem(int32_t startIndex, int32_t endIndex, LayoutWrapper* layoutWrapper) CheckCachedItem() argument [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/ |
H A D | tab_bar_layout_algorithm.cpp | 390 auto endIndex = visibleItemPosition_.rbegin()->first + 1; in MeasureTargetIndex() local 392 LayoutForward(layoutWrapper, childLayoutConstraint, endIndex, endPos); in MeasureTargetIndex() 397 AdjustPosition(layoutWrapper, childLayoutConstraint, startIndex, endIndex, startPos, endPos); in MeasureTargetIndex() 411 auto endIndex = jumpIndex_.value() + 1; in MeasureJumpIndex() local 414 LayoutForward(layoutWrapper, childLayoutConstraint, endIndex, endPos); in MeasureJumpIndex() 417 AdjustPosition(layoutWrapper, childLayoutConstraint, startIndex, endIndex, startPos, endPos); in MeasureJumpIndex() 424 auto endIndex = 0; in MeasureWithOffset() local 431 endIndex = visibleItemPosition_.begin()->first; in MeasureWithOffset() 434 startIndex = endIndex - 1; in MeasureWithOffset() 441 endIndex in MeasureWithOffset() 456 AdjustPosition(LayoutWrapper* layoutWrapper, LayoutConstraintF& childLayoutConstraint, int32_t startIndex, int32_t endIndex, float startPos, float endPos) AdjustPosition() argument 478 LayoutForward(LayoutWrapper* layoutWrapper, LayoutConstraintF& childLayoutConstraint, int32_t& endIndex, float& endPos) LayoutForward() argument [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pattern/grid/irregular/ |
H A D | grid_irregular_filler_test.cpp | 326 EXPECT_EQ(res.endIndex, 9); in HWTEST_F() 354 EXPECT_EQ(res.endIndex, 9); in HWTEST_F() 364 EXPECT_EQ(res.endIndex, 9); in HWTEST_F() 392 EXPECT_EQ(res.endIndex, 3); in HWTEST_F() 399 EXPECT_EQ(res.endIndex, 8); in HWTEST_F() 406 EXPECT_EQ(res.endIndex, 10); in HWTEST_F() 433 EXPECT_EQ(res.endIndex, 3); in HWTEST_F() 441 EXPECT_EQ(res.endIndex, 7); in HWTEST_F() 469 EXPECT_EQ(res.endIndex, 7); in HWTEST_F() 478 EXPECT_EQ(res.endIndex, in HWTEST_F() [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pattern/list/ |
H A D | list_scroller_event_test_ng.cpp | 152 int32_t endIndex; in HWTEST_F() local 154 auto event = [&startIndex, &endIndex, ¢erIndex](int32_t start, int32_t end, int32_t center) { in HWTEST_F() 156 endIndex = end; in HWTEST_F() 166 EXPECT_EQ(endIndex, 4); in HWTEST_F() 171 EXPECT_EQ(endIndex, 5); in HWTEST_F() 299 int32_t endIndex = -1; in HWTEST_F() local 300 auto onScrollVisibleContentChange = [&startIndex, &endIndex](const ListItemIndex start, const ListItemIndex end) { in HWTEST_F() 302 endIndex = end.index; in HWTEST_F() 311 EXPECT_EQ(endIndex, 4); in HWTEST_F() 315 EXPECT_EQ(endIndex, in HWTEST_F() [all...] |
/foundation/multimedia/media_foundation/src/meta/ |
H A D | any.cpp | 174 size_t endIndex = stringInfo.find_last_of(']'); variable 176 size_t endIndex = stringInfo.find_last_of(';'); variable 178 FALSE_RETURN_V_MSG_E(endIndex != std::string::npos, 180 std::string_view typeNameRet(functionInfo + beginIndex, endIndex - beginIndex);
|
/foundation/arkui/ace_engine/frameworks/core/accessibility/ |
H A D | native_interface_accessibility_impl.h | 101 void SetEndIndex(int32_t endIndex) in SetEndIndex() 103 this->endIndex = endIndex; in SetEndIndex() 108 return endIndex; in GetEndIndex() 445 int32_t endIndex = 0; member
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/ |
H A D | paragraph_manager.cpp | 189 auto endIndex = 0; in GetWordBoundary() local 195 end += endIndex; in GetWordBoundary() 201 endIndex = info.end; in GetWordBoundary() 259 size_t endIndex = 0; in GetLineMetrics() local 268 endIndex += lastLineMetrics.endIndex + 1; in GetLineMetrics() 272 lineMetrics.startIndex += endIndex; in GetLineMetrics() 273 lineMetrics.endIndex += endIndex; in GetLineMetrics()
|
/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_chart.cpp | 259 void UIChartDataSerial::RefreshInvalidateRect(uint16_t startIndex, uint16_t endIndex) in RefreshInvalidateRect() argument 264 endIndex = (endIndex >= dataCount_) ? (dataCount_ - 1) : endIndex; in RefreshInvalidateRect() 265 GetPoint(endIndex, end); in RefreshInvalidateRect() 577 void UIChartPolyline::GetDataBySmooth(uint16_t startIndex, uint16_t endIndex, UIChartDataSerial* data) in GetDataBySmooth() argument 593 for (uint16_t i = startIndex; i < endIndex; i++) { in GetDataBySmooth() 601 data->GetOriginalPoint(endIndex, pointArray[count++]); in GetDataBySmooth() 609 uint16_t endIndex, in DrawSmoothPolyLine() 628 for (uint16_t i = startIndex; i < endIndex; in DrawSmoothPolyLine() 607 DrawSmoothPolyLine(BufferInfo& gfxDstBuffer, uint16_t startIndex, uint16_t endIndex, const Rect& invalidatedArea, UIChartDataSerial* data) DrawSmoothPolyLine() argument 657 DrawPolyLine(BufferInfo& gfxDstBuffer, uint16_t startIndex, uint16_t endIndex, const Rect& invalidatedArea, UIChartDataSerial* data) DrawPolyLine() argument [all...] |
/foundation/barrierfree/accessibility/common/interface/test/unittest/mock/ |
H A D | mock_accessibility_event_info_parcel.cpp | 71 int32_t endIndex = 0; in ReadFromParcelSecondPart() local 72 READ_PARCEL_AND_RETURN_FALSE_IF_FAIL(Int32, parcel, endIndex); in ReadFromParcelSecondPart() 73 SetEndIndex(endIndex); in ReadFromParcelSecondPart()
|
/foundation/barrierfree/accessibility/common/interface/src/parcel/ |
H A D | accessibility_event_info_parcel.cpp | 71 int32_t endIndex = 0; in ReadFromParcelSecondPart() local 72 READ_PARCEL_AND_RETURN_FALSE_IF_FAIL(Int32, parcel, endIndex); in ReadFromParcelSecondPart() 73 SetEndIndex(endIndex); in ReadFromParcelSecondPart()
|