Home
last modified time | relevance | path

Searched refs:thisBlockSize (Results 1 – 3 of 3) sorted by relevance

/external/zstd/programs/
Dbenchzstd.c362 size_t const thisBlockSize = MIN(remaining, blockSize); in BMK_benchMemAdvancedNoAlloc() local
364 srcSizes[nbBlocks] = thisBlockSize; in BMK_benchMemAdvancedNoAlloc()
366 …acities[nbBlocks] = (adv->mode == BMK_decodeOnly) ? thisBlockSize : ZSTD_compressBound(thisBlockSi… in BMK_benchMemAdvancedNoAlloc()
368 …ode == BMK_decodeOnly) ? (size_t) ZSTD_findDecompressedSize(srcPtr, thisBlockSize) : thisBlockSize; in BMK_benchMemAdvancedNoAlloc()
369 srcPtr += thisBlockSize; in BMK_benchMemAdvancedNoAlloc()
371 resPtr += thisBlockSize; in BMK_benchMemAdvancedNoAlloc()
372 remaining -= thisBlockSize; in BMK_benchMemAdvancedNoAlloc()
374 cSizes[nbBlocks] = thisBlockSize; in BMK_benchMemAdvancedNoAlloc()
375 benchResult.cSize = thisBlockSize; in BMK_benchMemAdvancedNoAlloc()
/external/lz4/programs/
Dbench.c353 size_t const thisBlockSize = MIN(remaining, blockSize); in BMK_benchMem() local
357 blockTable[nbBlocks].srcSize = thisBlockSize; in BMK_benchMem()
358 blockTable[nbBlocks].cRoom = (size_t)LZ4_compressBound((int)thisBlockSize); in BMK_benchMem()
359 srcPtr += thisBlockSize; in BMK_benchMem()
361 resPtr += thisBlockSize; in BMK_benchMem()
362 remaining -= thisBlockSize; in BMK_benchMem()
/external/zstd/zlibWrapper/examples/
Dzwrapbench.c184 size_t const thisBlockSize = MIN(remaining, blockSize); in BMK_benchMem() local
188 blockTable[nbBlocks].srcSize = thisBlockSize; in BMK_benchMem()
189 blockTable[nbBlocks].cRoom = ZSTD_compressBound(thisBlockSize); in BMK_benchMem()
190 srcPtr += thisBlockSize; in BMK_benchMem()
192 resPtr += thisBlockSize; in BMK_benchMem()
193 remaining -= thisBlockSize; in BMK_benchMem()