Searched refs:c_buffer (Results 1 – 7 of 7) sorted by relevance
/third_party/python/Lib/ctypes/test/ |
D | test_stringptr.py | 19 b = c_buffer(b"Hello, World") 42 b = c_buffer(b"Hello, World") 54 self.assertEqual(strchr(c_buffer(b"abcdef"), b"c"), b"cdef") 59 buf = c_buffer(b"abcdef") 68 buf = c_buffer(b"abcdef")
|
D | test_prototypes.py | 103 self.assertEqual(b"123", func(c_buffer(b"123"))) 118 self.assertEqual(b"123", func(c_buffer(b"123"))) 133 self.assertEqual(b"123", func(c_buffer(b"123")))
|
D | test_strings.py | 29 buf = c_buffer(32) 39 buf = c_buffer(32)
|
D | test_python_api.py | 73 buf = c_buffer(256)
|
/third_party/python/PC/ |
D | validate_ucrtbase.py | 8 from ctypes import (c_buffer, POINTER, byref, create_unicode_buffer, 63 ver_block = c_buffer(size)
|
/third_party/python/Lib/ctypes/ |
D | __init__.py | 68 def c_buffer(init, size=None): function
|
/third_party/python/Doc/library/ |
D | ctypes.rst | 333 The :func:`create_string_buffer` function replaces the :func:`c_buffer` function
|