Lines Matching refs:nbSeq
2070 U32 const nbSeq = (U32)(seqStorePtr->sequences - seqStorePtr->sequencesStart); in ZSTD_seqToCodes() local
2072 assert(nbSeq <= seqStorePtr->maxNbSeq); in ZSTD_seqToCodes()
2073 for (u=0; u<nbSeq; u++) { in ZSTD_seqToCodes()
2121 size_t const nbSeq = (size_t)(seqStorePtr->sequences - seqStorePtr->sequencesStart); in ZSTD_entropyCompressSequences_internal() local
2128 DEBUGLOG(4, "ZSTD_entropyCompressSequences_internal (nbSeq=%zu)", nbSeq); in ZSTD_entropyCompressSequences_internal()
2151 if (nbSeq < 128) { in ZSTD_entropyCompressSequences_internal()
2152 *op++ = (BYTE)nbSeq; in ZSTD_entropyCompressSequences_internal()
2153 } else if (nbSeq < LONGNBSEQ) { in ZSTD_entropyCompressSequences_internal()
2154 op[0] = (BYTE)((nbSeq>>8) + 0x80); in ZSTD_entropyCompressSequences_internal()
2155 op[1] = (BYTE)nbSeq; in ZSTD_entropyCompressSequences_internal()
2159 MEM_writeLE16(op+1, (U16)(nbSeq - LONGNBSEQ)); in ZSTD_entropyCompressSequences_internal()
2163 if (nbSeq==0) { in ZSTD_entropyCompressSequences_internal()
2177 …size_t const mostFrequent = HIST_countFast_wksp(count, &max, llCodeTable, nbSeq, entropyWorkspace,… in ZSTD_entropyCompressSequences_internal()
2181 count, max, mostFrequent, nbSeq, in ZSTD_entropyCompressSequences_internal()
2190 count, max, llCodeTable, nbSeq, in ZSTD_entropyCompressSequences_internal()
2204 count, &max, ofCodeTable, nbSeq, entropyWorkspace, entropyWkspSize); /* can't fail */ in ZSTD_entropyCompressSequences_internal()
2210 count, max, mostFrequent, nbSeq, in ZSTD_entropyCompressSequences_internal()
2218 count, max, ofCodeTable, nbSeq, in ZSTD_entropyCompressSequences_internal()
2232 count, &max, mlCodeTable, nbSeq, entropyWorkspace, entropyWkspSize); /* can't fail */ in ZSTD_entropyCompressSequences_internal()
2236 count, max, mostFrequent, nbSeq, in ZSTD_entropyCompressSequences_internal()
2244 count, max, mlCodeTable, nbSeq, in ZSTD_entropyCompressSequences_internal()
2263 sequences, nbSeq, in ZSTD_entropyCompressSequences_internal()
2945 size_t ZSTD_referenceExternalSequences(ZSTD_CCtx* cctx, rawSeq* seq, size_t nbSeq) in ZSTD_referenceExternalSequences() argument
2953 cctx->externSeqStore.size = nbSeq; in ZSTD_referenceExternalSequences()
2954 cctx->externSeqStore.capacity = nbSeq; in ZSTD_referenceExternalSequences()