Home
last modified time | relevance | path

Searched refs:c_wchar (Results 1 – 16 of 16) sorted by relevance

/external/python/cpython2/Lib/ctypes/test/
Dtest_buffers.py44 self.assertEqual(sizeof(b), 32 * sizeof(c_wchar))
49 self.assertEqual(sizeof(b), 4 * sizeof(c_wchar))
62 self.assertEqual(sizeof(b), 4 * sizeof(c_wchar))
Dtest_slicing.py140 dll.my_wcsdup.restype = POINTER(c_wchar)
141 dll.my_wcsdup.argtypes = POINTER(c_wchar),
156 if sizeof(c_wchar) == sizeof(c_short):
158 elif sizeof(c_wchar) == sizeof(c_int):
160 elif sizeof(c_wchar) == sizeof(c_long):
Dtest_prototypes.py43 return (c_wchar * n)(*init)
173 func.argtypes = POINTER(c_wchar),
181 ca = c_wchar("a")
199 ca = c_wchar("a")
Dtest_strings.py67 BUF = c_wchar * 4
153 c_wchar(u"x")
154 repr(byref(c_wchar(u"x")))
155 c_wchar("x")
Dtest_pickling.py72 self.dumps(c_wchar(u"x"))
Dtest_memfunctions.py68 result = memmove(a, p, len(p) * sizeof(c_wchar))
Dtest_functions.py70 f.argtypes = [c_byte, c_wchar, c_int, c_long, c_float, c_double]
79 f.restype = c_wchar
Dtest_arrays.py113 sz = (c_wchar * 3).from_address(addressof(p))
Dtest_as_parameter.py24 f.argtypes = [c_byte, c_wchar, c_int, c_long, c_float, c_double]
Dtest_byteswap.py182 for typ in c_wchar, c_void_p, POINTER(c_int):
Dtest_bitfields.py139 result = self.fail_fields(("a", c_wchar, 1))
Dtest_structures.py298 _fields_ = [("name", c_wchar * 12),
/external/python/cpython2/Lib/ctypes/
Dwintypes.py8 WCHAR = c_wchar
163 ("cFileName", c_wchar * MAX_PATH),
164 ("cAlternateFileName", c_wchar * 14)]
D__init__.py268 POINTER(c_wchar).from_param = c_wchar_p.from_param
291 class c_wchar(_SimpleCData): class
302 buftype = c_wchar * size
307 buftype = c_wchar * init
/external/python/cpython2/Lib/multiprocessing/
Dsharedctypes.py57 typecode_to_type['u'] = ctypes.c_wchar
/external/python/cpython2/Doc/library/
Dctypes.rst227 | :class:`c_wchar` | :c:type:`wchar_t` | 1-character unicode string |
1866 a ctypes array of :class:`c_wchar`.
2349 .. class:: c_wchar