Home
last modified time | relevance | path

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

/external/lz4/programs/
Dlz4io.c428 char* dictBuf; in LZ4IO_createDict() local
461 dictBuf = circularBuf; in LZ4IO_createDict()
465 dictBuf = (char *) malloc(dictLen ? dictLen : 1); in LZ4IO_createDict()
466 if (!dictBuf) EXM_THROW(25, "Allocation error : not enough memory"); in LZ4IO_createDict()
468 memcpy(dictBuf, circularBuf + dictStart, circularBufSize - dictStart); in LZ4IO_createDict()
469 …memcpy(dictBuf + circularBufSize - dictStart, circularBuf, dictLen - (circularBufSize - dictStart)… in LZ4IO_createDict()
475 return dictBuf; in LZ4IO_createDict()