Home
last modified time | relevance | path

Searched refs:c_longlong (Results 1 – 21 of 21) sorted by relevance

/third_party/python/Lib/ctypes/test/
Dtest_byteswap.py102 self.assertIs(c_longlong.__ctype_le__, c_longlong)
103 self.assertIs(c_longlong.__ctype_be__.__ctype_le__, c_longlong)
105 self.assertIs(c_longlong.__ctype_be__, c_longlong)
106 self.assertIs(c_longlong.__ctype_le__.__ctype_be__, c_longlong)
108 s = c_longlong.__ctype_be__(0x1234567890ABCDEF)
113 s = c_longlong.__ctype_le__(0x1234567890ABCDEF)
189 ("i", c_longlong),
Dtest_bitfields.py53 signed_int_types = (c_byte, c_short, c_int, c_long, c_longlong)
61 _fields_ = [("a", c_longlong, 1),
62 ("b", c_longlong, 62),
63 ("c", c_longlong, 1)]
65 self.assertEqual(sizeof(X), sizeof(c_longlong))
76 self.assertEqual(sizeof(X), sizeof(c_longlong))
Dtest_functions.py146 f.restype = c_longlong
152 f.restype = c_longlong
153 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double, c_longlong]
285 f.restype = c_longlong
287 MyCallback = CFUNCTYPE(c_longlong, c_longlong)
289 f.argtypes = [c_longlong, MyCallback]
Dtest_as_parameter.py128 f.restype = c_longlong
130 MyCallback = CFUNCTYPE(c_longlong, c_longlong)
132 f.argtypes = [c_longlong, MyCallback]
Dtest_cfuncs.py14 return c_longlong.in_dll(self._dll, "last_tf_arg_s").value
115 self._dll.tf_q.restype = c_longlong
116 self._dll.tf_q.argtypes = (c_longlong, )
121 self._dll.tf_bq.restype = c_longlong
122 self._dll.tf_bq.argtypes = (c_byte, c_longlong)
Dtest_pep3118.py135 if c_longlong is c_long:
160 (c_longlong, "<" + s_longlong, (), c_longlong),
Dtest_pointers.py7 c_long, c_ulong, c_longlong, c_ulonglong, c_double, c_float]
25 if sizeof(c_longlong) == sizeof(c_void_p):
26 func.restype = c_longlong
Dtest_numbers.py25 signed_types = [c_byte, c_short, c_int, c_long, c_longlong]
33 c_longlong
38 signed_types.append(c_longlong)
Dtest_repr.py5 for base in [c_byte, c_short, c_int, c_long, c_longlong,
Dtest_unaligned_structures.py13 for typ in [c_short, c_int, c_long, c_longlong,
Dtest_prototypes.py72 if sizeof(c_longlong) == sizeof(c_void_p):
73 func.restype = c_longlong
Dtest_structures.py64 "q": c_longlong,
174 ("b", c_longlong)]
182 ("b", c_longlong)]
193 ("b", c_longlong)]
200 ("b", c_longlong)]
Dtest_parameters.py217 c_longlong,
237 self.assertRegex(repr(c_longlong.from_param(20000)), r"^<cparam '[liq]' \(20000\)>$")
Dtest_callbacks.py68 self.check_type(c_longlong, 42)
69 self.check_type(c_longlong, -42)
/third_party/python/Lib/ctypes/
D__init__.py207 c_longlong = c_long variable
210 class c_longlong(_SimpleCData): class
212 _check_size(c_longlong)
489 c_ssize_t = c_longlong
553 for kind in [c_short, c_int, c_long, c_longlong]:
Dwintypes.py32 _LARGE_INTEGER = LARGE_INTEGER = ctypes.c_longlong
45 elif ctypes.sizeof(ctypes.c_longlong) == ctypes.sizeof(ctypes.c_void_p):
47 LPARAM = ctypes.c_longlong
/third_party/python/Lib/multiprocessing/
Dsharedctypes.py31 'q': ctypes.c_longlong, 'Q': ctypes.c_ulonglong,
/third_party/python/Lib/lib2to3/tests/data/
Dinfinite_recursion.py28 __int64_t = c_longlong
38 ('_mbstateL', c_longlong),
86 int64_t = c_longlong
2046 ('_seek', CFUNCTYPE(fpos_t, c_void_p, c_longlong, c_int)),
2082 ('quot', c_longlong),
2083 ('rem', c_longlong),
2503 intmax_t = c_longlong
/third_party/python/Lib/test/
Dtest_unicode.py2554 c_int, c_long, c_longlong, c_ssize_t,
2692 b'%lli', c_longlong(-123))
2701 b'%lld', c_longlong(-123))
2715 min_longlong = -(2 ** (8 * sizeof(c_longlong) - 1))
2718 b'%lld', c_longlong(min_longlong))
2720 b'%lld', c_longlong(max_longlong))
D_test_multiprocessing.py141 from ctypes import Structure, c_int, c_double, c_longlong
144 c_int = c_double = c_longlong = None
3702 ('z', c_longlong,)
3727 z = Value(c_longlong, 2 ** 33, lock=lock)
/third_party/python/Doc/library/
Dctypes.rst240 | :class:`c_longlong` | :c:type:`__int64` or :c:type:`long long` | int |
2251 :class:`c_longlong`.
2260 .. class:: c_longlong