Home
last modified time | relevance | path

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

/third_party/python/Lib/ctypes/test/
H A Dtest_byteswap.py164 self.assertIs(c_byte.__ctype_le__, c_byte)
165 self.assertIs(c_byte.__ctype_be__, c_byte)
177 ("b", c_byte),
189 ("b1", c_byte, 3),
190 ("b2", c_byte, 3),
191 ("b3", c_byte, 2),
244 _fields_ = [("b", c_byte),
263 _fields_ = [("b", c_byte),
[all...]
H A Dtest_cfuncs.py19 self._dll.tf_b.restype = c_byte
20 self._dll.tf_b.argtypes = (c_byte,)
25 self._dll.tf_bb.restype = c_byte
26 self._dll.tf_bb.argtypes = (c_byte, c_byte)
38 self._dll.tf_bB.argtypes = (c_byte, c_ubyte)
50 self._dll.tf_bh.argtypes = (c_byte, c_short)
62 self._dll.tf_bH.argtypes = (c_byte, c_ushort)
74 self._dll.tf_bi.argtypes = (c_byte, c_int)
86 self._dll.tf_bI.argtypes = (c_byte, c_uin
[all...]
H A Dtest_memfunctions.py44 self.assertEqual(cast(a, POINTER(c_byte))[:7],
46 self.assertEqual(cast(a, POINTER(c_byte))[:7:],
48 self.assertEqual(cast(a, POINTER(c_byte))[6:-1:-1],
50 self.assertEqual(cast(a, POINTER(c_byte))[:7:2],
52 self.assertEqual(cast(a, POINTER(c_byte))[:7:7],
H A Dtest_functions.py60 f.argtypes = [c_byte, c_wchar, c_int, c_long, c_float, c_double]
68 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double]
83 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double]
109 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double]
121 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double]
134 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_longdouble]
148 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double]
154 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double, c_longlong]
H A Dtest_pep3118.py149 (c_byte, "<b", (), c_byte),
173 (POINTER(c_byte), "&<b", (), POINTER(c_byte)),
H A Dtest_unaligned_structures.py18 _fields_ = [("pad", c_byte),
22 _fields_ = [("pad", c_byte),
H A Dtest_bitfields.py56 signed_int_types = (c_byte, c_short, c_int, c_long, c_longlong)
204 _fields_ = [("a", c_byte, 4),
213 _fields_ = [("a", c_byte, 4),
219 _fields_ = [("a", c_byte, 4),
221 self.assertEqual(sizeof(X), sizeof(c_byte))
242 _fields_ = [("a", c_byte, 4),
H A Dtest_structures.py56 "b": c_byte,
173 _fields_ = [("a", c_byte),
181 _fields_ = [("a", c_byte),
192 _fields_ = [("a", c_byte),
199 _fields_ = [("a", c_byte),
216 d = {"_fields_": [("a", c_byte)],
219 d = {"_fields_": [("a", c_byte)],
H A Dtest_repr.py5 for base in [c_byte, c_short, c_int, c_long, c_longlong,
H A Dtest_array_in_pointer.py14 _fields_ = [("val", c_byte)]
H A Dtest_callbacks.py30 PROTO = self.functype.__func__(typ, c_byte, typ)
41 self.check_type(c_byte, 42)
42 self.check_type(c_byte, -42)
H A Dtest_cast.py87 array_type = c_byte * sizeof(c_int)
H A Dtest_parameters.py209 c_byte,
229 self.assertEqual(repr(c_byte.from_param(98)), "<cparam 'b' (98)>")
H A Dtest_pointers.py6 ctype_types = [c_byte, c_ubyte, c_short, c_ushort, c_int, c_uint,
H A Dtest_as_parameter.py24 f.argtypes = [c_byte, c_wchar, c_int, c_long, c_float, c_double]
H A Dtest_arrays.py10 formats = c_byte, c_ubyte, c_short, c_ushort, c_int, c_uint, \
H A Dtest_numbers.py25 signed_types = [c_byte, c_short, c_int, c_long, c_longlong]
H A Dtest_slicing.py90 dll.my_strdup.restype = POINTER(c_byte)
/third_party/python/Lib/ctypes/
H A D__init__.py230 class c_byte(_SimpleCData): class
232 c_byte.__ctype_le__ = c_byte.__ctype_be__ = c_byte
233 _check_size(c_byte)
554 c_int8 = c_byte
H A Dwintypes.py4 BYTE = ctypes.c_byte
/third_party/node/deps/v8/third_party/jinja2/
H A Ddebug.py248 ("PyObject_HEAD", ctypes.c_byte * object().__sizeof__()),
/third_party/skia/third_party/externals/jinja2/
H A Ddebug.py248 ("PyObject_HEAD", ctypes.c_byte * object().__sizeof__()),
/third_party/python/Lib/multiprocessing/
H A Dsharedctypes.py27 'b': ctypes.c_byte, 'B': ctypes.c_ubyte,
/third_party/rust/crates/regex/src/
H A Dcompile.rs278 self.c_byte(b) in c()
477 fn c_byte(&mut self, b: u8) -> ResultOrEmpty { in c_byte() functions
/third_party/python/Lib/lib2to3/tests/data/
H A Dinfinite_recursion.py22 __int8_t = c_byte
2479 int8_t = c_byte

Completed in 16 milliseconds