Home
last modified time | relevance | path

Searched refs:c_buffer (Results 1 – 22 of 22) 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/python/cpython3/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)
/external/tensorflow/tensorflow/compiler/xla/python/
Dxla_client.py88 def delete_buffer(self, c_buffer): argument
92 def destructure_tuple(self, c_buffer): argument
135 def delete_buffer(self, c_buffer): argument
136 self._delete_buffer(c_buffer)
138 def destructure_tuple(self, c_buffer): argument
139 result = c_buffer.DestructureTuple()
176 def delete_buffer(self, c_buffer): argument
177 self._delete_buffer(c_buffer)
179 def destructure_tuple(self, c_buffer): argument
181 c_buffer, _maybe_encode_string(self.target))
[all …]
/external/grpc-grpc/test/cpp/codegen/
Dproto_utils_test.cc46 grpc_byte_buffer* c_buffer() { return bb_->c_buffer(); } in c_buffer() function in grpc::internal::GrpcByteBufferPeer
124 grpc_byte_buffer_reader_init(&reader, peer.c_buffer()); in BufferWriterTest()
/external/python/cpython3/PC/
Dvalidate_ucrtbase.py8 from ctypes import (c_buffer, POINTER, byref, create_unicode_buffer,
63 ver_block = c_buffer(size)
/external/grpc-grpc/include/grpcpp/impl/codegen/
Dproto_buffer_reader.h56 &reader_, buffer->c_buffer())) { in ProtoBufferReader()
Dbyte_buffer.h167 grpc_byte_buffer* c_buffer() { return buffer_; } in c_buffer() function
Dcall.h286 op->data.send_message.send_message = send_buf_.c_buffer(); in AddOp()
/external/grpc-grpc/src/python/grpcio/grpc/_cython/_cygrpc/
Dgrpc_gevent.pyx.pxi84 self.c_buffer = NULL
195 string.memcpy(<void*>socket_wrapper.c_buffer, buff_char_arr, len(buff_str))
210 sw.c_buffer = buffer
Dgrpc_gevent.pxd.pxi138 cdef char* c_buffer
/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.py599 from ctypes import (c_buffer, POINTER, byref, create_unicode_buffer,
641 ver_block = c_buffer(size)
/external/python/cpython3/Lib/ctypes/
D__init__.py65 def c_buffer(init, size=None): function
/external/python/cpython2/Lib/ctypes/
D__init__.py67 def c_buffer(init, size=None): function
/external/python/cpython3/Doc/library/
Dctypes.rst340 The :func:`create_string_buffer` function replaces the :func:`c_buffer` function
/external/python/cpython2/Doc/library/
Dctypes.rst329 The :func:`create_string_buffer` function replaces the :func:`c_buffer` function