Lines Matching refs:nbSeq
534 int ddictIsCold, int nbSeq, U32* wksp, size_t wkspSize, in ZSTD_buildSeqTable() argument
555 if (ddictIsCold && (nbSeq > 24 /* heuristic */)) { in ZSTD_buildSeqTable()
583 int nbSeq; in ZSTD_decodeSeqHeaders() local
590 nbSeq = *ip++; in ZSTD_decodeSeqHeaders()
591 if (!nbSeq) { in ZSTD_decodeSeqHeaders()
596 if (nbSeq > 0x7F) { in ZSTD_decodeSeqHeaders()
597 if (nbSeq == 0xFF) { in ZSTD_decodeSeqHeaders()
599 nbSeq = MEM_readLE16(ip) + LONGNBSEQ; in ZSTD_decodeSeqHeaders()
603 nbSeq = ((nbSeq-0x80)<<8) + *ip++; in ZSTD_decodeSeqHeaders()
606 *nbSeqPtr = nbSeq; in ZSTD_decodeSeqHeaders()
621 dctx->ddictIsCold, nbSeq, in ZSTD_decodeSeqHeaders()
633 dctx->ddictIsCold, nbSeq, in ZSTD_decodeSeqHeaders()
645 dctx->ddictIsCold, nbSeq, in ZSTD_decodeSeqHeaders()
1105 const void* seqStart, size_t seqSize, int nbSeq, in ZSTD_decompressSequences_body() argument
1123 if (nbSeq) { in ZSTD_decompressSequences_body()
1199 if (UNLIKELY(!--nbSeq)) break; in ZSTD_decompressSequences_body()
1203 … DEBUGLOG(5, "ZSTD_decompressSequences_body: after decode loop, remaining nbSeq : %i", nbSeq); in ZSTD_decompressSequences_body()
1205 RETURN_ERROR_IF(nbSeq, corruption_detected, ""); in ZSTD_decompressSequences_body()
1226 const void* seqStart, size_t seqSize, int nbSeq, in ZSTD_decompressSequences_default() argument
1230 …return ZSTD_decompressSequences_body(dctx, dst, maxDstSize, seqStart, seqSize, nbSeq, isLongOffset… in ZSTD_decompressSequences_default()
1239 const void* seqStart, size_t seqSize, int nbSeq, in ZSTD_decompressSequencesLong_body() argument
1256 if (nbSeq) { in ZSTD_decompressSequencesLong_body()
1261 int const seqAdvance = MIN(nbSeq, ADVANCED_SEQS); in ZSTD_decompressSequencesLong_body()
1286 …for ( ; (BIT_reloadDStream(&(seqState.DStream)) <= BIT_DStream_completed) && (seqNb<nbSeq) ; seqNb… in ZSTD_decompressSequencesLong_body()
1298 RETURN_ERROR_IF(seqNb<nbSeq, corruption_detected, ""); in ZSTD_decompressSequencesLong_body()
1302 for ( ; seqNb<nbSeq ; seqNb++) { in ZSTD_decompressSequencesLong_body()
1331 const void* seqStart, size_t seqSize, int nbSeq, in ZSTD_decompressSequencesLong_default() argument
1335 …return ZSTD_decompressSequencesLong_body(dctx, dst, maxDstSize, seqStart, seqSize, nbSeq, isLongOf… in ZSTD_decompressSequencesLong_default()
1348 const void* seqStart, size_t seqSize, int nbSeq, in ZSTD_decompressSequences_bmi2() argument
1352 …return ZSTD_decompressSequences_body(dctx, dst, maxDstSize, seqStart, seqSize, nbSeq, isLongOffset… in ZSTD_decompressSequences_bmi2()
1360 const void* seqStart, size_t seqSize, int nbSeq, in ZSTD_decompressSequencesLong_bmi2() argument
1364 …return ZSTD_decompressSequencesLong_body(dctx, dst, maxDstSize, seqStart, seqSize, nbSeq, isLongOf… in ZSTD_decompressSequencesLong_bmi2()
1373 const void* seqStart, size_t seqSize, int nbSeq,
1380 const void* seqStart, size_t seqSize, int nbSeq, in ZSTD_decompressSequences() argument
1387 …return ZSTD_decompressSequences_bmi2(dctx, dst, maxDstSize, seqStart, seqSize, nbSeq, isLongOffset… in ZSTD_decompressSequences()
1390 …return ZSTD_decompressSequences_default(dctx, dst, maxDstSize, seqStart, seqSize, nbSeq, isLongOff… in ZSTD_decompressSequences()
1404 const void* seqStart, size_t seqSize, int nbSeq, in ZSTD_decompressSequencesLong() argument
1411 …return ZSTD_decompressSequencesLong_bmi2(dctx, dst, maxDstSize, seqStart, seqSize, nbSeq, isLongOf… in ZSTD_decompressSequencesLong()
1414 …return ZSTD_decompressSequencesLong_default(dctx, dst, maxDstSize, seqStart, seqSize, nbSeq, isLon… in ZSTD_decompressSequencesLong()
1483 int nbSeq; in ZSTD_decompressBlock_internal() local
1484 size_t const seqHSize = ZSTD_decodeSeqHeaders(dctx, &nbSeq, ip, srcSize); in ZSTD_decompressBlock_internal()
1489 RETURN_ERROR_IF(dst == NULL && nbSeq > 0, dstSize_tooSmall, "NULL not handled"); in ZSTD_decompressBlock_internal()
1495 && (nbSeq>ADVANCED_SEQS) ) { /* could probably use a larger nbSeq limit */ in ZSTD_decompressBlock_internal()
1509 …return ZSTD_decompressSequencesLong(dctx, dst, dstCapacity, ip, srcSize, nbSeq, isLongOffset, fram… in ZSTD_decompressBlock_internal()
1514 … return ZSTD_decompressSequences(dctx, dst, dstCapacity, ip, srcSize, nbSeq, isLongOffset, frame); in ZSTD_decompressBlock_internal()