/external/libchrome/base/posix/ |
D | unix_domain_socket_unittest.cc | 107 ScopedFD recv_sock(fds[0]); in TEST() local 110 ASSERT_TRUE(UnixDomainSocket::EnableReceiveProcessId(recv_sock.get())); in TEST() 122 recv_sock.get(), buf, sizeof(buf), &fd_vec, &sender_pid); in TEST() 134 ScopedFD recv_sock(fds[0]); in TEST() local 137 ASSERT_TRUE(UnixDomainSocket::EnableReceiveProcessId(recv_sock.get())); in TEST() 151 recv_sock.get(), buf, sizeof(buf), &recv_fds, &sender_pid); in TEST() 164 ScopedFD recv_sock(fds[0]); in TEST() local 167 ASSERT_TRUE(UnixDomainSocket::EnableReceiveProcessId(recv_sock.get())); in TEST() 175 recv_sock.get(), &ch, sizeof(ch), &recv_fds, &sender_pid); in TEST()
|
D | unix_domain_socket.cc | 249 ScopedFD recv_sock, send_sock; in SendRecvMsgWithFlags() local 250 if (!CreateSocketPair(&recv_sock, &send_sock)) in SendRecvMsgWithFlags() 269 recv_sock.get(), reply, max_reply_len, recvmsg_flags, &recv_fds, nullptr); in SendRecvMsgWithFlags() 270 recv_sock.reset(); in SendRecvMsgWithFlags()
|
/external/toybox/toys/pending/ |
D | traceroute.c | 64 int recv_sock; 204 pfd[0].fd = TT.recv_sock; in do_trace() 248 rcv_len = recvfrom(TT.recv_sock, toybuf, sizeof(toybuf), in do_trace() 509 TT.recv_sock = xsocket((TT.istraceroute6 ? AF_INET6 : AF_INET), SOCK_RAW, in traceroute_main() 515 setsockopt(TT.recv_sock, SOL_IPV6, IPV6_RECVPKTINFO, &set, in traceroute_main() 517 setsockopt(TT.recv_sock, SOL_IPV6, IPV6_2292PKTINFO, &set, in traceroute_main() 520 setsockopt(TT.recv_sock, SOL_IPV6, IPV6_PKTINFO, &set, sizeof(set)); in traceroute_main() 523 if (setsockopt(TT.recv_sock, SOL_RAW, IPV6_CHECKSUM, &two, in traceroute_main() 527 set_flag_dr(TT.recv_sock); in traceroute_main() 628 if (bind(TT.recv_sock, (struct sockaddr*)&prb, in traceroute_main()
|
/external/perfetto/src/traced/probes/android_log/ |
D | android_log_data_source_unittest.cc | 62 base::UnixSocketRaw recv_sock; in StartAndSimulateLogd() local 66 std::tie(send_sock, recv_sock) = base::UnixSocketRaw::CreatePair(kSockType); in StartAndSimulateLogd() 68 ASSERT_TRUE(recv_sock); in StartAndSimulateLogd() 71 .WillOnce(Invoke([&recv_sock] { return std::move(recv_sock); })); in StartAndSimulateLogd()
|
/external/perfetto/src/base/ |
D | unix_socket_unittest.cc | 647 UnixSocketRaw recv_sock; in TEST_F() local 648 std::tie(send_sock, recv_sock) = UnixSocketRaw::CreatePair(SockType::kStream); in TEST_F() 650 ASSERT_TRUE(recv_sock); in TEST_F() 657 ASSERT_EQ(setsockopt(recv_sock.fd(), SOL_SOCKET, SO_RCVBUF, &bufsize, in TEST_F() 683 std::thread th([blocked_thread, &recv_sock, &recv_buf] { in TEST_F() 684 ssize_t rd = PERFETTO_EINTR(read(recv_sock.fd(), recv_buf, 1)); in TEST_F() 692 read(recv_sock.fd(), recv_buf + offset, sizeof(recv_buf) - offset)); in TEST_F()
|
/external/perfetto/src/profiling/memory/ |
D | wire_protocol_unittest.cc | 61 base::UnixSocketRaw recv_sock(base::ScopedFile(sv[1]), in CopyFD() local 66 recv_sock.Receive(msg, sizeof(msg), &res, 1); in CopyFD()
|
/external/toybox/generated/ |
D | globals.h | 905 int recv_sock; member
|