Searched refs:oldFd (Results 1 – 4 of 4) sorted by relevance
68 status_t dupFileDescriptor(int oldFd, int* newFd) { in dupFileDescriptor() argument69 int res = dup(oldFd); in dupFileDescriptor()
58 status_t dupFileDescriptor(int oldFd, int* newFd) { in dupFileDescriptor() argument59 int ret = fcntl(oldFd, F_DUPFD_CLOEXEC, 0); in dupFileDescriptor()
35 status_t dupFileDescriptor(int oldFd, int* newFd);
666 int oldFd = toRawFd(otherRpcFields->mFds->at(fdIndex)); in appendFrom() local670 if (status_t status = binder::os::dupFileDescriptor(oldFd, &newFd); status != OK) { in appendFrom()671 ALOGW("Failed to duplicate file descriptor %d: %s", oldFd, strerror(-status)); in appendFrom()