Lines Matching refs:istart
184 istart = int(start)
185 if istart != start:
188 if istart > 0:
189 if istart >= maxwidth:
190 return self._randbelow(istart)
191 return int(self.random() * istart)
198 width = istop - istart
201 # int(istart + self.random()*width)
202 # instead would be incorrect. For example, consider istart
207 # istart + int(self.random()*width)
214 return int(istart + self._randbelow(width))
215 return int(istart + int(self.random()*width))
217 raise ValueError, "empty range for randrange() (%d,%d, %d)" % (istart, istop, width)
234 return istart + istep*self._randbelow(n)
235 return istart + istep*int(self.random() * n)