Lines Matching full:sequences
1880 /* sequences storage */ in ZSTD_resetCCtx_internal()
2299 const seqDef* const sequences = seqStorePtr->sequencesStart; in ZSTD_seqToCodes() local
2303 U32 const nbSeq = (U32)(seqStorePtr->sequences - seqStorePtr->sequencesStart); in ZSTD_seqToCodes()
2307 U32 const llv = sequences[u].litLength; in ZSTD_seqToCodes()
2308 U32 const mlv = sequences[u].mlBase; in ZSTD_seqToCodes()
2310 ofCodeTable[u] = (BYTE)ZSTD_highbit32(sequences[u].offBase); in ZSTD_seqToCodes()
2342 * and size of the sequences statistics
2478 * compresses both literals and sequences
2497 const seqDef* const sequences = seqStorePtr->sequencesStart; in ZSTD_entropyCompressSeqStore_internal() local
2498 const size_t nbSeq = seqStorePtr->sequences - seqStorePtr->sequencesStart; in ZSTD_entropyCompressSeqStore_internal()
2516 size_t const numSequences = seqStorePtr->sequences - seqStorePtr->sequencesStart; in ZSTD_entropyCompressSeqStore_internal()
2518 /* Base suspicion of uncompressibility on ratio of literals to sequences */ in ZSTD_entropyCompressSeqStore_internal()
2534 /* Sequences Header */ in ZSTD_entropyCompressSeqStore_internal()
2557 /* build stats for sequences */ in ZSTD_entropyCompressSeqStore_internal()
2574 sequences, nbSeq, in ZSTD_entropyCompressSeqStore_internal()
2717 ssPtr->sequences = ssPtr->sequencesStart; in ZSTD_resetSeqStore()
2757 /* select and store sequences */ in ZSTD_buildSeqStore()
2808 size_t seqStoreSeqSize = seqStore->sequences - seqStoreSeqs; in ZSTD_copyBlockSequences()
2888 size_t ZSTD_mergeBlockDelimiters(ZSTD_Sequence* sequences, size_t seqsSize) { in ZSTD_mergeBlockDelimiters() argument
2892 if (sequences[in].offset == 0 && sequences[in].matchLength == 0) { in ZSTD_mergeBlockDelimiters()
2894 sequences[in+1].litLength += sequences[in].litLength; in ZSTD_mergeBlockDelimiters()
2897 sequences[out] = sequences[in]; in ZSTD_mergeBlockDelimiters()
2935 size_t const nbSeqs = (size_t)(seqStore->sequences - seqStore->sequencesStart); in ZSTD_maybeRLE()
3078 * Builds entropy for the sequences.
3090 size_t const nbSeq = seqStorePtr->sequences - seqStorePtr->sequencesStart; in ZSTD_buildBlockEntropyStats_sequences()
3208 /* Returns the size estimate for the sequences section (header + content) of a block */
3270 (size_t)(seqStore->sequences - seqStore->sequencesStart), in ZSTD_buildEntropyStatisticsAndEstimateSubBlockSize()
3278 size_t const nbSeqs = seqStore->sequences - seqStore->sequencesStart; in ZSTD_countSeqStoreLiteralsBytes()
3293 size_t const nbSeqs = seqStore->sequences - seqStore->sequencesStart; in ZSTD_countSeqStoreMatchBytes()
3317 resultSeqStore->sequences = originalSeqStore->sequencesStart + startIdx; in ZSTD_deriveSeqStoreChunk()
3330 resultSeqStore->sequences = originalSeqStore->sequencesStart + endIdx; in ZSTD_deriveSeqStoreChunk()
3333 if (endIdx == (size_t)(originalSeqStore->sequences - originalSeqStore->sequencesStart)) { in ZSTD_deriveSeqStoreChunk()
3423 …ZSTD_seqStore_resolveOffCodes(dRep, cRep, seqStore, (U32)(seqStore->sequences - seqStore->sequence… in ZSTD_compressSeqStore_singleBlock()
3483 …* Estimates the cost of seqStore prior to split, and estimates the cost of splitting the sequences…
3487 …* Note: The recursion depth is capped by a heuristic minimum number of sequences, defined by MIN_S…
3507 DEBUGLOG(6, "ZSTD_deriveBlockSplitsHelper: Too few sequences"); in ZSTD_deriveBlockSplitsHelper()
3537 DEBUGLOG(4, "ZSTD_deriveBlockSplits: Too few sequences to split"); in ZSTD_deriveBlockSplits()
3538 /* Refuse to try and split anything with less than 4 sequences */ in ZSTD_deriveBlockSplits()
3663 nbSeq = (U32)(zc->seqStore.sequences - zc->seqStore.sequencesStart); in ZSTD_compressBlock_splitBlock()
3699 /* encode sequences and literals */ in ZSTD_compressBlock_internal()
5555 size_t posInSrc; /* Number of bytes given by sequences provided so far */
5596 * ZSTD_Sequence, storing the sequences it finds, until it reaches a block delimiter.
5654 * This function will attempt to scan through blockSize bytes represented by the sequences
5655 * in inSeqs, storing any (partial) sequences.
5796 /* Compress, block-by-block, all of the sequences given.
5861 FORWARD_IF_ERROR(compressedSeqsSize, "Compressing sequences of block failed"); in ZSTD_compressSequences_internal()
5862 DEBUGLOG(4, "Compressed sequences size: %zu", compressedSeqsSize); in ZSTD_compressSequences_internal()
5935 /* cSize includes block header size and compressed sequences size */ in ZSTD_compressSequences()