/third_party/python/Lib/ctypes/test/ |
D | test_cfuncs.py | 19 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_uint) 98 self._dll.tf_bl.argtypes = (c_byte, c_long) [all …]
|
D | test_byteswap.py | 164 self.assertIs(c_byte.__ctype_le__, c_byte) 165 self.assertIs(c_byte.__ctype_be__, c_byte) 182 ("b", c_byte), 195 ("b1", c_byte, 3), 196 ("b2", c_byte, 3), 197 ("b3", c_byte, 2), 250 _fields_ = [("b", c_byte), 269 _fields_ = [("b", c_byte), 273 ("_1", c_byte), 276 ("_2", c_byte), [all …]
|
D | test_memfunctions.py | 44 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],
|
D | test_functions.py | 60 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] 133 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_longdouble] 147 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double] 153 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double, c_longlong]
|
D | test_bitfields.py | 53 signed_int_types = (c_byte, c_short, c_int, c_long, c_longlong) 201 _fields_ = [("a", c_byte, 4), 210 _fields_ = [("a", c_byte, 4), 216 _fields_ = [("a", c_byte, 4), 218 self.assertEqual(sizeof(X), sizeof(c_byte)) 239 _fields_ = [("a", c_byte, 4),
|
D | test_pep3118.py | 149 (c_byte, "<b", (), c_byte), 173 (POINTER(c_byte), "&<b", (), POINTER(c_byte)),
|
D | test_parameters.py | 209 c_byte, 229 self.assertEqual(repr(c_byte.from_param(98)), "<cparam 'b' (98)>") 252 c_byte, 272 self.assertEqual(repr(c_byte.from_param(98)), "<cparam 'b' (98)>") 295 c_byte, 315 self.assertEqual(repr(c_byte.from_param(98)), "<cparam 'b' (98)>")
|
D | test_unaligned_structures.py | 18 _fields_ = [("pad", c_byte), 22 _fields_ = [("pad", c_byte),
|
D | test_structures.py | 56 "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)],
|
D | test_callbacks.py | 29 PROTO = self.functype.__func__(typ, c_byte, typ) 40 self.check_type(c_byte, 42) 41 self.check_type(c_byte, -42)
|
D | test_repr.py | 5 for base in [c_byte, c_short, c_int, c_long, c_longlong,
|
D | test_array_in_pointer.py | 14 _fields_ = [("val", c_byte)]
|
D | test_cast.py | 87 array_type = c_byte * sizeof(c_int)
|
D | test_pointers.py | 6 ctype_types = [c_byte, c_ubyte, c_short, c_ushort, c_int, c_uint,
|
D | test_slicing.py | 90 dll.my_strdup.restype = POINTER(c_byte)
|
D | test_as_parameter.py | 24 f.argtypes = [c_byte, c_wchar, c_int, c_long, c_float, c_double]
|
D | test_arrays.py | 10 formats = c_byte, c_ubyte, c_short, c_ushort, c_int, c_uint, \
|
D | test_numbers.py | 25 signed_types = [c_byte, c_short, c_int, c_long, c_longlong]
|
/third_party/python/Lib/ctypes/ |
D | __init__.py | 228 class c_byte(_SimpleCData): class 230 c_byte.__ctype_le__ = c_byte.__ctype_be__ = c_byte 231 _check_size(c_byte) 551 c_int8 = c_byte
|
D | wintypes.py | 4 BYTE = ctypes.c_byte
|
/third_party/skia/third_party/externals/jinja2/ |
D | debug.py | 248 ("PyObject_HEAD", ctypes.c_byte * object().__sizeof__()),
|
/third_party/python/Lib/multiprocessing/ |
D | sharedctypes.py | 27 'b': ctypes.c_byte, 'B': ctypes.c_ubyte,
|
/third_party/rust/crates/regex/src/ |
D | compile.rs | 278 self.c_byte(b) in c() 477 fn c_byte(&mut self, b: u8) -> ResultOrEmpty { in c_byte() method
|
/third_party/python/Doc/library/ |
D | ctypes.rst | 224 | :class:`c_byte` | :c:type:`char` | int | 848 >>> bar.values = (c_byte * 4)() 862 >>> a = (c_byte * 4)() 871 >>> bar.values = cast((c_byte * 4)(), POINTER(c_int)) 2183 .. class:: c_byte 2233 :class:`c_byte`.
|
/third_party/python/Lib/lib2to3/tests/data/ |
D | infinite_recursion.py | 22 __int8_t = c_byte 2479 int8_t = c_byte
|