Searched refs:dup (Results 1 - 11 of 11) sorted by relevance

/system/extras/tests/cpueater/
H A Dcpueater.c59 dup(1);
H A Ddaemonize.c91 close(2); dup(1); /* join stdout and stderr */
/system/core/base/
H A Dtest_utils.cpp130 old_stderr_ = dup(STDERR_FILENO);
/system/core/libcutils/
H A Dnative_handle.c62 clone->data[i] = dup(handle->data[i]);
/system/keymaster/include/keymaster/
H A Dandroid_keymaster_utils.h69 T* dup = new (std::nothrow) T[n]; local
70 if (dup)
72 dup[i] = a[i];
73 return dup;
78 * responsibility. Note that the dup is necessarily returned as a pointer, so size is lost. Call
/system/tools/aidl/tests/
H A Daidl_test_service.cpp302 *_aidl_return = unique_fd(dup(read.get()));
311 repeated->push_back(unique_fd(dup(item.get())));
312 _aidl_return->push_back(unique_fd(dup(item.get())));
/system/core/debuggerd/client/
H A Ddebuggerd_client.cpp236 android::base::unique_fd copy(dup(fd));
/system/libhidl/base/include/hidl/
H A DMQDescriptor.h227 mHandle->data[i] = dup(other.mHandle->data[i]);
/system/core/adf/libadfhwc/
H A Dadfhwc.cpp326 int dup_intf_fd = dup(intf_fds[i]);
328 ALOGE("failed to dup interface fd: %s", strerror(errno));
/system/core/libsync/tests/
H A Dsync_test.cpp119 // This is ok, as sync fences are immutable after construction, so a dup
122 int fd = dup(fence.getFd());
/system/core/adb/
H A Dadb.cpp262 // was malloc'ed and needs to freed. *dst will be set to a dup of src.
572 const int fd = dup(original_fd);

Completed in 288 milliseconds