/external/python/cpython2/Lib/ctypes/test/ |
D | 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)] 127 (c_long, "<l", None, c_long), 144 (POINTER(POINTER(c_long)), "&&<l", None, POINTER(POINTER(c_long))), 185 _fields_ = [("x", c_long), ("y", c_long)] 188 _fields_ = [("x", c_long), ("y", c_long)]
|
D | 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')
|
D | test_parameters.py | 87 from ctypes import c_short, c_uint, c_int, c_long, POINTER, pointer 98 if c_int != c_long: 99 self.assertRaises(TypeError, LPINT.from_param, pointer(c_long(42))) 106 from ctypes import c_short, c_uint, c_int, c_long, pointer, POINTER, byref 112 if c_int != c_long: 113 self.assertRaises(TypeError, LPINT.from_param, byref(c_long(22))) 118 from ctypes import c_short, c_uint, c_int, c_long, pointer, POINTER, byref 124 if c_int != c_long: 125 self.assertRaises(TypeError, LPLPINT.from_param, byref(pointer(c_long(22)))) 129 from ctypes import c_short, c_uint, c_int, c_long, POINTER [all …]
|
D | 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]
|
D | 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)
|
D | 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)
|
D | test_callbacks.py | 59 self.check_type(c_long, 42) 60 self.check_type(c_long, -42) 174 integrate.argtypes = (c_double, c_double, CALLBACK, c_long)
|
D | test_repr.py | 5 for base in [c_byte, c_short, c_int, c_long, c_longlong,
|
D | test_unaligned_structures.py | 13 for typ in [c_short, c_int, c_long, c_longlong,
|
D | test_prototypes.py | 49 func.restype = c_long 72 func.restype = c_long
|
D | test_pointers.py | 7 c_long, c_ulong, c_longlong, c_ulonglong, c_double, c_float] 25 func.restype = c_long
|
D | test_slicing.py | 160 elif sizeof(c_wchar) == sizeof(c_long): 161 dll.my_wcsdup.restype = POINTER(c_long)
|
D | test_numbers.py | 25 signed_types = [c_byte, c_short, c_int, c_long, c_longlong] 219 self.assertRaises(TypeError, c_int, c_long(42))
|
D | test_python_api.py | 52 pythonapi.PyInt_AsLong.restype = c_long
|
D | test_bitfields.py | 50 signed_int_types = (c_byte, c_short, c_int, c_long, c_longlong) 124 if c_int != c_long:
|
D | test_arrays.py | 9 c_long, c_ulonglong, c_float, c_double, c_longdouble
|
D | test_as_parameter.py | 24 f.argtypes = [c_byte, c_wchar, c_int, c_long, c_float, c_double]
|
/external/python/cpython2/Lib/ctypes/ |
D | 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 …]
|
D | __init__.py | 173 class c_long(_SimpleCData): class 175 _check_size(c_long) 183 c_int = c_long 209 c_longlong = c_long 475 c_ssize_t = c_long 542 for kind in [c_short, c_int, c_long, c_longlong]:
|
/external/python/cpython2/Lib/lib2to3/tests/data/ |
D | 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) 282 ('ctrl', CFUNCTYPE(c_long, POINTER(BIO), c_int, c_long, c_void_p)), [all …]
|
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/ |
D | trace_time.py | 101 _fields_ = (('tv_sec', ctypes.c_long), 102 ('tv_nsec', ctypes.c_long))
|
/external/sonivox/jet_tools/JetCreator/ |
D | eas.py | 355 state = c_long(-1) 539 ('maxVoices', c_long), 540 ('numChannels', c_long), 541 ('sampleRate', c_long), 542 ('mixBufferSize', c_long), 781 samplesRendered = c_long(0) 1013 ('location', c_long),
|
/external/python/cpython2/Lib/test/ |
D | test_threading.py | 183 result = set_async_exc(ctypes.c_long(tid), exception) 229 result = set_async_exc(ctypes.c_long(-1), exception) 242 result = set_async_exc(ctypes.c_long(t.id), exception)
|
/external/python/cpython2/Doc/library/ |
D | ctypes.rst | 26 an alias for the :class:`c_long` type on 32-bit systems. So, you should not be 27 confused if :class:`c_long` is printed if you would expect :class:`c_int` --- 241 | :class:`c_long` | :c:type:`long` | int/long | 270 c_long(0) 281 c_long(42) 597 <Field type=c_long, ofs=0, size=4> 599 <Field type=c_long, ofs=4, size=4> 642 <Field type=c_long, ofs=0:0, bits=16> 644 <Field type=c_long, ofs=0:16, bits=16> 715 c_long(42) [all …]
|
/external/python/cpython2/Lib/multiprocessing/ |
D | sharedctypes.py | 53 'l': ctypes.c_long, 'L': ctypes.c_ulong,
|