Home
last modified time | relevance | path

Searched refs:c_buffer (Results 1 – 14 of 14) 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/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
135 grpc_byte_buffer_reader_init(&reader, peer.c_buffer()); in BufferWriterTest()
/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/grpc/src/cpp/server/
Dexternal_connection_acceptor_impl.cc74 handler_->Handle(p->listener_fd, p->fd, p->read_buffer.c_buffer()); in HandleNewConnection()
/third_party/grpc/include/grpcpp/impl/codegen/
Dproto_buffer_reader.h56 &reader_, buffer->c_buffer())) { in ProtoBufferReader()
Dbyte_buffer.h194 grpc_byte_buffer* c_buffer() { return buffer_; } in c_buffer() function
Dcall_op_set.h322 op->data.send_message.send_message = send_buf_.c_buffer(); in AddOp()
/third_party/grpc/src/python/grpcio/grpc/_cython/_cygrpc/
Dgrpc_gevent.pxd.pxi27 cdef char* c_buffer
Dgrpc_gevent.pyx.pxi38 self.c_buffer = NULL
152 string.memcpy(<void*>socket_wrapper.c_buffer, buff_char_arr, len(buff_str))
167 sw.c_buffer = buffer
/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