Home
last modified time | relevance | path

Searched refs:startIdx (Results 1 – 3 of 3) sorted by relevance

/kernel/liteos_a/lib/libscrew/src/
Dlos_cir_buf.c120 if (cirbufCB->startIdx <= cirbufCB->endIdx) { in LOS_CirBufWrite()
136 remain = cirbufCB->endIdx - cirbufCB->startIdx; in OsCirBufReadLinear()
143 err = memcpy_s(buf, size, cirbufCB->fifo + cirbufCB->startIdx, cpSize); in OsCirBufReadLinear()
149 cirbufCB->startIdx += cpSize; in OsCirBufReadLinear()
159 right = cirbufCB->size - cirbufCB->startIdx; in OsCirBufReadLoop()
162 err = memcpy_s(buf, size, cirbufCB->fifo + cirbufCB->startIdx, cpSize); in OsCirBufReadLoop()
168 cirbufCB->startIdx += cpSize; in OsCirBufReadLoop()
169 if (cirbufCB->startIdx == cirbufCB->size) { in OsCirBufReadLoop()
170 cirbufCB->startIdx = 0; in OsCirBufReadLoop()
195 if (cirbufCB->startIdx >= cirbufCB->endIdx) { in LOS_CirBufRead()
/kernel/liteos_a/lib/libscrew/include/
Dlos_cir_buf.h50 UINT32 startIdx; member
/kernel/liteos_m/components/dynlink/
Dlos_dynlink.c540 INT32 startIdx = 0; in OsFindSymInTable() local
544 while (startIdx <= endIdx) { in OsFindSymInTable()
545 midIdx = startIdx + ((UINT32)(endIdx - startIdx) >> 1); in OsFindSymInTable()
550 startIdx = midIdx + 1; in OsFindSymInTable()