/external/python/cpython2/Lib/ctypes/test/ |
test_pep3118.py | 79 _fields_ = [("x", c_long), ("y", c_long)] 83 _fields_ = [("x", c_long), ("y", c_long)] 87 Point2._fields_ = [("x", c_long), ("y", c_long)] 96 _fields_ = [("x", c_long * 3 * 2), ("y", Point * 4)] 105 Complete._fields_ = [("a", c_long)] 119 s_long = {4: 'l', 8: 'q'}[sizeof(c_long)] 128 if c_int is c_long [all...] |
test_win32.py | 82 _fields_ = [("x", c_long), 83 ("y", c_long)] 86 _fields_ = [("left", c_long), 87 ("top", c_long), 88 ("right", c_long), 89 ("bottom", c_long)] 94 left = c_long.in_dll(dll, 'left') 95 top = c_long.in_dll(dll, 'top') 96 right = c_long.in_dll(dll, 'right') 97 bottom = c_long.in_dll(dll, 'bottom' [all...] |
test_parameters.py | 88 from ctypes import c_short, c_uint, c_int, c_long, POINTER, pointer 99 if c_int != c_long: 100 self.assertRaises(TypeError, LPINT.from_param, pointer(c_long(42))) 107 from ctypes import c_short, c_uint, c_int, c_long, pointer, POINTER, byref 113 if c_int != c_long: 114 self.assertRaises(TypeError, LPINT.from_param, byref(c_long(22))) 119 from ctypes import c_short, c_uint, c_int, c_long, pointer, POINTER, byref 125 if c_int != c_long: 126 self.assertRaises(TypeError, LPLPINT.from_param, byref(pointer(c_long(22)))) 130 from ctypes import c_short, c_uint, c_int, c_long, POINTE [all...] |
test_repr.py | 5 for base in [c_byte, c_short, c_int, c_long, c_longlong,
|
test_functions.py | 70 f.argtypes = [c_byte, c_wchar, c_int, c_long, c_float, c_double] 78 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double] 93 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double] 119 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double] 131 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double] 143 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_longdouble] 157 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double] 163 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double, c_longlong]
|
test_unaligned_structures.py | 13 for typ in [c_short, c_int, c_long, c_longlong,
|
test_funcptr.py | 46 WNDPROC = WINFUNCTYPE(c_long, c_int, c_int, c_int, c_int) 70 WNDPROC_2 = WINFUNCTYPE(c_long, c_int, c_int, c_int, c_int)
|
test_cfuncs.py | 91 self._dll.tf_l.restype = c_long 92 self._dll.tf_l.argtypes = (c_long,) 97 self._dll.tf_bl.restype = c_long 98 self._dll.tf_bl.argtypes = (c_byte, c_long)
|
test_python_api.py | 52 pythonapi.PyInt_AsLong.restype = c_long
|
/external/python/cpython3/Lib/ctypes/test/ |
test_pep3118.py | 83 _fields_ = [("x", c_long), ("y", c_long)] 87 _fields_ = [("x", c_long), ("y", c_long)] 91 Point2._fields_ = [("x", c_long), ("y", c_long)] 100 _fields_ = [("x", c_long * 3 * 2), ("y", Point * 4)] 108 Complete._fields_ = [("a", c_long)] 122 s_long = {4: 'l', 8: 'q'}[sizeof(c_long)] 131 if c_int is c_long [all...] |
test_win32.py | 125 _fields_ = [("x", c_long), 126 ("y", c_long)] 129 _fields_ = [("left", c_long), 130 ("top", c_long), 131 ("right", c_long), 132 ("bottom", c_long)] 137 left = c_long.in_dll(dll, 'left') 138 top = c_long.in_dll(dll, 'top') 139 right = c_long.in_dll(dll, 'right') 140 bottom = c_long.in_dll(dll, 'bottom' [all...] |
test_parameters.py | 83 from ctypes import c_short, c_uint, c_int, c_long, POINTER, pointer 94 if c_int != c_long: 95 self.assertRaises(TypeError, LPINT.from_param, pointer(c_long(42))) 102 from ctypes import c_short, c_uint, c_int, c_long, POINTER, byref 108 if c_int != c_long: 109 self.assertRaises(TypeError, LPINT.from_param, byref(c_long(22))) 114 from ctypes import c_short, c_uint, c_int, c_long, pointer, POINTER, byref 120 if c_int != c_long: 121 self.assertRaises(TypeError, LPLPINT.from_param, byref(pointer(c_long(22)))) 125 from ctypes import c_short, c_uint, c_int, c_long, POINTE [all...] |
test_repr.py | 5 for base in [c_byte, c_short, c_int, c_long, c_longlong,
|
test_functions.py | 70 f.argtypes = [c_byte, c_wchar, c_int, c_long, c_float, c_double] 78 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double] 93 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double] 119 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double] 131 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double] 143 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_longdouble] 157 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double] 163 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double, c_longlong]
|
test_unaligned_structures.py | 13 for typ in [c_short, c_int, c_long, c_longlong,
|
test_funcptr.py | 46 WNDPROC = WINFUNCTYPE(c_long, c_int, c_int, c_int, c_int) 70 WNDPROC_2 = WINFUNCTYPE(c_long, c_int, c_int, c_int, c_int)
|
test_cfuncs.py | 91 self._dll.tf_l.restype = c_long 92 self._dll.tf_l.argtypes = (c_long,) 97 self._dll.tf_bl.restype = c_long 98 self._dll.tf_bl.argtypes = (c_byte, c_long)
|
test_python_api.py | 50 pythonapi.PyLong_AsLong.restype = c_long
|
/external/python/cpython2/Lib/ctypes/ |
wintypes.py | 16 BOOL = c_long 25 LONG = c_long 41 if sizeof(c_long) == sizeof(c_void_p): 43 LPARAM = c_long 97 _fields_ = [("left", c_long), 98 ("top", c_long), 99 ("right", c_long), 100 ("bottom", c_long)] 115 _fields_ = [("x", c_long), 116 ("y", c_long)] [all...] |
__init__.py | 173 class c_long(_SimpleCData): class in inherits:_SimpleCData 175 _check_size(c_long) 182 # if int and long have the same size, make c_int an alias for c_long 183 c_int = c_long 208 # if long and long long have the same size, make c_longlong an alias for c_long 209 c_longlong = c_long 405 # Mustn't it derive from c_long then? 479 c_ssize_t = c_long 546 for kind in [c_short, c_int, c_long, c_longlong]:
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/data/ |
infinite_recursion.py | 30 __darwin_intptr_t = c_long
51 __darwin_ssize_t = c_long
52 __darwin_time_t = c_long
112 ('slen', c_long),
140 ('flags', c_long),
149 ('len', c_long),
159 ('minsize', c_long),
160 ('maxsize', c_long),
272 bio_info_cb = CFUNCTYPE(None, POINTER(bio_st), c_int, STRING, c_int, c_long, c_long)
[all...] |
/external/python/cpython2/Lib/lib2to3/tests/data/ |
infinite_recursion.py | 30 __darwin_intptr_t = c_long 51 __darwin_ssize_t = c_long 52 __darwin_time_t = c_long 112 ('slen', c_long), 140 ('flags', c_long), 149 ('len', c_long), 159 ('minsize', c_long), 160 ('maxsize', c_long), 272 bio_info_cb = CFUNCTYPE(None, POINTER(bio_st), c_int, STRING, c_int, c_long, c_long) [all...] |
/external/python/cpython3/Lib/lib2to3/tests/data/ |
infinite_recursion.py | 30 __darwin_intptr_t = c_long 51 __darwin_ssize_t = c_long 52 __darwin_time_t = c_long 112 ('slen', c_long), 140 ('flags', c_long), 149 ('len', c_long), 159 ('minsize', c_long), 160 ('maxsize', c_long), 272 bio_info_cb = CFUNCTYPE(None, POINTER(bio_st), c_int, STRING, c_int, c_long, c_long) [all...] |
/external/python/cpython3/Lib/ctypes/ |
wintypes.py | 18 BOOL = ctypes.c_long 26 LONG = ctypes.c_long 42 if ctypes.sizeof(ctypes.c_long) == ctypes.sizeof(ctypes.c_void_p): 44 LPARAM = ctypes.c_long
|
__init__.py | 168 class c_long(_SimpleCData): class in inherits:_SimpleCData 170 _check_size(c_long) 177 # if int and long have the same size, make c_int an alias for c_long 178 c_int = c_long 203 # if long and long long have the same size, make c_longlong an alias for c_long 204 c_longlong = c_long 395 # Mustn't it derive from c_long then? 466 c_ssize_t = c_long 533 for kind in [c_short, c_int, c_long, c_longlong]:
|