Home
last modified time | relevance | path

Searched refs:c_ushort (Results 1 – 17 of 17) sorted by relevance

/third_party/python/Lib/ctypes/test/
Dtest_pep3118.py119 s_ushort = {2: 'H', 4: 'L', 8: 'Q'}[sizeof(c_ushort)]
152 (c_ushort, "<" + s_ushort, (), c_ushort),
Dtest_cfuncs.py55 self._dll.tf_H.restype = c_ushort
56 self._dll.tf_H.argtypes = (c_ushort,)
61 self._dll.tf_bH.restype = c_ushort
62 self._dll.tf_bH.argtypes = (c_byte, c_ushort)
Dtest_repr.py6 c_ubyte, c_ushort, c_uint, c_ulong, c_ulonglong,
Dtest_unaligned_structures.py15 c_ushort, c_uint, c_ulong, c_ulonglong]:
Dtest_byteswap.py62 s = c_ushort.__ctype_be__(0x1234)
67 s = c_ushort.__ctype_le__(0x1234)
184 ("d", c_ushort),
Dtest_parameters.py212 c_ushort,
232 self.assertEqual(repr(c_ushort.from_param(511)), "<cparam 'H' (511)>")
Dtest_pointers.py6 ctype_types = [c_byte, c_ubyte, c_short, c_ushort, c_int, c_uint,
Dtest_arrays.py10 formats = c_byte, c_ubyte, c_short, c_ushort, c_int, c_uint, \
Dtest_numbers.py24 unsigned_types = [c_ubyte, c_ushort, c_uint, c_ulong]
Dtest_bitfields.py54 unsigned_int_types = (c_ubyte, c_ushort, c_uint, c_ulong, c_ulonglong)
Dtest_callbacks.py51 self.check_type(c_ushort, 42)
Dtest_structures.py59 "H": c_ushort,
/third_party/python/Lib/ctypes/
Dwintypes.py5 WORD = ctypes.c_ushort
28 USHORT = ctypes.c_ushort
D__init__.py167 class c_ushort(_SimpleCData): class
169 _check_size(c_ushort)
557 for kind in [c_ushort, c_uint, c_ulong, c_ulonglong]:
/third_party/python/Lib/multiprocessing/
Dsharedctypes.py28 'h': ctypes.c_short, 'H': ctypes.c_ushort,
/third_party/python/Lib/lib2to3/tests/data/
Dinfinite_recursion.py25 __uint16_t = c_ushort
79 u_int16_t = c_ushort
2375 u_short = c_ushort
2378 ushort = c_ushort
2482 uint16_t = c_ushort
/third_party/python/Doc/library/
Dctypes.rst230 | :class:`c_ushort` | :c:type:`unsigned short` | int |
273 >>> c_ushort(-3)
274 c_ushort(65533)
2307 :class:`c_ushort`.
2334 .. class:: c_ushort