Home
last modified time | relevance | path

Searched refs:LZ4_streamHC_t (Results 1 – 8 of 8) sorted by relevance

/third_party/lz4/lib/
Dlz4hc.h101 typedef union LZ4_streamHC_u LZ4_streamHC_t; /* incomplete type (defined later) */ typedef
109 LZ4LIB_API LZ4_streamHC_t* LZ4_createStreamHC(void);
110 LZ4LIB_API int LZ4_freeStreamHC (LZ4_streamHC_t* streamHCPtr);
155 LZ4LIB_API void LZ4_resetStreamHC_fast(LZ4_streamHC_t* streamHCPtr, int compressionLevel); /* v1.…
156 LZ4LIB_API int LZ4_loadDictHC (LZ4_streamHC_t* streamHCPtr, const char* dictionary, int dictSize);
158 LZ4LIB_API int LZ4_compress_HC_continue (LZ4_streamHC_t* streamHCPtr,
172 LZ4LIB_API int LZ4_compress_HC_continue_destSize(LZ4_streamHC_t* LZ4_streamHCPtr,
176 LZ4LIB_API int LZ4_saveDictHC (LZ4_streamHC_t* streamHCPtr, char* safeBuffer, int maxDictSize);
245 LZ4LIB_API LZ4_streamHC_t* LZ4_initStreamHC(void* buffer, size_t size);
262 …ue() instead") LZ4LIB_API int LZ4_compressHC_continue (LZ4_streamHC_t* LZ4_streamHCP…
[all …]
Dlz4hc.c925 int LZ4_sizeofStateHC(void) { return (int)sizeof(LZ4_streamHC_t); } in LZ4_sizeofStateHC()
930 typedef struct { char c; LZ4_streamHC_t t; } t_a; in LZ4_streamHC_t_alignment()
931 return sizeof(t_a) - sizeof(LZ4_streamHC_t); in LZ4_streamHC_t_alignment()
941 LZ4HC_CCtx_internal* const ctx = &((LZ4_streamHC_t*)state)->internal_donotuse; in LZ4_compress_HC_extStateHC_fastReset()
943 LZ4_resetStreamHC_fast((LZ4_streamHC_t*)state, compressionLevel); in LZ4_compress_HC_extStateHC_fastReset()
953 LZ4_streamHC_t* const ctx = LZ4_initStreamHC(state, sizeof(*ctx)); in LZ4_compress_HC_extStateHC()
962 LZ4_streamHC_t* const statePtr = (LZ4_streamHC_t*)ALLOC(sizeof(LZ4_streamHC_t)); in LZ4_compress_HC()
965 LZ4_streamHC_t state; in LZ4_compress_HC()
966 LZ4_streamHC_t* const statePtr = &state; in LZ4_compress_HC()
978 LZ4_streamHC_t* const ctx = LZ4_initStreamHC(state, sizeof(*ctx)); in LZ4_compress_HC_destSize()
[all …]
Dlz4frame.c526 LZ4_streamHC_t* HCCtx;
545 cdict->HCCtx = (LZ4_streamHC_t*)LZ4F_malloc(sizeof(LZ4_streamHC_t), cmem); in LZ4F_createCDict_advanced()
547 LZ4_initStream(cdict->HCCtx, sizeof(LZ4_streamHC_t)); in LZ4F_createCDict_advanced()
655 LZ4_resetStreamHC_fast((LZ4_streamHC_t*)ctx, level); in LZ4F_initStream()
656 LZ4_attach_HC_dictionary((LZ4_streamHC_t *)ctx, cdict ? cdict->HCCtx : NULL); in LZ4F_initStream()
704 cctxPtr->lz4CtxPtr = LZ4F_malloc(sizeof(LZ4_streamHC_t), cctxPtr->cmem); in LZ4F_compressBegin_usingCDict()
706 LZ4_initStreamHC(cctxPtr->lz4CtxPtr, sizeof(LZ4_streamHC_t)); in LZ4F_compressBegin_usingCDict()
717 LZ4_initStreamHC((LZ4_streamHC_t*)cctxPtr->lz4CtxPtr, sizeof(LZ4_streamHC_t)); in LZ4F_compressBegin_usingCDict()
718 … LZ4_setCompressionLevel((LZ4_streamHC_t*)cctxPtr->lz4CtxPtr, cctxPtr->prefs.compressionLevel); in LZ4F_compressBegin_usingCDict()
750 …LZ4_favorDecompressionSpeed((LZ4_streamHC_t*)cctxPtr->lz4CtxPtr, (int)preferencesPtr->favorDecSpee… in LZ4F_compressBegin_usingCDict()
[all …]
/third_party/lz4/examples/
DHCStreaming_ringBuffer.c59 LZ4_streamHC_t lz4Stream_body = { 0 }; in test_compress()
60 LZ4_streamHC_t* lz4Stream = &lz4Stream_body; in test_compress()
/third_party/lz4/tests/
Dfuzzer.c332 LZ4_streamHC_t* LZ4dictHC = LZ4_createStreamHC(); in FUZ_test()
954 { LZ4_streamHC_t* const LZ4_streamHC = LZ4_createStreamHC(); in FUZ_test()
1288 LZ4_streamHC_t hc1; in FUZ_unitTests()
1289 LZ4_streamHC_t hc2; in FUZ_unitTests()
1291 LZ4_streamHC_t hc3; in FUZ_unitTests()
1298 (unsigned)sizeof(LZ4_streamHC_t)); in FUZ_unitTests()
1309 { LZ4_streamHC_t sHC; /* statically allocated */ in FUZ_unitTests()
1315 { LZ4_streamHC_t* const sp = LZ4_createStreamHC(); in FUZ_unitTests()
1338 { LZ4_streamHC_t* const ctx = LZ4_initStreamHC(&sHC, sizeof(sHC)); in FUZ_unitTests()
1648 { LZ4_streamHC_t* const sHC = LZ4_createStreamHC(); in FUZ_unitTests()
Dfullbench.c253 LZ4_streamHC_t LZ4_streamHC;
/third_party/lz4/ossfuzz/
Dround_trip_stream_fuzzer.c32 LZ4_streamHC_t* cstreamHC;
264 LZ4_streamHC_t* dictStream = LZ4_createStreamHC(); in state_attachDictHCRoundTrip()
/third_party/lz4/programs/
Dbench.c159 LZ4_streamHC_t* LZ4_streamHC;
160 LZ4_streamHC_t* LZ4_dictStreamHC;