Home
last modified time | relevance | path

Searched refs:c_buffer (Results 1 – 7 of 7) sorted by relevance

/third_party/python/Lib/ctypes/test/
Dtest_stringptr.py19 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")
Dtest_prototypes.py103 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")))
Dtest_strings.py29 buf = c_buffer(32)
39 buf = c_buffer(32)
Dtest_python_api.py73 buf = c_buffer(256)
/third_party/python/PC/
Dvalidate_ucrtbase.py8 from ctypes import (c_buffer, POINTER, byref, create_unicode_buffer,
63 ver_block = c_buffer(size)
/third_party/python/Lib/ctypes/
D__init__.py68 def c_buffer(init, size=None): function
/third_party/python/Doc/library/
Dctypes.rst333 The :func:`create_string_buffer` function replaces the :func:`c_buffer` function