Home
last modified time | relevance | path

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

/third_party/lz4/programs/
Dbench.c63 const char* dictBuf; member
98 LZ4_loadDict(pThis->LZ4_dictStream, pThis->dictBuf, pThis->dictSize); in LZ4_compressInitStream()
108 LZ4_loadDictHC(pThis->LZ4_dictStreamHC, pThis->dictBuf, pThis->dictSize); in LZ4_compressInitStreamHC()
187 int cLevel, const char* dictBuf, int dictSize) in LZ4_buildCompressionParameters() argument
190 pParams->dictBuf = dictBuf; in LZ4_buildCompressionParameters()
322 const char* dictBuf, int dictSize) in BMK_benchMem() argument
340 LZ4_buildCompressionParameters(&compP, cLevel, dictBuf, dictSize); in BMK_benchMem()
454 dictBuf, dictSize); in BMK_benchMem()
555 const char* dictBuf, int dictSize) in BMK_benchCLevel() argument
574 dictBuf, dictSize); in BMK_benchCLevel()
[all …]
Dlz4io.c551 char* dictBuf; in LZ4IO_createDict() local
582 dictBuf = circularBuf; in LZ4IO_createDict()
586 dictBuf = (char *)malloc(dictLen ? dictLen : 1); in LZ4IO_createDict()
587 if (!dictBuf) EXM_THROW(25, "Allocation error : not enough memory"); in LZ4IO_createDict()
589 memcpy(dictBuf, circularBuf + dictStart, circularBufSize - dictStart); in LZ4IO_createDict()
590 …memcpy(dictBuf + circularBufSize - dictStart, circularBuf, dictLen - (circularBufSize - dictStart)… in LZ4IO_createDict()
596 return dictBuf; in LZ4IO_createDict()