Lines Matching refs:nbSeq
610 int ddictIsCold, int nbSeq, U32* wksp, size_t wkspSize, in ZSTD_buildSeqTable() argument
631 if (ddictIsCold && (nbSeq > 24 /* heuristic */)) { in ZSTD_buildSeqTable()
659 int nbSeq; in ZSTD_decodeSeqHeaders() local
666 nbSeq = *ip++; in ZSTD_decodeSeqHeaders()
667 if (!nbSeq) { in ZSTD_decodeSeqHeaders()
672 if (nbSeq > 0x7F) { in ZSTD_decodeSeqHeaders()
673 if (nbSeq == 0xFF) { in ZSTD_decodeSeqHeaders()
675 nbSeq = MEM_readLE16(ip) + LONGNBSEQ; in ZSTD_decodeSeqHeaders()
679 nbSeq = ((nbSeq-0x80)<<8) + *ip++; in ZSTD_decodeSeqHeaders()
682 *nbSeqPtr = nbSeq; in ZSTD_decodeSeqHeaders()
697 dctx->ddictIsCold, nbSeq, in ZSTD_decodeSeqHeaders()
709 dctx->ddictIsCold, nbSeq, in ZSTD_decodeSeqHeaders()
721 dctx->ddictIsCold, nbSeq, in ZSTD_decodeSeqHeaders()
1324 const void* seqStart, size_t seqSize, int nbSeq, argument
1342 if (nbSeq) {
1433 if (UNLIKELY(!--nbSeq))
1440 if (nbSeq > 0) {
1462 if (--nbSeq)
1468 if (nbSeq > 0) /* there is remaining lit from extra buffer */
1499 if (UNLIKELY(!--nbSeq))
1506 …(5, "ZSTD_decompressSequences_bodySplitLitBuffer: after decode loop, remaining nbSeq : %i", nbSeq);
1507 RETURN_ERROR_IF(nbSeq, corruption_detected, "");
1541 const void* seqStart, size_t seqSize, int nbSeq, argument
1559 if (nbSeq) {
1601 if (UNLIKELY(!--nbSeq))
1607 … DEBUGLOG(5, "ZSTD_decompressSequences_body: after decode loop, remaining nbSeq : %i", nbSeq);
1608 RETURN_ERROR_IF(nbSeq, corruption_detected, "");
1629 const void* seqStart, size_t seqSize, int nbSeq, argument
1633 …return ZSTD_decompressSequences_body(dctx, dst, maxDstSize, seqStart, seqSize, nbSeq, isLongOffset…
1639 const void* seqStart, size_t seqSize, int nbSeq, argument
1643 …essSequences_bodySplitLitBuffer(dctx, dst, maxDstSize, seqStart, seqSize, nbSeq, isLongOffset, fra…
1670 const void* seqStart, size_t seqSize, int nbSeq, argument
1687 if (nbSeq) {
1692 int const seqAdvance = MIN(nbSeq, ADVANCED_SEQS);
1717 …for (; (BIT_reloadDStream(&(seqState.DStream)) <= BIT_DStream_completed) && (seqNb < nbSeq); seqNb…
1763 RETURN_ERROR_IF(seqNb<nbSeq, corruption_detected, "");
1767 for ( ; seqNb<nbSeq ; seqNb++) {
1836 const void* seqStart, size_t seqSize, int nbSeq, argument
1840 …return ZSTD_decompressSequencesLong_body(dctx, dst, maxDstSize, seqStart, seqSize, nbSeq, isLongOf…
1853 const void* seqStart, size_t seqSize, int nbSeq, argument
1857 …return ZSTD_decompressSequences_body(dctx, dst, maxDstSize, seqStart, seqSize, nbSeq, isLongOffset…
1863 const void* seqStart, size_t seqSize, int nbSeq, argument
1867 …essSequences_bodySplitLitBuffer(dctx, dst, maxDstSize, seqStart, seqSize, nbSeq, isLongOffset, fra…
1875 const void* seqStart, size_t seqSize, int nbSeq, argument
1879 …return ZSTD_decompressSequencesLong_body(dctx, dst, maxDstSize, seqStart, seqSize, nbSeq, isLongOf…
1888 const void* seqStart, size_t seqSize, int nbSeq,
1895 const void* seqStart, size_t seqSize, int nbSeq, argument
1902 …return ZSTD_decompressSequences_bmi2(dctx, dst, maxDstSize, seqStart, seqSize, nbSeq, isLongOffset…
1905 …return ZSTD_decompressSequences_default(dctx, dst, maxDstSize, seqStart, seqSize, nbSeq, isLongOff…
1909 const void* seqStart, size_t seqSize, int nbSeq, argument
1916 …essSequencesSplitLitBuffer_bmi2(dctx, dst, maxDstSize, seqStart, seqSize, nbSeq, isLongOffset, fra…
1919 …SequencesSplitLitBuffer_default(dctx, dst, maxDstSize, seqStart, seqSize, nbSeq, isLongOffset, fra…
1933 const void* seqStart, size_t seqSize, int nbSeq, argument
1940 …return ZSTD_decompressSequencesLong_bmi2(dctx, dst, maxDstSize, seqStart, seqSize, nbSeq, isLongOf…
1943 …return ZSTD_decompressSequencesLong_default(dctx, dst, maxDstSize, seqStart, seqSize, nbSeq, isLon…
2012 int nbSeq; local
2013 size_t const seqHSize = ZSTD_decodeSeqHeaders(dctx, &nbSeq, ip, srcSize);
2018 RETURN_ERROR_IF(dst == NULL && nbSeq > 0, dstSize_tooSmall, "NULL not handled");
2024 && (nbSeq>ADVANCED_SEQS) ) { /* could probably use a larger nbSeq limit */
2038 …return ZSTD_decompressSequencesLong(dctx, dst, dstCapacity, ip, srcSize, nbSeq, isLongOffset, fram…
2044 …TD_decompressSequencesSplitLitBuffer(dctx, dst, dstCapacity, ip, srcSize, nbSeq, isLongOffset, fra…
2046 … return ZSTD_decompressSequences(dctx, dst, dstCapacity, ip, srcSize, nbSeq, isLongOffset, frame);