Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/ctypes/test/
Dtest_memfunctions.py16 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/
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 …]
/external/python/cpython3/Doc/library/
Dfaulthandler.rst160 $ 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
Dctypes.rst1957 .. function:: string_at(address, size=-1)
/external/llvm/bindings/python/llvm/
Dobject.py84 from ctypes import string_at
221 return string_at(r, siz)
/external/swiftshader/third_party/llvm-7.0/llvm/bindings/python/llvm/
Dobject.py84 from ctypes import string_at
221 return string_at(r, siz)
/external/autotest/client/site_tests/kernel_CryptoAPI/
Dkernel_CryptoAPI.py131 h = ctypes.string_at(ctypes.addressof(out), ret)
/external/python/cpython3/Lib/ctypes/
D__init__.py493 def string_at(ptr, size=-1): function
/external/python/cpython2/Lib/ctypes/
D__init__.py506 def string_at(ptr, size=-1): function
/external/python/cpython2/Misc/NEWS.d/
D2.6b2.rst140 ctypes.string_at and ctypes.wstring_at did call Python api functions without
D2.7.15rc1.rst1334 ctypes.string_at(0) returns an empty string rather than crashing.
D2.6a1.rst2892 ctypes.string_at(buf, 0) and ctypes.wstring_at(buf, 0) returned string up to
/external/bcc/src/python/bcc/
D__init__.py394 return ct.string_at(start, size)
/external/python/cpython3/Modules/_ctypes/
D_ctypes.c5320 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.c5573 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/
D3.3.rst880 >>> ctypes.string_at(0)
884 File "/home/python/cpython/Lib/ctypes/__init__.py", line 486 in string_at
/external/python/cpython2/Doc/library/
Dctypes.rst2025 .. function:: string_at(address[, size])
/external/python/cpython3/Misc/
DHISTORY16563 - Issue #3554: ctypes.string_at and ctypes.wstring_at did call Python