Lines Matching refs:maxVal
188 int maxVal = minVal + rangeLen; in computeRandomValueRangeForInfElements() local
191 valueRange.getMax().component(ndx).asInt() = maxVal; in computeRandomValueRangeForInfElements()
210 float maxVal = minVal + step*(float)rangeLen; in computeRandomValueRangeForInfElements() local
213 valueRange.getMax().component(ndx).asFloat() = maxVal; in computeRandomValueRangeForInfElements()
363 float maxVal = +10.0f; in FloatLiteral() local
369 maxVal = valueRange.getMax().component(0).asFloat(); in FloatLiteral()
374 if (Scalar::max<float>() == maxVal) in FloatLiteral()
375 maxVal = +10.0f; in FloatLiteral()
378 int numSteps = (int)((maxVal-minVal)/step) + 1; in FloatLiteral()
380 … value = deFloatClamp(minVal + step*(float)state.getRandom().getInt(0, numSteps), minVal, maxVal); in FloatLiteral()
406 float maxVal = valueRange.getMax().asFloat(); in getWeight() local
408 if (Scalar::min<float>() == minVal && Scalar::max<float>() == maxVal) in getWeight()
412 float rangeLength = maxVal - minVal; in getWeight()
433 int maxVal = +16; in IntLiteral() local
438 maxVal = valueRange.getMax().component(0).asInt(); in IntLiteral()
443 if (Scalar::max<int>() == maxVal) in IntLiteral()
444 maxVal = 16; in IntLiteral()
447 int value = state.getRandom().getInt(minVal, maxVal); in IntLiteral()
461 int maxVal = valueRange.getMax().asInt(); in getWeight() local
463 if (Scalar::min<int>() == minVal && Scalar::max<int>() == maxVal) in getWeight()
466 int rangeLength = maxVal - minVal; in getWeight()
487 int maxVal = 1; in BoolLiteral() local
492 maxVal = valueRange.getMax().component(0).asBool() ? 1 : 0; in BoolLiteral()
495 bool value = state.getRandom().getInt(minVal, maxVal) == 1; in BoolLiteral()