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

12

/hardware/qcom/audio/msm8909/mm-audio/aenc-aac/qdsp6/src/
H A Daenc_svr.c98 int fds[2]; local
111 if (pipe(fds))
117 aac_info->pipe_in = fds[0];
118 aac_info->pipe_out = fds[1];
151 int fds[2]; local
164 if (pipe(fds))
170 aac_info->pipe_in = fds[0];
171 aac_info->pipe_out = fds[1];
197 DEBUG_DETAIL("%s: message thread close fds%d %d\n", aac_info->thread_name,
/hardware/qcom/audio/msm8909/mm-audio/aenc-amrnb/qdsp6/src/
H A Daenc_svr.c98 int fds[2]; local
111 if (pipe(fds))
117 amr_info->pipe_in = fds[0];
118 amr_info->pipe_out = fds[1];
151 int fds[2]; local
164 if (pipe(fds))
170 amr_info->pipe_in = fds[0];
171 amr_info->pipe_out = fds[1];
197 DEBUG_DETAIL("%s: message thread close fds%d %d\n", amr_info->thread_name,
/hardware/qcom/audio/msm8909/mm-audio/aenc-evrc/qdsp6/src/
H A Daenc_svr.c98 int fds[2]; local
111 if (pipe(fds))
117 evrc_info->pipe_in = fds[0];
118 evrc_info->pipe_out = fds[1];
151 int fds[2]; local
164 if (pipe(fds))
170 evrc_info->pipe_in = fds[0];
171 evrc_info->pipe_out = fds[1];
197 DEBUG_DETAIL("%s: message thread close fds%d %d\n", evrc_info->thread_name,
/hardware/qcom/audio/msm8909/mm-audio/aenc-qcelp13/qdsp6/src/
H A Daenc_svr.c98 int fds[2]; local
112 if (pipe(fds))
118 qcelp13_info->pipe_in = fds[0];
119 qcelp13_info->pipe_out = fds[1];
152 int fds[2]; local
166 if (pipe(fds))
172 qcelp13_info->pipe_in = fds[0];
173 qcelp13_info->pipe_out = fds[1];
199 DEBUG_DETAIL("%s: message thread close fds%d %d\n", qcelp13_info->thread_name,
/hardware/intel/img/hwcomposer/merrifield/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/intel/img/hwcomposer/moorefield_hdmi/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.c77 struct pollfd fds; local
80 fds.fd = fd;
81 fds.events = POLLIN;
82 fds.revents = 0;
83 nr = poll(&fds, 1, -1);
85 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/display/msm8996/sdm/libs/utils/
H A Dsys.cpp64 extern int virtual_poll(struct pollfd *fds, nfds_t num, int timeout);
/hardware/qcom/gps/msm8909/utils/
H A DLocTimer.cpp130 // This class implements the polling thread that epolls imer / alarm fds.
133 // fds the kernel, while the polling is blocked on epoll_wait() call.
135 // timers; one for all the alarms, we will poll at most on 2 fds. But it
137 // allow dynamically add / remove fds we poll on. The design decision of
450 int fds = epoll_wait(mFd, ev, 2, -1); local
453 bool rerun = (fds > 0) || (errno == EINTR);
455 if (fds > 0) {
457 for (int i = 0; i < fds; i++) {
/hardware/qcom/gps/msm8996/utils/
H A DLocTimer.cpp130 // This class implements the polling thread that epolls imer / alarm fds.
133 // fds the kernel, while the polling is blocked on epoll_wait() call.
135 // timers; one for all the alarms, we will poll at most on 2 fds. But it
137 // allow dynamically add / remove fds we poll on. The design decision of
450 int fds = epoll_wait(mFd, ev, 2, -1); local
453 bool rerun = (fds > 0) || (errno == EINTR);
455 if (fds > 0) {
457 for (int i = 0; i < fds; i++) {
/hardware/qcom/media/msm8974/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/msm8996/mm-video-v4l2/vidc/venc/src/
H A Domx_swvenc_hevc.cpp101 int fds[2]; local
327 if (pipe(fds)) {
331 if (fds[0] == 0 || fds[1] == 0) {
332 if (pipe(fds)) {
338 m_pipe_in = fds[0];
339 m_pipe_out = fds[1];
H A Domx_swvenc_mpeg4.cpp119 int fds[2]; local
421 if (pipe(fds))
428 if ((fds[0] == 0) || (fds[1] == 0))
430 if (pipe(fds))
438 m_pipe_in = fds[0];
439 m_pipe_out = fds[1];
H A Domx_video_encoder.cpp196 int fds[2]; local
551 if (pipe(fds)) {
555 if (fds[0] == 0 || fds[1] == 0) {
556 if (pipe(fds)) {
562 m_pipe_in = fds[0];
563 m_pipe_out = fds[1];
/hardware/qcom/camera/usbcamcore/src/
H A DQualcommUsbCamera.cpp2050 fd_set fds; local
2054 FD_ZERO(&fds);
2056 FD_SET(camHal->fd, &fds);
2067 r = select(camHal->fd + 1, &fds, NULL, NULL, &tv);
2518 fd_set fds; local
2522 FD_ZERO(&fds);
2523 FD_SET(camHal->fd, &fds);
2530 r = select(camHal->fd + 1, &fds, NULL, NULL, &tv);
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/
H A Domx_video_encoder.cpp123 int fds[2]; local
477 if (pipe(fds)) {
481 if (fds[0] == 0 || fds[1] == 0) {
482 if (pipe(fds)) {
488 m_pipe_in = fds[0];
489 m_pipe_out = fds[1];
/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/msm8974/mm-video-legacy/vidc/vdec/src/
H A Domx_vdec.cpp1193 int fds[2]; local
1578 if(pipe(fds))
1586 if(fds[0] == 0 || fds[1] == 0)
1593 //close (fds[0]);
1594 //close (fds[1]);
1595 fds[0] = temp1 [0];
1596 fds[1] = temp1 [1];
1598 m_pipe_in = fds[0];
1599 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/msm8974/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.cpp1241 int fds[2]; local
1586 if (pipe(fds)) {
1591 if (fds[0] == 0 || fds[1] == 0) {
1596 //close (fds[0]);
1597 //close (fds[1]);
1598 fds[0] = temp1 [0];
1599 fds[1] = temp1 [1];
1601 m_pipe_in = fds[0];
1602 m_pipe_out = fds[
[all...]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
H A Domx_vdec_hevc.cpp1236 int fds[2]; local
1565 if (pipe(fds)) {
1570 if (fds[0] == 0 || fds[1] == 0) {
1575 //close (fds[0]);
1576 //close (fds[1]);
1577 fds[0] = temp1 [0];
1578 fds[1] = temp1 [1];
1580 m_pipe_in = fds[0];
1581 m_pipe_out = fds[
[all...]

Completed in 1033 milliseconds

12