Searched refs:rangeLen (Results 1 – 4 of 4) sorted by relevance
/external/deqp/framework/randomshaders/ |
D | rsgUtils.cpp | 209 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()
|
D | rsgBinaryOps.cpp | 555 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 ()()
|
D | rsgExpression.cpp | 186 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/ |
D | library.go | 811 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),
|