Home
last modified time | relevance | path

Searched refs:wstring_at (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython2/Lib/ctypes/test/
Dtest_memfunctions.py14 lambda: wstring_at(u"foo", sys.maxint - 1))
71 self.assertEqual(wstring_at(a), "Hello, World")
72 self.assertEqual(wstring_at(a, 5), "Hello")
73 self.assertEqual(wstring_at(a, 16), "Hello, World\0\0\0\0")
74 self.assertEqual(wstring_at(a, 0), "")
/external/python/cpython2/Lib/ctypes/
D__init__.py514 def wstring_at(ptr, size=-1): function
/external/python/cpython2/Modules/_ctypes/
D_ctypes.c5563 wstring_at(const wchar_t *ptr, int size) in wstring_at() function
5725 PyModule_AddObject(m, "_wstring_at_addr", PyLong_FromVoidPtr(wstring_at)); in init_ctypes()
/external/python/cpython2/Doc/library/
Dctypes.rst2041 .. function:: wstring_at(address[, size])
/external/python/cpython2/Misc/
DNEWS9555 - Issue #3554: ctypes.string_at and ctypes.wstring_at did call Python
11375 - Bug #1646630: ctypes.string_at(buf, 0) and ctypes.wstring_at(buf, 0)