Home
last modified time | relevance | path

Searched refs:string_at (Results 1 – 7 of 7) sorted by relevance

/third_party/python/Lib/ctypes/test/
Dtest_memfunctions.py17 lambda: string_at("foo", sys.maxint - 1))
27 self.assertEqual(string_at(result), b"Hello, World")
28 self.assertEqual(string_at(result, 5), b"Hello")
29 self.assertEqual(string_at(result, 16), b"Hello, World\0\0\0\0")
30 self.assertEqual(string_at(result, 0), b"")
37 self.assertEqual(string_at(result), b"xxxxxxxxxxxxxxxx")
38 self.assertEqual(string_at(a), b"xxxxxxxxxxxxxxxx")
39 self.assertEqual(string_at(a, 20), b"xxxxxxxxxxxxxxxx\0\0\0\0")
57 s = string_at(b"foo bar")
63 self.assertEqual(string_at(b"foo bar", 7), b"foo bar")
[all …]
/third_party/python/Doc/library/
Dfaulthandler.rst169 $ python3 -c "import ctypes; ctypes.string_at(0)"
174 >>> ctypes.string_at(0)
178 File "/home/python/cpython/Lib/ctypes/__init__.py", line 486 in string_at
Dctypes.rst2021 .. function:: string_at(address, size=-1)
2027 .. audit-event:: ctypes.string_at address,size ctypes.string_at
/third_party/python/Lib/ctypes/
D__init__.py513 def string_at(ptr, size=-1): function
/third_party/python/Modules/_ctypes/
D_ctypes.c5558 string_at(const char *ptr, int size) in string_at() function
5789 MOD_ADD("_string_at_addr", PyLong_FromVoidPtr(string_at)); in _ctypes_add_objects()
/third_party/python/Doc/whatsnew/
D3.3.rst880 >>> ctypes.string_at(0)
884 File "/home/python/cpython/Lib/ctypes/__init__.py", line 486 in string_at
/third_party/python/Misc/
DHISTORY16563 - Issue #3554: ctypes.string_at and ctypes.wstring_at did call Python