Lines Matching refs:dstCapacity

747                                      int compressedSize, int targetOutputSize, int dstCapacity,
1314 const int dstCapacity,
1321 DEBUGLOG(5, "LZ4_compress_generic: srcSize=%i, dstCapacity=%i",
1322 srcSize, dstCapacity);
1326 if (outputDirective != notLimited && dstCapacity <= 0) return 0; /* no output, can't write anything */
1328 assert(outputDirective == notLimited || dstCapacity >= 1);
1341 dstCapacity, outputDirective,
1378 int LZ4_compress_fast_extState_fastReset(void* state, const char* src, char* dst, int srcSize, int dstCapacity, int acceleration)
1384 if (dstCapacity >= LZ4_compressBound(srcSize)) {
1403 return LZ4_compress_generic(ctx, src, dst, srcSize, NULL, dstCapacity, limitedOutput, tableType, noDict, dictSmall, acceleration);
1405 return LZ4_compress_generic(ctx, src, dst, srcSize, NULL, dstCapacity, limitedOutput, tableType, noDict, noDictIssue, acceleration);
1410 return LZ4_compress_generic(ctx, src, dst, srcSize, NULL, dstCapacity, limitedOutput, tableType, noDict, noDictIssue, acceleration);
1941 int outputSize, /* If endOnInput==endOnInputSize, this value is `dstCapacity` */
2353 int LZ4_decompress_safe_partial(const char* src, char* dst, int compressedSize, int targetOutputSize, int dstCapacity)
2355 dstCapacity = MIN(targetOutputSize, dstCapacity);
2356 return LZ4_decompress_generic(src, dst, compressedSize, dstCapacity,
2381 static int LZ4_decompress_safe_partial_withPrefix64k(const char* source, char* dest, int compressedSize, int targetOutputSize, int dstCapacity)
2383 dstCapacity = MIN(targetOutputSize, dstCapacity);
2384 return LZ4_decompress_generic(source, dest, compressedSize, dstCapacity,
2407 static int LZ4_decompress_safe_partial_withSmallPrefix(const char* source, char* dest, int compressedSize, int targetOutputSize, int dstCapacity,
2410 dstCapacity = MIN(targetOutputSize, dstCapacity);
2411 return LZ4_decompress_generic(source, dest, compressedSize, dstCapacity,
2428 int compressedSize, int targetOutputSize, int dstCapacity,
2431 dstCapacity = MIN(targetOutputSize, dstCapacity);
2432 return LZ4_decompress_generic(source, dest, compressedSize, dstCapacity,
2627 int LZ4_decompress_safe_partial_usingDict(const char* source, char* dest, int compressedSize, int targetOutputSize, int dstCapacity, const char* dictStart, int dictSize)
2630 return LZ4_decompress_safe_partial(source, dest, compressedSize, targetOutputSize, dstCapacity);
2633 return LZ4_decompress_safe_partial_withPrefix64k(source, dest, compressedSize, targetOutputSize, dstCapacity);
2636 return LZ4_decompress_safe_partial_withSmallPrefix(source, dest, compressedSize, targetOutputSize, dstCapacity, (size_t)dictSize);
2639 return LZ4_decompress_safe_partial_forceExtDict(source, dest, compressedSize, targetOutputSize, dstCapacity, dictStart, (size_t)dictSize);
2673 int LZ4_compress_limitedOutput_continue (LZ4_stream_t* LZ4_stream, const char* src, char* dst, int srcSize, int dstCapacity)
2675 return LZ4_compress_fast_continue(LZ4_stream, src, dst, srcSize, dstCapacity, 1);