Home
last modified time | relevance | path

Searched refs:sparseFileSupport (Results 1 – 2 of 2) sorted by relevance

/external/lz4/programs/
Dlz4io.c122 int sparseFileSupport; member
172 ret->sparseFileSupport = 1; in LZ4IO_defaultPreferences()
276 prefs->sparseFileSupport = 2*(enable!=0); /* 2==force enable */ in LZ4IO_setSparseFile()
277 return prefs->sparseFileSupport; in LZ4IO_setSparseFile()
341 if (prefs->sparseFileSupport==1) { in LZ4IO_openDstFile()
367 { int const sparseMode = (prefs->sparseFileSupport - (f==stdout)) > 0; in LZ4IO_openDstFile()
866 int sparseFileSupport, in LZ4IO_fwriteSparse() argument
876 int const sparseMode = (sparseFileSupport - (file==stdout)) > 0; in LZ4IO_fwriteSparse()
981 … = LZ4IO_fwriteSparse(foutput, out_buff, (size_t)decodeSize, prefs->sparseFileSupport, storedSkips… in LZ4IO_decodeLegacyStream()
1090 … = LZ4IO_fwriteSparse(dstFile, ress.dstBuffer, decodedBytes, prefs->sparseFileSupport, storedSkips… in LZ4IO_decompressLZ4F()
[all …]
/external/zstd/programs/
Dfileio.c304 …U32 sparseFileSupport; /* 0: no sparse allowed; 1: auto (file yes, stdout no); 2: force sparse */ member
374 ret->sparseFileSupport = ZSTD_SPARSE_DEFAULT; in FIO_createPreferences()
446 void FIO_setSparseWrite(FIO_prefs_t* const prefs, unsigned sparse) { prefs->sparseFileSupport = spa… in FIO_setSparseWrite()
658 if (prefs->sparseFileSupport == 1) { in FIO_openDstFile()
659 prefs->sparseFileSupport = 0; in FIO_openDstFile()
671 if (prefs->sparseFileSupport == 1) { in FIO_openDstFile()
672 prefs->sparseFileSupport = ZSTD_SPARSE_DEFAULT; in FIO_openDstFile()
1818 DISPLAY("%s", INDEX(sparseOptions, prefs->sparseFileSupport)); in FIO_displayCompressionParameters()
2069 if (!prefs->sparseFileSupport) { /* normal write */ in FIO_fwriteSparse()
2138 assert(prefs->sparseFileSupport > 0); /* storedSkips>0 implies sparse support is enabled */ in FIO_fwriteSparseEnd()