Searched refs:LZ4_streamHC_t (Results 1 – 8 of 8) sorted by relevance
/third_party/lz4/lib/ |
D | lz4hc.h | 101 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); 247 LZ4LIB_API LZ4_streamHC_t* LZ4_initStreamHC (void* buffer, size_t size); 264 …ue() instead") LZ4LIB_API int LZ4_compressHC_continue (LZ4_streamHC_t* LZ4_streamHCP… [all …]
|
D | lz4hc.c | 921 int LZ4_sizeofStateHC(void) { return (int)sizeof(LZ4_streamHC_t); } in LZ4_sizeofStateHC() 926 typedef struct { char c; LZ4_streamHC_t t; } t_a; in LZ4_streamHC_t_alignment() 927 return sizeof(t_a) - sizeof(LZ4_streamHC_t); in LZ4_streamHC_t_alignment() 937 LZ4HC_CCtx_internal* const ctx = &((LZ4_streamHC_t*)state)->internal_donotuse; in LZ4_compress_HC_extStateHC_fastReset() 939 LZ4_resetStreamHC_fast((LZ4_streamHC_t*)state, compressionLevel); in LZ4_compress_HC_extStateHC_fastReset() 949 LZ4_streamHC_t* const ctx = LZ4_initStreamHC(state, sizeof(*ctx)); in LZ4_compress_HC_extStateHC() 957 LZ4_streamHC_t* const statePtr = (LZ4_streamHC_t*)ALLOC(sizeof(LZ4_streamHC_t)); in LZ4_compress_HC() 959 LZ4_streamHC_t state; in LZ4_compress_HC() 960 LZ4_streamHC_t* const statePtr = &state; in LZ4_compress_HC() 972 LZ4_streamHC_t* const ctx = LZ4_initStreamHC(state, sizeof(*ctx)); in LZ4_compress_HC_destSize() [all …]
|
D | lz4frame.c | 481 LZ4_streamHC_t* HCCtx; 586 LZ4_resetStreamHC_fast((LZ4_streamHC_t*)ctx, level); in LZ4F_initStream() 587 LZ4_attach_HC_dictionary((LZ4_streamHC_t *)ctx, cdict ? cdict->HCCtx : NULL); in LZ4F_initStream() 632 LZ4_initStreamHC((LZ4_streamHC_t *) cctxPtr->lz4CtxPtr, sizeof(LZ4_streamHC_t)); in LZ4F_compressBegin_usingCDict() 633 … LZ4_setCompressionLevel((LZ4_streamHC_t *) cctxPtr->lz4CtxPtr, cctxPtr->prefs.compressionLevel); in LZ4F_compressBegin_usingCDict() 666 …LZ4_favorDecompressionSpeed((LZ4_streamHC_t*)cctxPtr->lz4CtxPtr, (int)preferencesPtr->favorDecSpee… in LZ4F_compressBegin_usingCDict() 788 return LZ4_compress_HC_continue((LZ4_streamHC_t*)ctx, src, dst, srcSize, dstCapacity); in LZ4F_compressBlockHC() 796 return LZ4_compress_HC_continue((LZ4_streamHC_t*)ctx, src, dst, srcSize, dstCapacity); in LZ4F_compressBlockHC_continue() 813 return LZ4_saveDictHC ((LZ4_streamHC_t*)(cctxPtr->lz4CtxPtr), (char*)(cctxPtr->tmpBuff), 64 KB); in LZ4F_localSaveDict()
|
/third_party/lz4/examples/ |
D | HCStreaming_ringBuffer.c | 59 LZ4_streamHC_t lz4Stream_body = { 0 }; in test_compress() 60 LZ4_streamHC_t* lz4Stream = &lz4Stream_body; in test_compress()
|
/third_party/lz4/tests/ |
D | fuzzer.c | 331 LZ4_streamHC_t* LZ4dictHC = LZ4_createStreamHC(); in FUZ_test() 906 { LZ4_streamHC_t* const LZ4_streamHC = LZ4_createStreamHC(); in FUZ_test() 1240 LZ4_streamHC_t hc1; in FUZ_unitTests() 1241 LZ4_streamHC_t hc2; in FUZ_unitTests() 1243 LZ4_streamHC_t hc3; in FUZ_unitTests() 1249 &(shc->hc1), &(shc->hc2), &(shc->hc3), (unsigned)sizeof(LZ4_streamHC_t)); in FUZ_unitTests() 1260 { LZ4_streamHC_t sHC; /* statically allocated */ in FUZ_unitTests() 1266 { LZ4_streamHC_t* const sp = LZ4_createStreamHC(); in FUZ_unitTests() 1289 { LZ4_streamHC_t* const ctx = LZ4_initStreamHC(&sHC, sizeof(sHC)); in FUZ_unitTests() 1599 { LZ4_streamHC_t* const sHC = LZ4_createStreamHC(); in FUZ_unitTests()
|
D | fullbench.c | 253 LZ4_streamHC_t LZ4_streamHC;
|
/third_party/lz4/ossfuzz/ |
D | round_trip_stream_fuzzer.c | 32 LZ4_streamHC_t* cstreamHC; 264 LZ4_streamHC_t* dictStream = LZ4_createStreamHC(); in state_attachDictHCRoundTrip()
|
/third_party/lz4/programs/ |
D | bench.c | 68 LZ4_streamHC_t* LZ4_streamHC; 69 LZ4_streamHC_t* LZ4_dictStreamHC;
|