Home
last modified time | relevance | path

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

/external/lz4/lib/
Dlz4.h249 typedef union LZ4_stream_u LZ4_stream_t; /* incomplete type (defined later) */ typedef
251 LZ4LIB_API LZ4_stream_t* LZ4_createStream(void);
252 LZ4LIB_API int LZ4_freeStream (LZ4_stream_t* streamPtr);
276 LZ4LIB_API void LZ4_resetStream_fast (LZ4_stream_t* streamPtr);
289 LZ4LIB_API int LZ4_loadDict (LZ4_stream_t* streamPtr, const char* dictionary, int dictSize);
314 LZ4LIB_API int LZ4_compress_fast_continue (LZ4_stream_t* streamPtr, const char* src, char* dst, int…
323 LZ4LIB_API int LZ4_saveDict (LZ4_stream_t* streamPtr, char* safeBuffer, int maxDictSize);
477 LZ4LIB_STATIC_API void LZ4_attach_dictionary(LZ4_stream_t* workingStream, const LZ4_stream_t* dicti…
633 LZ4LIB_API LZ4_stream_t* LZ4_initStream (void* buffer, size_t size);
690 …inue() instead") LZ4LIB_API int LZ4_compress_continue (LZ4_stream_t* LZ4_streamPtr,…
[all …]
Dlz4.c618 int LZ4_compress_forceExtDict (LZ4_stream_t* LZ4_dict, const char* source, char* dest, int srcSize);
1182 …LZ4_stream_t_internal* const ctx = & LZ4_initStream(state, sizeof(LZ4_stream_t)) -> internal_donot… in LZ4_compress_fast_extState()
1213 LZ4_stream_t_internal* ctx = &((LZ4_stream_t*)state)->internal_donotuse; in LZ4_compress_fast_extState_fastReset()
1252LZ4_stream_t* ctxPtr = ALLOC(sizeof(LZ4_stream_t)); /* malloc-calloc always properly aligned */ in LZ4_compress_fast()
1255 LZ4_stream_t ctx; in LZ4_compress_fast()
1256 LZ4_stream_t* const ctxPtr = &ctx; in LZ4_compress_fast()
1277 LZ4_stream_t ctx; in LZ4_compress_fast_force()
1292 static int LZ4_compress_destSize_extState (LZ4_stream_t* state, const char* src, char* dst, int* sr… in LZ4_compress_destSize_extState()
1312LZ4_stream_t* ctx = (LZ4_stream_t*)ALLOC(sizeof(LZ4_stream_t)); /* malloc-calloc always properly… in LZ4_compress_destSize()
1315 LZ4_stream_t ctxBody; in LZ4_compress_destSize()
[all …]
Dlz4frame.c440 LZ4_stream_t lz4ctx; in LZ4F_compressFrame()
480 LZ4_stream_t* fastCtx;
584 LZ4_resetStream_fast((LZ4_stream_t*)ctx); in LZ4F_initStream()
586 LZ4_attach_dictionary((LZ4_stream_t *)ctx, cdict ? cdict->fastCtx : NULL); in LZ4F_initStream()
632 LZ4_initStream((LZ4_stream_t *) cctxPtr->lz4CtxPtr, sizeof (LZ4_stream_t)); in LZ4F_compressBegin_usingCDict()
769 …return LZ4_compress_fast_continue((LZ4_stream_t*)ctx, src, dst, srcSize, dstCapacity, acceleration… in LZ4F_compressBlock()
779 …return LZ4_compress_fast_continue((LZ4_stream_t*)ctx, src, dst, srcSize, dstCapacity, acceleration… in LZ4F_compressBlock_continue()
810 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/ossfuzz/
Dround_trip_stream_fuzzer.c31 LZ4_stream_t* cstream;
201 LZ4_stream_t* dictStream = LZ4_createStream(); in state_attachDictRoundTrip()
/external/lz4/tests/
Dfullbench.c161 static LZ4_stream_t LZ4_stream;
231 extern int LZ4_compress_forceExtDict (LZ4_stream_t* LZ4_stream, const char* source, char* dest, int…
Dfuzzer.c330 LZ4_stream_t LZ4dictBody; in FUZ_test()
683 { LZ4_stream_t LZ4_stream; in FUZ_test()
774 { LZ4_stream_t LZ4_stream; in FUZ_test()
1103 { LZ4_stream_t streamingState; in FUZ_unitTests()
1108 { LZ4_stream_t* const statePtr = LZ4_createStream(); in FUZ_unitTests()