Home | History | Annotate | Download | only in lib

Lines Matching defs:streamPtr

989     LZ4_stream_t_internal* streamPtr = &LZ4_stream->internal_donotuse;
990 const BYTE* const dictEnd = streamPtr->dictionary + streamPtr->dictSize;
993 if (streamPtr->initCheck) return 0; /* Uninitialized structure detected */
994 if ((streamPtr->dictSize>0) && (smallest>dictEnd)) smallest = dictEnd;
995 LZ4_renormDictT(streamPtr, smallest);
1000 if ((sourceEnd > streamPtr->dictionary) && (sourceEnd < dictEnd)) {
1001 streamPtr->dictSize = (U32)(dictEnd - sourceEnd);
1002 if (streamPtr->dictSize > 64 KB) streamPtr->dictSize = 64 KB;
1003 if (streamPtr->dictSize < 4) streamPtr->dictSize = 0;
1004 streamPtr->dictionary = dictEnd - streamPtr->dictSize;
1011 if ((streamPtr->dictSize < 64 KB) && (streamPtr->dictSize < streamPtr->currentOffset))
1012 result = LZ4_compress_generic(streamPtr, source, dest, inputSize, maxOutputSize, limitedOutput, byU32, withPrefix64k, dictSmall, acceleration);
1014 result = LZ4_compress_generic(streamPtr, source, dest, inputSize, maxOutputSize, limitedOutput, byU32, withPrefix64k, noDictIssue, acceleration);
1015 streamPtr->dictSize += (U32)inputSize;
1016 streamPtr->currentOffset += (U32)inputSize;
1022 if ((streamPtr->dictSize < 64 KB) && (streamPtr->dictSize < streamPtr->currentOffset))
1023 result = LZ4_compress_generic(streamPtr, source, dest, inputSize, maxOutputSize, limitedOutput, byU32, usingExtDict, dictSmall, acceleration);
1025 result = LZ4_compress_generic(streamPtr, source, dest, inputSize, maxOutputSize, limitedOutput, byU32, usingExtDict, noDictIssue, acceleration);
1026 streamPtr->dictionary = (const BYTE*)source;
1027 streamPtr->dictSize = (U32)inputSize;
1028 streamPtr->currentOffset += (U32)inputSize;
1037 LZ4_stream_t_internal* streamPtr = &LZ4_dict->internal_donotuse;
1039 const BYTE* const dictEnd = streamPtr->dictionary + streamPtr->dictSize;
1043 LZ4_renormDictT(streamPtr, smallest);
1045 result = LZ4_compress_generic(streamPtr, source, dest, inputSize, 0, notLimited, byU32, usingExtDict, noDictIssue, 1);
1047 streamPtr->dictionary = (const BYTE*)source;
1048 streamPtr->dictSize = (U32)inputSize;
1049 streamPtr->currentOffset += (U32)inputSize;