Home
last modified time | relevance | path

Searched refs:BMK_decodeOnly (Results 1 – 4 of 4) sorted by relevance

/external/zstd/programs/
Dbenchzstd.c317 …size_t const blockSize = ((adv->blockSize>=32 && (adv->mode != BMK_decodeOnly)) ? adv->blockSize :… in BMK_benchMemAdvancedNoAlloc()
329 …if (adv->mode == BMK_decodeOnly) { /* benchmark only decompression : source must be already compr… in BMK_benchMemAdvancedNoAlloc()
363 …U32 const nbBlocksforThisFile = (adv->mode == BMK_decodeOnly) ? 1 : (U32)((remaining + (blockSize-… in BMK_benchMemAdvancedNoAlloc()
370 …cCapacities[nbBlocks] = (adv->mode == BMK_decodeOnly) ? thisBlockSize : ZSTD_compressBound(thisBlo… in BMK_benchMemAdvancedNoAlloc()
372 …resSizes[nbBlocks] = (adv->mode == BMK_decodeOnly) ? (size_t) ZSTD_findDecompressedSize(srcPtr, th… in BMK_benchMemAdvancedNoAlloc()
377 if (adv->mode == BMK_decodeOnly) { in BMK_benchMemAdvancedNoAlloc()
386 if (adv->mode == BMK_decodeOnly) { in BMK_benchMemAdvancedNoAlloc()
393 { U64 const crcOrig = (adv->mode == BMK_decodeOnly) ? 0 : XXH64(srcBuffer, srcSize, 0); in BMK_benchMemAdvancedNoAlloc()
397 int compressionCompleted = (adv->mode == BMK_decodeOnly); in BMK_benchMemAdvancedNoAlloc()
567 …size_t const blockSize = ((adv->blockSize>=32 && (adv->mode != BMK_decodeOnly)) ? adv->blockSize :… in BMK_benchMemAdvanced()
Dbenchzstd.h103 BMK_decodeOnly = 1, enumerator
Dzstdcli.c979 benchParams.mode = BMK_decodeOnly; in main()
/external/zstd/tests/
Dparamgrill.c1578 if (mode != BMK_decodeOnly) { in BMK_benchMemInvertible()
1588 int compressionCompleted = (mode == BMK_decodeOnly); in BMK_benchMemInvertible()