Lines Matching refs:fds
55 const std::vector<int>& fds);
62 std::vector<android::base::unique_fd>* fds);
72 std::vector<int> fds; in SendFileDescriptors() local
73 Append(fds, std::forward<Args>(sent_fds)...); in SendFileDescriptors()
74 return SendFileDescriptorVector(sock, data, len, fds); in SendFileDescriptors()
83 std::vector<unique_fd*> fds; in ReceiveFileDescriptors() local
84 Append(fds, std::forward<Args>(received_fds)...); in ReceiveFileDescriptors()
87 ssize_t rc = ReceiveFileDescriptorVector(sock, data, len, fds.size(), &result); in ReceiveFileDescriptors()
88 if (rc == -1 || result.size() != fds.size()) { in ReceiveFileDescriptors()
90 for (unique_fd* fd : fds) { in ReceiveFileDescriptors()
97 for (size_t i = 0; i < fds.size(); ++i) { in ReceiveFileDescriptors()
98 *fds[i] = std::move(result[i]); in ReceiveFileDescriptors()