Home
last modified time | relevance | path

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

/third_party/lz4/programs/
Dlz4io.c559 size_t dictLen = 0; in LZ4IO_createDict() local
581 dictLen += readSize; in LZ4IO_createDict()
584 if (dictLen > LZ4_MAX_DICT_SIZE) { in LZ4IO_createDict()
585 dictLen = LZ4_MAX_DICT_SIZE; in LZ4IO_createDict()
588 *dictSize = dictLen; in LZ4IO_createDict()
590 dictStart = (circularBufSize + dictEnd - dictLen) % circularBufSize; in LZ4IO_createDict()
598 dictBuf = (char *)malloc(dictLen ? dictLen : 1); in LZ4IO_createDict()
602 …memcpy(dictBuf + circularBufSize - dictStart, circularBuf, dictLen - (circularBufSize - dictStart)… in LZ4IO_createDict()