Lines Matching refs:start
70 int32_t FileStream::Read(const PkgBuffer &data, size_t start, size_t needRead, size_t &readLen) in Read() argument
81 if (fseeko64(stream_, start, SEEK_SET) != 0) { in Read()
85 if (start > GetFileLength()) { in Read()
97 int32_t FileStream::Write(const PkgBuffer &data, size_t size, size_t start) in Write() argument
107 if (fseeko64(stream_, start, SEEK_SET) != 0) { in Write()
194 int32_t MemoryMapStream::Read(const PkgBuffer &data, size_t start, size_t needRead, size_t &readLen) in Read() argument
200 if (start > memSize_) { in Read()
209 MemoryMapStream::Seek(start, SEEK_SET); in Read()
210 size_t copyLen = GetFileLength() - start; in Read()
213 … PKG_LOGE("Memcpy failed size:%zu, start:%zu copyLen:%zu %zu", needRead, start, copyLen, readLen); in Read()
219 int32_t MemoryMapStream::Write(const PkgBuffer &data, size_t size, size_t start) in Write() argument
225 if (start > memSize_) { in Write()
230 currOffset_ = start; in Write()
231 size_t copyLen = memSize_ - start; in Write()