Lines Matching refs:dstCapacity
177 * into already allocated 'dst' buffer of size 'dstCapacity'.
178 * Compression is guaranteed to succeed if 'dstCapacity' >= LZ4_compressBound(srcSize).
184 * dstCapacity : size of buffer 'dst' (which must be already allocated)
185 * @return : the number of bytes written into buffer 'dst' (necessarily <= dstCapacity)
189 LZ4LIB_API int LZ4_compress_default(const char* src, char* dst, int srcSize, int dstCapacity);
193 * dstCapacity : is the size of destination buffer (which must be already allocated), presumed an upper bound of decompressed size.
194 * @return : the number of bytes decompressed into destination buffer (necessarily <= dstCapacity)
201 * Note 2 : compressedSize and dstCapacity must be provided to the function, the compressed block does not contain them.
205 LZ4LIB_API int LZ4_decompress_safe (const char* src, char* dst, int compressedSize, 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);
266 * a dstCapacity which is > decompressedSize, by at least 1 byte.
274 * into destination buffer 'dst' of size 'dstCapacity'.
285 * Note 2 : targetOutputSize must be <= dstCapacity
288 * so dstCapacity is kind of redundant.
292 * it could write more bytes, though only up to dstCapacity.
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);
614 * This is the `dstCapacity` parameter in `LZ4_compress*()`.