/foundation/communication/dhcp/test/services/dhcp_client/ |
D | dhcp_options_test.cpp | 58 int endIndex = 0; variable 60 pOption[endIndex + DHCP_OPT_CODE_INDEX] = PAD_OPTION; 61 endIndex += DHCP_OPT_CODE_BYTES; 63 pOption[endIndex + DHCP_OPT_CODE_INDEX] = SUBNET_MASK_OPTION; 64 pOption[endIndex + DHCP_OPT_LEN_INDEX] = DHCP_UINT32_BYTES; 67 …memcpy_s(pOption + endIndex + DHCP_OPT_DATA_INDEX, DHCP_UINT32_BYTES, &u32Data, DHCP_UINT32_BYTES)… 68 endIndex += DHCP_OPT_CODE_BYTES + DHCP_OPT_LEN_BYTES + pOption[endIndex + DHCP_OPT_LEN_INDEX]; 70 pOption[endIndex + DHCP_OPT_CODE_INDEX] = DHCP_MESSAGE_TYPE_OPTION; 71 pOption[endIndex + DHCP_OPT_LEN_INDEX] = DHCP_UINT8_BYTES; 73 …ASSERT_TRUE(memcpy_s(pOption + endIndex + DHCP_OPT_DATA_INDEX, DHCP_UINT8_BYTES, &uData, DHCP_UINT… [all …]
|
/foundation/graphic/graphic_2d/rosen/modules/texgine/src/ |
D | measurer_impl.h | 96 size_t endIndex = 0; member 105 if (endIndex != rhs.endIndex) { 106 return endIndex < rhs.endIndex;
|
D | char_groups.cpp | 198 int endIndex = 1e9; in GetSubFromU16RangeAll() local 209 endIndex = std::min(endIndex, i); in GetSubFromU16RangeAll() 213 return GetSubAll(startIndex, endIndex + 1); in GetSubFromU16RangeAll()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/syntax/ |
D | lazy_layout_wrapper_builder.h | 39 …void UpdateIndexRange(int32_t startIndex, int32_t endIndex, const std::list<std::optional<std::str… in UpdateIndexRange() argument 42 if ((size != 0) && (size != (endIndex - startIndex + 1))) { in UpdateIndexRange() 44 endIndex, size); in UpdateIndexRange() 49 preEndIndex_ = endIndex; in UpdateIndexRange()
|
/foundation/arkui/ui_lite/frameworks/common/ |
D | spannable_string.cpp | 47 void SpannableString::SetTextStyle(TextStyle textStyle, uint16_t startIndex, uint16_t endIndex) in SetTextStyle() argument 49 StyleSpan* span = new StyleSpan(textStyle, startIndex, endIndex); in SetTextStyle()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/ |
D | list_item_group_layout_algorithm.cpp | 264 int32_t endIndex = totalItemCount_ - 1; in MeasureListItem() local 291 endIndex = jumpIndex; in MeasureListItem() 302 endIndex = std::min(GetEndIndex(), totalItemCount_ - 1); in MeasureListItem() 317 endIndex = (lanes_ <= 1) ? endIndex : (endIndex - endIndex % lanes_ + lanes_ - 1); in MeasureListItem() 318 endIndex = endIndex >= totalItemCount_ ? totalItemCount_ - 1 : endIndex; in MeasureListItem() 319 LOGD("endIndex:%{public}d, endPos:%{public}f", endIndex, endPos); in MeasureListItem() 320 MeasureBackward(layoutWrapper, layoutConstraint, endIndex, endPos); in MeasureListItem() 424 const LayoutConstraintF& layoutConstraint, int32_t endIndex, float endPos) in MeasureBackward() argument 428 auto currentIndex = endIndex + 1; in MeasureBackward() 441 if (targetIndex_ && LessOrEqual(endIndex, targetIndex_.value())) { in MeasureBackward()
|
D | list_layout_algorithm.cpp | 247 int32_t& startIndex, int32_t& endIndex, float& startPos, float& endPos) in HandleJumpAuto() argument 258 int32_t tempEndIndex = endIndex; in HandleJumpAuto() 334 int32_t startIndex, int32_t endIndex) in NoNeedJump() argument 343 int32_t tempEndIndex = endIndex; in NoNeedJump() 412 int32_t endIndex = 0; in MeasureList() local 429 endIndex = std::min(GetEndIndex(), totalItemCount_ - 1); in MeasureList() 440 if (endIndex == totalItemCount_ - 1) { in MeasureList() 456 NoNeedJump(layoutWrapper, startPos, endPos, startIndex, endIndex)) { in MeasureList() 480 HandleJumpAuto(layoutWrapper, startIndex, endIndex, startPos, endPos); in MeasureList() 486 HandleJumpAuto(layoutWrapper, startIndex, endIndex, startPos, endPos); in MeasureList() [all …]
|
D | list_layout_algorithm.h | 241 void LayoutBackward(LayoutWrapper* layoutWrapper, int32_t endIndex, float endPos); 248 int32_t& startIndex, int32_t& endIndex, float& startPos, float& endPos); 253 int32_t startIndex, int32_t endIndex);
|
D | list_item_group_layout_algorithm.h | 173 …LayoutWrapper* layoutWrapper, const LayoutConstraintF& layoutConstraint, int32_t endIndex, float e…
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/ |
D | water_flow_layout_info.cpp | 55 int32_t endIndex = 0; in GetEndIndexByOffset() local 60 endIndex = std::max(endIndex, iter.first); in GetEndIndexByOffset() 66 return found ? endIndex : -1; in GetEndIndexByOffset()
|
/foundation/barrierfree/accessibility/common/interface/src/parcel/ |
D | accessibility_event_info_parcel.cpp | 75 int32_t endIndex = 0; in ReadFromParcelSecondPart() local 76 READ_PARCEL_AND_RETURN_FALSE_IF_FAIL(Int32, parcel, endIndex); in ReadFromParcelSecondPart() 77 SetEndIndex(endIndex); in ReadFromParcelSecondPart()
|
/foundation/arkui/ui_lite/frameworks/components/ |
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* da… 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() argument 628 for (uint16_t i = startIndex; i < endIndex; i++) { in DrawSmoothPolyLine() 659 uint16_t endIndex, in DrawPolyLine() argument 663 if ((startIndex >= endIndex) || (data == nullptr)) { in DrawPolyLine() [all …]
|
/foundation/arkui/ui_lite/interfaces/kits/components/ |
D | ui_chart.h | 592 void RefreshInvalidateRect(uint16_t startIndex, uint16_t endIndex); 904 uint16_t endIndex, 907 void GetDataBySmooth(uint16_t startIndex, uint16_t endIndex, UIChartDataSerial* data); 917 uint16_t endIndex,
|
/foundation/arkui/ui_lite/interfaces/kits/common/ |
D | spannable_string.h | 43 void SetTextStyle(TextStyle textStyle, uint16_t startIndex, uint16_t endIndex);
|
/foundation/ability/ability_lite/frameworks/want_lite/src/ |
D | want.cpp | 373 char *endIndex = strchr(beginIndex, URI_SEPARATOR); in WantParseUri() local 374 if ((endIndex == nullptr) || (endIndex <= beginIndex)) { in WantParseUri() 378 *endIndex = '\0'; in WantParseUri() 397 beginIndex = endIndex + 1; in WantParseUri()
|
/foundation/arkui/ace_engine/frameworks/core/components/list/ |
D | list_element.cpp | 34 std::string BuildEventParam(int32_t beginIndex, int32_t endIndex) in BuildEventParam() argument 39 .append(std::to_string(endIndex)) in BuildEventParam() 108 void ListElement::RetrieveListData(int32_t beginIndex, int32_t endIndex) in RetrieveListData() argument 114 command.append(BuildEventParam(beginIndex, endIndex)); in RetrieveListData() 119 if (endIndex > 0) { in RetrieveListData() 120 std::string param = BuildEventParam(beginIndex, endIndex); in RetrieveListData() 121 LOGD("RetrieveListData [begin = %{public}d, end = %{public}d)", beginIndex, endIndex); in RetrieveListData()
|
D | list_component.h | 177 void SetEndIndex(int32_t endIndex) in SetEndIndex() argument 179 endIndex_ = endIndex; in SetEndIndex()
|
D | list_element.h | 62 void RetrieveListData(int32_t beginIndex, int32_t endIndex);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/ |
D | swiper_layout_algorithm.cpp | 250 int32_t endIndex = 0; in MeasureSwiper() local 266 endIndex = std::min(GetLoopIndex(GetEndIndex()), totalItemCount_ - 1); in MeasureSwiper() 273 endIndex = GetEndIndex(); in MeasureSwiper() 298 int32_t stepsFromCurrentToTarget = endIndex - targetIndex_.value(); in MeasureSwiper() 299 endIndex -= (stepsFromCurrentToTarget > (totalItemCount_ - 1)) in MeasureSwiper() 301 LayoutBackward(layoutWrapper, layoutConstraint, axis, endIndex, endPos); in MeasureSwiper() 322 LayoutBackward(layoutWrapper, layoutConstraint, axis, endIndex, endPos); in MeasureSwiper() 537 …ayoutWrapper, const LayoutConstraintF& layoutConstraint, Axis axis, int32_t endIndex, float endPos) in LayoutBackward() argument 545 auto currentIndex = endIndex + 1; in LayoutBackward()
|
D | swiper_layout_algorithm.h | 53 int32_t endIndex, float endPos);
|
/foundation/barrierfree/accessibility/interfaces/kits/js/ |
D | @ohos.accessibility.d.ts | 630 endIndex?: number;
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libgifplugin/include/ |
D | gif_decoder.h | 63 uint32_t OverlapFrame(uint32_t startIndex, uint32_t endIndex);
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libgifplugin/src/ |
D | gif_decoder.cpp | 149 uint32_t endIndex = index; in Decode() local 163 startIndex, endIndex, lastPixelMapIndex_, isOverlapped); in Decode() 166 errorCode = OverlapFrame(startIndex, endIndex); in Decode() 274 uint32_t GifDecoder::OverlapFrame(uint32_t startIndex, uint32_t endIndex) in OverlapFrame() argument 276 for (uint32_t frameIndex = startIndex; frameIndex <= endIndex; frameIndex++) { in OverlapFrame() 311 lastPixelMapIndex_ = endIndex; in OverlapFrame()
|
/foundation/resourceschedule/device_usage_statistics/services/common/src/ |
D | bundle_active_usage_database.cpp | 1230 int32_t endIndex = NearIndexOnOrBeforeCurrentTime(endTime, sortedTableArray_.at(databaseType)); in QueryDatabaseUsageStats() local 1231 if (endIndex < 0) { in QueryDatabaseUsageStats() 1234 if (sortedTableArray_.at(databaseType).at(endIndex) == endTime) { in QueryDatabaseUsageStats() 1235 endIndex--; in QueryDatabaseUsageStats() 1236 if (endIndex < 0) { in QueryDatabaseUsageStats() 1240 for (int32_t i = startIndex; i <= endIndex; i++) { in QueryDatabaseUsageStats() 1248 if (startIndex == endIndex) { in QueryDatabaseUsageStats() 1267 } else if (i == endIndex) { in QueryDatabaseUsageStats()
|
/foundation/distributedhardware/distributed_input/common/include/ |
D | input_hub.h | 128 bool ContainsNonZeroByte(const uint8_t *array, uint32_t startIndex, uint32_t endIndex);
|