Home | History | Annotate | Download | only in functional

Lines Matching defs:fds

464     // File descriptors to our pipe. fds[0] corresponds to the read end and
465 // fds[1] to the write end.
466 int fds[2];
467 ASSERT_EQ(0, pipe2(fds, O_NONBLOCK)) << errno;
471 fcntl(fds[0], F_SETPIPE_SZ, 1 << 20);
476 nativeHandle->data[0] = fds[1];
489 if (read(fds[0], &buff, 1) != 1) {
492 EXPECT_EQ(0, close(fds[0])) << errno;
493 EXPECT_EQ(0, close(fds[1])) << errno;