Searched refs:circularBuf (Results 1 – 1 of 1) sorted by relevance
562 char* circularBuf = (char*)malloc(circularBufSize); in LZ4IO_createDict() local566 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()