Home
last modified time | relevance | path

Searched refs:dstCapacities (Results 1 – 6 of 6) sorted by relevance

/external/zstd/contrib/largeNbDicts/
DlargeNbDicts.c696 .dstCapacities = dstBlocks.capacities, in benchMem()
759 size_t* const dstCapacities = malloc(nbBlocks * sizeof(*dstCapacities)); in bench() local
760 CONTROL(dstCapacities != NULL); in bench()
763 dstCapacities[bnb] = ZSTD_compressBound(srcSlices.capacities[bnb]); in bench()
764 dstBufferCapacity += dstCapacities[bnb]; in bench()
777 pos += dstCapacities[snb]; in bench()
781 dstSlices.capacities = dstCapacities; in bench()
/external/zstd/programs/
Dbenchfn.c117 … memset(p.dstBuffers[i], 0xE5, p.dstCapacities[i]); /* warm up and erase result buffer */ in BMK_benchFunction()
127 p.dstBuffers[blockNb], p.dstCapacities[blockNb], in BMK_benchFunction()
Dbenchfn.h84 …const size_t* dstCapacities; /* read-only array containing capacities of dstBuffers. This array mu… member
Dbenchzstd.c412 cbp.dstCapacities = cCapacities; in BMK_benchMemAdvancedNoAlloc()
431 dbp.dstCapacities = resSizes; in BMK_benchMemAdvancedNoAlloc()
/external/zstd/tests/
Dparamgrill.c1120 size_t* dstCapacities; member
1143 free(b.dstCapacities); in freeNonSrcBuffers()
1183 buff->dstCapacities = (size_t*)malloc(maxNbBlocks * sizeof(size_t)); in createBuffersFromMemory()
1189 …if(!buff->srcPtrs || !buff->srcSizes || !buff->dstPtrs || !buff->dstCapacities || !buff->dstSizes … in createBuffersFromMemory()
1218 buff->dstCapacities[0] = ZSTD_compressBound(buff->srcSizes[0]); in createBuffersFromMemory()
1219 buff->dstSizes[0] = buff->dstCapacities[0]; in createBuffersFromMemory()
1224 buff->dstPtrs[n] = ((char*)buff->dstPtrs[n-1]) + buff->dstCapacities[n-1]; in createBuffersFromMemory()
1226 buff->dstCapacities[n] = ZSTD_compressBound(buff->srcSizes[n]); in createBuffersFromMemory()
1227 buff->dstSizes[n] = buff->dstCapacities[n]; in createBuffersFromMemory()
1561 size_t const *const dstCapacities = buf.dstCapacities; in BMK_benchMemInvertible() local
[all …]
Dfullbench.c632 bp.dstCapacities = &dstBuffSize; in benchMem()