/external/ltp/testcases/kernel/syscalls/recvmsg/ |
recvmsg03.c | 59 char send_buf[128] = "hello world"; local 83 msg.msg_iov->iov_base = send_buf; 84 msg.msg_iov->iov_len = strlen(send_buf) + 1;
|
/external/grpc-grpc/test/cpp/end2end/ |
client_callback_end2end_test.cc | 112 std::unique_ptr<ByteBuffer> send_buf; local 118 send_buf = SerializeToByteBuffer(&request); 124 &cli_ctx, kMethodName, send_buf.get(), &recv_buf,
|
/external/strace/tests/ |
mmsg_name.c | 87 char *const send_buf = tail_alloc(sizeof(*send_buf) * IOV_MAX1); local 101 send_buf[i] = '0' + i % 10; 103 send_iov[i].iov_base = &send_buf[i]; 104 send_iov[i].iov_len = sizeof(*send_buf);
|
/external/strace/tests-m32/ |
mmsg_name.c | 87 char *const send_buf = tail_alloc(sizeof(*send_buf) * IOV_MAX1); local 101 send_buf[i] = '0' + i % 10; 103 send_iov[i].iov_base = &send_buf[i]; 104 send_iov[i].iov_len = sizeof(*send_buf);
|
/external/strace/tests-mx32/ |
mmsg_name.c | 87 char *const send_buf = tail_alloc(sizeof(*send_buf) * IOV_MAX1); local 101 send_buf[i] = '0' + i % 10; 103 send_iov[i].iov_base = &send_buf[i]; 104 send_iov[i].iov_len = sizeof(*send_buf);
|
/device/generic/goldfish/keymaster/trusty/ |
trusty_keymaster_device.cpp | 765 uint8_t send_buf[SEND_BUF_SIZE]; local 766 Eraser send_buf_eraser(send_buf, SEND_BUF_SIZE); 767 req.Serialize(send_buf, send_buf + req_size); 774 int rc = trusty_keymaster_call(command, send_buf, req_size, recv_buf, &rsp_size);
|
/device/google/marlin/camera/QCamera2/stack/mm-camera-test/inc/ |
mm_qcamera_socket.h | 86 void *send_buf; member in struct:__anon3523 100 char* send_buf; member in struct:_eztune_preview_protocol_t
|
mm_qcamera_app.h | 115 char *send_buf; member in struct:__anon3465 122 void *param, char *send_buf, uint32_t send_len); 124 void *param, char **send_buf, uint32_t *send_len);
|
/external/linux-kselftest/tools/testing/selftests/net/ |
reuseport_bpf.c | 215 char recv_buf[8], send_buf[8]; local 239 memcpy(send_buf, &ndata, sizeof(ndata)); 240 send_from(p, sport, send_buf, sizeof(ndata));
|
/external/perfetto/src/base/ |
unix_socket_unittest.cc | 663 char send_buf[8192]; local 665 for (size_t i = 0; i < sizeof(send_buf); ++i) 666 send_buf[i] = static_cast<char>(i % 256); 667 char recv_buf[sizeof(send_buf)]; 698 // Test sending the send_buf in several chunks as an iov to exercise the 702 static_assert(sizeof(send_buf) % base::ArraySize(iov) == 0, 704 constexpr size_t kChunkSize = sizeof(send_buf) / base::ArraySize(iov); 706 iov[i].iov_base = send_buf + i * kChunkSize; 712 ASSERT_EQ(send_sock.SendMsgAll(&hdr), sizeof(send_buf)); 717 ASSERT_EQ(memcmp(send_buf, recv_buf, sizeof(send_buf)), 0) [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
ctrl_iface_named_pipe.c | 282 char *reply = NULL, *send_buf; local 311 send_buf = reply; 314 send_buf = "OK\n"; 317 send_buf = "FAIL\n"; 322 dst->rsp_buf = os_memdup(send_buf, send_len); 717 char *reply = NULL, *send_buf; local 729 send_buf = reply; 732 send_buf = "FAIL\n"; 741 dst->rsp_buf = os_memdup(send_buf, send_len);
|