Lines Matching refs:hi
16 AddPowers(std::vector<T>* dst, T lo, T hi, int mult) { in AddPowers() argument
18 CHECK_GE(hi, lo); in AddPowers()
26 for (T i = 1; i <= hi; i *= mult) { in AddPowers()
39 void AddNegatedPowers(std::vector<T>* dst, T lo, T hi, int mult) { in AddNegatedPowers() argument
42 CHECK_GT(hi, std::numeric_limits<T>::min()); in AddNegatedPowers()
43 CHECK_GE(hi, lo); in AddNegatedPowers()
44 CHECK_LE(hi, 0); in AddNegatedPowers()
50 const auto hi_complement = static_cast<T>(-hi); in AddNegatedPowers()
59 void AddRange(std::vector<T>* dst, T lo, T hi, int mult) { in AddRange() argument
63 CHECK_GE(hi, lo); in AddRange()
72 if (lo == hi) return; in AddRange()
75 if (lo + 1 == hi) { in AddRange()
76 dst->push_back(hi); in AddRange()
82 const auto hi_inner = static_cast<T>(hi - 1); in AddRange()
90 if (lo < 0 && hi >= 0) { in AddRange()
100 if (hi != dst->back()) { in AddRange()
101 dst->push_back(hi); in AddRange()