/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_repr.py | 5 for base in [c_byte, c_short, c_int, c_long, c_longlong,
|
test_byteswap.py | 81 self.assertTrue(c_longlong.__ctype_le__ is c_longlong) 82 self.assertTrue(c_longlong.__ctype_be__.__ctype_le__ is c_longlong) 84 self.assertTrue(c_longlong.__ctype_be__ is c_longlong) 85 self.assertTrue(c_longlong.__ctype_le__.__ctype_be__ is c_longlong) 87 s = c_longlong.__ctype_be__(0x1234567890ABCDEF) 92 s = c_longlong.__ctype_le__(0x1234567890ABCDEF [all...] |
test_functions.py | 160 c_longlong 164 f.restype = c_longlong 170 f.restype = c_longlong 171 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double, c_longlong] 302 f.restype = c_longlong 304 MyCallback = CFUNCTYPE(c_longlong, c_longlong) 306 f.argtypes = [c_longlong, MyCallback]
|
test_unaligned_structures.py | 13 for typ in [c_short, c_int, c_long, c_longlong,
|
test_bitfields.py | 49 signed_int_types = (c_byte, c_short, c_int, c_long, c_longlong) 57 _fields_ = [("a", c_longlong, 1), 58 ("b", c_longlong, 62), 59 ("c", c_longlong, 1)] 61 self.assertEqual(sizeof(X), sizeof(c_longlong)) 72 self.assertEqual(sizeof(X), sizeof(c_longlong))
|
test_as_parameter.py | 131 f.restype = c_longlong 133 MyCallback = CFUNCTYPE(c_longlong, c_longlong) 135 f.argtypes = [c_longlong, MyCallback]
|
test_callbacks.py | 65 self.check_type(c_longlong, 5948291757245277467) 66 self.check_type(c_longlong, -5229388909784190580) 67 self.check_type(c_longlong, 42) 68 self.check_type(c_longlong, -42)
|
test_cfuncs.py | 13 return c_longlong.in_dll(self._dll, "last_tf_arg_s").value 114 self._dll.tf_q.restype = c_longlong 115 self._dll.tf_q.argtypes = (c_longlong, ) 120 self._dll.tf_bq.restype = c_longlong 121 self._dll.tf_bq.argtypes = (c_byte, c_longlong)
|
test_numbers.py | 25 signed_types = [c_byte, c_short, c_int, c_long, c_longlong] 33 c_longlong 38 signed_types.append(c_longlong)
|
test_structures.py | 55 "q": c_longlong, 165 ("b", c_longlong)] 173 ("b", c_longlong)] 180 ("b", c_longlong)] 191 ("b", c_longlong)]
|
test_pointers.py | 7 c_long, c_ulong, c_longlong, c_ulonglong, c_double, c_float]
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_repr.py | 5 for base in [c_byte, c_short, c_int, c_long, c_longlong,
|
test_byteswap.py | 81 self.assertTrue(c_longlong.__ctype_le__ is c_longlong) 82 self.assertTrue(c_longlong.__ctype_be__.__ctype_le__ is c_longlong) 84 self.assertTrue(c_longlong.__ctype_be__ is c_longlong) 85 self.assertTrue(c_longlong.__ctype_le__.__ctype_be__ is c_longlong) 87 s = c_longlong.__ctype_be__(0x1234567890ABCDEF) 92 s = c_longlong.__ctype_le__(0x1234567890ABCDEF [all...] |
test_functions.py | 160 c_longlong 164 f.restype = c_longlong 170 f.restype = c_longlong 171 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double, c_longlong] 302 f.restype = c_longlong 304 MyCallback = CFUNCTYPE(c_longlong, c_longlong) 306 f.argtypes = [c_longlong, MyCallback]
|
test_unaligned_structures.py | 13 for typ in [c_short, c_int, c_long, c_longlong,
|
test_bitfields.py | 49 signed_int_types = (c_byte, c_short, c_int, c_long, c_longlong) 57 _fields_ = [("a", c_longlong, 1), 58 ("b", c_longlong, 62), 59 ("c", c_longlong, 1)] 61 self.assertEqual(sizeof(X), sizeof(c_longlong)) 72 self.assertEqual(sizeof(X), sizeof(c_longlong))
|
test_as_parameter.py | 131 f.restype = c_longlong 133 MyCallback = CFUNCTYPE(c_longlong, c_longlong) 135 f.argtypes = [c_longlong, MyCallback]
|
test_callbacks.py | 65 self.check_type(c_longlong, 5948291757245277467) 66 self.check_type(c_longlong, -5229388909784190580) 67 self.check_type(c_longlong, 42) 68 self.check_type(c_longlong, -42)
|
test_cfuncs.py | 13 return c_longlong.in_dll(self._dll, "last_tf_arg_s").value 114 self._dll.tf_q.restype = c_longlong 115 self._dll.tf_q.argtypes = (c_longlong, ) 120 self._dll.tf_bq.restype = c_longlong 121 self._dll.tf_bq.argtypes = (c_byte, c_longlong)
|
test_numbers.py | 25 signed_types = [c_byte, c_short, c_int, c_long, c_longlong] 33 c_longlong 38 signed_types.append(c_longlong)
|
test_structures.py | 55 "q": c_longlong, 165 ("b", c_longlong)] 173 ("b", c_longlong)] 180 ("b", c_longlong)] 191 ("b", c_longlong)]
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/ |
wintypes.py | 35 _LARGE_INTEGER = LARGE_INTEGER = c_longlong 48 elif sizeof(c_longlong) == sizeof(c_void_p): 50 LPARAM = c_longlong
|
__init__.py | 211 # if long and long long have the same size, make c_longlong an alias for c_long 212 c_longlong = c_long variable 215 class c_longlong(_SimpleCData): class in inherits:_SimpleCData 217 _check_size(c_longlong) 481 c_ssize_t = c_longlong 545 for kind in [c_short, c_int, c_long, c_longlong]:
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/ |
wintypes.py | 35 _LARGE_INTEGER = LARGE_INTEGER = c_longlong 48 elif sizeof(c_longlong) == sizeof(c_void_p): 50 LPARAM = c_longlong
|
__init__.py | 211 # if long and long long have the same size, make c_longlong an alias for c_long 212 c_longlong = c_long variable 215 class c_longlong(_SimpleCData): class in inherits:_SimpleCData 217 _check_size(c_longlong) 481 c_ssize_t = c_longlong 545 for kind in [c_short, c_int, c_long, c_longlong]:
|