Lines Matching refs:nbSeq
2121 U32 const nbSeq = (U32)(seqStorePtr->sequences - seqStorePtr->sequencesStart); in ZSTD_seqToCodes() local
2123 assert(nbSeq <= seqStorePtr->maxNbSeq); in ZSTD_seqToCodes()
2124 for (u=0; u<nbSeq; u++) { in ZSTD_seqToCodes()
2172 size_t const nbSeq = (size_t)(seqStorePtr->sequences - seqStorePtr->sequencesStart); in ZSTD_entropyCompressSequences_internal() local
2179 DEBUGLOG(4, "ZSTD_entropyCompressSequences_internal (nbSeq=%zu)", nbSeq); in ZSTD_entropyCompressSequences_internal()
2202 if (nbSeq < 128) { in ZSTD_entropyCompressSequences_internal()
2203 *op++ = (BYTE)nbSeq; in ZSTD_entropyCompressSequences_internal()
2204 } else if (nbSeq < LONGNBSEQ) { in ZSTD_entropyCompressSequences_internal()
2205 op[0] = (BYTE)((nbSeq>>8) + 0x80); in ZSTD_entropyCompressSequences_internal()
2206 op[1] = (BYTE)nbSeq; in ZSTD_entropyCompressSequences_internal()
2210 MEM_writeLE16(op+1, (U16)(nbSeq - LONGNBSEQ)); in ZSTD_entropyCompressSequences_internal()
2214 if (nbSeq==0) { in ZSTD_entropyCompressSequences_internal()
2228 …size_t const mostFrequent = HIST_countFast_wksp(count, &max, llCodeTable, nbSeq, entropyWorkspace,… in ZSTD_entropyCompressSequences_internal()
2232 count, max, mostFrequent, nbSeq, in ZSTD_entropyCompressSequences_internal()
2241 count, max, llCodeTable, nbSeq, in ZSTD_entropyCompressSequences_internal()
2255 count, &max, ofCodeTable, nbSeq, entropyWorkspace, entropyWkspSize); /* can't fail */ in ZSTD_entropyCompressSequences_internal()
2261 count, max, mostFrequent, nbSeq, in ZSTD_entropyCompressSequences_internal()
2269 count, max, ofCodeTable, nbSeq, in ZSTD_entropyCompressSequences_internal()
2283 count, &max, mlCodeTable, nbSeq, entropyWorkspace, entropyWkspSize); /* can't fail */ in ZSTD_entropyCompressSequences_internal()
2287 count, max, mostFrequent, nbSeq, in ZSTD_entropyCompressSequences_internal()
2295 count, max, mlCodeTable, nbSeq, in ZSTD_entropyCompressSequences_internal()
2314 sequences, nbSeq, in ZSTD_entropyCompressSequences_internal()
2972 size_t ZSTD_referenceExternalSequences(ZSTD_CCtx* cctx, rawSeq* seq, size_t nbSeq) in ZSTD_referenceExternalSequences() argument
2980 cctx->externSeqStore.size = nbSeq; in ZSTD_referenceExternalSequences()
2981 cctx->externSeqStore.capacity = nbSeq; in ZSTD_referenceExternalSequences()