Searched refs:rawSeqStore (Results 1 – 4 of 4) sorted by relevance
/external/zstd/lib/compress/ |
D | zstd_ldm.c | 271 ldmState_t* ldmState, rawSeqStore_t* rawSeqStore, in ZSTD_ldm_generateSequences_internal() argument 400 rawSeq* const seq = rawSeqStore->seq + rawSeqStore->size; in ZSTD_ldm_generateSequences_internal() 403 if (rawSeqStore->size == rawSeqStore->capacity) in ZSTD_ldm_generateSequences_internal() 408 rawSeqStore->size++; in ZSTD_ldm_generateSequences_internal() 521 void ZSTD_ldm_skipSequences(rawSeqStore_t* rawSeqStore, size_t srcSize, U32 const minMatch) { in ZSTD_ldm_skipSequences() argument 522 while (srcSize > 0 && rawSeqStore->pos < rawSeqStore->size) { in ZSTD_ldm_skipSequences() 523 rawSeq* seq = rawSeqStore->seq + rawSeqStore->pos; in ZSTD_ldm_skipSequences() 536 if (rawSeqStore->pos + 1 < rawSeqStore->size) { in ZSTD_ldm_skipSequences() 539 rawSeqStore->pos++; in ZSTD_ldm_skipSequences() 545 rawSeqStore->pos++; in ZSTD_ldm_skipSequences() [all …]
|
D | zstd_ldm.h | 67 size_t ZSTD_ldm_blockCompress(rawSeqStore_t* rawSeqStore, 78 void ZSTD_ldm_skipSequences(rawSeqStore_t* rawSeqStore, size_t srcSize, 86 void ZSTD_ldm_skipRawSeqStoreBytes(rawSeqStore_t* rawSeqStore, size_t nbBytes);
|
D | zstd_opt.c | 782 static void ZSTD_optLdm_skipRawSeqStoreBytes(rawSeqStore_t* rawSeqStore, size_t nbBytes) { in ZSTD_optLdm_skipRawSeqStoreBytes() argument 783 U32 currPos = (U32)(rawSeqStore->posInSequence + nbBytes); in ZSTD_optLdm_skipRawSeqStoreBytes() 784 while (currPos && rawSeqStore->pos < rawSeqStore->size) { in ZSTD_optLdm_skipRawSeqStoreBytes() 785 rawSeq currSeq = rawSeqStore->seq[rawSeqStore->pos]; in ZSTD_optLdm_skipRawSeqStoreBytes() 788 rawSeqStore->pos++; in ZSTD_optLdm_skipRawSeqStoreBytes() 790 rawSeqStore->posInSequence = currPos; in ZSTD_optLdm_skipRawSeqStoreBytes() 794 if (currPos == 0 || rawSeqStore->pos == rawSeqStore->size) { in ZSTD_optLdm_skipRawSeqStoreBytes() 795 rawSeqStore->posInSequence = 0; in ZSTD_optLdm_skipRawSeqStoreBytes()
|
D | zstdmt_compress.c | 666 rawSeqStore_t rawSeqStore = ZSTDMT_getSeq(job->seqPool); in ZSTDMT_compressionJob() local 677 if (jobParams.ldmParams.enableLdm && rawSeqStore.seq == NULL) in ZSTDMT_compressionJob() 707 ZSTDMT_serialState_update(job->serial, cctx, rawSeqStore, job->src, job->jobID); in ZSTDMT_compressionJob() 760 ZSTDMT_releaseSeq(job->seqPool, rawSeqStore); in ZSTDMT_compressionJob()
|