Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/ctypes/test/
Dtest_stringptr.py17 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")
Dtest_prototypes.py100 self.assertEqual("123", func(c_buffer("123")))
115 self.assertEqual("123", func(c_buffer("123")))
130 self.assertEqual("123", func(c_buffer("123")))
Dtest_strings.py30 buf = c_buffer(32)
40 buf = c_buffer(32)
Dtest_python_api.py74 buf = c_buffer(256)
/external/squashfs-tools/kernel-2.4/fs/squashfs/
Dinode.c165 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/
Dplatform.py569 from ctypes import (c_buffer, POINTER, byref, create_unicode_buffer,
611 ver_block = c_buffer(size)
/external/python/cpython2/Lib/ctypes/
D__init__.py67 def c_buffer(init, size=None): function
/external/syslinux/gpxe/src/util/
Dnrv2b.c1047 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/
Dctypes.rst329 The :func:`create_string_buffer` function replaces the :func:`c_buffer` function