Lines Matching defs:stat
29 # define WEIGHT(stat, opt) ((void)opt, ZSTD_bitWeight(stat))
33 # define WEIGHT(stat,opt) ((void)opt, ZSTD_fracWeight(stat))
37 # define WEIGHT(stat,opt) (opt ? ZSTD_fracWeight(stat) : ZSTD_bitWeight(stat))
40 MEM_STATIC U32 ZSTD_bitWeight(U32 stat)
42 return (ZSTD_highbit32(stat+1) * BITCOST_MULTIPLIER);
47 U32 const stat = rawStat + 1;
48 U32 const hb = ZSTD_highbit32(stat);
50 U32 const FWeight = (stat << BITCOST_ACCURACY) >> hb;