Home
last modified time | relevance | path

Searched refs:recv_fds (Results 1 – 3 of 3) sorted by relevance

/external/libchrome/base/posix/
Dunix_domain_socket_linux_unittest.cc129 std::vector<ScopedFD> recv_fds; in TEST() local
131 recv_sock.get(), buf, sizeof(buf), &recv_fds, &sender_pid); in TEST()
134 ASSERT_EQ(UnixDomainSocket::kMaxFileDescriptors, recv_fds.size()); in TEST()
153 std::vector<ScopedFD> recv_fds; in TEST() local
155 recv_sock.get(), &ch, sizeof(ch), &recv_fds, &sender_pid); in TEST()
158 ASSERT_EQ(0U, recv_fds.size()); in TEST()
Dunix_domain_socket_linux.cc222 std::vector<ScopedFD> recv_fds; in SendRecvMsgWithFlags() local
226 recv_sock.get(), reply, max_reply_len, recvmsg_flags, &recv_fds, NULL); in SendRecvMsgWithFlags()
233 if (recv_fds.size() > (result_fd != NULL ? 1 : 0)) { in SendRecvMsgWithFlags()
239 *result_fd = recv_fds.empty() ? -1 : recv_fds[0].release(); in SendRecvMsgWithFlags()
/external/python/cpython3/Doc/library/
Dsocket.rst1161 def recv_fds(sock, msglen, maxfds):