Searched refs:c_ushort (Results 1 - 25 of 35) sorted by relevance

12

/external/scapy/scapy/arch/
H A Dcommon.py14 from ctypes import c_uint, c_uint32, c_ushort, c_ubyte namespace
28 _fields_ = [("code", c_ushort),
74 bip[i].code = c_ushort(values[0])
/external/python/cpython2/Lib/ctypes/test/
H A Dtest_repr.py6 c_ubyte, c_ushort, c_uint, c_ulong, c_ulonglong,
H A Dtest_unaligned_structures.py15 c_ushort, c_uint, c_ulong, c_ulonglong]:
H A Dtest_pep3118.py121 (c_ushort, "<H", None, c_ushort),
H A 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)
H A Dtest_byteswap.py42 s = c_ushort.__ctype_be__(0x1234)
47 s = c_ushort.__ctype_le__(0x1234)
164 ("d", c_ushort),
H A Dtest_arrays.py8 formats = c_byte, c_ubyte, c_short, c_ushort, c_int, c_uint, \
H A Dtest_pointers.py6 ctype_types = [c_byte, c_ubyte, c_short, c_ushort, c_int, c_uint,
H A Dtest_callbacks.py49 self.check_type(c_ushort, 42)
/external/python/cpython3/Lib/ctypes/test/
H A Dtest_repr.py6 c_ubyte, c_ushort, c_uint, c_ulong, c_ulonglong,
H A Dtest_unaligned_structures.py15 c_ushort, c_uint, c_ulong, c_ulonglong]:
H A Dtest_pep3118.py124 (c_ushort, "<H", (), c_ushort),
H A 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)
H A Dtest_byteswap.py62 s = c_ushort.__ctype_be__(0x1234)
67 s = c_ushort.__ctype_le__(0x1234)
184 ("d", c_ushort),
H A Dtest_arrays.py8 formats = c_byte, c_ubyte, c_short, c_ushort, c_int, c_uint, \
H A Dtest_pointers.py6 ctype_types = [c_byte, c_ubyte, c_short, c_ushort, c_int, c_uint,
/external/autotest/client/cros/graphics/
H A Ddrm.py162 ("hdisplay", c_ushort),
163 ("hsync_start", c_ushort),
164 ("hsync_end", c_ushort),
165 ("htotal", c_ushort),
166 ("hskew", c_ushort),
167 ("vdisplay", c_ushort),
168 ("vsync_start", c_ushort),
169 ("vsync_end", c_ushort),
170 ("vtotal", c_ushort),
171 ("vscan", c_ushort),
[all...]
/external/python/cpython2/Lib/ctypes/
H A Dwintypes.py5 WORD = c_ushort
27 USHORT = c_ushort
H A D__init__.py169 class c_ushort(_SimpleCData): class in inherits:_SimpleCData
171 _check_size(c_ushort)
546 for kind in [c_ushort, c_uint, c_ulong, c_ulonglong]:
/external/scapy/scapy/modules/
H A Dwinpcapy.py44 u_short = c_ushort
55 _fields_=[("code",c_ushort),
66 _fields_=[("bv_major",c_ushort),
67 ("bv_minor",c_ushort)]
80 _fields_ = [("sa_family", c_ushort),
84 _fields_ = [("sin_family", c_ushort),
89 _fields_ = [("sin6_family", c_ushort),
118 ("sdl_index", c_ushort),
/external/python/cpython3/Lib/ctypes/
H A Dwintypes.py5 WORD = ctypes.c_ushort
28 USHORT = ctypes.c_ushort
H A D__init__.py164 class c_ushort(_SimpleCData): class in inherits:_SimpleCData
166 _check_size(c_ushort)
532 for kind in [c_ushort, c_uint, c_ulong, c_ulonglong]:
/external/python/cpython2/Lib/multiprocessing/
H A Dsharedctypes.py51 'h': ctypes.c_short, 'H': ctypes.c_ushort,
/external/python/cpython3/Lib/multiprocessing/
H A Dsharedctypes.py28 'h': ctypes.c_short, 'H': ctypes.c_ushort,
/external/sonivox/jet_tools/JetCreator/
H A Deas.py158 _fields_ = [('bank', c_ushort),
185 _fields_ = [('wFormatTag', c_ushort),
186 ('nChannels', c_ushort),
189 ('nBlockAlign', c_ushort),
190 ('wBitsPerSample', c_ushort)]

Completed in 543 milliseconds

12