Lines Matching refs:srcSize
176 * Compresses 'srcSize' bytes from buffer 'src'
178 * Compression is guaranteed to succeed if 'dstCapacity' >= LZ4_compressBound(srcSize).
183 * srcSize : max supported value is LZ4_MAX_INPUT_SIZE.
189 LZ4LIB_API int LZ4_compress_default(const char* src, char* dst, int srcSize, int dstCapacity);
218 Note that LZ4_compress_default() compresses faster when dstCapacity is >= LZ4_compressBound(srcSize)
233 LZ4LIB_API int LZ4_compress_fast (const char* src, char* dst, int srcSize, int dstCapacity, int acceleration);
243 LZ4LIB_API int LZ4_compress_fast_extState (void* state, const char* src, char* dst, int srcSize, int dstCapacity, int acceleration);
273 * Decompress an LZ4 compressed block, of size 'srcSize' at position 'src',
297 * Note 4 : If srcSize is the exact size of the block,
302 * Note 5 : If srcSize is _larger_ than block's compressed size,
306 LZ4LIB_API int LZ4_decompress_safe_partial (const char* src, char* dst, int srcSize, int targetOutputSize, int dstCapacity);
374 * If dstCapacity >= LZ4_compressBound(srcSize), compression is guaranteed to succeed, and runs faster.
394 LZ4LIB_API int LZ4_compress_fast_continue (LZ4_stream_t* streamPtr, const char* src, char* dst, int srcSize, int dstCapacity, int acceleration);
474 int srcSize, int dstCapacity);
487 int srcSize, int dstCapacity,
545 LZ4LIB_STATIC_API int LZ4_compress_fast_extState_fastReset (void* state, const char* src, char* dst, int srcSize, int dstCapacity, int acceleration);
624 * with maxCompressedSize == LZ4_COMPRESSBOUND(srcSize) for guaranteed compression success.
636 #define LZ4_COMPRESS_INPLACE_MARGIN (LZ4_DISTANCE_MAX + 32) /* LZ4_DISTANCE_MAX can be safely replaced by srcSize when it's smaller */
765 LZ4_DEPRECATED("use LZ4_compress_default() instead") LZ4LIB_API int LZ4_compress (const char* src, char* dest, int srcSize);
766 LZ4_DEPRECATED("use LZ4_compress_default() instead") LZ4LIB_API int LZ4_compress_limitedOutput (const char* src, char* dest, int srcSize, int maxOutputSize);