Searched refs:string_at (Results 1 – 8 of 8) sorted by relevance
/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/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/cpython2/Lib/ctypes/ |
D | __init__.py | 502 def string_at(ptr, size=-1): function
|
/external/devlib/devlib/utils/ |
D | misc.py | 583 obj_bytes = ctypes.string_at(ctypes.addressof(obj_pyobj), num_bytes)
|
/external/python/cpython2/Modules/_ctypes/ |
D | _ctypes.c | 5478 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/ |
D | ctypes.rst | 2025 .. function:: string_at(address[, size])
|
/external/python/cpython2/Misc/ |
D | NEWS | 9555 - 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)
|