Home
last modified time | relevance | path

Searched refs:dictBufferSize (Results 1 – 7 of 7) sorted by relevance

/external/zstd/programs/
Dbenchzstd.c166 const void* dictBuffer, size_t dictBufferSize, in BMK_initCCtx() argument
191 CHECK_Z(ZSTD_CCtx_loadDictionary(ctx, dictBuffer, dictBufferSize)); in BMK_initCCtx()
195 const void* dictBuffer, size_t dictBufferSize) { in BMK_initDCtx() argument
197 CHECK_Z(ZSTD_DCtx_loadDictionary(dctx, dictBuffer, dictBufferSize)); in BMK_initDCtx()
204 size_t dictBufferSize; member
212 … BMK_initCCtx(ag->cctx, ag->dictBuffer, ag->dictBufferSize, ag->cLevel, ag->comprParams, ag->adv); in local_initCCtx()
219 size_t dictBufferSize; member
224 BMK_initDCtx(ag->dctx, ag->dictBuffer, ag->dictBufferSize); in local_initDCtx()
312 const void* dictBuffer, size_t dictBufferSize, in BMK_benchMemAdvancedNoAlloc() argument
417 cctxprep.dictBufferSize = dictBufferSize; in BMK_benchMemAdvancedNoAlloc()
[all …]
Dbenchzstd.h188 const void* dictBuffer, size_t dictBufferSize,
202 const void* dictBuffer, size_t dictBufferSize,
Dfileio.c895 size_t dictBufferSize; member
948 …ress.dictBufferSize = FIO_createDictBuffer(&ress.dictBuffer, dictFileName, prefs); /* works with… in FIO_createCResources()
1002 CHECK( ZSTD_CCtx_refPrefix(ress.cctx, ress.dictBuffer, ress.dictBufferSize) ); in FIO_createCResources()
1004 CHECK( ZSTD_CCtx_loadDictionary(ress.cctx, ress.dictBuffer, ress.dictBufferSize) ); in FIO_createCResources()
1905 size_t const dictBufferSize = FIO_createDictBuffer(&dictBuffer, dictFileName, prefs); in FIO_createDResources() local
1906 CHECK( ZSTD_initDStream_usingDict(ress.dctx, dictBuffer, dictBufferSize) ); in FIO_createDResources()
/external/zstd/zlibWrapper/examples/
Dzwrapbench.c154 const void* dictBuffer, size_t dictBufferSize, BMK_compressor compressor) in BMK_benchMem() argument
236 ZSTD_parameters const zparams = ZSTD_getParams(cLevel, avgSize, dictBufferSize); in BMK_benchMem()
238 …ZSTD_CDict* const cdict = ZSTD_createCDict_advanced(dictBuffer, dictBufferSize, ZSTD_dlm_byRef, ZS… in BMK_benchMem()
245 if (dictBufferSize) { in BMK_benchMem()
262 ZSTD_parameters const zparams = ZSTD_getParams(cLevel, avgSize, dictBufferSize); in BMK_benchMem()
268 … rSize = ZSTD_initCStream_advanced(zbc, dictBuffer, dictBufferSize, zparams, avgSize); in BMK_benchMem()
314 … ret = deflateSetDictionary(&def, (const z_Bytef*)dictBuffer, dictBufferSize); in BMK_benchMem()
346 … ret = deflateSetDictionary(&def, (const z_Bytef*)dictBuffer, dictBufferSize); in BMK_benchMem()
390 ZSTD_DDict* ddict = ZSTD_createDDict(dictBuffer, dictBufferSize); in BMK_benchMem()
416 rSize = ZSTD_initDStream_usingDict(zbd, dictBuffer, dictBufferSize); in BMK_benchMem()
[all …]
/external/zstd/tests/
Dparamgrill.c1037 size_t dictBufferSize; member
1052 ZSTD_CCtx_loadDictionary(ag->cctx, ag->dictBuffer, ag->dictBufferSize); in local_initCCtx()
1060 size_t dictBufferSize; member
1066 ZSTD_DCtx_loadDictionary(ag->dctx, ag->dictBuffer, ag->dictBufferSize); in local_initDCtx()
1566 const size_t dictBufferSize = ctx.dictSize; in BMK_benchMemInvertible() local
1610 cctxprep.dictBufferSize = dictBufferSize; in BMK_benchMemInvertible()
1628 dctxprep.dictBufferSize = dictBufferSize; in BMK_benchMemInvertible()
/external/lz4/programs/
Dlz4io.c952 size_t dictBufferSize; member
958 ress->dictBufferSize = 0; in LZ4IO_loadDDict()
962 ress->dictBuffer = LZ4IO_createDict(prefs, &ress->dictBufferSize); in LZ4IO_loadDDict()
1008 …tx, ress.dstBuffer, &outSize, ress.srcBuffer, &inSize, ress.dictBuffer, ress.dictBufferSize, NULL); in LZ4IO_decompressLZ4F()
1027 …decodedBytes, (char*)(ress.srcBuffer)+pos, &remaining, ress.dictBuffer, ress.dictBufferSize, NULL); in LZ4IO_decompressLZ4F()
/external/zstd/lib/dictBuilder/
Dzdict.c710 const void* dictBuffer, size_t dictBufferSize, in ZDICT_analyzeEntropy() argument
717 U32 offcodeMax = ZSTD_highbit32((U32)(dictBufferSize + 128 KB)); in ZDICT_analyzeEntropy()
744 params = ZSTD_getParams(compressionLevel, averageSampleSize, dictBufferSize); in ZDICT_analyzeEntropy()
746 …esr.dict = ZSTD_createCDict_advanced(dictBuffer, dictBufferSize, ZSTD_dlm_byRef, ZSTD_dct_rawConte… in ZDICT_analyzeEntropy()