/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/waterflow/ |
H A D | water_flow_section_test.cpp | 34 int32_t startIdx = -1; variable 35 s.SetOnDataChange([&startIdx](int32_t start) { startIdx = start; }); in __anon1088038a0102() 37 EXPECT_EQ(startIdx, 0); 41 EXPECT_EQ(startIdx, 5); 46 EXPECT_EQ(startIdx, 4); 51 EXPECT_EQ(startIdx, 5); 56 EXPECT_EQ(startIdx, 4); 61 EXPECT_EQ(startIdx, 5); 65 EXPECT_EQ(startIdx, 5); 78 int32_t startIdx = -1; variable [all …]
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/base/ |
H A D | string_util.cpp | 65 int32_t startIdx = (start < 0) ? (start + size) : start; in Slice() local 66 startIdx = (startIdx < 0) ? 0 : startIdx; in Slice() 69 if (startIdx > endIdx || endIdx < 0) { in Slice() 72 int32_t diffSize = endIdx - startIdx; in Slice() 77 if (strncpy_s(buffer, diffSize + 1, sequence + startIdx, diffSize) == 0) { in Slice()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/list/ |
H A D | list_element.cpp | 82 size_t startIdx = FindItemStartIndex(0, index); in FindItemStartIndex() local 83 listItemRange_[startIdx] = index; in FindItemStartIndex() 84 return startIdx; in FindItemStartIndex() 90 size_t startIdx = FindItemStartIndex(it->second, index); in FindItemStartIndex() local 91 if (startIdx != INVALID_INDEX) { in FindItemStartIndex() 92 listItemRange_[startIdx] = index; in FindItemStartIndex() 93 return startIdx; in FindItemStartIndex()
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/coap_discover/ |
H A D | coap_discover.c | 51 uint32_t startIdx; member 365 uint32_t i = msgIdList->startIdx; 375 msgIdList->startIdx = COAP_MAX_MSGID_RESERVE_NUM; 379 msgIdList->startIdx = (msgIdList->startIdx + 1) % COAP_MAX_MSGID_RESERVE_NUM; 380 i = msgIdList->startIdx; 384 msgIdList->startIdx = COAP_MAX_MSGID_RESERVE_NUM; 398 msgIdList->startIdx = 0; 402 if (idx == msgIdList->startIdx) { 403 msgIdList->startIdx = (msgIdList->startIdx + 1) % COAP_MAX_MSGID_RESERVE_NUM; 428 i = g_msgIdList->startIdx; [all …]
|
/ohos5.0/foundation/systemabilitymgr/samgr_lite/samgr_endpoint/source/ |
H A D | endpoint_rpc.c | 174 static int SendGetAllSysCapsRequest(const Endpoint *endpoint, uint32 startIdx, IpcIo *reply, void *… in SendGetAllSysCapsRequest() argument 182 WriteUint32(&req, startIdx); in SendGetAllSysCapsRequest() 188 HILOG_DEBUG(HILOG_MODULE_SAMGR, "SendGetAllSysCapsRequest startIdx:%u, ret:%d!", startIdx, ret); in SendGetAllSysCapsRequest() 241 uint32 startIdx = 0; in SAMGR_GetSystemCapabilities() local 245 ret = SendGetAllSysCapsRequest(endpoint, startIdx, &reply, &replyBuf); in SAMGR_GetSystemCapabilities() 247 ret = ParseGetAllSysCapsReply(&reply, sysCaps, sysCapNum, &isEnd, &startIdx); in SAMGR_GetSystemCapabilities()
|
H A D | endpoint.c | 207 static int SendGetAllSysCapsRequest(const Endpoint *endpoint, uint32 startIdx, IpcIo *reply, void *… in SendGetAllSysCapsRequest() argument 214 IpcIoPushUint32(&req, startIdx); in SendGetAllSysCapsRequest() 218 HILOG_DEBUG(HILOG_MODULE_SAMGR, "SendGetAllSysCapsRequest startIdx:%u, ret:%d!", startIdx, ret); in SendGetAllSysCapsRequest() 264 uint32 startIdx = 0; in SAMGR_GetSystemCapabilities() local 268 ret = SendGetAllSysCapsRequest(endpoint, startIdx, &reply, &replyBuf); in SAMGR_GetSystemCapabilities() 270 ret = ParseGetAllSysCapsReply(&reply, sysCaps, sysCapNum, &isEnd, &startIdx); in SAMGR_GetSystemCapabilities()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/irregular/ |
H A D | grid_layout_range_solver.cpp | 54 auto [startRow, startIdx] = CheckMultiRow(jumpLineIdx); in FindRangeOnJump() 57 return { startRow, startIdx, offset, endLineIdx, endIdx }; in FindRangeOnJump() 95 auto [startRow, startIdx] = CheckMultiRow(it->first); in SolveForward() 100 return { startRow, startIdx, len - targetLen + mainGap }; in SolveForward()
|
H A D | grid_layout_range_solver.h | 52 int32_t startIdx = 0; /**< Index of the starting GridItem in layout range. */ member
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_util/core/ |
H A D | nstackx_util.c | 87 uint32_t fileNameLen, startIdx; in GetFileName() local 99 startIdx = (uint32_t)(strlen(dir) + 1 - fileNameLen); in GetFileName() 100 if (strcpy_s(name, nameLen, dir + startIdx) != EOK) { in GetFileName()
|
/ohos5.0/foundation/systemabilitymgr/samgr_lite/samgr_server/source/ |
H A D | samgr_server_rpc.c | 533 static int32 GetReplyNumAndNextReqIdx(Vector *sysCapablitys, int32 startIdx, int32 *nextRequestIdx) in GetReplyNumAndNextReqIdx() argument 537 int32 i = startIdx; in GetReplyNumAndNextReqIdx() 551 uint32_t startIdx; in ProcGetAllSysCap() local 552 ReadUint32(req, &startIdx); in ProcGetAllSysCap() 559 WriteUint32(reply, startIdx); in ProcGetAllSysCap() 564 int32 nextRequestIdx = startIdx; in ProcGetAllSysCap() 565 int32 replyNum = GetReplyNumAndNextReqIdx(sysCapablitys, startIdx, &nextRequestIdx); in ProcGetAllSysCap() 567 replyNum, size, startIdx, nextRequestIdx); in ProcGetAllSysCap() 575 int32 i = startIdx; in ProcGetAllSysCap()
|
H A D | samgr_server.c | 421 static int32 GetReplyNumAndNextReqIdx(Vector *sysCapablitys, int32 startIdx, int32 *nextRequestIdx) in GetReplyNumAndNextReqIdx() argument 425 int32 i = startIdx; in GetReplyNumAndNextReqIdx() 439 uint32_t startIdx = IpcIoPopUint32(req); in ProcGetAllSysCap() local 446 IpcIoPushUint32(reply, startIdx); in ProcGetAllSysCap() 451 int32 nextRequestIdx = startIdx; in ProcGetAllSysCap() 452 int32 replyNum = GetReplyNumAndNextReqIdx(sysCapablitys, startIdx, &nextRequestIdx); in ProcGetAllSysCap() 454 replyNum, size, startIdx, nextRequestIdx); in ProcGetAllSysCap() 462 int32 i = startIdx; in ProcGetAllSysCap()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/sliding_window/ |
H A D | water_flow_layout_info_sw.cpp | 439 int32_t startIdx = StartIndex(); in ItemCloseToView() local 442 return min(abs(idx - endIdx), abs(idx - startIdx)) < endIdx - startIdx + 1; in ItemCloseToView() 487 const int32_t startIdx = StartIndex(); in IsMisaligned() local 488 int32_t startSeg = GetSegment(startIdx); in IsMisaligned() 493 if (startIdx > 0) { in IsMisaligned() 496 } else if (startIdx != segmentTails_[startSeg - 1] + 1) { in IsMisaligned()
|
H A D | water_flow_layout_sw.cpp | 493 int32_t startIdx = info_->StartIndex(); in ClearBack() local 494 for (int32_t i = info_->EndIndex(); i > startIdx; --i) { in ClearBack() 655 int32_t startIdx = info_->StartIndex(); in AdjustOverScroll() local 656 if (startIdx == 0 && Positive(minStart)) { in AdjustOverScroll() 660 if (startIdx == 0) { in AdjustOverScroll()
|
/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/src/ |
H A D | resource_manager_impl.cpp | 240 size_t startIdx = 0; in GetPluralString() local 244 std::string key(idItem->values_[startIdx + i * 2]); in GetPluralString() 245 std::string value(idItem->values_[startIdx + i * 2 + 1]); in GetPluralString() 330 size_t startIdx = haveParent ? 1 : 0; in ResolveParentReference() local 336 std::string key(currItem->values_[startIdx + i * 2]); in ResolveParentReference() 337 std::string value(currItem->values_[startIdx + i * 2 + 1]); in ResolveParentReference()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/ |
H A D | list_lanes_layout_algorithm.cpp | 399 int32_t startIdx = FindLanesStartIndex(layoutWrapper, 0, index); in FindLanesStartIndex() local 400 lanesItemRange_[startIdx] = index; in FindLanesStartIndex() 401 return startIdx; in FindLanesStartIndex() 407 int32_t startIdx = FindLanesStartIndex(layoutWrapper, it->second, index); in FindLanesStartIndex() local 408 if (startIdx >= 0) { in FindLanesStartIndex() 409 lanesItemRange_[startIdx] = index; in FindLanesStartIndex() 410 return startIdx; in FindLanesStartIndex()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/grid_scroll/ |
H A D | grid_scroll_with_options_layout_algorithm.h | 51 void UpdateMainLineOnReload(int32_t startIdx) override in UpdateMainLineOnReload() argument
|
H A D | grid_scroll_layout_algorithm.h | 174 virtual void UpdateMainLineOnReload(int32_t startIdx);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/top_down/ |
H A D | water_flow_segmented_layout.h | 112 void Fill(int32_t startIdx);
|
H A D | water_flow_segmented_layout.cpp | 456 void WaterFlowSegmentedLayout::Fill(int32_t startIdx) in Fill() argument 459 for (int32_t i = startIdx; i < info_->childrenCount_; ++i) { in Fill()
|
/ohos5.0/commonlibrary/ets_utils/js_sys_module/console/ |
H A D | console.h | 65 size_t startIdx, bool format = true);
|
/ohos5.0/drivers/peripheral/wlan/chip/hdi_service/ |
H A D | wifi_chip.h | 78 std::string AllocIfaceName(IfaceType type, uint32_t startIdx);
|
H A D | wifi_chip.cpp | 366 std::string WifiChip::AllocIfaceName(IfaceType type, uint32_t startIdx) in AllocIfaceName() argument 369 for (unsigned idx = startIdx; idx < K_MAX_WLAN_IFACES; idx++) { in AllocIfaceName()
|
/ohos5.0/base/global/resource_management/frameworks/resmgr/src/ |
H A D | resource_manager_impl.cpp | 383 size_t startIdx = 0; in GetPluralString() local 386 std::string key(idItem->values_[startIdx + i * 2]); // 2 means keyappear in pairs in GetPluralString() 387 std::string value(idItem->values_[startIdx + i * 2 + 1]); // 2 means value appear in pairs in GetPluralString() 485 size_t startIdx = haveParent ? 1 : 0; in ResolveParentReference() local 490 std::string key(currItem->values_[startIdx + i * 2]); // 2 means key appear in pairs in ResolveParentReference() 491 … std::string value(currItem->values_[startIdx + i * 2 + 1]); // 2 means value appear in pairs in ResolveParentReference()
|
/ohos5.0/foundation/communication/wifi/wifi/utils/src/ |
H A D | wifi_common_util.cpp | 89 const char hiddenCh, const int startIdx = 0) in DataAnonymize() argument 109 while (idx++ < startIdx && begin < end) { in DataAnonymize()
|
/ohos5.0/base/sensors/sensor/vibration_convert/core/native/src/ |
H A D | vibration_convert_core.cpp | 1101 int32_t startIdx, int32_t endIdx) in CombinateContinuousEvents() argument 1103 int32_t begIdx = startIdx; in CombinateContinuousEvents() 1112 for (int32_t k = startIdx; k < endIdx; ++k) { in CombinateContinuousEvents()
|