/external/python/cpython2/Lib/ctypes/test/ |
D | test_memfunctions.py | 16 lambda: string_at("foo", sys.maxint - 1)) 26 self.assertEqual(string_at(result), "Hello, World") 27 self.assertEqual(string_at(result, 5), "Hello") 28 self.assertEqual(string_at(result, 16), "Hello, World\0\0\0\0") 29 self.assertEqual(string_at(result, 0), "") 36 self.assertEqual(string_at(result), "xxxxxxxxxxxxxxxx") 37 self.assertEqual(string_at(a), "xxxxxxxxxxxxxxxx") 38 self.assertEqual(string_at(a, 20), "xxxxxxxxxxxxxxxx\0\0\0\0") 55 s = string_at("foo bar") 61 self.assertEqual(string_at("foo bar", 8), "foo bar\0") [all …]
|
/external/python/cpython3/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 …]
|
/external/python/cpython3/Doc/library/ |
D | faulthandler.rst | 160 $ python3 -c "import ctypes; ctypes.string_at(0)" 165 >>> ctypes.string_at(0) 169 File "/home/python/cpython/Lib/ctypes/__init__.py", line 486 in string_at
|
D | ctypes.rst | 1957 .. function:: string_at(address, size=-1)
|
/external/llvm/bindings/python/llvm/ |
D | object.py | 84 from ctypes import string_at 221 return string_at(r, siz)
|
/external/swiftshader/third_party/llvm-7.0/llvm/bindings/python/llvm/ |
D | object.py | 84 from ctypes import string_at 221 return string_at(r, siz)
|
/external/autotest/client/site_tests/kernel_CryptoAPI/ |
D | kernel_CryptoAPI.py | 131 h = ctypes.string_at(ctypes.addressof(out), ret)
|
/external/python/cpython3/Lib/ctypes/ |
D | __init__.py | 493 def string_at(ptr, size=-1): function
|
/external/python/cpython2/Lib/ctypes/ |
D | __init__.py | 506 def string_at(ptr, size=-1): function
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.6b2.rst | 140 ctypes.string_at and ctypes.wstring_at did call Python api functions without
|
D | 2.7.15rc1.rst | 1334 ctypes.string_at(0) returns an empty string rather than crashing.
|
D | 2.6a1.rst | 2892 ctypes.string_at(buf, 0) and ctypes.wstring_at(buf, 0) returned string up to
|
/external/bcc/src/python/bcc/ |
D | __init__.py | 394 return ct.string_at(start, size)
|
/external/python/cpython3/Modules/_ctypes/ |
D | _ctypes.c | 5320 string_at(const char *ptr, int size) in string_at() function 5580 PyModule_AddObject(m, "_string_at_addr", PyLong_FromVoidPtr(string_at)); in PyInit__ctypes()
|
/external/python/cpython2/Modules/_ctypes/ |
D | _ctypes.c | 5573 string_at(const char *ptr, int size) in string_at() function 5817 PyModule_AddObject(m, "_string_at_addr", PyLong_FromVoidPtr(string_at)); in init_ctypes()
|
/external/python/cpython3/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
|
/external/python/cpython2/Doc/library/ |
D | ctypes.rst | 2025 .. function:: string_at(address[, size])
|
/external/python/cpython3/Misc/ |
D | HISTORY | 16563 - Issue #3554: ctypes.string_at and ctypes.wstring_at did call Python
|