Home
last modified time | relevance | path

Searched refs:seqStorePtr (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/lib/zstd/compress/
Dzstd_compress_internal.h114 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()
[all …]
Dzstd_compress_superblock.c425 static size_t ZSTD_compressSubBlock_multi(const seqStore_t* seqStorePtr, in ZSTD_compressSubBlock_multi() argument
435 const seqDef* const sstart = seqStorePtr->sequencesStart; in ZSTD_compressSubBlock_multi()
436 const seqDef* const send = seqStorePtr->sequences; in ZSTD_compressSubBlock_multi()
438 const BYTE* const lstart = seqStorePtr->litStart; in ZSTD_compressSubBlock_multi()
439 const BYTE* const lend = seqStorePtr->lit; in ZSTD_compressSubBlock_multi()
446 const BYTE* llCodePtr = seqStorePtr->llCode; in ZSTD_compressSubBlock_multi()
447 const BYTE* mlCodePtr = seqStorePtr->mlCode; in ZSTD_compressSubBlock_multi()
448 const BYTE* ofCodePtr = seqStorePtr->ofCode; in ZSTD_compressSubBlock_multi()
467 litSize += ZSTD_getSequenceLength(seqStorePtr, sequence).litLength; in ZSTD_compressSubBlock_multi()
486 …const size_t decompressedSize = ZSTD_seqDecompressedSize(seqStorePtr, sp, seqCount, litSize, lastS… in ZSTD_compressSubBlock_multi()
[all …]
Dzstd_compress.c2297 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()
[all …]
/linux-6.12.1/lib/zstd/common/
Dzstd_internal.h345 void ZSTD_seqToCodes(const seqStore_t* seqStorePtr); /* compress, dictBuilder, decodeCorpus (shou…