Searched refs:dictBuf (Results 1 – 2 of 2) sorted by relevance
/third_party/lz4/programs/ |
D | bench.c | 154 const char* dictBuf; member 189 LZ4_loadDict(pThis->LZ4_dictStream, pThis->dictBuf, pThis->dictSize); in LZ4_compressInitStream() 199 LZ4_loadDictHC(pThis->LZ4_dictStreamHC, pThis->dictBuf, pThis->dictSize); in LZ4_compressInitStreamHC() 279 const char* dictBuf, int dictSize) in LZ4_buildCompressionParameters() argument 282 pParams->dictBuf = dictBuf; in LZ4_buildCompressionParameters() 359 const char* dictBuf, int dictSize) in BMK_benchMem() argument 380 LZ4_buildCompressionParameters(&compP, cLevel, dictBuf, dictSize); in BMK_benchMem() 519 dictBuf, dictSize); in BMK_benchMem() 632 const char* dictBuf, int dictSize) in BMK_benchCLevel() argument 651 dictBuf, dictSize); in BMK_benchCLevel() [all …]
|
D | lz4io.c | 563 char* dictBuf; in LZ4IO_createDict() local 594 dictBuf = circularBuf; in LZ4IO_createDict() 598 dictBuf = (char *)malloc(dictLen ? dictLen : 1); in LZ4IO_createDict() 599 if (!dictBuf) END_PROCESS(28, "Allocation error : not enough memory"); in LZ4IO_createDict() 601 memcpy(dictBuf, circularBuf + dictStart, circularBufSize - dictStart); in LZ4IO_createDict() 602 …memcpy(dictBuf + circularBufSize - dictStart, circularBuf, dictLen - (circularBufSize - dictStart)… in LZ4IO_createDict() 608 return dictBuf; in LZ4IO_createDict()
|