Lines Matching refs:streamPtr
836 LZ4_stream_t_internal* streamPtr = (LZ4_stream_t_internal*)LZ4_stream; in LZ4_compress_continue_generic() local
837 const BYTE* const dictEnd = streamPtr->dictionary + streamPtr->dictSize; in LZ4_compress_continue_generic()
840 if (streamPtr->initCheck) return 0; /* Uninitialized structure detected */ in LZ4_compress_continue_generic()
841 if ((streamPtr->dictSize>0) && (smallest>dictEnd)) smallest = dictEnd; in LZ4_compress_continue_generic()
842 LZ4_renormDictT(streamPtr, smallest); in LZ4_compress_continue_generic()
847 if ((sourceEnd > streamPtr->dictionary) && (sourceEnd < dictEnd)) in LZ4_compress_continue_generic()
849 streamPtr->dictSize = (U32)(dictEnd - sourceEnd); in LZ4_compress_continue_generic()
850 if (streamPtr->dictSize > 64 KB) streamPtr->dictSize = 64 KB; in LZ4_compress_continue_generic()
851 if (streamPtr->dictSize < 4) streamPtr->dictSize = 0; in LZ4_compress_continue_generic()
852 streamPtr->dictionary = dictEnd - streamPtr->dictSize; in LZ4_compress_continue_generic()
860 if ((streamPtr->dictSize < 64 KB) && (streamPtr->dictSize < streamPtr->currentOffset)) in LZ4_compress_continue_generic()
864 streamPtr->dictSize += (U32)inputSize; in LZ4_compress_continue_generic()
865 streamPtr->currentOffset += (U32)inputSize; in LZ4_compress_continue_generic()
872 if ((streamPtr->dictSize < 64 KB) && (streamPtr->dictSize < streamPtr->currentOffset)) in LZ4_compress_continue_generic()
876 streamPtr->dictionary = (const BYTE*)source; in LZ4_compress_continue_generic()
877 streamPtr->dictSize = (U32)inputSize; in LZ4_compress_continue_generic()
878 streamPtr->currentOffset += (U32)inputSize; in LZ4_compress_continue_generic()
897 LZ4_stream_t_internal* streamPtr = (LZ4_stream_t_internal*)LZ4_dict; in LZ4_compress_forceExtDict() local
899 const BYTE* const dictEnd = streamPtr->dictionary + streamPtr->dictSize; in LZ4_compress_forceExtDict()
907 streamPtr->dictionary = (const BYTE*)source; in LZ4_compress_forceExtDict()
908 streamPtr->dictSize = (U32)inputSize; in LZ4_compress_forceExtDict()
909 streamPtr->currentOffset += (U32)inputSize; in LZ4_compress_forceExtDict()