Home
last modified time | relevance | path

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

/external/zstd/programs/
Dfileio.c1352 ZSTD_frameProgression const zfp = ZSTD_getFrameProgression(ress.cctx); in FIO_compressZstdFrame() local
1353 … double const cShare = (double)zfp.produced / (zfp.consumed + !zfp.consumed/*avoid div0*/) * 100; in FIO_compressZstdFrame()
1359 (unsigned)((zfp.ingested - zfp.consumed) >> 20), in FIO_compressZstdFrame()
1360 (unsigned)(zfp.consumed >> 20), in FIO_compressZstdFrame()
1361 (unsigned)(zfp.produced >> 20), in FIO_compressZstdFrame()
1377 DISPLAYLEVEL(2, "Read : %2u ", (unsigned)(zfp.consumed >> 20)); in FIO_compressZstdFrame()
1388 if (zfp.currentJobID > 1) { /* only possible if nbWorkers >= 1 */ in FIO_compressZstdFrame()
1390 … unsigned long long newlyProduced = zfp.produced - previous_zfp_update.produced; in FIO_compressZstdFrame()
1391 unsigned long long newlyFlushed = zfp.flushed - previous_zfp_update.flushed; in FIO_compressZstdFrame()
1392 assert(zfp.produced >= previous_zfp_update.produced); in FIO_compressZstdFrame()
[all …]
/external/zstd/lib/decompress/
Dzstd_decompress.c1257 ZSTD_frameHeader zfp = { 0, 0, 0, ZSTD_frame, 0, 0, 0 }; in ZSTD_getDictID_fromFrame() local
1258 size_t const hError = ZSTD_getFrameHeader(&zfp, src, srcSize); in ZSTD_getDictID_fromFrame()
1260 return zfp.dictID; in ZSTD_getDictID_fromFrame()