Searched refs:recv_fds (Results 1 – 3 of 3) sorted by relevance
/external/libchrome/base/posix/ |
D | unix_domain_socket_unittest.cc | 149 std::vector<ScopedFD> recv_fds; in TEST() local 151 recv_sock.get(), buf, sizeof(buf), &recv_fds, &sender_pid); in TEST() 154 ASSERT_EQ(UnixDomainSocket::kMaxFileDescriptors, recv_fds.size()); in TEST() 173 std::vector<ScopedFD> recv_fds; in TEST() local 175 recv_sock.get(), &ch, sizeof(ch), &recv_fds, &sender_pid); in TEST() 178 ASSERT_EQ(0U, recv_fds.size()); in TEST()
|
D | unix_domain_socket.cc | 265 std::vector<ScopedFD> recv_fds; in SendRecvMsgWithFlags() local 269 recv_sock.get(), reply, max_reply_len, recvmsg_flags, &recv_fds, nullptr); in SendRecvMsgWithFlags() 276 if (recv_fds.size() > (result_fd != nullptr ? 1 : 0)) { in SendRecvMsgWithFlags() 282 *result_fd = recv_fds.empty() ? -1 : recv_fds[0].release(); in SendRecvMsgWithFlags()
|
/external/python/cpython3/Doc/library/ |
D | socket.rst | 1297 def recv_fds(sock, msglen, maxfds):
|