Lines Matching refs:seqStorePtr

2297 void ZSTD_seqToCodes(const seqStore_t* seqStorePtr)  in ZSTD_seqToCodes()  argument
2299 const seqDef* const sequences = seqStorePtr->sequencesStart; in ZSTD_seqToCodes()
2300 BYTE* const llCodeTable = seqStorePtr->llCode; in ZSTD_seqToCodes()
2301 BYTE* const ofCodeTable = seqStorePtr->ofCode; in ZSTD_seqToCodes()
2302 BYTE* const mlCodeTable = seqStorePtr->mlCode; in ZSTD_seqToCodes()
2303 U32 const nbSeq = (U32)(seqStorePtr->sequences - seqStorePtr->sequencesStart); in ZSTD_seqToCodes()
2305 assert(nbSeq <= seqStorePtr->maxNbSeq); in ZSTD_seqToCodes()
2313 if (seqStorePtr->longLengthType==ZSTD_llt_literalLength) in ZSTD_seqToCodes()
2314 llCodeTable[seqStorePtr->longLengthPos] = MaxLL; in ZSTD_seqToCodes()
2315 if (seqStorePtr->longLengthType==ZSTD_llt_matchLength) in ZSTD_seqToCodes()
2316 mlCodeTable[seqStorePtr->longLengthPos] = MaxML; in ZSTD_seqToCodes()
2360 ZSTD_buildSequencesStatistics(seqStore_t* seqStorePtr, size_t nbSeq, in ZSTD_buildSequencesStatistics() argument
2371 const BYTE* const ofCodeTable = seqStorePtr->ofCode; in ZSTD_buildSequencesStatistics()
2372 const BYTE* const llCodeTable = seqStorePtr->llCode; in ZSTD_buildSequencesStatistics()
2373 const BYTE* const mlCodeTable = seqStorePtr->mlCode; in ZSTD_buildSequencesStatistics()
2378 ZSTD_seqToCodes(seqStorePtr); in ZSTD_buildSequencesStatistics()
2483 ZSTD_entropyCompressSeqStore_internal(seqStore_t* seqStorePtr, in ZSTD_entropyCompressSeqStore_internal() argument
2497 const seqDef* const sequences = seqStorePtr->sequencesStart; in ZSTD_entropyCompressSeqStore_internal()
2498 const size_t nbSeq = seqStorePtr->sequences - seqStorePtr->sequencesStart; in ZSTD_entropyCompressSeqStore_internal()
2499 const BYTE* const ofCodeTable = seqStorePtr->ofCode; in ZSTD_entropyCompressSeqStore_internal()
2500 const BYTE* const llCodeTable = seqStorePtr->llCode; in ZSTD_entropyCompressSeqStore_internal()
2501 const BYTE* const mlCodeTable = seqStorePtr->mlCode; in ZSTD_entropyCompressSeqStore_internal()
2515 { const BYTE* const literals = seqStorePtr->litStart; in ZSTD_entropyCompressSeqStore_internal()
2516 size_t const numSequences = seqStorePtr->sequences - seqStorePtr->sequencesStart; in ZSTD_entropyCompressSeqStore_internal()
2517 size_t const numLiterals = seqStorePtr->lit - seqStorePtr->litStart; in ZSTD_entropyCompressSeqStore_internal()
2520 size_t const litSize = (size_t)(seqStorePtr->lit - literals); in ZSTD_entropyCompressSeqStore_internal()
2558 stats = ZSTD_buildSequencesStatistics(seqStorePtr, nbSeq, in ZSTD_entropyCompressSeqStore_internal()
2601 ZSTD_entropyCompressSeqStore(seqStore_t* seqStorePtr, in ZSTD_entropyCompressSeqStore() argument
2611 seqStorePtr, prevEntropy, nextEntropy, cctxParams, in ZSTD_entropyCompressSeqStore()
2707 static void ZSTD_storeLastLiterals(seqStore_t* seqStorePtr, in ZSTD_storeLastLiterals() argument
2710 ZSTD_memcpy(seqStorePtr->lit, anchor, lastLLSize); in ZSTD_storeLastLiterals()
2711 seqStorePtr->lit += lastLLSize; in ZSTD_storeLastLiterals()
3082 static size_t ZSTD_buildBlockEntropyStats_sequences(seqStore_t* seqStorePtr, in ZSTD_buildBlockEntropyStats_sequences() argument
3090 size_t const nbSeq = seqStorePtr->sequences - seqStorePtr->sequencesStart; in ZSTD_buildBlockEntropyStats_sequences()
3100 stats = nbSeq != 0 ? ZSTD_buildSequencesStatistics(seqStorePtr, nbSeq, in ZSTD_buildBlockEntropyStats_sequences()
3120 size_t ZSTD_buildBlockEntropyStats(seqStore_t* seqStorePtr, in ZSTD_buildBlockEntropyStats() argument
3127 size_t const litSize = seqStorePtr->lit - seqStorePtr->litStart; in ZSTD_buildBlockEntropyStats()
3129 ZSTD_buildBlockEntropyStats_literals(seqStorePtr->litStart, litSize, in ZSTD_buildBlockEntropyStats()
3136 ZSTD_buildBlockEntropyStats_sequences(seqStorePtr, in ZSTD_buildBlockEntropyStats()