Home
last modified time | relevance | path

Searched refs:dup (Results 1 – 25 of 144) sorted by relevance

123456

/hardware/google/gfxstream/guest/mesa/src/util/
Du_memory.h80 void *dup = MALLOC(size); in mem_dup() local
81 if (dup) in mem_dup()
82 memcpy(dup, src, size); in mem_dup()
83 return dup; in mem_dup()
/hardware/google/gfxstream/guest/fuchsia/
Dport.cc32 char *dup = strdup(file); in linux_log_prefix() local
33 if (!dup) in linux_log_prefix()
36 snprintf(buf, sizeof(buf), "[%s(%d)]", basename(dup), line); in linux_log_prefix()
41 free(dup); in linux_log_prefix()
/hardware/interfaces/automotive/evs/aidl/vts/
DFrameHandler.cpp44 NativeHandle dup; in dupNativeHandle() local
46 dup.fds = std::vector<::ndk::ScopedFileDescriptor>(handle.fds.size()); in dupNativeHandle()
49 dup.fds.at(i).set(handle.fds[i].get()); in dupNativeHandle()
53 dup.fds[i] = std::move(handle.fds[i].dup()); in dupNativeHandle()
56 dup.ints = handle.ints; in dupNativeHandle()
58 return std::move(dup); in dupNativeHandle()
62 HardwareBuffer dup = { in dupHardwareBuffer() local
67 return std::move(dup); in dupHardwareBuffer()
71 BufferDesc dup = { in dupBufferDesc() local
80 return std::move(dup); in dupBufferDesc()
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/
DMiniFence.cpp39 int MiniFence::dup() const { in dup() function in android::MiniFence
40 return ::dup(mFenceFd); in dup()
/hardware/google/gfxstream/guest/platform/linux/
DLinuxSync.cpp38 int LinuxSyncHelper::dup(int syncFd) { return ::dup(syncFd); } in dup() function in gfxstream::LinuxSyncHelper
DLinuxSync.h27 int dup(int syncFd) override;
/hardware/interfaces/common/support/
Dtest.cpp58 handle.fds[0].set(dup(0)); in makeTestAidlHandle()
59 handle.fds[1].set(dup(0)); in makeTestAidlHandle()
99 handle->data[0] = dup(0); in makeTestLibcutilsHandle()
100 handle->data[1] = dup(0); in makeTestLibcutilsHandle()
/hardware/qcom/display/msm8996/sdm/include/utils/
Dsys.h59 typedef int (*dup)(int fd); typedef
73 static dup dup_;
/hardware/qcom/display/msm8909w_3100/sdm/include/utils/
Dsys.h64 typedef int (*dup)(int fd); typedef
79 static dup dup_;
/hardware/qcom/sm8150/display/sdm/include/utils/
Dsys.h64 typedef int (*dup)(int fd); typedef
79 static dup dup_;
/hardware/qcom/display/msm8998/sdm/include/utils/
Dsys.h64 typedef int (*dup)(int fd); typedef
79 static dup dup_;
/hardware/qcom/sm7250/display/sdm/include/utils/
Dsys.h60 typedef int (*dup)(int fd); typedef
75 static dup dup_;
/hardware/qcom/display/msm8909/sdm/include/utils/
Dsys.h64 typedef int (*dup)(int fd); typedef
79 static dup dup_;
/hardware/qcom/display/msm8996/sdm/libs/utils/
Dsys.cpp54 Sys::dup Sys::dup_ = ::dup;
/hardware/qcom/display/msm8909/sdm/libs/utils/
Dsys.cpp55 Sys::dup Sys::dup_ = ::dup;
/hardware/qcom/display/msm8909w_3100/sdm/libs/utils/
Dsys.cpp55 Sys::dup Sys::dup_ = ::dup;
/hardware/qcom/sm7250/display/sdm/libs/utils/
Dsys.cpp55 Sys::dup Sys::dup_ = ::dup;
/hardware/qcom/display/msm8998/sdm/libs/utils/
Dsys.cpp55 Sys::dup Sys::dup_ = ::dup;
/hardware/qcom/sm8150/display/sdm/libs/utils/
Dsys.cpp55 Sys::dup Sys::dup_ = ::dup;
/hardware/qcom/sm7250/display/composer/
Dhwc_buffer_sync_handler.cpp77 *merged_fd = dup(fd2); in SyncMerge()
79 *merged_fd = dup(fd1); in SyncMerge()
/hardware/google/gfxstream/guest/platform/stub/
DStubSync.cpp27 int StubSyncHelper::dup(int) { in dup() function in gfxstream::StubSyncHelper
DStubSync.h27 int dup(int syncFd) override;
/hardware/google/gfxstream/guest/platform/include/
DSync.h29 virtual int dup(int syncFd) = 0;
/hardware/google/gfxstream/guest/platform/rutabaga/
DRutabagaVirtGpuSyncHelper.h32 int dup(int syncFd) override;
DRutabagaVirtGpuSyncHelper.cpp36 int RutabagaVirtGpuSyncHelper::dup(int syncFd) { in dup() function in gfxstream::RutabagaVirtGpuSyncHelper

123456