Home
last modified time | relevance | path

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

/external/zstd/programs/
Dbenchzstd.c302 void** resPtrs, size_t* resSizes, in BMK_benchMemAdvancedNoAlloc() argument
372resSizes[nbBlocks] = (adv->mode == BMK_decodeOnly) ? (size_t) ZSTD_findDecompressedSize(srcPtr, th… in BMK_benchMemAdvancedNoAlloc()
431 dbp.dstCapacities = resSizes; in BMK_benchMemAdvancedNoAlloc()
580 size_t* const resSizes = (size_t*)malloc(maxNbBlocks * sizeof(size_t)); in BMK_benchMemAdvanced() local
598 !cSizes || !cCapacities || !resPtrs || !resSizes || in BMK_benchMemAdvanced()
607 resPtrs, resSizes, in BMK_benchMemAdvanced()
635 free(resSizes); in BMK_benchMemAdvanced()
/external/zstd/tests/
Dparamgrill.c1123 size_t* resSizes; member
1150 free(b.resSizes); in freeNonSrcBuffers()
1187 buff->resSizes = (size_t*)malloc(maxNbBlocks * sizeof(size_t)); in createBuffersFromMemory()
1189 …| !buff->dstPtrs || !buff->dstCapacities || !buff->dstSizes || !buff->resPtrs || !buff->resSizes) { in createBuffersFromMemory()
1220 buff->resSizes[0] = buff->srcSizes[0]; in createBuffersFromMemory()
1225 buff->resPtrs[n] = ((char*)buff->resPtrs[n-1]) + buff->resSizes[n-1]; in createBuffersFromMemory()
1228 buff->resSizes[n] = buff->srcSizes[n]; in createBuffersFromMemory()
1564 size_t const *const resSizes = buf.resSizes; in BMK_benchMemInvertible() local
1581 RDG_genBuffer(resPtrs[i], resSizes[i], 0.10, 0.50, 1); in BMK_benchMemInvertible()
1623 dbp.dstCapacities = resSizes; in BMK_benchMemInvertible()