Home
last modified time | relevance | path

Searched refs:rangeLen (Results 1 – 4 of 4) sorted by relevance

/external/deqp/framework/randomshaders/
DrsgUtils.cpp209 int rangeLen = rnd.getInt(0, maxRangeLen); in computeRandomValueRange() local
210 int minVal = minIntVal + rnd.getInt(0, maxRangeLen-rangeLen); in computeRandomValueRange()
211 int maxVal = minVal + rangeLen; in computeRandomValueRange()
225 int rangeLen = rnd.getInt(0, maxSteps); in computeRandomValueRange() local
226 int minStep = rnd.getInt(0, maxSteps-rangeLen); in computeRandomValueRange()
229 float maxVal = minVal + step*(float)rangeLen; in computeRandomValueRange()
DrsgBinaryOps.cpp555 T rangeLen = dstMax-dstMin; in operator ()() local
556 T subRangeLen = GetRandom()(random, T(0), rangeLen); in operator ()()
563 bMax = -aOffset+(rangeLen-subRangeLen); in operator ()()
605 T rangeLen = dstMax-dstMin; in operator ()() local
606 T subRangeLen = GetRandom()(random, T(0), rangeLen); in operator ()()
612 bMin = aOffset-(rangeLen-subRangeLen); in operator ()()
DrsgExpression.cpp186 int rangeLen = rnd.getInt(0, maxRangeLen); in computeRandomValueRangeForInfElements() local
187 int minVal = minIntVal + rnd.getInt(0, maxRangeLen-rangeLen); in computeRandomValueRangeForInfElements()
188 int maxVal = minVal + rangeLen; in computeRandomValueRangeForInfElements()
206 int rangeLen = rnd.getInt(0, maxSteps); in computeRandomValueRangeForInfElements() local
207 int minStep = rnd.getInt(0, maxSteps-rangeLen); in computeRandomValueRangeForInfElements()
210 float maxVal = minVal + step*(float)rangeLen; in computeRandomValueRangeForInfElements()
/external/starlark-go/starlark/
Dlibrary.go811 return rangeValue{start: start, stop: stop, step: step, len: rangeLen(start, stop, step)}, nil
832 func rangeLen(start, stop, step int) int { func
856 len: rangeLen(newStart, newStop, newStep),