Searched refs:readPos (Results 1 – 5 of 5) sorted by relevance
50 int readPos = 0; in RingBuffer_selfTest() local52 while (writePos < dataSize || readPos < dataSize) in RingBuffer_selfTest()59 DE_TEST_ASSERT(buffer.getNumFree() == bufSize - (writePos-readPos)); in RingBuffer_selfTest()69 DE_TEST_ASSERT(tmp[i] == data[readPos+i]); in RingBuffer_selfTest()71 readPos += numBytes; in RingBuffer_selfTest()
672 TextIdx readPos = 0; in durchschlag_distill() local678 readPos + static_cast<TextIdx>(sample_sizes->at(i)); in durchschlag_distill()679 while (readPos < oldSampleEnd) { in durchschlag_distill()680 if (readPos < end) { in durchschlag_distill()681 MetaSlot& item = map[shortcut[readPos]]; in durchschlag_distill()683 lastNonUniquePos = readPos + sliceLen; in durchschlag_distill()686 if (readPos < lastNonUniquePos) { in durchschlag_distill()687 data[writePos++] = data[readPos]; in durchschlag_distill()689 readPos++; in durchschlag_distill()715 for (TextIdx readPos = 0; readPos < total; ++readPos) { in durchschlag_purify() local[all …]
916 for (int readPos = 0; readPos < size; ++readPos) { in filterUnknownEnumList()917 int enumValue = enumList.get(readPos); in filterUnknownEnumList()919 if (readPos != writePos) { in filterUnknownEnumList()956 for (int readPos = 0; readPos < size; ++readPos) { in filterUnknownEnumList()957 int enumValue = enumList.get(readPos); in filterUnknownEnumList()959 if (readPos != writePos) { in filterUnknownEnumList()
404 int readPos = 0; in consumerThread() local412 val = buffer->buffer[readPos]; in consumerThread()413 readPos = (readPos + 1) % DE_LENGTH_OF_ARRAY(buffer->buffer); in consumerThread()
425 RINOK(p->inStream->Read(p->inStream, p->enc.buf + p->enc.readPos, &processed)); in SbEncInStream_Read()426 p->enc.readPos += processed; in SbEncInStream_Read()