Lines Matching defs:limit
473 limitedOutput_directive limit,
503 /* Check output limit */
504 if (limit && ((op + (length / 255) + length + (2 + 1 + LASTLITERALS)) > oend)) {
529 if (limit && (op + (length / 255) + (1 + LASTLITERALS) > oend)) {
531 return 1; /* Check output limit */
560 const limitedOutput_directive limit,
588 if (limit == fillOutput) oend -= LASTLITERALS; /* Hack for support LZ4 format restriction */
610 if (LZ4HC_encodeSequence(UPDATABLE(ip, op, anchor), ml, ref, limit, oend)) goto _dest_overflow;
658 if (LZ4HC_encodeSequence(UPDATABLE(ip, op, anchor), ml, ref, limit, oend)) goto _dest_overflow;
661 if (LZ4HC_encodeSequence(UPDATABLE(ip, op, anchor), ml2, ref2, limit, oend)) {
684 if (LZ4HC_encodeSequence(UPDATABLE(ip, op, anchor), ml, ref, limit, oend)) goto _dest_overflow;
722 if (LZ4HC_encodeSequence(UPDATABLE(ip, op, anchor), ml, ref, limit, oend)) goto _dest_overflow;
739 if (limit == fillOutput) oend += LASTLITERALS; /* restore correct value */
740 if (limit && (op + totalSize > oend)) {
741 if (limit == limitedOutput) return 0;
748 ip = anchor + lastRunSize; /* can be != iend if limit==fillOutput */
767 if (limit == fillOutput) {
795 const limitedOutput_directive limit, int const fullUpdate,
807 const limitedOutput_directive limit,
833 DEBUGLOG(4, "LZ4HC_compress_generic(ctx=%p, src=%p, srcSize=%d, limit=%d)",
834 ctx, src, *srcSizePtr, limit);
836 if (limit == fillOutput && dstCapacity < 1) return 0; /* Impossible to store anything */
849 cParam.nbSearches, limit, dict);
854 cParam.nbSearches, cParam.targetLength, limit,
873 limitedOutput_directive limit
877 return LZ4HC_compress_generic_internal(ctx, src, dst, srcSizePtr, dstCapacity, cLevel, limit, noDictCtx);
888 limitedOutput_directive limit
895 return LZ4HC_compress_generic_noDictCtx(ctx, src, dst, srcSizePtr, dstCapacity, cLevel, limit);
900 return LZ4HC_compress_generic_noDictCtx(ctx, src, dst, srcSizePtr, dstCapacity, cLevel, limit);
902 return LZ4HC_compress_generic_internal(ctx, src, dst, srcSizePtr, dstCapacity, cLevel, limit, usingDictCtxHc);
914 limitedOutput_directive limit
918 return LZ4HC_compress_generic_noDictCtx(ctx, src, dst, srcSizePtr, dstCapacity, cLevel, limit);
920 return LZ4HC_compress_generic_dictCtx(ctx, src, dst, srcSizePtr, dstCapacity, cLevel, limit);
1115 limitedOutput_directive limit)
1118 DEBUGLOG(5, "LZ4_compressHC_continue_generic(ctx=%p, src=%p, srcSize=%d, limit=%d)",
1119 LZ4_streamHCPtr, src, *srcSizePtr, limit);
1148 return LZ4HC_compress_generic (ctxPtr, src, dst, srcSizePtr, dstCapacity, ctxPtr->compressionLevel, limit);
1337 const limitedOutput_directive limit,
1367 if (limit == fillOutput) oend -= LASTLITERALS; /* Hack for support LZ4 format restriction */
1384 if ( LZ4HC_encodeSequence(UPDATABLE(ip, op, anchor), firstML, matchPos, limit, oend) ) { /* updates ip, op and anchor */
1560 if ( LZ4HC_encodeSequence(UPDATABLE(ip, op, anchor), ml, ip - offset, limit, oend) ) { /* updates ip, op and anchor */
1572 if (limit == fillOutput) oend += LASTLITERALS; /* restore correct value */
1573 if (limit && (op + totalSize > oend)) {
1574 if (limit == limitedOutput) { /* Check output limit */
1584 ip = anchor + lastRunSize; /* can be != iend if limit==fillOutput */
1604 if (limit == fillOutput) {