Home
last modified time | relevance | path

Searched refs:send_buf (Results 1 – 10 of 10) sorted by relevance

/external/strace/tests-m32/
Dmmsg_name.c87 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/
Dmmsg_name.c87 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/
Dmmsg_name.c87 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/
Drecvmsg03.c49 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/
Dctrl_iface_named_pipe.c282 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/
Dclient_callback_end2end_test.cc112 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/
Dunix_socket_unittest.cc681 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/
Dreuseport_bpf.c215 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/
Dsyslog.rs349 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/
Dwps_upnp_web.c365 goto send_buf; in web_connection_parse_get()
408 send_buf: in web_connection_parse_get()