Lines Matching refs:lower
43 RandomVariableBase::RandomVariableBase(int lower, int upper) in RandomVariableBase() argument
46 range(lower, upper), in RandomVariableBase()
65 void RandomVariableRange::setRange(int lower, int upper) { in setRange() argument
67 auto head = lower == kInvalidValue ? mChoices.begin() in setRange()
68 : std::lower_bound(mChoices.begin(), mChoices.end(), lower); in setRange()
117 RandomVariable::RandomVariable(int lower, int upper) : mVar(new RandomVariableBase(lower, upper)) { in RandomVariable() argument
148 void RandomVariable::setRange(int lower, int upper) { in setRange() argument
150 NN_FUZZER_LOG << "Set range [" << lower << ", " << upper << "] on var" << mVar->index; in setRange()
152 mVar->range.setRange(lower, upper); in setRange()
176 static inline void fillRange(std::set<int>* range, int lower, int upper) { in fillRange() argument
177 for (int i = lower; i <= upper; i++) range->insert(i); in fillRange()
343 int lower = std::min(lhs.min() * rhs.min(), kMaxValue); in getInitRange() local
345 return RandomVariableRange(lower, upper); in getInitRange()