Home
last modified time | relevance | path

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

/external/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);
272 LZ4LIB_API LZ4_streamHC_t* LZ4_initStreamHC (void* buffer, size_t size);
289 …ue() instead") LZ4LIB_API int LZ4_compressHC_continue (LZ4_streamHC_t* LZ4_streamHCP…
[all …]
Dlz4hc.c882 int LZ4_sizeofStateHC(void) { return (int)sizeof(LZ4_streamHC_t); } in LZ4_sizeofStateHC()
889 struct { char c; LZ4_streamHC_t t; } t_a; in LZ4_streamHC_t_alignment()
898 LZ4HC_CCtx_internal* const ctx = &((LZ4_streamHC_t*)state)->internal_donotuse; in LZ4_compress_HC_extStateHC_fastReset()
905 LZ4_resetStreamHC_fast((LZ4_streamHC_t*)state, compressionLevel); in LZ4_compress_HC_extStateHC_fastReset()
915 LZ4_streamHC_t* const ctx = LZ4_initStreamHC(state, sizeof(*ctx)); in LZ4_compress_HC_extStateHC()
923 LZ4_streamHC_t* const statePtr = (LZ4_streamHC_t*)ALLOC(sizeof(LZ4_streamHC_t)); in LZ4_compress_HC()
925 LZ4_streamHC_t state; in LZ4_compress_HC()
926 LZ4_streamHC_t* const statePtr = &state; in LZ4_compress_HC()
938 LZ4_streamHC_t* const ctx = LZ4_initStreamHC(state, sizeof(*ctx)); in LZ4_compress_HC_destSize()
951 LZ4_streamHC_t* LZ4_createStreamHC(void) in LZ4_createStreamHC()
[all …]
Dlz4frame.c481 LZ4_streamHC_t* HCCtx;
588 LZ4_resetStreamHC_fast((LZ4_streamHC_t*)ctx, level); in LZ4F_initStream()
589 LZ4_attach_HC_dictionary((LZ4_streamHC_t *)ctx, cdict ? cdict->HCCtx : NULL); in LZ4F_initStream()
634 LZ4_initStreamHC((LZ4_streamHC_t *) cctxPtr->lz4CtxPtr, sizeof(LZ4_streamHC_t)); in LZ4F_compressBegin_usingCDict()
635 … LZ4_setCompressionLevel((LZ4_streamHC_t *) cctxPtr->lz4CtxPtr, cctxPtr->prefs.compressionLevel); in LZ4F_compressBegin_usingCDict()
668 …LZ4_favorDecompressionSpeed((LZ4_streamHC_t*)cctxPtr->lz4CtxPtr, (int)preferencesPtr->favorDecSpee… in LZ4F_compressBegin_usingCDict()
786 return LZ4_compress_HC_continue((LZ4_streamHC_t*)ctx, src, dst, srcSize, dstCapacity); in LZ4F_compressBlockHC()
794 return LZ4_compress_HC_continue((LZ4_streamHC_t*)ctx, src, dst, srcSize, dstCapacity); in LZ4F_compressBlockHC_continue()
811 return LZ4_saveDictHC ((LZ4_streamHC_t*)(cctxPtr->lz4CtxPtr), (char*)(cctxPtr->tmpBuff), 64 KB); in LZ4F_localSaveDict()
/external/lz4/examples/
DHCStreaming_ringBuffer.c59 LZ4_streamHC_t lz4Stream_body = { 0 }; in test_compress()
60 LZ4_streamHC_t* lz4Stream = &lz4Stream_body; in test_compress()
/external/lz4/ossfuzz/
Dround_trip_stream_fuzzer.c32 LZ4_streamHC_t* cstreamHC;
264 LZ4_streamHC_t* dictStream = LZ4_createStreamHC(); in state_attachDictHCRoundTrip()
/external/lz4/tests/
Dfuzzer.c331 LZ4_streamHC_t* LZ4dictHC = LZ4_createStreamHC(); in FUZ_test()
906 { LZ4_streamHC_t* const LZ4_streamHC = LZ4_createStreamHC(); in FUZ_test()
1179 { LZ4_streamHC_t sHC; /* statically allocated */ in FUZ_unitTests()
1186 { LZ4_streamHC_t* const sp = LZ4_createStreamHC(); in FUZ_unitTests()
Dfullbench.c245 LZ4_streamHC_t LZ4_streamHC;