Searched refs:string_at (Results 1 – 7 of 7) sorted by relevance
/third_party/python/Lib/ctypes/test/ |
D | test_memfunctions.py | 17 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/ |
D | faulthandler.rst | 169 $ 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
|
D | ctypes.rst | 2021 .. function:: string_at(address, size=-1) 2027 .. audit-event:: ctypes.string_at address,size ctypes.string_at
|
/third_party/python/Lib/ctypes/ |
D | __init__.py | 513 def string_at(ptr, size=-1): function
|
/third_party/python/Modules/_ctypes/ |
D | _ctypes.c | 5558 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/ |
D | 3.3.rst | 880 >>> ctypes.string_at(0) 884 File "/home/python/cpython/Lib/ctypes/__init__.py", line 486 in string_at
|
/third_party/python/Misc/ |
D | HISTORY | 16563 - Issue #3554: ctypes.string_at and ctypes.wstring_at did call Python
|