Searched refs:dup (Results 1 – 12 of 12) sorted by relevance
69 T* dup = new (std::nothrow) T[n]; in dup_array() local70 if (dup) in dup_array()72 dup[i] = a[i]; in dup_array()73 return dup; in dup_array()
59 dup(1); in main()
91 close(2); dup(1); /* join stdout and stderr */ in main()
83 dup: 1
288 *_aidl_return = ScopedFd(dup(read.get())); in RepeatFileDescriptor()297 repeated->push_back(ScopedFd(dup(item.get()))); in ReverseFileDescriptorArray()298 _aidl_return->push_back(ScopedFd(dup(item.get()))); in ReverseFileDescriptorArray()
43 int dupfd = dup(fd.value()); in WriteResponseData()282 int dupfd = dup(fd.value()); in GetFileData()
96 request->raw_data_fd_ = base::File(dup(in_body.value())); in ProcessRequest()
61 old_stderr_ = dup(STDERR_FILENO); in init()
250 int dup_intf_fd = dup(intf_fds[i]); in adf_hwc_open()
187 int fd = dup(request_data_pipe_out_.GetPlatformFile()); in GetBodyDataFileDescriptor()
122 int fd = dup(fence.getFd()); in SyncFence()
533 const int fd = dup(original_fd); in _redirect_pipe_thread()