Searched refs:send_buf (Results 1 – 10 of 10) sorted by relevance
/external/strace/tests-m32/ |
D | mmsg_name.c | 87 char *const send_buf = tail_alloc(sizeof(*send_buf) * IOV_MAX1); in test_mmsg_name() local 101 send_buf[i] = '0' + i % 10; in test_mmsg_name() 103 send_iov[i].iov_base = &send_buf[i]; in test_mmsg_name() 104 send_iov[i].iov_len = sizeof(*send_buf); in test_mmsg_name()
|
/external/strace/tests-mx32/ |
D | mmsg_name.c | 87 char *const send_buf = tail_alloc(sizeof(*send_buf) * IOV_MAX1); in test_mmsg_name() local 101 send_buf[i] = '0' + i % 10; in test_mmsg_name() 103 send_iov[i].iov_base = &send_buf[i]; in test_mmsg_name() 104 send_iov[i].iov_len = sizeof(*send_buf); in test_mmsg_name()
|
/external/strace/tests/ |
D | mmsg_name.c | 87 char *const send_buf = tail_alloc(sizeof(*send_buf) * IOV_MAX1); in test_mmsg_name() local 101 send_buf[i] = '0' + i % 10; in test_mmsg_name() 103 send_iov[i].iov_base = &send_buf[i]; in test_mmsg_name() 104 send_iov[i].iov_len = sizeof(*send_buf); in test_mmsg_name()
|
/external/ltp/testcases/kernel/syscalls/recvmsg/ |
D | recvmsg03.c | 49 char send_buf[128] = "hello world"; in client() local 73 msg.msg_iov->iov_base = send_buf; in client() 74 msg.msg_iov->iov_len = strlen(send_buf) + 1; in client()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | ctrl_iface_named_pipe.c | 282 char *reply = NULL, *send_buf; in wpa_supplicant_ctrl_iface_rx() local 311 send_buf = reply; in wpa_supplicant_ctrl_iface_rx() 314 send_buf = "OK\n"; in wpa_supplicant_ctrl_iface_rx() 317 send_buf = "FAIL\n"; in wpa_supplicant_ctrl_iface_rx() 322 dst->rsp_buf = os_memdup(send_buf, send_len); in wpa_supplicant_ctrl_iface_rx() 720 char *reply = NULL, *send_buf; in wpa_supplicant_global_iface_rx() local 732 send_buf = reply; in wpa_supplicant_global_iface_rx() 735 send_buf = "FAIL\n"; in wpa_supplicant_global_iface_rx() 744 dst->rsp_buf = os_memdup(send_buf, send_len); in wpa_supplicant_global_iface_rx()
|
/external/grpc-grpc/test/cpp/end2end/ |
D | client_callback_end2end_test.cc | 112 std::unique_ptr<ByteBuffer> send_buf; in SendRpcsGeneric() local 118 send_buf = SerializeToByteBuffer(&request); in SendRpcsGeneric() 124 &cli_ctx, kMethodName, send_buf.get(), &recv_buf, in SendRpcsGeneric()
|
/external/perfetto/src/base/ |
D | unix_socket_unittest.cc | 681 char send_buf[8192]; in TEST_F() local 683 for (size_t i = 0; i < sizeof(send_buf); ++i) in TEST_F() 684 send_buf[i] = static_cast<char>(i % 256); in TEST_F() 685 char recv_buf[sizeof(send_buf)]; in TEST_F() 720 static_assert(sizeof(send_buf) % base::ArraySize(iov) == 0, in TEST_F() 722 constexpr size_t kChunkSize = sizeof(send_buf) / base::ArraySize(iov); in TEST_F() 724 iov[i].iov_base = send_buf + i * kChunkSize; in TEST_F() 730 ASSERT_EQ(send_sock.SendMsgAll(&hdr), static_cast<ssize_t>(sizeof(send_buf))); in TEST_F() 735 ASSERT_EQ(memcmp(send_buf, recv_buf, sizeof(send_buf)), 0); in TEST_F()
|
/external/linux-kselftest/tools/testing/selftests/net/ |
D | reuseport_bpf.c | 215 char recv_buf[8], send_buf[8]; in test_recv_order() local 239 memcpy(send_buf, &ndata, sizeof(ndata)); in test_recv_order() 240 send_from(p, sport, send_buf, sizeof(ndata)); in test_recv_order()
|
/external/crosvm/sys_util/src/ |
D | syslog.rs | 349 fn send_buf(socket: &UnixDatagram, buf: &[u8]) { in send_buf() function 446 send_buf(&socket, &buf[..*len]) in log()
|
/external/wpa_supplicant_8/src/wps/ |
D | wps_upnp_web.c | 365 goto send_buf; in web_connection_parse_get() 408 send_buf: in web_connection_parse_get()
|