Home
last modified time | relevance | path

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

/external/libchrome/base/posix/
Dunix_domain_socket_unittest.cc149 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()
Dunix_domain_socket.cc265 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/Lib/
Dsocket.py562 def recv_fds(sock, bufsize, maxfds, flags=0): function
/external/python/cpython3/Doc/library/
Dsocket.rst1459 def recv_fds(sock, msglen, maxfds):
1646 .. method:: socket.recv_fds(sock, bufsize, maxfds[, flags])
/external/python/cpython3/Lib/test/
Dtest_socket.py6579 msg, fds2, flags, addr = socket.recv_fds(sock2, len(MSG) * 2, len(fds) * 2)