Home
last modified time | relevance | path

Searched refs:string_at (Results 1 – 8 of 8) 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/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/cpython2/Lib/ctypes/
D__init__.py502 def string_at(ptr, size=-1): function
/external/devlib/devlib/utils/
Dmisc.py583 obj_bytes = ctypes.string_at(ctypes.addressof(obj_pyobj), num_bytes)
/external/python/cpython2/Modules/_ctypes/
D_ctypes.c5478 string_at(const char *ptr, int size) in string_at() function
5722 PyModule_AddObject(m, "_string_at_addr", PyLong_FromVoidPtr(string_at)); in init_ctypes()
/external/python/cpython2/Doc/library/
Dctypes.rst2025 .. function:: string_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)