Home
last modified time | relevance | path

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

/third_party/lz4/tests/
Dfullbench.c169 static LZ4_stream_t LZ4_stream; variable
172 void* const r = LZ4_initStream(&LZ4_stream, sizeof(LZ4_stream)); in local_LZ4_resetDictT()
178 void* const r = LZ4_initStream(&LZ4_stream, sizeof(LZ4_stream)); in local_LZ4_createStream()
185 return LZ4_saveDict(&LZ4_stream, out, inSize); in local_LZ4_saveDict()
225 return LZ4_compress_fast_extState(&LZ4_stream, in, out, inSize, LZ4_compressBound(inSize), 0); in local_LZ4_compress_fast_extState0()
230 return LZ4_compress_fast_continue(&LZ4_stream, in, out, inSize, LZ4_compressBound(inSize), 0); in local_LZ4_compress_fast_continue0()
239 extern int LZ4_compress_forceExtDict (LZ4_stream_t* LZ4_stream, const char* source, char* dest, int…
247 return LZ4_compress_forceExtDict(&LZ4_stream, in, out, inSize); in local_LZ4_compress_forceDict()
591 LZ4_loadDict(&LZ4_stream, chunkP[0].origBuffer, chunkP[0].origSize); in fullSpeedBench()
Dfuzzer.c734 { LZ4_stream_t LZ4_stream; in FUZ_test() local
735 LZ4_initStream(&LZ4_stream, sizeof(LZ4_stream)); in FUZ_test()
736 …LZ4_compress_fast_continue (&LZ4_stream, dict, compressedBuffer, dictSize, (int)compressedBufferSi… in FUZ_test()
737 …blockContinueCompressedSize = LZ4_compress_fast_continue (&LZ4_stream, block, compressedBuffer, bl… in FUZ_test()
825 { LZ4_stream_t LZ4_stream; in FUZ_test() local
837 LZ4_initStream(&LZ4_stream, sizeof(LZ4_stream)); in FUZ_test()
838 LZ4_attach_dictionary(&LZ4_stream, &LZ4dictBody); in FUZ_test()
839 …blockContinueCompressedSize = LZ4_compress_fast_continue(&LZ4_stream, block, compressedBuffer, blo… in FUZ_test()
851 LZ4_resetStream_fast(&LZ4_stream); in FUZ_test()
852 LZ4_attach_dictionary(&LZ4_stream, &LZ4dictBody); in FUZ_test()
[all …]
/third_party/lz4/programs/
Dbench.c157 LZ4_stream_t* LZ4_stream; member
176 pThis->LZ4_stream = NULL; in LZ4_compressInitNoStream()
185 pThis->LZ4_stream = LZ4_createStream(); in LZ4_compressInitStream()
195 pThis->LZ4_stream = NULL; in LZ4_compressInitStreamHC()
211 LZ4_resetStream_fast(pThis->LZ4_stream); in LZ4_compressResetStream()
212 LZ4_attach_dictionary(pThis->LZ4_stream, pThis->LZ4_dictStream); in LZ4_compressResetStream()
245 return LZ4_compress_fast_continue(pThis->LZ4_stream, src, dst, srcSize, dstSize, acceleration); in LZ4_compressBlockStream()
265 LZ4_freeStream(pThis->LZ4_stream); in LZ4_compressCleanupStream()
/third_party/lz4/lib/
Dlz4.c1519 void LZ4_resetStream (LZ4_stream_t* LZ4_stream) in LZ4_resetStream() argument
1521 DEBUGLOG(5, "LZ4_resetStream (ctx:%p)", LZ4_stream); in LZ4_resetStream()
1522 MEM_INIT(LZ4_stream, 0, sizeof(LZ4_stream_t_internal)); in LZ4_resetStream()
1530 int LZ4_freeStream (LZ4_stream_t* LZ4_stream) in LZ4_freeStream() argument
1532 if (!LZ4_stream) return 0; /* support free on NULL */ in LZ4_freeStream()
1533 DEBUGLOG(5, "LZ4_freeStream %p", LZ4_stream); in LZ4_freeStream()
1534 FREEMEM(LZ4_stream); in LZ4_freeStream()
1632 int LZ4_compress_fast_continue (LZ4_stream_t* LZ4_stream, in LZ4_compress_fast_continue() argument
1638 LZ4_stream_t_internal* const streamPtr = &LZ4_stream->internal_donotuse; in LZ4_compress_fast_continue()
2468 int LZ4_freeStreamDecode (LZ4_streamDecode_t* LZ4_stream) in LZ4_freeStreamDecode() argument
[all …]
Dlz4.h419 LZ4LIB_API int LZ4_freeStreamDecode (LZ4_streamDecode_t* LZ4_stream);