Home
last modified time | relevance | path

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

/external/lz4/programs/
Dlz4io.c562 char* circularBuf = (char*)malloc(circularBufSize); in LZ4IO_createDict() local
566 if (!circularBuf) END_PROCESS(25, "Allocation error : not enough memory for circular buffer"); in LZ4IO_createDict()
579 readSize = fread(circularBuf + dictEnd, 1, circularBufSize - dictEnd, dictFile); in LZ4IO_createDict()
594 dictBuf = circularBuf; in LZ4IO_createDict()
595 circularBuf = NULL; 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()
606 free(circularBuf); in LZ4IO_createDict()