Searched refs:ZSTD_highbit32 (Results 1 - 6 of 6) sorted by relevance

/linux-master/lib/zstd/compress/
H A Dzstd_lazy.c198 if ( (4*(int)(matchLength-bestLength)) > (int)(ZSTD_highbit32(curr-matchIndex+1) - ZSTD_highbit32((U32)offsetPtr[0]+1)) ) {
330 if ( (4*(int)(matchLength-bestLength)) > (int)(ZSTD_highbit32(curr-matchIndex+1) - ZSTD_highbit32((U32)offsetPtr[0]+1)) )
1585 int const gain1 = (int)(matchLength*3 - ZSTD_highbit32((U32)STORED_TO_OFFBASE(offcode)) + 1);
1599 int const gain1 = (int)(matchLength*3 - ZSTD_highbit32((U32)STORED_TO_OFFBASE(offcode)) + 1);
1606 int const gain2 = (int)(ml2*4 - ZSTD_highbit32((U32)STORED_TO_OFFBASE(offset2))); /* raw approx */
1607 int const gain1 = (int)(matchLength*4 - ZSTD_highbit32((U32)STORED_TO_OFFBASE(offcode)) + 4);
1621 int const gain1 = (int)(matchLength*4 - ZSTD_highbit32((U32)STORED_TO_OFFBASE(offcode)) + 1);
1635 int const gain1 = (int)(matchLength*4 - ZSTD_highbit32((U3
[all...]
H A Dzstd_opt.c42 return (ZSTD_highbit32(stat+1) * BITCOST_MULTIPLIER);
48 U32 const hb = ZSTD_highbit32(stat);
113 return ZSTD_downscaleStats(table, lastEltIndex, ZSTD_highbit32(factor));
304 U32 const offCode = ZSTD_highbit32(STORED_TO_OFFBASE(offcode));
348 { U32 const offCode = ZSTD_highbit32(STORED_TO_OFFBASE(offsetCode));
H A Dzstd_compress_internal.h468 return (litLength > 63) ? ZSTD_highbit32(litLength) + LL_deltaCode : LL_Code[litLength];
485 return (mlBase > 127) ? ZSTD_highbit32(mlBase) + ML_deltaCode : ML_Code[mlBase];
1282 U32 const hb = ZSTD_highbit32(newStat);
H A Dzstd_compress.c1234 return ZSTD_highbit32((U32)dictAndWindowSize - 1) + 1;
1289 ZSTD_highbit32(tSize-1) + 1;
2310 ofCodeTable[u] = (BYTE)ZSTD_highbit32(sequences[u].offBase);
4300 offcodeMax = ZSTD_highbit32(maxOffset); /* Calculate minimum offset code required to represent maxOffset */
4965 U32 const limitedSrcLog = limitedSrcSize > 1 ? ZSTD_highbit32(limitedSrcSize - 1) + 1 : 1;
/linux-master/lib/zstd/common/
H A Dzstd_internal.h353 MEM_STATIC U32 ZSTD_highbit32(U32 val) /* compress, dictBuilder, decodeCorpus */ function
/linux-master/lib/zstd/decompress/
H A Dzstd_decompress.c1699 *value = (int)ZSTD_highbit32((U32)dctx->maxWindowSize);

Completed in 208 milliseconds