Home
last modified time | relevance | path

Searched refs:send_slice (Results 1 – 4 of 4) sorted by relevance

/external/rust/crates/vmm_vhost/src/vhost_user/
Dconnection.rs174 pub fn send_slice(&mut self, data: &[u8], fds: Option<&[RawFd]>) -> Result<usize> { in send_slice() method
651 let mut len = master.send_slice(&buf1[..], None).unwrap(); in send_data()
657 len = master.send_slice(&buf1[..], None).unwrap(); in send_data()
684 .send_slice(&buf1[..], Some(&[fd.as_raw_fd()])) in send_fd()
706 .send_slice( in send_fd()
735 .send_slice( in send_fd()
753 let len = master.send_slice(&buf1[..], None).unwrap(); in send_fd()
756 .send_slice( in send_fd()
789 let len = master.send_slice(&buf1[..], None).unwrap(); in send_fd()
792 .send_slice( in send_fd()
[all …]
/external/grpc-grpc/test/cpp/microbenchmarks/
Dbm_chttp2_transport.cc406 grpc_slice send_slice = grpc_slice_malloc_large(state.range(0)); in BM_TransportStreamSend() local
407 memset(GRPC_SLICE_START_PTR(send_slice), 0, GRPC_SLICE_LENGTH(send_slice)); in BM_TransportStreamSend()
430 grpc_slice_buffer_add(&send_buffer, grpc_slice_ref(send_slice)); in BM_TransportStreamSend()
462 grpc_slice_unref(send_slice); in BM_TransportStreamSend()
/external/grpc-grpc/examples/cpp/helloworld/cocoapods/HelloWorldCpp/
DViewController.mm59 grpc::Slice send_slice = grpc::Slice(kMessage, sizeof(kMessage) / sizeof(kMessage[0]));
60 std::unique_ptr<grpc::ByteBuffer> send_buffer(new grpc::ByteBuffer(&send_slice, 1));
/external/grpc-grpc/test/cpp/cocoapods/generic/
Dgeneric.mm185 Slice send_slice = Slice("hello world", 11);
187 std::unique_ptr<ByteBuffer>(new ByteBuffer(&send_slice, 1));