• Home
  • Raw
  • Download

Lines Matching refs:startOffset

141 static SRes Xz_ReadBackward(CXzStream *p, ILookInStream *stream, Int64 *startOffset, ISzAlloc *allo…  in Xz_ReadBackward()  argument
146 if ((*startOffset & 3) != 0 || *startOffset < XZ_STREAM_FOOTER_SIZE) in Xz_ReadBackward()
148 *startOffset = -XZ_STREAM_FOOTER_SIZE; in Xz_ReadBackward()
149 RINOK(SeekFromCur(stream, startOffset)); in Xz_ReadBackward()
156 *startOffset += XZ_STREAM_FOOTER_SIZE; in Xz_ReadBackward()
163 if (*startOffset < XZ_STREAM_FOOTER_SIZE || i > (1 << 16)) in Xz_ReadBackward()
165 processedSize = (*startOffset > TEMP_BUF_SIZE) ? TEMP_BUF_SIZE : (size_t)*startOffset; in Xz_ReadBackward()
167 *startOffset = -(Int64)processedSize; in Xz_ReadBackward()
168 RINOK(SeekFromCur(stream, startOffset)); in Xz_ReadBackward()
177 *startOffset += j; in Xz_ReadBackward()
178 if (*startOffset < XZ_STREAM_FOOTER_SIZE) in Xz_ReadBackward()
180 *startOffset -= XZ_STREAM_FOOTER_SIZE; in Xz_ReadBackward()
181 RINOK(stream->Seek(stream, startOffset, SZ_SEEK_SET)); in Xz_ReadBackward()
200 *startOffset = -(Int64)(indexSize + XZ_STREAM_FOOTER_SIZE); in Xz_ReadBackward()
201 RINOK(SeekFromCur(stream, startOffset)); in Xz_ReadBackward()
212 *startOffset = -(Int64)sum; in Xz_ReadBackward()
213 RINOK(SeekFromCur(stream, startOffset)); in Xz_ReadBackward()
274 SRes Xzs_ReadBackward(CXzs *p, ILookInStream *stream, Int64 *startOffset, ICompressProgress *progre… in Xzs_ReadBackward() argument
278 *startOffset = endOffset; in Xzs_ReadBackward()
284 res = Xz_ReadBackward(&st, stream, startOffset, alloc); in Xzs_ReadBackward()
285 st.startOffset = *startOffset; in Xzs_ReadBackward()
299 if (*startOffset == 0) in Xzs_ReadBackward()
301 RINOK(stream->Seek(stream, startOffset, SZ_SEEK_SET)); in Xzs_ReadBackward()
302 …if (progress && progress->Progress(progress, endOffset - *startOffset, (UInt64)(Int64)-1) != SZ_OK) in Xzs_ReadBackward()