Searched refs:cSizes (Results 1 – 2 of 2) sorted by relevance
/external/zstd/programs/ |
D | benchzstd.c | 301 void** cPtrs, size_t* cCapacities, size_t* cSizes, in BMK_benchMemAdvancedNoAlloc() argument 378 cSizes[nbBlocks] = thisBlockSize; in BMK_benchMemAdvancedNoAlloc() 413 cbp.blockResults = cSizes; in BMK_benchMemAdvancedNoAlloc() 429 dbp.srcSizes = cSizes; in BMK_benchMemAdvancedNoAlloc() 576 size_t* const cSizes = (size_t*)malloc(maxNbBlocks * sizeof(size_t)); in BMK_benchMemAdvanced() local 598 !cSizes || !cCapacities || !resPtrs || !resSizes || in BMK_benchMemAdvanced() 606 cPtrs, cCapacities, cSizes, in BMK_benchMemAdvanced() 632 free(cSizes); in BMK_benchMemAdvanced()
|
/external/zstd/contrib/largeNbDicts/ |
D | largeNbDicts.c | 552 static size_t compressBlocks(size_t* cSizes, /* optional (can be NULL). If present, must contain … in compressBlocks() argument 578 if (cSizes) cSizes[blockNb] = cBlockSize; in compressBlocks() 804 size_t* const cSizes = malloc(nbBlocks * sizeof(size_t)); in bench() local 805 CONTROL(cSizes != NULL); in bench() 807 size_t const cTotalSize = compressBlocks(cSizes, dstSlices, srcSlices, cdict, clevel); in bench() 814 shrinkSizes(dstSlices, cSizes); in bench() 857 free(cSizes); in bench()
|