Lines Matching refs:dstFile
889 FILE* dstFile; member
1061 if (fwrite(ress->dstBuffer, 1, cSize, ress->dstFile) != cSize) in FIO_compressGzFrame()
1081 if (fwrite(ress->dstBuffer, 1, cSize, ress->dstFile) != cSize) in FIO_compressGzFrame()
1149 if (fwrite(ress->dstBuffer, 1, compBytes, ress->dstFile) != compBytes) in FIO_compressLzmaFrame()
1218 if (fwrite(ress->dstBuffer, 1, headerSize, ress->dstFile) != headerSize) in FIO_compressLz4Frame()
1246 { size_t const sizeCheck = fwrite(ress->dstBuffer, 1, outSize, ress->dstFile); in FIO_compressLz4Frame()
1263 { size_t const sizeCheck = fwrite(ress->dstBuffer, 1, headerSize, ress->dstFile); in FIO_compressLz4Frame()
1288 FILE* const dstFile = ress.dstFile; in FIO_compressZstdFrame() local
1343 size_t const sizeCheck = fwrite(ress.dstBuffer, 1, outBuff.pos, dstFile); in FIO_compressZstdFrame()
1598 if (ress.dstFile == NULL) { in FIO_compressFilename_dstFile()
1601 ress.dstFile = FIO_openDstFile(fCtx, prefs, srcFileName, dstFileName); in FIO_compressFilename_dstFile()
1602 if (ress.dstFile==NULL) return 1; /* could not open dstFileName */ in FIO_compressFilename_dstFile()
1618 FILE* const dstFile = ress.dstFile; in FIO_compressFilename_dstFile() local
1619 ress.dstFile = NULL; in FIO_compressFilename_dstFile()
1624 if (fclose(dstFile)) { /* error closing dstFile */ in FIO_compressFilename_dstFile()
1808 ress.dstFile = FIO_openDstFile(fCtx, prefs, NULL, outFileName); in FIO_compressMultipleFilenames()
1809 if (ress.dstFile == NULL) { /* could not open outFileName */ in FIO_compressMultipleFilenames()
1817 if (fclose(ress.dstFile)) in FIO_compressMultipleFilenames()
1820 ress.dstFile = NULL; in FIO_compressMultipleFilenames()
1878 FILE* dstFile; member
2125 … storedSkips = FIO_fwriteSparse(ress->dstFile, ress->dstBuffer, outBuff.pos, prefs, storedSkips); in FIO_decompressZstdFrame()
2165 FIO_fwriteSparseEnd(prefs, ress->dstFile, storedSkips); in FIO_decompressZstdFrame()
2216 … storedSkips = FIO_fwriteSparse(ress->dstFile, ress->dstBuffer, decompBytes, prefs, storedSkips); in FIO_decompressGzFrame()
2233 FIO_fwriteSparseEnd(prefs, ress->dstFile, storedSkips); in FIO_decompressGzFrame()
2293 … storedSkips = FIO_fwriteSparse(ress->dstFile, ress->dstBuffer, decompBytes, prefs, storedSkips); in FIO_decompressLzmaFrame()
2305 FIO_fwriteSparseEnd(prefs, ress->dstFile, storedSkips); in FIO_decompressLzmaFrame()
2365 … storedSkips = FIO_fwriteSparse(ress->dstFile, ress->dstBuffer, decodedBytes, prefs, storedSkips); in FIO_decompressLz4Frame()
2386 FIO_fwriteSparseEnd(prefs, ress->dstFile, storedSkips); in FIO_decompressLz4Frame()
2463 ress.dstFile, srcFile, in FIO_decompressFrames()
2501 if ((ress.dstFile == NULL) && (prefs->testMode==0)) { in FIO_decompressDstFile()
2504 ress.dstFile = FIO_openDstFile(fCtx, prefs, srcFileName, dstFileName); in FIO_decompressDstFile()
2505 if (ress.dstFile==NULL) return 1; in FIO_decompressDstFile()
2522 FILE* const dstFile = ress.dstFile; in FIO_decompressDstFile() local
2524 ress.dstFile = NULL; in FIO_decompressDstFile()
2525 if (fclose(dstFile)) { in FIO_decompressDstFile()
2737 ress.dstFile = FIO_openDstFile(fCtx, prefs, NULL, outFileName); in FIO_decompressMultipleFilenames()
2738 if (ress.dstFile == 0) EXM_THROW(19, "cannot open %s", outFileName); in FIO_decompressMultipleFilenames()
2745 if ((!prefs->testMode) && (fclose(ress.dstFile))) in FIO_decompressMultipleFilenames()