Lines Matching refs:fds
173 void SetFdResult(std::vector<int>* output, std::vector<int> fds) { in SetFdResult() argument
174 *output = fds; in SetFdResult()
222 std::vector<int> fds = { -1, -1};
223 if (pipe(fds.data()) != 0) {
226 fds;
230 std::vector<int> fds = { -1, -1};
231 if (pipe2(fds.data(), O_CLOEXEC) != 0) {
234 fds;
238 std::vector<int> fds = { -1, -1};
239 if (socketpair(AF_UNIX, SOCK_SEQPACKET, 0, fds.data()) != 0) {
242 fds;