Home
last modified time | relevance | path

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

/linux-5.19.10/lib/lz4/
Dlz4_compress.c860 LZ4_stream_t_internal *streamPtr = &LZ4_stream->internal_donotuse; in LZ4_compress_fast_continue() local
861 const BYTE * const dictEnd = streamPtr->dictionary in LZ4_compress_fast_continue()
862 + streamPtr->dictSize; in LZ4_compress_fast_continue()
866 if (streamPtr->initCheck) { in LZ4_compress_fast_continue()
871 if ((streamPtr->dictSize > 0) && (smallest > dictEnd)) in LZ4_compress_fast_continue()
874 LZ4_renormDictT(streamPtr, smallest); in LZ4_compress_fast_continue()
883 if ((sourceEnd > streamPtr->dictionary) in LZ4_compress_fast_continue()
885 streamPtr->dictSize = (U32)(dictEnd - sourceEnd); in LZ4_compress_fast_continue()
886 if (streamPtr->dictSize > 64 * KB) in LZ4_compress_fast_continue()
887 streamPtr->dictSize = 64 * KB; in LZ4_compress_fast_continue()
[all …]
Dlz4hc_compress.c739 LZ4HC_CCtx_internal *const streamPtr = &LZ4_streamHCPtr->internal_donotuse; in LZ4_saveDictHC() local
740 int const prefixSize = (int)(streamPtr->end in LZ4_saveDictHC()
741 - (streamPtr->base + streamPtr->dictLimit)); in LZ4_saveDictHC()
750 memmove(safeBuffer, streamPtr->end - dictSize, dictSize); in LZ4_saveDictHC()
753 U32 const endIndex = (U32)(streamPtr->end - streamPtr->base); in LZ4_saveDictHC()
755 streamPtr->end = (const BYTE *)safeBuffer + dictSize; in LZ4_saveDictHC()
756 streamPtr->base = streamPtr->end - endIndex; in LZ4_saveDictHC()
757 streamPtr->dictLimit = endIndex - dictSize; in LZ4_saveDictHC()
758 streamPtr->lowLimit = endIndex - dictSize; in LZ4_saveDictHC()
760 if (streamPtr->nextToUpdate < streamPtr->dictLimit) in LZ4_saveDictHC()
[all …]
/linux-5.19.10/include/linux/
Dlz4.h465 int LZ4_loadDict(LZ4_stream_t *streamPtr, const char *dictionary,
484 int LZ4_saveDict(LZ4_stream_t *streamPtr, char *safeBuffer, int dictSize);
507 int LZ4_compress_fast_continue(LZ4_stream_t *streamPtr, const char *src,