Searched refs:streamPtr (Results 1 – 2 of 2) sorted by relevance
/DragonOS-0.1.2/kernel/src/common/ |
D | lz4.h | 267 LZ4LIB_API int LZ4_freeStream(LZ4_stream_t *streamPtr); 291 LZ4LIB_API void LZ4_resetStream_fast(LZ4_stream_t *streamPtr); 304 LZ4LIB_API int LZ4_loadDict(LZ4_stream_t *streamPtr, const char *dictionary, int dictSize); 329 …LZ4LIB_API int LZ4_compress_fast_continue(LZ4_stream_t *streamPtr, const char *src, char *dst, int… 338 LZ4LIB_API int LZ4_saveDict(LZ4_stream_t *streamPtr, char *safeBuffer, int maxDictSize); 765 LZ4LIB_API void LZ4_resetStream(LZ4_stream_t *streamPtr);
|
/DragonOS-0.1.2/kernel/src/libs/ |
D | lz4.c | 2010 LZ4_stream_t_internal *streamPtr = &LZ4_stream->internal_donotuse; in LZ4_compress_fast_continue() local 2011 const BYTE *dictEnd = streamPtr->dictionary + streamPtr->dictSize; in LZ4_compress_fast_continue() 2015 LZ4_renormDictT(streamPtr, inputSize); /* avoid index overflow */ in LZ4_compress_fast_continue() 2022 if ((streamPtr->dictSize - 1 < 4 - 1) /* intentional underflow */ in LZ4_compress_fast_continue() 2025 …mpress_fast_continue: dictSize(%u) at addr:%p is too small", streamPtr->dictSize, streamPtr->dicti… in LZ4_compress_fast_continue() 2026 streamPtr->dictSize = 0; in LZ4_compress_fast_continue() 2027 streamPtr->dictionary = (const BYTE *)source; in LZ4_compress_fast_continue() 2034 if ((sourceEnd > streamPtr->dictionary) && (sourceEnd < dictEnd)) in LZ4_compress_fast_continue() 2036 streamPtr->dictSize = (U32)(dictEnd - sourceEnd); in LZ4_compress_fast_continue() 2037 if (streamPtr->dictSize > 64 KB) in LZ4_compress_fast_continue() [all …]
|