Home
last modified time | relevance | path

Searched refs:rawSeqStore (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/lib/zstd/compress/
Dzstd_ldm.c322 ldmState_t* ldmState, rawSeqStore_t* rawSeqStore, in ZSTD_ldm_generateSequences_internal() argument
454 rawSeq* const seq = rawSeqStore->seq + rawSeqStore->size; in ZSTD_ldm_generateSequences_internal()
457 if (rawSeqStore->size == rawSeqStore->capacity) in ZSTD_ldm_generateSequences_internal()
462 rawSeqStore->size++; in ZSTD_ldm_generateSequences_internal()
583 ZSTD_ldm_skipSequences(rawSeqStore_t* rawSeqStore, size_t srcSize, U32 const minMatch) in ZSTD_ldm_skipSequences() argument
585 while (srcSize > 0 && rawSeqStore->pos < rawSeqStore->size) { in ZSTD_ldm_skipSequences()
586 rawSeq* seq = rawSeqStore->seq + rawSeqStore->pos; in ZSTD_ldm_skipSequences()
599 if (rawSeqStore->pos + 1 < rawSeqStore->size) { in ZSTD_ldm_skipSequences()
602 rawSeqStore->pos++; in ZSTD_ldm_skipSequences()
608 rawSeqStore->pos++; in ZSTD_ldm_skipSequences()
[all …]
Dzstd_ldm.h64 size_t ZSTD_ldm_blockCompress(rawSeqStore_t* rawSeqStore,
76 void ZSTD_ldm_skipSequences(rawSeqStore_t* rawSeqStore, size_t srcSize,
84 void ZSTD_ldm_skipRawSeqStoreBytes(rawSeqStore_t* rawSeqStore, size_t nbBytes);
Dzstd_opt.c881 static void ZSTD_optLdm_skipRawSeqStoreBytes(rawSeqStore_t* rawSeqStore, size_t nbBytes) in ZSTD_optLdm_skipRawSeqStoreBytes() argument
883 U32 currPos = (U32)(rawSeqStore->posInSequence + nbBytes); in ZSTD_optLdm_skipRawSeqStoreBytes()
884 while (currPos && rawSeqStore->pos < rawSeqStore->size) { in ZSTD_optLdm_skipRawSeqStoreBytes()
885 rawSeq currSeq = rawSeqStore->seq[rawSeqStore->pos]; in ZSTD_optLdm_skipRawSeqStoreBytes()
888 rawSeqStore->pos++; in ZSTD_optLdm_skipRawSeqStoreBytes()
890 rawSeqStore->posInSequence = currPos; in ZSTD_optLdm_skipRawSeqStoreBytes()
894 if (currPos == 0 || rawSeqStore->pos == rawSeqStore->size) { in ZSTD_optLdm_skipRawSeqStoreBytes()
895 rawSeqStore->posInSequence = 0; in ZSTD_optLdm_skipRawSeqStoreBytes()