Home
last modified time | relevance | path

Searched refs:readOffset (Results 1 – 3 of 3) sorted by relevance

/system/core/adb/fastdeploy/deployagent/src/com/android/fastdeploy/
DApkArchive.java101 final long readOffset = fileSize - sizeToRead; in findEndOfCDRecord() local
102 ByteBuffer buffer = mChannel.map(FileChannel.MapMode.READ_ONLY, readOffset, in findEndOfCDRecord()
109 return readOffset + buffer.position() - 4; in findEndOfCDRecord()
/system/core/adb/fastdeploy/deploypatchgenerator/
Dapk_archive.cpp114 auto readOffset = size_ - sizeToRead; in FindEndOfCDRecord() local
115 FileRegion mapped(fd_, readOffset, sizeToRead); in FindEndOfCDRecord()
124 return readOffset + (cursor - start); in FindEndOfCDRecord()
/system/libfmq/include/fmq/
DMessageQueue.h1112 size_t readOffset = readPtr % mDesc->getSize(); in beginRead() local
1117 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()