Searched refs:duped_fd (Results 1 – 2 of 2) sorted by relevance
128 ScopedFD duped_fd(HANDLE_EINTR(dup(handle_.fd.get()))); in Duplicate() local129 if (!duped_fd.is_valid()) { in Duplicate()134 return PlatformSharedMemoryRegion({std::move(duped_fd), ScopedFD()}, mode_, in Duplicate()
1075 int duped_fd = dup(fileno(stdin)); in xmlGzfileOpen_real() local1076 fd = gzdopen(duped_fd, "rb"); in xmlGzfileOpen_real()1077 if (fd == Z_NULL && duped_fd >= 0) { in xmlGzfileOpen_real()1078 close(duped_fd); /* gzdOpen() does not close on failure */ in xmlGzfileOpen_real()1154 int duped_fd = dup(fileno(stdout)); in xmlGzfileOpenW() local1155 fd = gzdopen(duped_fd, "rb"); in xmlGzfileOpenW()1156 if (fd == Z_NULL && duped_fd >= 0) { in xmlGzfileOpenW()1157 close(duped_fd); /* gzdOpen() does not close on failure */ in xmlGzfileOpenW()