Searched refs:readOffset (Results 1 – 3 of 3) sorted by relevance
101 final long readOffset = fileSize - sizeToRead; in findEndOfCDRecord() local102 ByteBuffer buffer = mChannel.map(FileChannel.MapMode.READ_ONLY, readOffset, in findEndOfCDRecord()109 return readOffset + buffer.position() - 4; in findEndOfCDRecord()
114 auto readOffset = size_ - sizeToRead; in FindEndOfCDRecord() local115 FileRegion mapped(fd_, readOffset, sizeToRead); in FindEndOfCDRecord()124 return readOffset + (cursor - start); in FindEndOfCDRecord()
1091 size_t readOffset = readPtr % mDesc->getSize(); in beginRead() local1096 size_t contiguousMessages = (mDesc->getSize() - readOffset) / sizeof(T); in beginRead()1104 MemRegion(reinterpret_cast<T*>(mRing + readOffset), contiguousMessages), in beginRead()1111 *result = MemTransaction(MemRegion(reinterpret_cast<T*>(mRing + readOffset), nMessages), in beginRead()