/external/libusb/libusb/os/ |
poll_windows.c | 73 struct winfd poll_fd[MAX_FDS]; variable in typeref:struct:winfd 111 if ( (poll_fd[_index].fd < 0) || (poll_fd[_index].handle == INVALID_HANDLE_VALUE) 112 || (poll_fd[_index].handle == 0) || (poll_fd[_index].overlapped == NULL) ) { 115 if (poll_fd[_index].itransfer && poll_fd[_index].cancel_fn) { 117 (*poll_fd[_index].cancel_fn)(poll_fd[_index].itransfer); 121 return (*pCancelIoEx)(poll_fd[_index].handle, poll_fd[_index].overlapped) [all...] |
/hardware/qcom/display/msm8909/sdm/libs/core/fb/ |
hw_events.cpp | 55 pollfd poll_fd = {0}; local 56 poll_fd.fd = -1; 61 poll_fd.fd = Sys::eventfd_(0, 0); 62 poll_fd.events |= POLLIN; 63 exit_fd_ = poll_fd.fd; 67 poll_fd.fd = Sys::open_(node_path, O_RDONLY); 68 poll_fd.events |= POLLPRI | POLLERR; 71 if (poll_fd.fd < 0) { 74 return poll_fd; 78 Sys::pread_(poll_fd.fd, data , kMaxStringLength, 0) 189 pollfd &poll_fd = poll_fds_[event]; local [all...] |
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/fb/ |
hw_events.cpp | 55 pollfd poll_fd = {0}; local 56 poll_fd.fd = -1; 61 poll_fd.fd = Sys::eventfd_(0, 0); 62 poll_fd.events |= POLLIN; 63 exit_fd_ = poll_fd.fd; 67 poll_fd.fd = Sys::open_(node_path, O_RDONLY); 68 poll_fd.events |= POLLPRI | POLLERR; 71 if (poll_fd.fd < 0) { 74 return poll_fd; 78 Sys::pread_(poll_fd.fd, data , kMaxStringLength, 0) 189 pollfd &poll_fd = poll_fds_[event]; local [all...] |
/hardware/qcom/display/msm8996/sdm/libs/core/fb/ |
hw_events.cpp | 83 pollfd poll_fd; local 84 poll_fd.fd = -1; 89 poll_fd.fd = Sys::eventfd_(0, 0); 90 poll_fd.events |= POLLIN; 91 exit_fd_ = poll_fd.fd; 94 poll_fd.fd = Sys::open_(node_path, O_RDONLY); 95 poll_fd.events |= POLLPRI | POLLERR; 98 if (poll_fd.fd < 0) { 101 return poll_fd; 105 Sys::pread_(poll_fd.fd, data , kMaxStringLength, 0) 207 pollfd &poll_fd = poll_fds_[event]; local [all...] |
/hardware/qcom/display/msm8998/sdm/libs/core/fb/ |
hw_events.cpp | 55 pollfd poll_fd = {0}; local 56 poll_fd.fd = -1; 61 poll_fd.fd = Sys::eventfd_(0, 0); 62 poll_fd.events |= POLLIN; 63 exit_fd_ = poll_fd.fd; 67 poll_fd.fd = Sys::open_(node_path, O_RDONLY); 68 poll_fd.events |= POLLPRI | POLLERR; 71 if (poll_fd.fd < 0) { 74 return poll_fd; 78 Sys::pread_(poll_fd.fd, data , kMaxStringLength, 0) 200 pollfd &poll_fd = poll_fds_[event]; local [all...] |
/external/adhd/cras/src/tests/ |
file_wait_unittest.cc | 54 struct pollfd poll_fd; local 74 poll_fd.events = POLLIN; 75 poll_fd.fd = cras_file_wait_get_fd(file_wait); 82 EXPECT_EQ(1, cras_poll(&poll_fd, 1, &timeout, NULL)); 99 struct pollfd poll_fd; local 153 poll_fd.events = POLLIN; 154 poll_fd.fd = cras_file_wait_get_fd(file_wait); 155 EXPECT_NE(0, poll_fd.fd >= 0); 160 EXPECT_EQ(1, cras_poll(&poll_fd, 1, &timeout, NULL)); 172 EXPECT_EQ(1, cras_poll(&poll_fd, 1, &timeout, NULL)) [all...] |
util_unittest.cc | 269 struct pollfd poll_fd; local 275 poll_fd.fd = pipe_fds[0]; 276 poll_fd.events = POLLIN; 277 ASSERT_NE(0, poll_fd.fd >= 0); 283 EXPECT_EQ(1, cras_poll(&poll_fd, 1, NULL, NULL)); 291 EXPECT_EQ(-ETIMEDOUT, cras_poll(&poll_fd, 1, &timeout, NULL)); 294 EXPECT_EQ(-ETIMEDOUT, cras_poll(&poll_fd, 1, &timeout, NULL)); 303 EXPECT_EQ(-ETIMEDOUT, cras_poll(&poll_fd, 1, &timeout, NULL));
|
/external/dhcpcd-6.8.2/ |
eloop.c | 117 error = kevent(ctx->poll_fd, ke, 121 error = epoll_ctl(ctx->poll_fd, EPOLL_CTL_MOD, 172 if (kevent(ctx->poll_fd, ke, write_cb ? 2 : 1, NULL, 0, NULL) == -1) 176 if (epoll_ctl(ctx->poll_fd, EPOLL_CTL_ADD, fd, &epe) == -1) 219 kevent(ctx->poll_fd, ke, 1, NULL, 0, 226 epoll_ctl(ctx->poll_fd, EPOLL_CTL_MOD, 240 kevent(ctx->poll_fd, ke, e->write_cb ? 2 : 1, 246 epoll_ctl(ctx->poll_fd, EPOLL_CTL_DEL, 370 return (ctx->poll_fd = kqueue1(O_CLOEXEC)); 374 if ((ctx->poll_fd = kqueue()) == -1 [all...] |
eloop.h | 77 int poll_fd; member in struct:eloop_ctx
|
/system/core/libappfuse/include/libappfuse/ |
EpollController.h | 32 explicit EpollController(base::unique_fd&& poll_fd);
|
/system/core/libappfuse/ |
EpollController.cc | 24 EpollController::EpollController(base::unique_fd&& poll_fd) : poll_fd_(std::move(poll_fd)) {
|
FuseBridgeLoop.cc | 261 BridgeEpollController(base::unique_fd&& poll_fd) : EpollController(std::move(poll_fd)) {}
|
/hardware/qcom/display/msm8909/sdm/libs/core/drm/ |
hw_events_drm.cpp | 227 pollfd &poll_fd = poll_fds_[i]; local 233 if ((poll_fd.revents & POLLIN) && 234 (Sys::read_(poll_fd.fd, data, kMaxStringLength) > 0)) { 242 if (poll_fd.fd >= 0 && (poll_fd.revents & POLLPRI) && 243 (Sys::pread_(poll_fd.fd, data, kMaxStringLength, 0) > 0)) {
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/drm/ |
hw_events_drm.cpp | 227 pollfd &poll_fd = poll_fds_[i]; local 233 if ((poll_fd.revents & POLLIN) && 234 (Sys::read_(poll_fd.fd, data, kMaxStringLength) > 0)) { 242 if (poll_fd.fd >= 0 && (poll_fd.revents & POLLPRI) && 243 (Sys::pread_(poll_fd.fd, data, kMaxStringLength, 0) > 0)) {
|
/hardware/qcom/display/msm8998/sdm/libs/core/drm/ |
hw_events_drm.cpp | 233 pollfd &poll_fd = poll_fds_[i]; local 239 if ((poll_fd.revents & POLLIN) && 240 (Sys::read_(poll_fd.fd, data, kMaxStringLength) > 0)) { 250 if (poll_fd.fd >= 0 && (poll_fd.revents & POLLPRI) && 251 (Sys::pread_(poll_fd.fd, data, kMaxStringLength, 0) > 0)) {
|
/hardware/qcom/display/msm8909/hdmi_cec/ |
qhdmi_cec.cpp | 550 pollfd &poll_fd = ctx->poll_fds[event]; local 552 if (poll_fd.revents & POLLIN || poll_fd.revents & POLLPRI) { 584 pollfd poll_fd; local 585 poll_fd.fd = -EINVAL; 591 poll_fd.fd = open(node_path, O_RDONLY); 592 if (poll_fd.fd < 0) { 595 return poll_fd.fd; 598 poll_fd.events |= POLLPRI | POLLERR; 600 pread(poll_fd.fd, ctx->data, MAX_STRING_LENGTH, 0) [all...] |
/hardware/qcom/display/msm8909w_3100/hdmi_cec/ |
qhdmi_cec.cpp | 550 pollfd &poll_fd = ctx->poll_fds[event]; local 552 if (poll_fd.revents & POLLIN || poll_fd.revents & POLLPRI) { 584 pollfd poll_fd; local 585 poll_fd.fd = -EINVAL; 591 poll_fd.fd = open(node_path, O_RDONLY); 592 if (poll_fd.fd < 0) { 595 return poll_fd.fd; 598 poll_fd.events |= POLLPRI | POLLERR; 600 pread(poll_fd.fd, ctx->data, MAX_STRING_LENGTH, 0) [all...] |
/external/ltp/utils/sctp/func_tests/ |
test_tcp_style.c | 72 struct pollfd poll_fd; local 169 poll_fd.fd = listen_sk; 170 poll_fd.events = POLLIN; 171 poll_fd.revents = 0; 172 error = poll(&poll_fd, 1, -1); 173 if ((1 != error) && (1 != poll_fd.revents)) 176 error, errno, poll_fd.revents);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/alsa/ |
pcm_ioplug.h | 89 int poll_fd; /**< poll file descriptor */ member in struct:snd_pcm_ioplug 199 /* update poll_fd and mmap_rw */
|
control_external.h | 111 int poll_fd; member in struct:snd_ctl_ext
|
/external/adhd/cras/src/server/ |
cras_alsa_card.c | 581 struct hctl_poll_fd *poll_fd; local 591 DL_FOREACH(alsa_card->hctl_poll_fds, poll_fd) { 592 cras_system_rm_select_fd(poll_fd->fd); 593 DL_DELETE(alsa_card->hctl_poll_fds, poll_fd); 594 free(poll_fd);
|
cras_alsa_io.c | 116 * poll_fd - Descriptor used to block until data is ready. 148 int poll_fd; member in struct:alsa_io 298 if (aio->poll_fd >= 0) 301 aio->poll_fd); 317 audio_thread_rm_callback(aio->poll_fd); 318 aio->poll_fd = -1; 380 aio->poll_fd = -1; 406 aio->poll_fd = ufds[i].fd; 412 if (aio->poll_fd >= 0) 413 audio_thread_add_callback(aio->poll_fd, [all...] |
/external/libxcam/xcore/ |
v4l2_device.cpp | 200 struct pollfd poll_fd; local 205 xcam_mem_clear (poll_fd); 206 poll_fd.fd = _fd; 207 poll_fd.events = (POLLPRI | POLLIN | POLLERR | POLLNVAL | POLLHUP); 209 ret = poll (&poll_fd, 1, timeout_msec); 210 if (ret > 0 && (poll_fd.revents & (POLLERR | POLLNVAL | POLLHUP))) {
|
/external/adhd/cras/src/alsa_plugin/ |
pcm_cras.c | 52 if (pcm_cras->io.poll_fd >= 0) 53 close(pcm_cras->io.poll_fd); 452 pcm_cras->io.poll_fd = -1; 482 pcm_cras->io.poll_fd = fd[1];
|
/external/adhd/cras/src/libcras/ |
cras_client.c | 348 struct pollfd *poll_fd) 352 poll_fd->fd = client->server_fd; 366 poll_fd->events = events; 367 poll_fd->revents = 0; 829 struct pollfd poll_fd; local 831 poll_fd.fd = client->server_event_fd; 832 poll_fd.events = POLLIN; 833 poll_fd.revents = 0; 842 rc = cras_poll(&poll_fd, 1, timeout, NULL); 865 struct pollfd poll_fd[2] local [all...] |