Searched refs:duped_fd (Results 1 – 5 of 5) sorted by relevance
/external/libchrome/base/memory/ |
D | platform_shared_memory_region_android.cc | 68 ScopedFD duped_fd(HANDLE_EINTR(dup(handle_.get()))); in Duplicate() local 69 if (!duped_fd.is_valid()) { in Duplicate() 74 return PlatformSharedMemoryRegion(std::move(duped_fd), mode_, size_, guid_); in Duplicate()
|
D | platform_shared_memory_region_posix.cc | 128 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/crosvm/cros_async/src/ |
D | fd_executor.rs | 254 let duped_fd = unsafe { in add_operation() localVariable 263 .add_fd_with_events(&duped_fd, events, next_token) in add_operation() 266 file: duped_fd, in add_operation()
|
D | uring_executor.rs | 753 let duped_fd = unsafe { in register_source() localVariable 760 tag: self.raw.register_source(Arc::new(duped_fd)), in register_source()
|
/external/libxml2/ |
D | xmlIO.c | 1102 int duped_fd = dup(fileno(stdin)); in xmlGzfileOpen_real() local 1103 fd = gzdopen(duped_fd, "rb"); in xmlGzfileOpen_real() 1104 if (fd == Z_NULL && duped_fd >= 0) { in xmlGzfileOpen_real() 1105 close(duped_fd); /* gzdOpen() does not close on failure */ in xmlGzfileOpen_real() 1181 int duped_fd = dup(fileno(stdout)); in xmlGzfileOpenW() local 1182 fd = gzdopen(duped_fd, "rb"); in xmlGzfileOpenW() 1183 if (fd == Z_NULL && duped_fd >= 0) { in xmlGzfileOpenW() 1184 close(duped_fd); /* gzdOpen() does not close on failure */ in xmlGzfileOpenW()
|