Home
last modified time | relevance | path

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

/third_party/lz4/lib/
Dlz4.h312 typedef union LZ4_stream_u LZ4_stream_t; /* incomplete type (defined later) */ typedef
329 LZ4LIB_API LZ4_stream_t* LZ4_createStream(void);
330 LZ4LIB_API int LZ4_freeStream (LZ4_stream_t* streamPtr);
356 LZ4LIB_API void LZ4_resetStream_fast (LZ4_stream_t* streamPtr);
369 LZ4LIB_API int LZ4_loadDict (LZ4_stream_t* streamPtr, const char* dictionary, int dictSize);
394 LZ4LIB_API int LZ4_compress_fast_continue (LZ4_stream_t* streamPtr, const char* src, char* dst, int…
403 LZ4LIB_API int LZ4_saveDict (LZ4_stream_t* streamPtr, char* safeBuffer, int maxDictSize);
574 LZ4_attach_dictionary(LZ4_stream_t* workingStream,
575 const LZ4_stream_t* dictionaryStream);
709 LZ4LIB_API LZ4_stream_t* LZ4_initStream (void* buffer, size_t size);
[all …]
Dlz4.c731 int LZ4_sizeofState(void) { return sizeof(LZ4_stream_t); } in LZ4_sizeofState()
741 int LZ4_compress_forceExtDict (LZ4_stream_t* LZ4_dict, const char* source, char* dest, int srcSize);
1348 …LZ4_stream_t_internal* const ctx = & LZ4_initStream(state, sizeof(LZ4_stream_t)) -> internal_donot… in LZ4_compress_fast_extState()
1380 LZ4_stream_t_internal* ctx = &((LZ4_stream_t*)state)->internal_donotuse; in LZ4_compress_fast_extState_fastReset()
1420LZ4_stream_t* ctxPtr = (LZ4_stream_t*)ALLOC(sizeof(LZ4_stream_t)); /* malloc-calloc always prope… in LZ4_compress_fast()
1423 LZ4_stream_t ctx; in LZ4_compress_fast()
1424 LZ4_stream_t* const ctxPtr = &ctx; in LZ4_compress_fast()
1444 static int LZ4_compress_destSize_extState (LZ4_stream_t* state, const char* src, char* dst, int* sr… in LZ4_compress_destSize_extState()
1464LZ4_stream_t* ctx = (LZ4_stream_t*)ALLOC(sizeof(LZ4_stream_t)); /* malloc-calloc always properly… in LZ4_compress_destSize()
1467 LZ4_stream_t ctxBody; in LZ4_compress_destSize()
[all …]
Dlz4frame.c486 LZ4_stream_t lz4ctx; in LZ4F_compressFrame()
525 LZ4_stream_t* fastCtx;
542 cdict->fastCtx = (LZ4_stream_t*)LZ4F_malloc(sizeof(LZ4_stream_t), cmem); in LZ4F_createCDict_advanced()
544 LZ4_initStream(cdict->fastCtx, sizeof(LZ4_stream_t)); in LZ4F_createCDict_advanced()
651 LZ4_resetStream_fast((LZ4_stream_t*)ctx); in LZ4F_initStream()
653 LZ4_attach_dictionary((LZ4_stream_t *)ctx, cdict ? cdict->fastCtx : NULL); in LZ4F_initStream()
700 cctxPtr->lz4CtxPtr = LZ4F_malloc(sizeof(LZ4_stream_t), cctxPtr->cmem); in LZ4F_compressBegin_usingCDict()
702 LZ4_initStream(cctxPtr->lz4CtxPtr, sizeof(LZ4_stream_t)); in LZ4F_compressBegin_usingCDict()
715 LZ4_initStream((LZ4_stream_t*)cctxPtr->lz4CtxPtr, sizeof(LZ4_stream_t)); in LZ4F_compressBegin_usingCDict()
859 …return LZ4_compress_fast_continue((LZ4_stream_t*)ctx, src, dst, srcSize, dstCapacity, acceleration… in LZ4F_compressBlock()
[all …]
/third_party/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()
/third_party/lz4/tests/
Dfuzzer.c331 LZ4_stream_t LZ4dictBody; in FUZ_test()
734 { LZ4_stream_t LZ4_stream; in FUZ_test()
825 { LZ4_stream_t LZ4_stream; in FUZ_test()
1178 LZ4_stream_t state1; in FUZ_unitTests()
1179 LZ4_stream_t state2; in FUZ_unitTests()
1181 LZ4_stream_t state3; in FUZ_unitTests()
1187 …oid*)&(shc->state1), (void*)&(shc->state2), (void*)&(shc->state3), (unsigned)sizeof(LZ4_stream_t)); in FUZ_unitTests()
1198 { LZ4_stream_t* const statePtr = LZ4_createStream(); in FUZ_unitTests()
1204 { LZ4_stream_t streamingState; in FUZ_unitTests()
1220 { LZ4_stream_t* const ctx = LZ4_initStream(&streamingState, sizeof(streamingState)); in FUZ_unitTests()
DabiTest.c63 LZ4_stream_t LZ4_cState;
Dfullbench.c169 static LZ4_stream_t LZ4_stream;
239 extern int LZ4_compress_forceExtDict (LZ4_stream_t* LZ4_stream, const char* source, char* dest, int…
/third_party/lz4/ossfuzz/
Dround_trip_stream_fuzzer.c31 LZ4_stream_t* cstream;
201 LZ4_stream_t* dictStream = LZ4_createStream(); in state_attachDictRoundTrip()
/third_party/lz4/programs/
Dbench.c157 LZ4_stream_t* LZ4_stream;
158 LZ4_stream_t* LZ4_dictStream;