Lines Matching refs:upper
42 RandomVariableBase::RandomVariableBase(int lower, int upper) in RandomVariableBase() argument
45 range(lower, upper), in RandomVariableBase()
64 void RandomVariableRange::setRange(int lower, int upper) { in setRange() argument
68 auto tail = upper == kInvalidValue ? mChoices.end() in setRange()
69 : std::upper_bound(mChoices.begin(), mChoices.end(), upper); in setRange()
116 RandomVariable::RandomVariable(int lower, int upper) : mVar(new RandomVariableBase(lower, upper)) { in RandomVariable() argument
147 void RandomVariable::setRange(int lower, int upper) { in setRange() argument
149 NN_FUZZER_LOG << "Set range [" << lower << ", " << upper << "] on var" << mVar->index; in setRange()
151 mVar->range.setRange(lower, upper); in setRange()
175 static inline void fillRange(std::set<int>* range, int lower, int upper) { in fillRange() argument
176 for (int i = lower; i <= upper; i++) range->insert(i); in fillRange()
343 int upper = std::min(lhs.max() * rhs.max(), kMaxValue); in getInitRange() local
344 return RandomVariableRange(lower, upper); in getInitRange()