• Home
  • Raw
  • Download

Lines Matching refs:storedSkips

723 …nsigned LZ4IO_fwriteSparse(FILE* file, const void* buffer, size_t bufferSize, unsigned storedSkips)  in LZ4IO_fwriteSparse()  argument
740 if (storedSkips > 1 GB) { in LZ4IO_fwriteSparse()
743 storedSkips -= 1 GB; in LZ4IO_fwriteSparse()
754 storedSkips += (unsigned)(nb0T * sizeT); in LZ4IO_fwriteSparse()
758 { int const seekResult = UTIL_fseek(file, storedSkips, SEEK_CUR); in LZ4IO_fwriteSparse()
761 storedSkips = 0; in LZ4IO_fwriteSparse()
776 storedSkips += (unsigned) (restPtr - restStart); in LZ4IO_fwriteSparse()
778 int const seekResult = UTIL_fseek(file, storedSkips, SEEK_CUR); in LZ4IO_fwriteSparse()
780 storedSkips = 0; in LZ4IO_fwriteSparse()
786 return storedSkips; in LZ4IO_fwriteSparse()
789 static void LZ4IO_fwriteSparseEnd(FILE* file, unsigned storedSkips) in LZ4IO_fwriteSparseEnd() argument
791 if (storedSkips>0) { /* implies g_sparseFileSupport>0 */ in LZ4IO_fwriteSparseEnd()
792 int const seekResult = UTIL_fseek(file, storedSkips-1, SEEK_CUR); in LZ4IO_fwriteSparseEnd()
805 unsigned storedSkips = 0; in LZ4IO_decodeLegacyStream() local
836storedSkips = LZ4IO_fwriteSparse(foutput, out_buff, decodeSize, storedSkips); /* success or die */ in LZ4IO_decodeLegacyStream()
840 LZ4IO_fwriteSparseEnd(foutput, storedSkips); in LZ4IO_decodeLegacyStream()
909 unsigned storedSkips = 0; in LZ4IO_decompressLZ4F() local
941storedSkips = LZ4IO_fwriteSparse(dstFile, ress.dstBuffer, decodedBytes, storedSkips); in LZ4IO_decompressLZ4F()
952 if (!g_testMode) LZ4IO_fwriteSparseEnd(dstFile, storedSkips); in LZ4IO_decompressLZ4F()
966 unsigned storedSkips = 0; in LZ4IO_passThrough() local
974 storedSkips = LZ4IO_fwriteSparse(foutput, buffer, readBytes, storedSkips); in LZ4IO_passThrough()
978 LZ4IO_fwriteSparseEnd(foutput, storedSkips); in LZ4IO_passThrough()