Home
last modified time | relevance | path

Searched refs:fd2 (Results 1 – 25 of 46) sorted by relevance

12

/hardware/qcom/display/msm8909/sdm/libs/hwc/
Dhwc_buffer_sync_handler.cpp56 DisplayError HWCBufferSyncHandler::SyncMerge(int fd1, int fd2, int *merged_fd) { in SyncMerge() argument
64 if (fd1 >= 0 && fd2 >= 0) { in SyncMerge()
65 *merged_fd = sync_merge("SyncMerge", fd1, fd2); in SyncMerge()
68 } else if (fd2 >= 0) { in SyncMerge()
69 *merged_fd = sync_merge("SyncMerge", fd2, fd2); in SyncMerge()
76 DLOGE("Sync merge error! fd1 %d fd2 %d", fd1, fd2); in SyncMerge()
Dhwc_buffer_sync_handler.h46 virtual DisplayError SyncMerge(int fd1, int fd2, int *merged_fd);
/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dhwc_buffer_sync_handler.cpp58 DisplayError HWCBufferSyncHandler::SyncMerge(int fd1, int fd2, int *merged_fd) { in SyncMerge() argument
66 if (fd1 >= 0 && fd2 >= 0) { in SyncMerge()
67 *merged_fd = sync_merge("SyncMerge", fd1, fd2); in SyncMerge()
70 } else if (fd2 >= 0) { in SyncMerge()
71 *merged_fd = sync_merge("SyncMerge", fd2, fd2); in SyncMerge()
78 DLOGE("Sync merge error! fd1 %d fd2 %d", fd1, fd2); in SyncMerge()
Dhwc_buffer_sync_handler.h46 virtual DisplayError SyncMerge(int fd1, int fd2, int *merged_fd);
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_buffer_sync_handler.cpp57 DisplayError HWCBufferSyncHandler::SyncMerge(int fd1, int fd2, int *merged_fd) { in SyncMerge() argument
65 if (fd1 >= 0 && fd2 >= 0) { in SyncMerge()
66 *merged_fd = sync_merge("SyncMerge", fd1, fd2); in SyncMerge()
69 } else if (fd2 >= 0) { in SyncMerge()
70 *merged_fd = sync_merge("SyncMerge", fd2, fd2); in SyncMerge()
77 DLOGE("Sync merge error! fd1 %d fd2 %d", fd1, fd2); in SyncMerge()
Dhwc_buffer_sync_handler.h46 virtual DisplayError SyncMerge(int fd1, int fd2, int *merged_fd);
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
Dhwc_buffer_sync_handler.cpp56 DisplayError HWCBufferSyncHandler::SyncMerge(int fd1, int fd2, int *merged_fd) { in SyncMerge() argument
64 if (fd1 >= 0 && fd2 >= 0) { in SyncMerge()
65 *merged_fd = sync_merge("SyncMerge", fd1, fd2); in SyncMerge()
68 } else if (fd2 >= 0) { in SyncMerge()
69 *merged_fd = sync_merge("SyncMerge", fd2, fd2); in SyncMerge()
76 DLOGE("Sync merge error! fd1 %d fd2 %d", fd1, fd2); in SyncMerge()
Dhwc_buffer_sync_handler.h46 virtual DisplayError SyncMerge(int fd1, int fd2, int *merged_fd);
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_buffer_sync_handler.cpp56 DisplayError HWCBufferSyncHandler::SyncMerge(int fd1, int fd2, int *merged_fd) { in SyncMerge() argument
64 if (fd1 >= 0 && fd2 >= 0) { in SyncMerge()
65 *merged_fd = sync_merge("SyncMerge", fd1, fd2); in SyncMerge()
68 } else if (fd2 >= 0) { in SyncMerge()
69 *merged_fd = sync_merge("SyncMerge", fd2, fd2); in SyncMerge()
76 DLOGE("Sync merge error! fd1 %d fd2 %d", fd1, fd2); in SyncMerge()
Dhwc_buffer_sync_handler.h46 virtual DisplayError SyncMerge(int fd1, int fd2, int *merged_fd);
/hardware/google/gfxstream/guest/mesa/src/util/
Dlibsync.h80 int32_t fd2;
132 static inline int sync_merge(const char *name, int fd1, int fd2)
137 data.fd2 = fd2;
179 static inline int sync_accumulate(const char *name, int *fd1, int fd2) in sync_accumulate() argument
183 assert(fd2 >= 0); in sync_accumulate()
186 *fd1 = dup(fd2); in sync_accumulate()
190 ret = sync_merge(name, *fd1, fd2); in sync_accumulate()
Dos_file.c206 os_same_file_description(int fd1, int fd2) in os_same_file_description() argument
211 if (fd1 == fd2) in os_same_file_description()
214 return syscall(SYS_kcmp, pid, pid, KCMP_FILE, fd1, fd2); in os_same_file_description()
220 os_same_file_description(int fd1, int fd2) in os_same_file_description() argument
223 if (fd1 == fd2) in os_same_file_description()
Du_hash_table.c77 int fd2 = pointer_to_intptr(key2); in equal_fd() local
81 fstat(fd2, &stat2); in equal_fd()
Dos_file.h53 os_same_file_description(int fd1, int fd2);
/hardware/qcom/sm7250/display/composer/
Dhwc_buffer_sync_handler.cpp71 DisplayError HWCBufferSyncHandler::SyncMerge(int fd1, int fd2, int *merged_fd) { in SyncMerge() argument
77 *merged_fd = dup(fd2); in SyncMerge()
78 } else if ((fd2 < 0) || (fd1 == fd2)) { in SyncMerge()
81 *merged_fd = sync_merge("SyncMerge", fd1, fd2); in SyncMerge()
/hardware/interfaces/tetheroffload/config/1.0/vts/functional/
DVtsHalTetheroffloadConfigV1_0TargetTest.cpp108 unique_fd fd2(netlinkSocket(kFd2Groups)); in TEST_P() local
109 if (fd2.get() < 0) { in TEST_P()
114 nativeHandle2->data[0] = fd2.release(); in TEST_P()
165 unique_fd fd2(netlinkSocket(kFd2Groups)); in TEST_P() local
166 if (fd2.get() < 0) { in TEST_P()
171 nativeHandle2->data[0] = fd2.release(); in TEST_P()
/hardware/interfaces/tetheroffload/control/1.0/vts/functional/
DOffloadControlTestBase.cpp42 unique_fd fd2(conntrackSocket(NF_NETLINK_CONNTRACK_UPDATE | NF_NETLINK_CONNTRACK_DESTROY)); in setupConfigHal() local
43 if (fd2.get() < 0) { in setupConfigHal()
48 nativeHandle2->data[0] = fd2.release(); in setupConfigHal()
/hardware/qcom/sm7250/display/sdm/libs/utils/
Dfence.cpp93 int fd2 = fence2 ? fence2->fd_ : -1; in Merge() local
95 std::string name = "merged[" + to_string(fd1) + ", " + to_string(fd2) + "]"; in Merge()
97 g_buffer_sync_handler_->SyncMerge(fd1, fd2, &merged); in Merge()
/hardware/interfaces/tetheroffload/config/1.0/
DIOffloadConfig.hal29 * @param fd2 A file descriptor bound to the following netlink groups
35 setHandles(handle fd1, handle fd2) generates (bool success, string errMsg);
/hardware/qcom/display/msm8909/sdm/include/core/
Dbuffer_sync_handler.h79 virtual DisplayError SyncMerge(int fd1, int fd2, int *merged_fd) = 0;
/hardware/qcom/display/msm8998/sdm/include/core/
Dbuffer_sync_handler.h79 virtual DisplayError SyncMerge(int fd1, int fd2, int *merged_fd) = 0;
/hardware/qcom/sm8150/display/sdm/include/core/
Dbuffer_sync_handler.h79 virtual DisplayError SyncMerge(int fd1, int fd2, int *merged_fd) = 0;
/hardware/qcom/display/msm8996/sdm/include/core/
Dbuffer_sync_handler.h79 virtual DisplayError SyncMerge(int fd1, int fd2, int *merged_fd) = 0;
/hardware/qcom/display/msm8909w_3100/sdm/include/core/
Dbuffer_sync_handler.h79 virtual DisplayError SyncMerge(int fd1, int fd2, int *merged_fd) = 0;
/hardware/qcom/sm7250/display/sdm/include/core/
Dbuffer_sync_handler.h92 virtual DisplayError SyncMerge(int fd1, int fd2, int *merged_fd) = 0;

12