Searched refs:c_ushort (Results 1 – 17 of 17) sorted by relevance
/third_party/python/Lib/ctypes/test/ |
D | test_pep3118.py | 119 s_ushort = {2: 'H', 4: 'L', 8: 'Q'}[sizeof(c_ushort)] 152 (c_ushort, "<" + s_ushort, (), c_ushort),
|
D | test_cfuncs.py | 55 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)
|
D | test_repr.py | 6 c_ubyte, c_ushort, c_uint, c_ulong, c_ulonglong,
|
D | test_unaligned_structures.py | 15 c_ushort, c_uint, c_ulong, c_ulonglong]:
|
D | test_byteswap.py | 62 s = c_ushort.__ctype_be__(0x1234) 67 s = c_ushort.__ctype_le__(0x1234) 184 ("d", c_ushort),
|
D | test_parameters.py | 212 c_ushort, 232 self.assertEqual(repr(c_ushort.from_param(511)), "<cparam 'H' (511)>")
|
D | test_pointers.py | 6 ctype_types = [c_byte, c_ubyte, c_short, c_ushort, c_int, c_uint,
|
D | test_arrays.py | 10 formats = c_byte, c_ubyte, c_short, c_ushort, c_int, c_uint, \
|
D | test_numbers.py | 24 unsigned_types = [c_ubyte, c_ushort, c_uint, c_ulong]
|
D | test_bitfields.py | 54 unsigned_int_types = (c_ubyte, c_ushort, c_uint, c_ulong, c_ulonglong)
|
D | test_callbacks.py | 51 self.check_type(c_ushort, 42)
|
D | test_structures.py | 59 "H": c_ushort,
|
/third_party/python/Lib/ctypes/ |
D | wintypes.py | 5 WORD = ctypes.c_ushort 28 USHORT = ctypes.c_ushort
|
D | __init__.py | 167 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/ |
D | sharedctypes.py | 28 'h': ctypes.c_short, 'H': ctypes.c_ushort,
|
/third_party/python/Lib/lib2to3/tests/data/ |
D | infinite_recursion.py | 25 __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/ |
D | ctypes.rst | 230 | :class:`c_ushort` | :c:type:`unsigned short` | int | 273 >>> c_ushort(-3) 274 c_ushort(65533) 2307 :class:`c_ushort`. 2334 .. class:: c_ushort
|