Searched refs:fds (Results 1 - 15 of 15) sorted by relevance

/hardware/intel/img/hwcomposer/common/observers/
H A DUeventObserver.cpp159 struct pollfd fds[2]; local
162 fds[0].fd = mUeventFd;
163 fds[0].events = POLLIN;
164 fds[0].revents = 0;
165 fds[1].fd = mExitRDFd;
166 fds[1].events = POLLIN;
167 fds[1].revents = 0;
168 nr = poll(fds, 2, -1);
170 if (nr > 0 && fds[0].revents == POLLIN) {
175 } else if (fds[
[all...]
/hardware/libhardware_legacy/uevent/
H A Duevent.c76 struct pollfd fds; local
79 fds.fd = fd;
80 fds.events = POLLIN;
81 fds.revents = 0;
82 nr = poll(&fds, 1, -1);
84 if(nr > 0 && (fds.revents & POLLIN)) {
/hardware/ti/omap4-aah/libtiutils/
H A DMessageQueue.cpp45 int fds[2] = {-1,-1}; local
48 stat = pipe(fds);
59 this->fd_read = fds[0];
60 this->fd_write = fds[1];
/hardware/ti/omap4xxx/libtiutils/
H A DMessageQueue.cpp44 int fds[2] = {-1,-1}; local
47 stat = pipe(fds);
58 this->fd_read = fds[0];
59 this->fd_write = fds[1];
/hardware/qcom/media/mm-video-legacy/vidc/venc/src/
H A Domx_video_encoder.cpp101 int fds[2]; local
420 if(pipe(fds))
427 if(fds[0] == 0 || fds[1] == 0)
429 if(pipe(fds))
437 m_pipe_in = fds[0];
438 m_pipe_out = fds[1];
/hardware/qcom/media/mm-video-v4l2/vidc/venc/src/
H A Domx_video_encoder.cpp116 int fds[2]; local
439 if (pipe(fds)) {
443 if (fds[0] == 0 || fds[1] == 0) {
444 if (pipe(fds)) {
450 m_pipe_in = fds[0];
451 m_pipe_out = fds[1];
/hardware/samsung_slsi/exynos5/libhwc/
H A Dhwc.cpp1794 struct pollfd fds[2]; local
1795 fds[0].fd = pdev->vsync_fd;
1796 fds[0].events = POLLPRI;
1797 fds[1].fd = uevent_get_fd();
1798 fds[1].events = POLLIN;
1801 int err = poll(fds, 2, -1);
1804 if (fds[0].revents & POLLPRI) {
1807 else if (fds[1].revents & POLLIN) {
/hardware/ti/omap4xxx/hwc/
H A Dhwc.c1844 struct pollfd fds[2]; local
1853 fds[0].fd = uevent_get_fd();
1854 fds[0].events = POLLIN;
1855 fds[1].fd = hwc_dev->pipe_fds[0];
1856 fds[1].events = POLLIN;
1863 err = poll(fds, hwc_dev->idle ? 2 : 1, timeout);
1891 if (hwc_dev->idle && fds[1].revents & POLLIN) {
1898 if (fds[0].revents & POLLIN) {
/hardware/ti/omap4-aah/hwc/
H A Dhwc.c2489 struct pollfd fds[2]; local
2498 fds[0].fd = uevent_get_fd();
2499 fds[0].events = POLLIN;
2500 fds[1].fd = hwc_dev->wakeup_evt;
2501 fds[1].events = POLLIN;
2545 err = poll(fds, 2, effective_timeout);
2587 if (fds[1].revents & POLLIN) {
2596 if (fds[0].revents & POLLIN) {
/hardware/qcom/media/mm-video-legacy/vidc/vdec/src/
H A Domx_vdec.cpp1187 int fds[2]; local
1572 if(pipe(fds))
1580 if(fds[0] == 0 || fds[1] == 0)
1587 //close (fds[0]);
1588 //close (fds[1]);
1589 fds[0] = temp1 [0];
1590 fds[1] = temp1 [1];
1592 m_pipe_in = fds[0];
1593 m_pipe_out = fds[
[all...]
H A Domx_vdec_copper.cpp1193 int fds[2]; local
1494 if(pipe(fds))
1502 if(fds[0] == 0 || fds[1] == 0)
1509 //close (fds[0]);
1510 //close (fds[1]);
1511 fds[0] = temp1 [0];
1512 fds[1] = temp1 [1];
1514 m_pipe_in = fds[0];
1515 m_pipe_out = fds[
[all...]
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/
H A Domx_vdec.cpp1157 int fds[2]; local
1544 if (pipe(fds)) {
1550 if (fds[0] == 0 || fds[1] == 0) {
1556 //close (fds[0]);
1557 //close (fds[1]);
1558 fds[0] = temp1 [0];
1559 fds[1] = temp1 [1];
1562 m_pipe_in = fds[0];
1563 m_pipe_out = fds[
[all...]
H A Domx_vdec_hevc.cpp1243 int fds[2]; local
1588 if (pipe(fds)) {
1593 if (fds[0] == 0 || fds[1] == 0) {
1598 //close (fds[0]);
1599 //close (fds[1]);
1600 fds[0] = temp1 [0];
1601 fds[1] = temp1 [1];
1603 m_pipe_in = fds[0];
1604 m_pipe_out = fds[
[all...]
H A Domx_vdec_msm8974.cpp1473 int fds[2]; local
1873 if (pipe(fds)) {
1878 if (fds[0] == 0 || fds[1] == 0) {
1883 //close (fds[0]);
1884 //close (fds[1]);
1885 fds[0] = temp1 [0];
1886 fds[1] = temp1 [1];
1888 m_pipe_in = fds[0];
1889 m_pipe_out = fds[
[all...]
H A Domx_vdec_hevc_swvdec.cpp1731 int fds[2]; local
2027 if(pipe(fds))
2034 if(fds[0] == 0 || fds[1] == 0)
2036 if (pipe (fds))
2042 m_pipe_in = fds[0];
2043 m_pipe_out = fds[1];

Completed in 326 milliseconds