Searched refs:startIdx (Results 1 – 3 of 3) sorted by relevance
120 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()
50 UINT32 startIdx; member
540 INT32 startIdx = 0; in OsFindSymInTable() local544 while (startIdx <= endIdx) { in OsFindSymInTable()545 midIdx = startIdx + ((UINT32)(endIdx - startIdx) >> 1); in OsFindSymInTable()550 startIdx = midIdx + 1; in OsFindSymInTable()