Searched refs:c_buffer (Results 1 – 14 of 14) sorted by relevance
/third_party/python/Lib/ctypes/test/ |
D | test_stringptr.py | 19 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")
|
D | test_prototypes.py | 103 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")))
|
D | test_strings.py | 29 buf = c_buffer(32) 39 buf = c_buffer(32)
|
D | test_python_api.py | 73 buf = c_buffer(256)
|
/third_party/grpc/test/cpp/codegen/ |
D | proto_utils_test.cc | 46 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/ |
D | validate_ucrtbase.py | 8 from ctypes import (c_buffer, POINTER, byref, create_unicode_buffer, 63 ver_block = c_buffer(size)
|
/third_party/grpc/src/cpp/server/ |
D | external_connection_acceptor_impl.cc | 74 handler_->Handle(p->listener_fd, p->fd, p->read_buffer.c_buffer()); in HandleNewConnection()
|
/third_party/grpc/include/grpcpp/impl/codegen/ |
D | proto_buffer_reader.h | 56 &reader_, buffer->c_buffer())) { in ProtoBufferReader()
|
D | byte_buffer.h | 194 grpc_byte_buffer* c_buffer() { return buffer_; } in c_buffer() function
|
D | call_op_set.h | 322 op->data.send_message.send_message = send_buf_.c_buffer(); in AddOp()
|
/third_party/grpc/src/python/grpcio/grpc/_cython/_cygrpc/ |
D | grpc_gevent.pxd.pxi | 27 cdef char* c_buffer
|
D | grpc_gevent.pyx.pxi | 38 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__.py | 68 def c_buffer(init, size=None): function
|
/third_party/python/Doc/library/ |
D | ctypes.rst | 333 The :func:`create_string_buffer` function replaces the :func:`c_buffer` function
|