Home
last modified time | relevance | path

Searched refs:duped_fd (Results 1 – 2 of 2) sorted by relevance

/external/libchrome/base/memory/
Dplatform_shared_memory_region_posix.cc128 ScopedFD duped_fd(HANDLE_EINTR(dup(handle_.fd.get()))); in Duplicate() local
129 if (!duped_fd.is_valid()) { in Duplicate()
134 return PlatformSharedMemoryRegion({std::move(duped_fd), ScopedFD()}, mode_, in Duplicate()
/external/libxml2/
DxmlIO.c1075 int duped_fd = dup(fileno(stdin)); in xmlGzfileOpen_real() local
1076 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() local
1155 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()