Lines Matching refs:srcSize
125 const BYTE* const src, size_t const srcSize, in ZSTD_rescaleFreqs() argument
129 DEBUGLOG(5, "ZSTD_rescaleFreqs (srcSize=%u)", (unsigned)srcSize); in ZSTD_rescaleFreqs()
133 if (srcSize <= ZSTD_PREDEF_THRESHOLD) { /* heuristic */ in ZSTD_rescaleFreqs()
196 …HIST_count_simple(optPtr->litFreq, &lit, src, srcSize); /* use raw first block to init statistic… in ZSTD_rescaleFreqs()
1040 const void* src, size_t srcSize, in ZSTD_compressBlock_opt_generic() argument
1048 const BYTE* const iend = istart + srcSize; in ZSTD_compressBlock_opt_generic()
1073 ZSTD_rescaleFreqs(optStatePtr, (const BYTE*)src, srcSize, optLevel); in ZSTD_compressBlock_opt_generic()
1326 const void* src, size_t srcSize, const ZSTD_dictMode_e dictMode) in ZSTD_compressBlock_opt0() argument
1328 …return ZSTD_compressBlock_opt_generic(ms, seqStore, rep, src, srcSize, 0 /* optLevel */, dictMode); in ZSTD_compressBlock_opt0()
1333 const void* src, size_t srcSize, const ZSTD_dictMode_e dictMode) in ZSTD_compressBlock_opt2() argument
1335 …return ZSTD_compressBlock_opt_generic(ms, seqStore, rep, src, srcSize, 2 /* optLevel */, dictMode); in ZSTD_compressBlock_opt2()
1340 const void* src, size_t srcSize) in ZSTD_compressBlock_btopt() argument
1343 return ZSTD_compressBlock_opt0(ms, seqStore, rep, src, srcSize, ZSTD_noDict); in ZSTD_compressBlock_btopt()
1358 const void* src, size_t srcSize) in ZSTD_initStats_ultra() argument
1363 DEBUGLOG(4, "ZSTD_initStats_ultra (srcSize=%zu)", srcSize); in ZSTD_initStats_ultra()
1369 …ZSTD_compressBlock_opt2(ms, seqStore, tmpRep, src, srcSize, ZSTD_noDict); /* generate stats into… in ZSTD_initStats_ultra()
1373 ms->window.base -= srcSize; in ZSTD_initStats_ultra()
1374 ms->window.dictLimit += (U32)srcSize; in ZSTD_initStats_ultra()
1382 const void* src, size_t srcSize) in ZSTD_compressBlock_btultra() argument
1384 DEBUGLOG(5, "ZSTD_compressBlock_btultra (srcSize=%zu)", srcSize); in ZSTD_compressBlock_btultra()
1385 return ZSTD_compressBlock_opt2(ms, seqStore, rep, src, srcSize, ZSTD_noDict); in ZSTD_compressBlock_btultra()
1390 const void* src, size_t srcSize) in ZSTD_compressBlock_btultra2() argument
1393 DEBUGLOG(5, "ZSTD_compressBlock_btultra2 (srcSize=%zu)", srcSize); in ZSTD_compressBlock_btultra2()
1403 assert(srcSize <= ZSTD_BLOCKSIZE_MAX); in ZSTD_compressBlock_btultra2()
1408 && (srcSize > ZSTD_PREDEF_THRESHOLD) in ZSTD_compressBlock_btultra2()
1410 ZSTD_initStats_ultra(ms, seqStore, rep, src, srcSize); in ZSTD_compressBlock_btultra2()
1413 return ZSTD_compressBlock_opt2(ms, seqStore, rep, src, srcSize, ZSTD_noDict); in ZSTD_compressBlock_btultra2()
1418 const void* src, size_t srcSize) in ZSTD_compressBlock_btopt_dictMatchState() argument
1420 return ZSTD_compressBlock_opt0(ms, seqStore, rep, src, srcSize, ZSTD_dictMatchState); in ZSTD_compressBlock_btopt_dictMatchState()
1425 const void* src, size_t srcSize) in ZSTD_compressBlock_btultra_dictMatchState() argument
1427 return ZSTD_compressBlock_opt2(ms, seqStore, rep, src, srcSize, ZSTD_dictMatchState); in ZSTD_compressBlock_btultra_dictMatchState()
1432 const void* src, size_t srcSize) in ZSTD_compressBlock_btopt_extDict() argument
1434 return ZSTD_compressBlock_opt0(ms, seqStore, rep, src, srcSize, ZSTD_extDict); in ZSTD_compressBlock_btopt_extDict()
1439 const void* src, size_t srcSize) in ZSTD_compressBlock_btultra_extDict() argument
1441 return ZSTD_compressBlock_opt2(ms, seqStore, rep, src, srcSize, ZSTD_extDict); in ZSTD_compressBlock_btultra_extDict()