Searched refs:mReadHead (Results 1 – 5 of 5) sorted by relevance
30 mReadHead = 0; in SkipCutBuffer()133 mWriteHead = mReadHead = 0; in clear()138 int32_t sizeused = (mWriteHead - mReadHead); in write()172 int32_t available = (mWriteHead - mReadHead); in read()183 size_t copyfirst = (mCapacity - mReadHead); in read()186 memcpy(dst, mCutBuffer + mReadHead, copyfirst); in read()189 mReadHead += copyfirst; in read()190 CHECK_LE(mReadHead, mCapacity); in read()191 if (mReadHead == mCapacity) mReadHead = 0; in read()194 mReadHead += num; in read()[all …]
59 int32_t mReadHead; variable
45 private final Lazy<ArrayTrackRecord<byte[]>.ReadHead> mReadHead = field in TapPacketReader71 return mReadHead.getValue().poll(timeoutMs, packet -> true); in popPacket()79 return mReadHead.getValue().poll(timeoutMs, filter::test); in popPacket()