Searched refs:dup (Results 1 – 25 of 33) sorted by relevance
12
34 api_name: "dup"40 api_name: "dup"
45 int dup1 = dup(tmp1.fd); in SetUp()47 int dup2 = dup(tmp2.fd); in SetUp()183 unique_fd sent1(dup(tmp1.fd)); in TEST_P()184 unique_fd sent2(dup(tmp2.fd)); in TEST_P()
64 old_fd_ = dup(std_fd_); in Start()
26 int fd = dup(heap->getHeapID()); in fromHeap()
59 dup(1); in main()
91 close(2); dup(1); /* join stdout and stderr */ in main()
15 dup: 1
16 dup: 1
21 dup: 1
37 return unique_fd{dup(iter->second)}; in Open()
182 int newfd = TEMP_FAILURE_RETRY(dup(fd)); in GetControlFileOrOpen()
71 return dup(fd.get()); in openAshmemdFd()
303 *_aidl_return = unique_fd(dup(read.get())); in RepeatFileDescriptor()312 repeated->push_back(unique_fd(dup(item.get()))); in ReverseFileDescriptorArray()313 _aidl_return->push_back(unique_fd(dup(item.get()))); in ReverseFileDescriptorArray()322 _aidl_return->reset(unique_fd(dup(read.get()))); in RepeatParcelFileDescriptor()331 repeated->push_back(ParcelFileDescriptor(unique_fd(dup(item.get())))); in ReverseParcelFileDescriptorArray()335 _aidl_return->push_back(ParcelFileDescriptor(unique_fd(dup(i->get())))); in ReverseParcelFileDescriptorArray()
88 dup(1); in main()
92 T* dup = new (std::nothrow) T[n]; in dup_array() local93 if (dup) in dup_array()95 dup[i] = a[i]; in dup_array()96 return dup; in dup_array()
94 old_stdout_ = dup(STDOUT_FILENO); in Start()
60 clone->data[i] = dup(handle->data[i]); in native_handle_clone()
391 unique_fd output_pipe(dup(STDOUT_FILENO)); in main()392 unique_fd input_pipe(dup(STDIN_FILENO)); in main()
260 android::base::unique_fd copy(dup(fd)); in dump_backtrace_to_file_timeout()
234 mHandle->data[i] = dup(other.mHandle->data[i]);
248 int child_fd = dup(subcontext_socket); in Fork()
326 int dup_intf_fd = dup(intf_fds[i]); in adf_hwc_open()
222 crash->crash_tombstone_fd.reset(dup(output_fd.get())); in perform_request()