/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
H A D | test_long.py | 29 special = map(long, [0, 1, 2, BASE, BASE >> 1]) 84 ntype = long 86 # Get quasi-random long consisting of ndigits digits (in base BASE). 88 # is constructed to contain long strings of 0 and 1 bits. These are 113 # Get random long consisting of ndigits random digits (relative to base 149 # current long division implementation 183 # Test products of long strings of 1 bits -- (2**x-1)*(2**y-1) == 293 self.assertEqual(long(got, 0), x, Frm('long("%s", 0) != %r', got, x)) 311 self.assertEqual(long(31 [all...] |
H A D | test_abstract_numbers.py | 20 self.assertTrue(issubclass(long, Integral)) 21 self.assertTrue(issubclass(long, Complex)) 23 self.assertEqual(7, long(7).real) 24 self.assertEqual(0, long(7).imag) 25 self.assertEqual(7, long(7).conjugate()) 26 self.assertEqual(7, long(7).numerator) 27 self.assertEqual(1, long(7).denominator)
|
H A D | test_hash.py | 36 self.same_hash(int(1), long(1), float(1), complex(1), 38 self.same_hash(int(-2**31), long(-2**31), float(-2**31)) 39 self.same_hash(int(1-2**31), long(1-2**31), float(1-2**31)) 40 self.same_hash(int(2**31-1), long(2**31-1), float(2**31-1)) 42 self.same_hash(int(2**31), long(2**31), float(2**31)) 43 self.same_hash(int(-2**63), long(-2**63), float(-2**63)) 44 self.same_hash(int(1-2**63), long(1-2**63)) 45 self.same_hash(int(2**63-1), long(2**63-1)) 46 self.same_hash(long(2**63), float(2**63)) 49 self.same_hash(long(1.2 [all...] |
H A D | test_pow.py | 21 for othertype in int, long: 28 for othertype in int, long, float: 45 elif type == long: 63 self.powtest(long) 94 pow(long(i),j) % k, 95 pow(long(i),j,k)
|
H A D | test_types.py | 40 else: self.fail('long int comparisons failed') 81 self.fail('int/long/float value not equal') 84 if long() != 0L: self.fail('long() does not return 0L') 88 if long(1.9) == 1L == long(1.1) and long(-1.1) == -1L == long(-1.9): pass 89 else: self.fail('long() does not round properly') 144 # Check for expected * overflow to long [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
H A D | test_long.py | 29 special = map(long, [0, 1, 2, BASE, BASE >> 1]) 84 ntype = long 86 # Get quasi-random long consisting of ndigits digits (in base BASE). 88 # is constructed to contain long strings of 0 and 1 bits. These are 113 # Get random long consisting of ndigits random digits (relative to base 149 # current long division implementation 183 # Test products of long strings of 1 bits -- (2**x-1)*(2**y-1) == 293 self.assertEqual(long(got, 0), x, Frm('long("%s", 0) != %r', got, x)) 311 self.assertEqual(long(31 [all...] |
H A D | test_abstract_numbers.py | 20 self.assertTrue(issubclass(long, Integral)) 21 self.assertTrue(issubclass(long, Complex)) 23 self.assertEqual(7, long(7).real) 24 self.assertEqual(0, long(7).imag) 25 self.assertEqual(7, long(7).conjugate()) 26 self.assertEqual(7, long(7).numerator) 27 self.assertEqual(1, long(7).denominator)
|
H A D | test_hash.py | 36 self.same_hash(int(1), long(1), float(1), complex(1), 38 self.same_hash(int(-2**31), long(-2**31), float(-2**31)) 39 self.same_hash(int(1-2**31), long(1-2**31), float(1-2**31)) 40 self.same_hash(int(2**31-1), long(2**31-1), float(2**31-1)) 42 self.same_hash(int(2**31), long(2**31), float(2**31)) 43 self.same_hash(int(-2**63), long(-2**63), float(-2**63)) 44 self.same_hash(int(1-2**63), long(1-2**63)) 45 self.same_hash(int(2**63-1), long(2**63-1)) 46 self.same_hash(long(2**63), float(2**63)) 49 self.same_hash(long(1.2 [all...] |
H A D | test_pow.py | 21 for othertype in int, long: 28 for othertype in int, long, float: 45 elif type == long: 63 self.powtest(long) 94 pow(long(i),j) % k, 95 pow(long(i),j,k)
|
H A D | test_types.py | 40 else: self.fail('long int comparisons failed') 81 self.fail('int/long/float value not equal') 84 if long() != 0L: self.fail('long() does not return 0L') 88 if long(1.9) == 1L == long(1.1) and long(-1.1) == -1L == long(-1.9): pass 89 else: self.fail('long() does not round properly') 144 # Check for expected * overflow to long [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/ |
H A D | fancy_getopt.py | 5 * short and long options are tied together 29 # This is used to translate long options to legitimate Python identifiers 36 * short and long options are tied together 54 # must have long options. 57 # 'option_index' maps long option names to entries in the option 110 option with long name 'long_option'.""" 114 """Translate long option name 'long_option' to the form it 158 long, short, help = option 161 long, short, help, repeat = option 168 if not isinstance(long, st [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/ |
H A D | fancy_getopt.py | 5 * short and long options are tied together 29 # This is used to translate long options to legitimate Python identifiers 36 * short and long options are tied together 54 # must have long options. 57 # 'option_index' maps long option names to entries in the option 110 option with long name 'long_option'.""" 114 """Translate long option name 'long_option' to the form it 158 long, short, help = option 161 long, short, help, repeat = option 168 if not isinstance(long, st [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/email/test/ |
H A D | test_email_codecs.py | 45 long = 'test-ja \xa4\xd8\xc5\xea\xb9\xc6\xa4\xb5\xa4\xec\xa4\xbf\xa5\xe1\xa1\xbc\xa5\xeb\xa4\xcf\xbb\xca\xb2\xf1\xbc\xd4\xa4\xce\xbe\xb5\xc7\xa7\xa4\xf2\xc2\xd4\xa4\xc3\xa4\xc6\xa4\xa4\xa4\xde\xa4\xb9' 46 h = Header(long, j, header_name="Subject") 47 # test a very long header 54 eq(h.__unicode__().encode('euc-jp'), long)
|
H A D | test_email_codecs_renamed.py | 45 long = 'test-ja \xa4\xd8\xc5\xea\xb9\xc6\xa4\xb5\xa4\xec\xa4\xbf\xa5\xe1\xa1\xbc\xa5\xeb\xa4\xcf\xbb\xca\xb2\xf1\xbc\xd4\xa4\xce\xbe\xb5\xc7\xa7\xa4\xf2\xc2\xd4\xa4\xc3\xa4\xc6\xa4\xa4\xa4\xde\xa4\xb9' 46 h = Header(long, j, header_name="Subject") 47 # test a very long header 54 eq(h.__unicode__().encode('euc-jp'), long)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/test/ |
H A D | test_email_codecs.py | 45 long = 'test-ja \xa4\xd8\xc5\xea\xb9\xc6\xa4\xb5\xa4\xec\xa4\xbf\xa5\xe1\xa1\xbc\xa5\xeb\xa4\xcf\xbb\xca\xb2\xf1\xbc\xd4\xa4\xce\xbe\xb5\xc7\xa7\xa4\xf2\xc2\xd4\xa4\xc3\xa4\xc6\xa4\xa4\xa4\xde\xa4\xb9' 46 h = Header(long, j, header_name="Subject") 47 # test a very long header 54 eq(h.__unicode__().encode('euc-jp'), long)
|
H A D | test_email_codecs_renamed.py | 45 long = 'test-ja \xa4\xd8\xc5\xea\xb9\xc6\xa4\xb5\xa4\xec\xa4\xbf\xa5\xe1\xa1\xbc\xa5\xeb\xa4\xcf\xbb\xca\xb2\xf1\xbc\xd4\xa4\xce\xbe\xb5\xc7\xa7\xa4\xf2\xc2\xd4\xa4\xc3\xa4\xc6\xa4\xa4\xa4\xde\xa4\xb9' 46 h = Header(long, j, header_name="Subject") 47 # test a very long header 54 eq(h.__unicode__().encode('euc-jp'), long)
|
/prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.8/share/gdb/python/gdb/command/ |
H A D | bound_registers.py | 28 size = (long) ((upper) - (lower))
|
/prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9/share/gdb/python/gdb/command/ |
H A D | bound_registers.py | 28 size = (long) ((upper) - (lower))
|
/prebuilts/gcc/darwin-x86/mips/mips64el-linux-android-4.9/share/gdb/python/gdb/command/ |
H A D | bound_registers.py | 28 size = (long) ((upper) - (lower))
|
/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.8/share/gdb/python/gdb/command/ |
H A D | bound_registers.py | 28 size = (long) ((upper) - (lower))
|
/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/share/gdb/python/gdb/command/ |
H A D | bound_registers.py | 28 size = (long) ((upper) - (lower))
|
/prebuilts/gcc/linux-x86/mips/mips64el-linux-android-4.9/share/gdb/python/gdb/command/ |
H A D | bound_registers.py | 28 size = (long) ((upper) - (lower))
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
H A D | numbers.py | 296 """Integral adds a conversion to long and the bit-string operations.""" 302 """long(self)""" 307 return long(self) 377 """float(self) == float(long(self))""" 378 return float(long(self)) 391 Integral.register(long)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
H A D | numbers.py | 296 """Integral adds a conversion to long and the bit-string operations.""" 302 """long(self)""" 307 return long(self) 377 """float(self) == float(long(self))""" 378 return float(long(self)) 391 Integral.register(long)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/ |
H A D | encoder.py | 84 | int, long, float | number | 107 encoding of keys that are not str, int, long, float or None. If 283 long=long, 320 elif isinstance(value, (int, long)): 377 elif isinstance(key, (int, long)): 397 elif isinstance(value, (int, long)): 426 elif isinstance(o, (int, long)):
|