Lines Matching refs:seqStorePtr

114 size_t ZSTD_buildBlockEntropyStats(seqStore_t* seqStorePtr,
588 ZSTD_storeSeq(seqStore_t* seqStorePtr, in ZSTD_storeSeq() argument
603 assert((size_t)(seqStorePtr->sequences - seqStorePtr->sequencesStart) < seqStorePtr->maxNbSeq); in ZSTD_storeSeq()
605 assert(seqStorePtr->maxNbLit <= 128 KB); in ZSTD_storeSeq()
606 assert(seqStorePtr->lit + litLength <= seqStorePtr->litStart + seqStorePtr->maxNbLit); in ZSTD_storeSeq()
613 ZSTD_copy16(seqStorePtr->lit, literals); in ZSTD_storeSeq()
615 … ZSTD_wildcopy(seqStorePtr->lit+16, literals+16, (ptrdiff_t)litLength-16, ZSTD_no_overlap); in ZSTD_storeSeq()
618 ZSTD_safecopyLiterals(seqStorePtr->lit, literals, litEnd, litLimit_w); in ZSTD_storeSeq()
620 seqStorePtr->lit += litLength; in ZSTD_storeSeq()
624 … assert(seqStorePtr->longLengthType == ZSTD_llt_none); /* there can only be a single long length */ in ZSTD_storeSeq()
625 seqStorePtr->longLengthType = ZSTD_llt_literalLength; in ZSTD_storeSeq()
626 seqStorePtr->longLengthPos = (U32)(seqStorePtr->sequences - seqStorePtr->sequencesStart); in ZSTD_storeSeq()
628 seqStorePtr->sequences[0].litLength = (U16)litLength; in ZSTD_storeSeq()
631 seqStorePtr->sequences[0].offBase = STORED_TO_OFFBASE(offBase_minus1); in ZSTD_storeSeq()
637 … assert(seqStorePtr->longLengthType == ZSTD_llt_none); /* there can only be a single long length */ in ZSTD_storeSeq()
638 seqStorePtr->longLengthType = ZSTD_llt_matchLength; in ZSTD_storeSeq()
639seqStorePtr->longLengthPos = (U32)(seqStorePtr->sequences - seqStorePtr->sequencesStart); in ZSTD_storeSeq()
641 seqStorePtr->sequences[0].mlBase = (U16)mlBase; in ZSTD_storeSeq()
644 seqStorePtr->sequences++; in ZSTD_storeSeq()