Searched refs:c_bool (Results 1 – 8 of 8) sorted by relevance
/third_party/python/Lib/ctypes/test/ |
D | test_parameters.py | 206 c_bool, 226 self.assertRegex(repr(c_bool.from_param(True)), r"^<cparam '\?' at 0x[A-Fa-f0-9]+>$") 249 c_bool, 269 self.assertRegex(repr(c_bool.from_param(True)), r"^<cparam '\?' at 0x[A-Fa-f0-9]+>$") 292 c_bool, 312 self.assertRegex(repr(c_bool.from_param(True)), r"^<cparam '\?' at 0x[A-Fa-f0-9]+>$")
|
D | test_numbers.py | 41 c_bool 45 bool_types.append(c_bool) 211 from ctypes import c_bool 213 a = array(c_bool._type_, [True])
|
D | test_pep3118.py | 117 s_bool = {1: '?', 2: 'H', 4: 'L', 8: 'Q'}[sizeof(c_bool)] 168 (c_bool, "<" + s_bool, (), c_bool),
|
D | test_repr.py | 7 c_float, c_double, c_longdouble, c_bool]:
|
/third_party/rust/crates/minimal-lexical/etc/correctness/test-parse-random/ |
D | runtests.py | 168 done = multiprocessing.Value(ctypes.c_bool)
|
/third_party/python/Lib/ctypes/ |
D | __init__.py | 249 class c_bool(_SimpleCData): class
|
/third_party/python/Doc/library/ |
D | ctypes.rst | 218 | :class:`c_bool` | :c:type:`_Bool` | bool (1) | 2360 .. class:: c_bool
|
/third_party/python/Doc/whatsnew/ |
D | 2.6.rst | 2847 :mod:`ctypes` now supports a :class:`c_bool` datatype
|