Lines Matching refs:fds
194 void SetFdResult(std::vector<int>* output, std::vector<int> fds) { in SetFdResult() argument
195 *output = fds; in SetFdResult()
269 std::vector<int> fds = { -1, -1};
270 if (pipe(fds.data()) != 0) {
273 fds;
277 std::vector<int> fds = { -1, -1};
278 if (pipe2(fds.data(), O_CLOEXEC) != 0) {
281 fds;
285 std::vector<int> fds = { -1, -1};
286 if (socketpair(AF_UNIX, SOCK_SEQPACKET, 0, fds.data()) != 0) {
289 fds;