Lines Matching refs:srcSize
323 ldmParams_t const* params, void const* src, size_t srcSize) in ZSTD_ldm_generateSequences_internal() argument
340 BYTE const* const iend = istart + srcSize; in ZSTD_ldm_generateSequences_internal()
352 if (srcSize < minMatchLength) in ZSTD_ldm_generateSequences_internal()
507 ldmParams_t const* params, void const* src, size_t srcSize) in ZSTD_ldm_generateSequences() argument
511 BYTE const* const iend = istart + srcSize; in ZSTD_ldm_generateSequences()
513 size_t const nbChunks = (srcSize / kMaxChunkSize) + ((srcSize % kMaxChunkSize) != 0); in ZSTD_ldm_generateSequences()
521 assert(ldmState->window.nextSrc >= (BYTE const*)src + srcSize); in ZSTD_ldm_generateSequences()
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()
587 if (srcSize <= seq->litLength) { in ZSTD_ldm_skipSequences()
589 seq->litLength -= (U32)srcSize; in ZSTD_ldm_skipSequences()
592 srcSize -= seq->litLength; in ZSTD_ldm_skipSequences()
594 if (srcSize < seq->matchLength) { in ZSTD_ldm_skipSequences()
596 seq->matchLength -= (U32)srcSize; in ZSTD_ldm_skipSequences()
606 srcSize -= seq->matchLength; in ZSTD_ldm_skipSequences()
663 void const* src, size_t srcSize) in ZSTD_ldm_blockCompress() argument
671 BYTE const* const iend = istart + srcSize; in ZSTD_ldm_blockCompress()
675 DEBUGLOG(5, "ZSTD_ldm_blockCompress: srcSize=%zu", srcSize); in ZSTD_ldm_blockCompress()
680 lastLLSize = blockCompressor(ms, seqStore, rep, src, srcSize); in ZSTD_ldm_blockCompress()
681 ZSTD_ldm_skipRawSeqStoreBytes(rawSeqStore, srcSize); in ZSTD_ldm_blockCompress()