• Home
  • Raw
  • Download

Lines Matching refs:dictSize

920 int LZ4_loadDictHC (LZ4_streamHC_t* LZ4_streamHCPtr, const char* dictionary, int dictSize)  in LZ4_loadDictHC()  argument
923 DEBUGLOG(4, "LZ4_loadDictHC(%p, %p, %d)", LZ4_streamHCPtr, dictionary, dictSize); in LZ4_loadDictHC()
924 if (dictSize > 64 KB) { in LZ4_loadDictHC()
925 dictionary += dictSize - 64 KB; in LZ4_loadDictHC()
926 dictSize = 64 KB; in LZ4_loadDictHC()
930 ctxPtr->end = (const BYTE*)dictionary + dictSize; in LZ4_loadDictHC()
931 if (dictSize >= 4) LZ4HC_Insert (ctxPtr, ctxPtr->end-3); in LZ4_loadDictHC()
932 return dictSize; in LZ4_loadDictHC()
968 size_t dictSize = (size_t)(ctxPtr->end - ctxPtr->base) - ctxPtr->dictLimit; in LZ4_compressHC_continue_generic() local
969 if (dictSize > 64 KB) dictSize = 64 KB; in LZ4_compressHC_continue_generic()
970 LZ4_loadDictHC(LZ4_streamHCPtr, (const char*)(ctxPtr->end) - dictSize, (int)dictSize); in LZ4_compressHC_continue_generic()
1007 int LZ4_saveDictHC (LZ4_streamHC_t* LZ4_streamHCPtr, char* safeBuffer, int dictSize) in LZ4_saveDictHC() argument
1011 DEBUGLOG(4, "LZ4_saveDictHC(%p, %p, %d)", LZ4_streamHCPtr, safeBuffer, dictSize); in LZ4_saveDictHC()
1012 if (dictSize > 64 KB) dictSize = 64 KB; in LZ4_saveDictHC()
1013 if (dictSize < 4) dictSize = 0; in LZ4_saveDictHC()
1014 if (dictSize > prefixSize) dictSize = prefixSize; in LZ4_saveDictHC()
1015 memmove(safeBuffer, streamPtr->end - dictSize, dictSize); in LZ4_saveDictHC()
1017 streamPtr->end = (const BYTE*)safeBuffer + dictSize; in LZ4_saveDictHC()
1019 streamPtr->dictLimit = endIndex - dictSize; in LZ4_saveDictHC()
1020 streamPtr->lowLimit = endIndex - dictSize; in LZ4_saveDictHC()
1023 return dictSize; in LZ4_saveDictHC()