Searched refs:c_buffer (Results 1 – 9 of 9) sorted by relevance
/external/python/cpython2/Lib/ctypes/test/ |
D | test_stringptr.py | 17 b = c_buffer("Hello, World") 40 b = c_buffer("Hello, World") 52 self.assertEqual(strchr(c_buffer("abcdef"), "c"), "cdef") 57 buf = c_buffer("abcdef") 66 buf = c_buffer("abcdef")
|
D | test_prototypes.py | 100 self.assertEqual("123", func(c_buffer("123"))) 115 self.assertEqual("123", func(c_buffer("123"))) 130 self.assertEqual("123", func(c_buffer("123")))
|
D | test_strings.py | 30 buf = c_buffer(32) 40 buf = c_buffer(32)
|
D | test_python_api.py | 74 buf = c_buffer(256)
|
/external/squashfs-tools/kernel-2.4/fs/squashfs/ |
D | inode.c | 165 char *c_buffer; in squashfs_read_data() local 172 c_buffer = compressed ? msblk->read_data : buffer; in squashfs_read_data() 194 c_buffer = compressed ? msblk->read_data : buffer; in squashfs_read_data() 218 memcpy(c_buffer + bytes, bh[k]->b_data + offset, avail_bytes); in squashfs_read_data() 230 msblk->stream.next_in = c_buffer; in squashfs_read_data()
|
/external/python/cpython2/Lib/ |
D | platform.py | 569 from ctypes import (c_buffer, POINTER, byref, create_unicode_buffer, 611 ver_block = c_buffer(size)
|
/external/python/cpython2/Lib/ctypes/ |
D | __init__.py | 67 def c_buffer(init, size=None): function
|
/external/syslinux/gpxe/src/util/ |
D | nrv2b.c | 1047 struct ucl_compress c_buffer; in ucl_nrv2b_99_compress() local 1048 struct ucl_compress * const c = &c_buffer; in ucl_nrv2b_99_compress()
|
/external/python/cpython2/Doc/library/ |
D | ctypes.rst | 329 The :func:`create_string_buffer` function replaces the :func:`c_buffer` function
|