Searched refs:pollFds (Results 1 – 4 of 4) sorted by relevance
| /OK3568_Linux_fs/external/rockit/mpi/example/mod/ |
| H A D | test_mpi_ai.cpp | 93 struct pollfd pollFds[num_fds]; in test_ai_poll_event() local 97 memset(pollFds, 0, sizeof(pollFds)); in test_ai_poll_event() 98 pollFds[0].fd = fd; in test_ai_poll_event() 99 pollFds[0].events = (POLLPRI | POLLIN | POLLERR | POLLNVAL | POLLHUP); in test_ai_poll_event() 101 ret = poll(pollFds, num_fds, timeoutMsec); in test_ai_poll_event() 103 if (ret > 0 && (pollFds[0].revents & (POLLERR | POLLNVAL | POLLHUP))) { in test_ai_poll_event()
|
| H A D | test_mpi_aenc.cpp | 95 struct pollfd pollFds[num_fds]; in test_aenc_poll_event() local 99 memset(pollFds, 0, sizeof(pollFds)); in test_aenc_poll_event() 100 pollFds[0].fd = fd; in test_aenc_poll_event() 101 pollFds[0].events = (POLLPRI | POLLIN | POLLERR | POLLNVAL | POLLHUP); in test_aenc_poll_event() 103 ret = poll(pollFds, num_fds, timeoutMsec); in test_aenc_poll_event() 105 if (ret > 0 && (pollFds[0].revents & (POLLERR | POLLNVAL | POLLHUP))) { in test_aenc_poll_event()
|
| H A D | test_mpi_vdec.cpp | 169 struct pollfd pollFds[num_fds]; in mpi_vdec_poll_event() local 173 memset(pollFds, 0, sizeof(pollFds)); in mpi_vdec_poll_event() 174 pollFds[0].fd = fd; in mpi_vdec_poll_event() 175 pollFds[0].events = (POLLPRI | POLLIN | POLLERR | POLLNVAL | POLLHUP); in mpi_vdec_poll_event() 177 ret = poll(pollFds, num_fds, timeoutMsec); in mpi_vdec_poll_event() 178 if (ret > 0 && (pollFds[0].revents & (POLLERR | POLLNVAL | POLLHUP))) { in mpi_vdec_poll_event()
|
| H A D | test_mpi_vi.cpp | 326 struct pollfd pollFds[num_fds]; in test_vi_poll_event() local 330 memset(pollFds, 0, sizeof(pollFds)); in test_vi_poll_event() 331 pollFds[0].fd = fd; in test_vi_poll_event() 332 pollFds[0].events = (POLLPRI | POLLIN | POLLERR | POLLNVAL | POLLHUP); in test_vi_poll_event() 334 ret = poll(pollFds, num_fds, timeoutMsec); in test_vi_poll_event() 336 if (ret > 0 && (pollFds[0].revents & (POLLERR | POLLNVAL | POLLHUP))) { in test_vi_poll_event()
|