Lines Matching refs:sequences
46 ssPtr->sequences = ssPtr->sequencesStart; in ZSTD_resetSeqStore()
567 const seqDef *const sequences = seqStorePtr->sequencesStart; in ZSTD_seqToCodes() local
571 U32 const nbSeq = (U32)(seqStorePtr->sequences - seqStorePtr->sequencesStart); in ZSTD_seqToCodes()
574 U32 const llv = sequences[u].litLength; in ZSTD_seqToCodes()
575 U32 const mlv = sequences[u].matchLength; in ZSTD_seqToCodes()
577 ofCodeTable[u] = (BYTE)ZSTD_highbit32(sequences[u].offset); in ZSTD_seqToCodes()
594 const seqDef *const sequences = seqStorePtr->sequencesStart; in ZSTD_compressSequences_internal() local
601 size_t const nbSeq = seqStorePtr->sequences - seqStorePtr->sequencesStart; in ZSTD_compressSequences_internal()
762 BIT_addBits(&blockStream, sequences[nbSeq - 1].litLength, LL_bits[llCodeTable[nbSeq - 1]]); in ZSTD_compressSequences_internal()
765 BIT_addBits(&blockStream, sequences[nbSeq - 1].matchLength, ML_bits[mlCodeTable[nbSeq - 1]]); in ZSTD_compressSequences_internal()
772 BIT_addBits(&blockStream, sequences[nbSeq - 1].offset, extraBits); in ZSTD_compressSequences_internal()
775 BIT_addBits(&blockStream, sequences[nbSeq - 1].offset >> extraBits, ofBits - extraBits); in ZSTD_compressSequences_internal()
777 BIT_addBits(&blockStream, sequences[nbSeq - 1].offset, ofCodeTable[nbSeq - 1]); in ZSTD_compressSequences_internal()
798 BIT_addBits(&blockStream, sequences[n].litLength, llBits); in ZSTD_compressSequences_internal()
801 BIT_addBits(&blockStream, sequences[n].matchLength, mlBits); in ZSTD_compressSequences_internal()
807 BIT_addBits(&blockStream, sequences[n].offset, extraBits); in ZSTD_compressSequences_internal()
810 BIT_addBits(&blockStream, sequences[n].offset >> extraBits, ofBits - extraBits); /* 31 */ in ZSTD_compressSequences_internal()
812 BIT_addBits(&blockStream, sequences[n].offset, ofBits); /* 31 */ in ZSTD_compressSequences_internal()
870 seqStorePtr->longLengthPos = (U32)(seqStorePtr->sequences - seqStorePtr->sequencesStart); in ZSTD_storeSeq()
872 seqStorePtr->sequences[0].litLength = (U16)litLength; in ZSTD_storeSeq()
875 seqStorePtr->sequences[0].offset = offsetCode + 1; in ZSTD_storeSeq()
880 seqStorePtr->longLengthPos = (U32)(seqStorePtr->sequences - seqStorePtr->sequencesStart); in ZSTD_storeSeq()
882 seqStorePtr->sequences[0].matchLength = (U16)matchCode; in ZSTD_storeSeq()
884 seqStorePtr->sequences++; in ZSTD_storeSeq()