Lines Matching refs:rest
47 uint64_t rest, in RoundWeed() argument
123 DCHECK(rest <= unsafe_interval); in RoundWeed()
124 while (rest < small_distance && // Negated condition 1 in RoundWeed()
125 unsafe_interval - rest >= ten_kappa && // Negated condition 2 in RoundWeed()
126 (rest + ten_kappa < small_distance || // buffer{-1} > w_high in RoundWeed()
127 small_distance - rest >= rest + ten_kappa - small_distance)) { in RoundWeed()
129 rest += ten_kappa; in RoundWeed()
135 if (rest < big_distance && in RoundWeed()
136 unsafe_interval - rest >= ten_kappa && in RoundWeed()
137 (rest + ten_kappa < big_distance || in RoundWeed()
138 big_distance - rest > rest + ten_kappa - big_distance)) { in RoundWeed()
147 return (2 * unit <= rest) && (rest <= unsafe_interval - 4 * unit); in RoundWeed()
165 uint64_t rest, in RoundWeedCounted() argument
169 DCHECK(rest < ten_kappa); in RoundWeedCounted()
182 if ((ten_kappa - rest > rest) && (ten_kappa - 2 * rest >= 2 * unit)) { in RoundWeedCounted()
186 if ((rest > unit) && (ten_kappa - (rest - unit) <= (rest - unit))) { in RoundWeedCounted()
418 uint64_t rest = in DigitGen() local
422 if (rest < unsafe_interval.f()) { in DigitGen()
426 unsafe_interval.f(), rest, in DigitGen()
533 uint64_t rest = in DigitGenCounted() local
535 return RoundWeedCounted(buffer, *length, rest, in DigitGenCounted()