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()
1112 size_t readOffset = readPtr % mDesc->getSize(); in beginRead() local1117 size_t contiguousMessages = (mDesc->getSize() - readOffset) / sizeof(T); in beginRead()1124 *result = MemTransaction(MemRegion(reinterpret_cast<T*>(mRing + readOffset), in beginRead()1133 *result = MemTransaction(MemRegion(reinterpret_cast<T*>(mRing + readOffset), nMessages), in beginRead()