Searched refs:srcSize (Results 1 - 6 of 6) sorted by relevance

/fuchsia/zircon/third_party/ulib/lz4/include/lz4/
H A Dlz4frame.h131 size_t LZ4F_compressFrameBound(size_t srcSize, const LZ4F_preferences_t* preferencesPtr);
133 size_t LZ4F_compressFrame(void* dstBuffer, size_t dstMaxSize, const void* srcBuffer, size_t srcSize, const LZ4F_preferences_t* preferencesPtr);
182 size_t LZ4F_compressBound(size_t srcSize, const LZ4F_preferences_t* prefsPtr);
184 * Provides the minimum size of Dst buffer given srcSize to handle worst case situations.
190 size_t LZ4F_compressUpdate(LZ4F_compressionContext_t cctx, void* dstBuffer, size_t dstMaxSize, const void* srcBuffer, size_t srcSize, const LZ4F_compressOptions_t* cOptPtr);
265 * The function result is an hint of how many srcSize bytes LZ4F_decompress() expects for next call,
290 * The function result is an hint of how many srcSize bytes LZ4F_decompress() expects for next call.
293 * This is just a hint, you can always provide any srcSize you want.
H A Dlz4hc.h50 int LZ4_compress_HC (const char* src, char* dst, int srcSize, int maxDstSize, int compressionLevel);
56 srcSize : Max supported value is LZ4_MAX_INPUT_SIZE (see "lz4.h")
71 int LZ4_compress_HC_extStateHC(void* state, const char* src, char* dst, int srcSize, int maxDstSize, int compressionLevel);
115 int LZ4_compress_HC_continue (LZ4_streamHC_t* streamHCPtr, const char* src, char* dst, int srcSize, int maxDstSize);
H A Dlz4.h113 Note that LZ4_compress_default() compress faster when dest buffer size is >= LZ4_compressBound(srcSize)
227 * If maxDstSize >= LZ4_compressBound(srcSize), compression is guaranteed to succeed, and runs faster.
230 int LZ4_compress_fast_continue (LZ4_stream_t* streamPtr, const char* src, char* dst, int srcSize, int maxDstSize, int acceleration);
/fuchsia/zircon/third_party/ulib/lz4/
H A Dlz4frame.c241 static LZ4F_blockSizeID_t LZ4F_optimalBSID(const LZ4F_blockSizeID_t requestedBSID, const size_t srcSize) argument
247 if (srcSize <= maxBlockSize)
256 size_t LZ4F_compressFrameBound(size_t srcSize, const LZ4F_preferences_t* preferencesPtr) argument
265 prefs.frameInfo.blockSizeID = LZ4F_optimalBSID(prefs.frameInfo.blockSizeID, srcSize);
269 streamSize = LZ4F_compressBound(srcSize, &prefs);
284 size_t LZ4F_compressFrame(void* dstBuffer, size_t dstMaxSize, const void* srcBuffer, size_t srcSize, const LZ4F_preferences_t* preferencesPtr) argument
306 prefs.frameInfo.contentSize = (U64)srcSize; /* auto-correct content size if selected (!=0) */
314 prefs.frameInfo.blockSizeID = LZ4F_optimalBSID(prefs.frameInfo.blockSizeID, srcSize);
316 if (srcSize <= LZ4F_getBlockSize(prefs.frameInfo.blockSizeID))
321 if (dstMaxSize < LZ4F_compressFrameBound(srcSize,
477 LZ4F_compressBound(size_t srcSize, const LZ4F_preferences_t* preferencesPtr) argument
498 LZ4F_compressBlock(void* dst, const void* src, size_t srcSize, compressFunc_t compress, void* lz4ctx, int level) argument
515 LZ4F_localLZ4_compress_limitedOutput_withState(void* ctx, const char* src, char* dst, int srcSize, int dstSize, int level) argument
521 LZ4F_localLZ4_compress_limitedOutput_continue(void* ctx, const char* src, char* dst, int srcSize, int dstSize, int level) argument
527 LZ4F_localLZ4_compressHC_limitedOutput_continue(void* ctx, const char* src, char* dst, int srcSize, int dstSize, int level) argument
562 LZ4F_compressUpdate(LZ4F_compressionContext_t compressionContext, void* dstBuffer, size_t dstMaxSize, const void* srcBuffer, size_t srcSize, const LZ4F_compressOptions_t* compressOptionsPtr) argument
810 LZ4F_decodeHeader(LZ4F_dctx_t* dctxPtr, const void* srcVoidPtr, size_t srcSize) argument
[all...]
H A Dlz4hc.c540 int LZ4_compress_HC_extStateHC (void* state, const char* src, char* dst, int srcSize, int maxDstSize, int compressionLevel) argument
544 if (maxDstSize < LZ4_compressBound(srcSize))
545 return LZ4HC_compress_generic (state, src, dst, srcSize, maxDstSize, compressionLevel, limitedOutput);
547 return LZ4HC_compress_generic (state, src, dst, srcSize, maxDstSize, compressionLevel, noLimit);
550 int LZ4_compress_HC(const char* src, char* dst, int srcSize, int maxDstSize, int compressionLevel) argument
553 return LZ4_compress_HC_extStateHC(&state, src, dst, srcSize, maxDstSize, compressionLevel);
677 int LZ4_compressHC(const char* src, char* dst, int srcSize) { return LZ4_compress_HC (src, dst, srcSize, LZ4_compressBound(srcSize), 0); } argument
678 int LZ4_compressHC_limitedOutput(const char* src, char* dst, int srcSize, in argument
679 LZ4_compressHC2(const char* src, char* dst, int srcSize, int cLevel) argument
680 LZ4_compressHC2_limitedOutput(const char* src, char* dst, int srcSize, int maxDstSize, int cLevel) argument
681 LZ4_compressHC_withStateHC(void* state, const char* src, char* dst, int srcSize) argument
682 LZ4_compressHC_limitedOutput_withStateHC(void* state, const char* src, char* dst, int srcSize, int maxDstSize) argument
683 LZ4_compressHC2_withStateHC(void* state, const char* src, char* dst, int srcSize, int cLevel) argument
684 LZ4_compressHC2_limitedOutput_withStateHC(void* state, const char* src, char* dst, int srcSize, int maxDstSize, int cLevel) argument
685 LZ4_compressHC_continue(LZ4_streamHC_t* ctx, const char* src, char* dst, int srcSize) argument
686 LZ4_compressHC_limitedOutput_continue(LZ4_streamHC_t* ctx, const char* src, char* dst, int srcSize, int maxDstSize) argument
[all...]
H A Dlz4.c1470 int LZ4_compress_limitedOutput_withState (void* state, const char* src, char* dst, int srcSize, int dstSize) { return LZ4_compress_fast_extState(state, src, dst, srcSize, dstSize, 1); } argument
1471 int LZ4_compress_withState (void* state, const char* src, char* dst, int srcSize) { return LZ4_compress_fast_extState(state, src, dst, srcSize, LZ4_compressBound(srcSize), 1); } argument
1472 int LZ4_compress_limitedOutput_continue (LZ4_stream_t* LZ4_stream, const char* src, char* dst, int srcSize, int maxDstSize) { return LZ4_compress_fast_continue(LZ4_stream, src, dst, srcSize, maxDstSize, 1); } argument

Completed in 39 milliseconds