Home
last modified time | relevance | path

Searched refs:_int (Results 1 – 8 of 8) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Drandom.py175 def randrange(self, start, stop=None, step=1, _int=int, _maxwidth=1L<<BPF): argument
185 istart = _int(start)
192 return _int(self.random() * istart)
196 istop = _int(stop)
215 return _int(istart + self._randbelow(width))
216 return _int(istart + _int(self.random()*width))
221 istep = _int(step)
236 return istart + istep*_int(self.random() * n)
244 def _randbelow(self, n, _log=_log, _int=int, _maxwidth=1L<<BPF, argument
261 k = _int(1.00001 + _log(n-1, 2.0)) # 2**k > n-1 > 2**(k-2)
[all …]
Dstring.py380 _int = int variable
405 return _int(s, base)
Dsre_compile.py411 def _mk_bitmap(bits, _CODEBITS=_CODEBITS, _int=int): argument
413 return [_int(s[i - _CODEBITS: i], 2)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Ddecimal.py221 ans = _dec_from_triple(args[0]._sign, args[0]._int, 'n', True)
559 self._int = str(int(intpart+fracpart))
566 self._int = str(int(diag or '0')).lstrip('0')
573 self._int = '0'
585 self._int = str(abs(value))
593 self._int = value._int
600 self._int = str(value.int)
619 self._int = '0'
636 self._int = ''.join(map(str, digits))
641 self._int = ''.join(map(str, digits or [0]))
[all …]
Dstringold.py192 _int = int variable
230 return _apply(_int, args)
Drandom.py322 _int = int
332 j = _int(random() * (n-i))
340 j = _int(random() * n)
342 j = _int(random() * n)
Dstring.py378 _int = int variable
403 return _int(s, base)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_decimal.py1521 self.assertEqual(d1._int, b1._int)
1524 self.assertEqual(d2._int, b2._int)
1529 self.assertEqual(d1._int, b1._int)
1535 self.assertEqual(d1._int, b1._int)