Searched refs:c_char (Results 1 – 25 of 35) sorted by relevance
12
/external/python/cpython2/Lib/ctypes/test/ |
D | test_structures.py | 47 formats = {"c": c_char, 65 _fields_ = [("x", c_char), 73 _fields_ = [("x", c_char), 80 _fields_ = [("x", c_char * 3)] 85 _fields_ = [("x", c_char * 3), 134 ("y", c_char)] 140 self.assertEqual(X.y.size, sizeof(c_char)) 148 ("y", c_char)] 154 self.assertEqual(X.y.size, sizeof(c_char)) 214 _fields_ = [("name", c_char*6), [all …]
|
D | test_stringptr.py | 12 _fields_ = [("str", POINTER(c_char))] 50 strchr.argtypes = c_char_p, c_char 56 strchr.argtypes = POINTER(c_char), c_char 65 strchr.restype = POINTER(c_char)
|
D | test_returnfuncptrs.py | 14 get_strchr.restype = CFUNCTYPE(c_char_p, c_char_p, c_char) 29 strchr = CFUNCTYPE(c_char_p, c_char_p, c_char)(addr) 39 strchr = CFUNCTYPE(c_char_p, c_char_p, c_char)(("my_strchr", dll)) 57 strchr = CFUNCTYPE(c_char_p, c_char_p, c_char)(
|
D | test_libc.py | 17 comparefunc = CFUNCTYPE(c_int, POINTER(c_char), POINTER(c_char)) 25 lib.my_qsort(chars, len(chars)-1, sizeof(c_char), comparefunc(sort))
|
D | test_buffers.py | 10 self.assertEqual(sizeof(b), 32 * sizeof(c_char)) 15 self.assertEqual(sizeof(b), 4 * sizeof(c_char)) 31 self.assertEqual(sizeof(b), 4 * sizeof(c_char))
|
D | test_repr.py | 12 class X(c_char): 25 self.assertEqual("c_char('x')", repr(c_char('x')))
|
D | test_prototypes.py | 93 func.argtypes = POINTER(c_char), 101 ca = c_char("a") 116 ca = c_char("a") 131 ca = c_char("a")
|
D | test_byteswap.py | 150 self.assertIs(c_char.__ctype_le__, c_char) 151 self.assertIs(c_char.__ctype_be__, c_char) 173 ("n", c_char),
|
D | test_strings.py | 8 BUF = c_char * 4 54 BUF = c_char * 4 59 BUF = c_char * 4
|
D | test_funcptr.py | 99 strchr.argtypes = (c_char_p, c_char) 112 return (c_char*size)(*init)
|
D | test_frombuffer.py | 36 (c_char * 16).from_buffer, "a" * 16) 67 x = (c_char * 16).from_buffer_copy("a" * 16)
|
D | test_numbers.py | 191 from ctypes import c_char 195 v = c_char.from_address(a.buffer_info()[0]) 197 self.assertIs(type(v), c_char)
|
D | test_arrays.py | 49 CharArray = ARRAY(c_char, 3) 102 sz = (c_char * 3).from_address(addressof(p))
|
D | test_pep3118.py | 117 (c_char, "<c", None, c_char),
|
D | test_delattr.py | 14 delattr, (c_char * 5)(), "value")
|
D | test_slicing.py | 70 dll.my_strdup.restype = POINTER(c_char) 127 p = (c_char * 27)(*s)
|
D | test_callbacks.py | 93 self.check_type(c_char, "x") 94 self.check_type(c_char, "a")
|
D | test_pickling.py | 70 self.dumps(c_char(b"x"))
|
/external/chromium-trace/catapult/third_party/pyserial/serial/ |
D | win32.py | 282 ('XonChar', c_char), 283 ('XoffChar', c_char), 284 ('ErrorChar', c_char), 285 ('EofChar', c_char), 286 ('EvtChar', c_char),
|
/external/python/cpython2/Lib/ctypes/ |
D | __init__.py | 57 buftype = c_char * size 62 buftype = c_char * init 235 class c_char(_SimpleCData): class 237 c_char.__ctype_le__ = c_char.__ctype_be__ = c_char 238 _check_size(c_char) 270 POINTER(c_char).from_param = c_char_p.from_param
|
D | wintypes.py | 151 ("cFileName", c_char * MAX_PATH), 152 ("cAlternateFileName", c_char * 14)]
|
/external/autotest/client/site_tests/kernel_CryptoAPI/ |
D | kernel_CryptoAPI.py | 36 ('salg_type', ctypes.c_char * 14), 39 ('salg_name', ctypes.c_char * 64),
|
/external/vulkan-validation-layers/ |
D | vk-layer-introspect.py | 41 _fields_ = [("c_layerName", ctypes.c_char * 256), 44 ("c_description", ctypes.c_char * 256)] 69 _fields_ = [("c_extensionName", ctypes.c_char * 256),
|
/external/python/cpython2/Lib/multiprocessing/ |
D | sharedctypes.py | 49 'c': ctypes.c_char, 140 if obj._type_ is ctypes.c_char:
|
/external/llvm/bindings/python/llvm/ |
D | object.py | 81 from ctypes import c_char 466 library.LLVMGetSectionContents.restype = POINTER(c_char)
|
12