Home
last modified time | relevance | path

Searched refs:LZ4_stream_t (Results 1 – 10 of 10) sorted by relevance

/external/lz4/lib/
Dlz4.h258 typedef union LZ4_stream_u LZ4_stream_t; /* incomplete type (defined later) */ typedef
264 LZ4LIB_API LZ4_stream_t* LZ4_createStream(void);
265 LZ4LIB_API int LZ4_freeStream (LZ4_stream_t* streamPtr);
271 LZ4LIB_API void LZ4_resetStream (LZ4_stream_t* streamPtr);
279 LZ4LIB_API int LZ4_loadDict (LZ4_stream_t* streamPtr, const char* dictionary, int dictSize);
304 LZ4LIB_API int LZ4_compress_fast_continue (LZ4_stream_t* streamPtr, const char* src, char* dst, int…
313 LZ4LIB_API int LZ4_saveDict (LZ4_stream_t* streamPtr, char* safeBuffer, int maxDictSize);
437 LZ4LIB_API void LZ4_resetStream_fast (LZ4_stream_t* streamPtr);
478 LZ4LIB_API void LZ4_attach_dictionary(LZ4_stream_t *working_stream, const LZ4_stream_t *dictionary_…
601 …inue() instead") LZ4LIB_API int LZ4_compress_continue (LZ4_stream_t* LZ4_streamPtr,…
[all …]
Dlz4.c504 int LZ4_compress_forceExtDict (LZ4_stream_t* LZ4_stream, const char* source, char* dest, int inputS…
1012 LZ4_stream_t_internal* ctx = &((LZ4_stream_t*)state)->internal_donotuse; in LZ4_compress_fast_extState()
1014 LZ4_resetStream((LZ4_stream_t*)state); in LZ4_compress_fast_extState()
1043 LZ4_stream_t_internal* ctx = &((LZ4_stream_t*)state)->internal_donotuse; in LZ4_compress_fast_extState_fastReset()
1082LZ4_stream_t* ctxPtr = ALLOC(sizeof(LZ4_stream_t)); /* malloc-calloc always properly aligned */ in LZ4_compress_fast()
1085 LZ4_stream_t ctx; in LZ4_compress_fast()
1086 LZ4_stream_t* const ctxPtr = &ctx; in LZ4_compress_fast()
1107 LZ4_stream_t ctx; in LZ4_compress_fast_force()
1120 static int LZ4_compress_destSize_extState (LZ4_stream_t* state, const char* src, char* dst, int* sr… in LZ4_compress_destSize_extState()
1139LZ4_stream_t* ctx = (LZ4_stream_t*)ALLOC(sizeof(LZ4_stream_t)); /* malloc-calloc always properly… in LZ4_compress_destSize()
[all …]
Dlz4frame.c421 LZ4_stream_t lz4ctx; in LZ4F_compressFrame()
461 LZ4_stream_t* fastCtx;
565 LZ4_resetStream_fast((LZ4_stream_t*)ctx); in LZ4F_initStream()
567 LZ4_attach_dictionary((LZ4_stream_t *)ctx, cdict ? cdict->fastCtx : NULL); in LZ4F_initStream()
612 LZ4_resetStream((LZ4_stream_t *) cctxPtr->lz4CtxPtr); in LZ4F_compressBegin_usingCDict()
744 …return LZ4_compress_fast_continue((LZ4_stream_t*)ctx, src, dst, srcSize, dstCapacity, acceleration… in LZ4F_compressBlock()
754 …return LZ4_compress_fast_continue((LZ4_stream_t*)ctx, src, dst, srcSize, dstCapacity, acceleration… in LZ4F_compressBlock_continue()
785 return LZ4_saveDict ((LZ4_stream_t*)(cctxPtr->lz4CtxPtr), (char*)(cctxPtr->tmpBuff), 64 KB); in LZ4F_localSaveDict()
/external/lz4/examples/
DblockStreaming_ringBuffer.c50 LZ4_stream_t lz4Stream_body = { { 0 } }; in test_compress()
51 LZ4_stream_t* lz4Stream = &lz4Stream_body; in test_compress()
DblockStreaming_doubleBuffer.c41 LZ4_stream_t lz4Stream_body; in test_compress()
42 LZ4_stream_t* lz4Stream = &lz4Stream_body; in test_compress()
DdictionaryRandomAccess.c58 LZ4_stream_t lz4Stream_body; in test_compress()
59 LZ4_stream_t* lz4Stream = &lz4Stream_body; in test_compress()
Dcompress_functions.c124 LZ4_stream_t state; in bench()
284 LZ4_stream_t state; in main()
DblockStreaming_lineByLine.c43 LZ4_stream_t* const lz4Stream = LZ4_createStream(); in test_compress()
/external/lz4/tests/
Dfuzzer.c318 LZ4_stream_t LZ4dict; in FUZ_test()
643 { LZ4_stream_t LZ4_stream; in FUZ_test()
731 LZ4_stream_t LZ4_stream; in FUZ_test()
978 { LZ4_stream_t* statePtr; in FUZ_unitTests()
979 LZ4_stream_t streamingState; in FUZ_unitTests()
Dfullbench.c160 static LZ4_stream_t LZ4_stream;
228 extern int LZ4_compress_forceExtDict (LZ4_stream_t* LZ4_stream, const char* source, char* dest, int…