Searched refs:recv_fds (Results 1 – 2 of 2) sorted by relevance
/external/libchrome/base/posix/ |
D | unix_domain_socket_linux_unittest.cc | 128 std::vector<ScopedFD> recv_fds; in TEST() local 130 recv_sock.get(), buf, sizeof(buf), &recv_fds, &sender_pid); in TEST() 133 ASSERT_EQ(UnixDomainSocket::kMaxFileDescriptors, recv_fds.size()); in TEST() 152 std::vector<ScopedFD> recv_fds; in TEST() local 154 recv_sock.get(), &ch, sizeof(ch), &recv_fds, &sender_pid); in TEST() 157 ASSERT_EQ(0U, recv_fds.size()); in TEST()
|
D | unix_domain_socket_linux.cc | 224 std::vector<ScopedFD> recv_fds; in SendRecvMsgWithFlags() local 228 recv_sock.get(), reply, max_reply_len, recvmsg_flags, &recv_fds, NULL); in SendRecvMsgWithFlags() 235 if (recv_fds.size() > (result_fd != NULL ? 1 : 0)) { in SendRecvMsgWithFlags() 241 *result_fd = recv_fds.empty() ? -1 : recv_fds[0].release(); in SendRecvMsgWithFlags()
|