Home
last modified time | relevance | path

Searched refs:LZ4_stream (Results 1 – 4 of 4) sorted by relevance

/external/lz4/tests/
Dfullbench.c161 static LZ4_stream_t LZ4_stream; variable
164 void* const r = LZ4_initStream(&LZ4_stream, sizeof(LZ4_stream)); in local_LZ4_resetDictT()
170 void* const r = LZ4_initStream(&LZ4_stream, sizeof(LZ4_stream)); in local_LZ4_createStream()
177 return LZ4_saveDict(&LZ4_stream, out, inSize); in local_LZ4_saveDict()
217 return LZ4_compress_fast_extState(&LZ4_stream, in, out, inSize, LZ4_compressBound(inSize), 0); in local_LZ4_compress_fast_extState0()
222 return LZ4_compress_fast_continue(&LZ4_stream, in, out, inSize, LZ4_compressBound(inSize), 0); in local_LZ4_compress_fast_continue0()
231 extern int LZ4_compress_forceExtDict (LZ4_stream_t* LZ4_stream, const char* source, char* dest, int…
239 return LZ4_compress_forceExtDict(&LZ4_stream, in, out, inSize); in local_LZ4_compress_forceDict()
519 LZ4_loadDict(&LZ4_stream, chunkP[0].origBuffer, chunkP[0].origSize); in fullSpeedBench()
Dfuzzer.c683 { LZ4_stream_t LZ4_stream; in FUZ_test() local
684 LZ4_initStream(&LZ4_stream, sizeof(LZ4_stream)); in FUZ_test()
685 …LZ4_compress_fast_continue (&LZ4_stream, dict, compressedBuffer, dictSize, (int)compressedBufferSi… in FUZ_test()
686 …blockContinueCompressedSize = LZ4_compress_fast_continue (&LZ4_stream, block, compressedBuffer, bl… in FUZ_test()
774 { LZ4_stream_t LZ4_stream; in FUZ_test() local
786 LZ4_initStream(&LZ4_stream, sizeof(LZ4_stream)); in FUZ_test()
787 LZ4_attach_dictionary(&LZ4_stream, &LZ4dictBody); in FUZ_test()
788 …blockContinueCompressedSize = LZ4_compress_fast_continue(&LZ4_stream, block, compressedBuffer, blo… in FUZ_test()
790 FUZ_CHECKTEST(LZ4_stream.internal_donotuse.dirty, "context should be good"); in FUZ_test()
801 LZ4_resetStream_fast(&LZ4_stream); in FUZ_test()
[all …]
/external/lz4/lib/
Dlz4.c1369 void LZ4_resetStream (LZ4_stream_t* LZ4_stream) in LZ4_resetStream() argument
1371 DEBUGLOG(5, "LZ4_resetStream (ctx:%p)", LZ4_stream); in LZ4_resetStream()
1372 MEM_INIT(LZ4_stream, 0, sizeof(LZ4_stream_t)); in LZ4_resetStream()
1379 int LZ4_freeStream (LZ4_stream_t* LZ4_stream) in LZ4_freeStream() argument
1381 if (!LZ4_stream) return 0; /* support free on NULL */ in LZ4_freeStream()
1382 DEBUGLOG(5, "LZ4_freeStream %p", LZ4_stream); in LZ4_freeStream()
1383 FREEMEM(LZ4_stream); in LZ4_freeStream()
1485 int LZ4_compress_fast_continue (LZ4_stream_t* LZ4_stream, in LZ4_compress_fast_continue() argument
1491 LZ4_stream_t_internal* streamPtr = &LZ4_stream->internal_donotuse; in LZ4_compress_fast_continue()
2175 int LZ4_freeStreamDecode (LZ4_streamDecode_t* LZ4_stream) in LZ4_freeStreamDecode() argument
[all …]
Dlz4.h337 LZ4LIB_API int LZ4_freeStreamDecode (LZ4_streamDecode_t* LZ4_stream);