Home
last modified time | relevance | path

Searched refs:MIN (Results 1 – 5 of 5) sorted by relevance

/lib/zstd/
Dzstd_internal.h39 #define MIN(a, b) ((a) < (b) ? (a) : (b)) macro
Dcompress.c92 size_t const blockSize = MIN(ZSTD_BLOCKSIZE_ABSOLUTEMAX, (size_t)1 << cParams.windowLog); in ZSTD_CCtxWorkspaceBound()
98 U32 const hashLog3 = (cParams.searchLength > 3) ? 0 : MIN(ZSTD_HASHLOG3_MAX, cParams.windowLog); in ZSTD_CCtxWorkspaceBound()
252 size_t const blockSize = MIN(ZSTD_BLOCKSIZE_ABSOLUTEMAX, (size_t)1 << params.cParams.windowLog); in ZSTD_resetCCtx_advanced()
258 …U32 const hashLog3 = (params.cParams.searchLength > 3) ? 0 : MIN(ZSTD_HASHLOG3_MAX, params.cParams… in ZSTD_resetCCtx_advanced()
770 int const extraBits = ofBits - MIN(ofBits, STREAM_ACCUMULATOR_MIN - 1); in ZSTD_compressSequences_internal()
805 int const extraBits = ofBits - MIN(ofBits, STREAM_ACCUMULATOR_MIN - 1); in ZSTD_compressSequences_internal()
942 const BYTE *const vEnd = MIN(ip + (mEnd - match), iEnd); in ZSTD_count_2segments()
1590 …size_t matchLength = MIN(commonLengthSmaller, commonLengthLarger); /* guaranteed minimum nb of com… in ZSTD_insertBt1()
1637 return MIN(192, (U32)(bestLength - 384)); /* speed optimization */ in ZSTD_insertBt1()
1672 …size_t matchLength = MIN(commonLengthSmaller, commonLengthLarger); /* guaranteed minimum nb of com… in ZSTD_insertBtAndFindBestMatch()
[all …]
Ddecompress.c1194 int const extraBits = ofBits - MIN(ofBits, STREAM_ACCUMULATOR_MIN); in ZSTD_decodeSequenceLong_generic()
1377 int const seqAdvance = MIN(nbSeq, ADVANCED_SEQS); in ZSTD_decompressSequencesLong()
2186 size_t const blockSize = MIN(maxWindowSize, ZSTD_BLOCKSIZE_ABSOLUTEMAX); in ZSTD_DStreamWorkspaceBound()
2232 size_t const blockSize = MIN(zds->maxWindowSize, ZSTD_BLOCKSIZE_ABSOLUTEMAX); in ZSTD_initDStream()
2293 size_t const length = MIN(dstCapacity, srcSize); in ZSTD_limitCopy()
2367 size_t const blockSize = MIN(zds->maxWindowSize, ZSTD_BLOCKSIZE_ABSOLUTEMAX); in ZSTD_decompressStream()
Dzstd_opt.h297 …size_t matchLength = MIN(commonLengthSmaller, commonLengthLarger); /* guaranteed minimum nb of com… in ZSTD_insertBtAndGetAllMatches()
/lib/
Ddecompress_unlzma.c40 #define MIN(a, b) (((a) < (b)) ? (a) : (b)) macro
615 wr.bufsize = MIN(header.dst_size, header.dict_size); in unlzma()