Lines Matching refs:fds
134 void SetFdResult(std::vector<int>* output, std::vector<int> fds) { in SetFdResult() argument
135 *output = fds; in SetFdResult()
191 std::vector<int> fds = { -1, -1};
192 if (pipe(fds.data()) != 0) {
195 fds;
199 std::vector<int> fds = { -1, -1};
200 if (pipe2(fds.data(), O_CLOEXEC) != 0) {
203 fds;
207 std::vector<int> fds = { -1, -1};
208 if (socketpair(AF_UNIX, SOCK_SEQPACKET, 0, fds.data()) != 0) {
211 fds;