/external/openssh/openbsd-compat/ |
D | bsd-poll.c | 94 fds[i].revents = 0; in poll() 98 fds[i].revents |= POLLIN; in poll() 101 fds[i].revents |= POLLOUT; in poll() 104 fds[i].revents |= POLLERR; in poll()
|
D | bsd-poll.h | 37 short revents; member
|
/external/valgrind/main/coregrind/m_gdbserver/ |
D | remote-utils.c | 153 int poll_cond (short revents) in poll_cond() argument 155 return (revents & (VKI_POLLERR | VKI_POLLHUP | VKI_POLLNVAL)); in poll_cond() 169 write_remote_desc_ok.revents = 0; in ensure_write_remote_desc() 171 if (ret && poll_cond(write_remote_desc_ok.revents)) { in ensure_write_remote_desc() 173 write_remote_desc_ok.revents, write_remote_desc); in ensure_write_remote_desc() 349 remote_desc_pollfdread_activity.revents = 0; in remote_open() 386 remote_desc_pollfdread_activity.revents = 0; in remote_finish() 452 remote_desc_pollfdread_activity.revents = 0; in remote_desc_activity() 454 if (ret && poll_cond(remote_desc_pollfdread_activity.revents)) { in remote_desc_activity() 456 remote_desc_pollfdread_activity.revents, remote_desc); in remote_desc_activity() [all …]
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
D | event_test.cc | 249 pollfds[index].revents = -1; in SetFDs() 280 ASSERT_EQ(POLLIN | POLLOUT, pollfds[0].revents); in TEST_F() 281 ASSERT_EQ(POLLIN | POLLOUT, pollfds[1].revents); in TEST_F() 292 ASSERT_EQ(POLLOUT, pollfds[1].revents); in TEST_F()
|
/external/chromium_org/third_party/libusb/src/libusb/os/ |
D | poll_windows.c | 528 fds[i].revents = 0; in usbi_poll() 532 fds[i].revents |= POLLERR; in usbi_poll() 544 fds[i].revents |= POLLNVAL | POLLERR; in usbi_poll() 556 fds[i].revents |= POLLNVAL | POLLERR; in usbi_poll() 565 fds[i].revents |= POLLNVAL | POLLERR; in usbi_poll() 578 fds[i].revents = fds[i].events; in usbi_poll() 602 fds[i].revents = fds[i].events; in usbi_poll()
|
D | linux_udev.c | 176 if (fds[0].revents & POLLIN) { in linux_udev_event_thread_main() 184 if (fds[1].revents & POLLIN) { in linux_udev_event_thread_main()
|
D | linux_netlink.c | 318 if (fds[0].revents & POLLIN) { in linux_netlink_event_thread_main() 326 if (fds[1].revents & POLLIN) { in linux_netlink_event_thread_main()
|
/external/bluetooth/bluedroid/btif/src/ |
D | btif_sock_thread.c | 417 ps->pfd.revents = 0; in set_poll() 500 if(pfds[i].revents) in process_data_sock() 507 print_events(pfds[i].revents); in process_data_sock() 508 if(IS_READ(pfds[i].revents)) in process_data_sock() 512 if(IS_WRITE(pfds[i].revents)) in process_data_sock() 516 if(IS_EXCEPTION(pfds[i].revents)) in process_data_sock() 572 if(pfds[0].revents) //cmd fd always is the first one in sock_poll_thread()
|
/external/tinycompress/ |
D | compress.c | 381 if (fds.revents & POLLERR) { in compress_write() 390 if (fds.revents & POLLOUT) { in compress_write() 441 if (fds.revents & POLLERR) { in compress_read() 450 if (fds.revents & POLLIN) { in compress_read() 620 if (fds.revents & POLLERR) in compress_wait() 622 if (fds.revents & (POLLOUT | POLLIN)) in compress_wait()
|
/external/valgrind/main/auxprogs/ |
D | valgrind-listener.c | 309 ufd.revents = 0; in main() 351 conn_pollfd[j].revents = 0; in main() 369 if (conn_pollfd[i].revents & POLLIN) { in main()
|
/external/chromium_org/device/bluetooth/ |
D | bluetooth_socket_chromeos.cc | 71 pollfd.revents = 0; in Receive() 81 if (pollfd.revents & POLLHUP) { in Receive()
|
/external/kernel-headers/original/asm-arm/ |
D | poll.h | 24 short revents; member
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/include/sys/ |
D | poll.h | 31 uint16_t revents; member
|
/external/kernel-headers/original/asm-generic/ |
D | poll.h | 34 short revents; member
|
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
D | symbolize.cc | 209 if (!poll(&pfd, 1, 0) || !(pfd.revents & POLLOUT) || in Symbolize() 210 (pfd.revents & (POLLHUP|POLLERR))) { in Symbolize()
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
D | symbolize.cc | 209 if (!poll(&pfd, 1, 0) || !(pfd.revents & POLLOUT) || in Symbolize() 210 (pfd.revents & (POLLHUP|POLLERR))) { in Symbolize()
|
/external/chromium_org/third_party/libusb/src/libusb/ |
D | io.c | 1952 fds[i].revents = 0; in handle_events() 1978 if (fds[0].revents) { in handle_events() 1989 fds[0].revents = 0; in handle_events() 1995 if (libusb_has_capability(LIBUSB_CAP_HAS_HOTPLUG) && fds[1].revents) { in handle_events() 2016 fds[1].revents = 0; in handle_events() 2023 if (usbi_using_timerfd(ctx) && fds[2].revents) { in handle_events() 2040 fds[2].revents = 0; in handle_events()
|
/external/mtpd/ |
D | mtpd.c | 196 if (pollfds[1].revents) { in main() 199 if (pollfds[2].revents) { in main() 202 timeout = pollfds[0].revents ? in main()
|
/external/ipsec-tools/ |
D | main.c | 198 if (pollfds[i].revents & POLLHUP) { in main() 204 if (pollfds[i].revents & POLLIN) { in main()
|
/external/android-clat/ |
D | clatd.c | 343 wait_fd[0].revents = 0; in event_loop() 346 wait_fd[1].revents = 0; in event_loop() 356 if((wait_fd[i].revents & POLLIN) != 0) { in event_loop()
|
/external/wpa_supplicant_8/src/utils/ |
D | eloop.c | 258 pollfds[nxt].revents = 0; in eloop_sock_table_set_fds() 277 pollfds[i].revents = 0; in eloop_sock_table_set_fds() 303 pollfds[i].revents = 0; in eloop_sock_table_set_fds() 317 short int revents) in eloop_sock_table_dispatch_table() argument 332 if (!(pfd->revents & revents)) in eloop_sock_table_dispatch_table()
|
/external/openssl/crypto/rand/ |
D | rand_unix.c | 309 pset.revents = 0; in RAND_poll() 314 try_read = (pset.revents & POLLIN) != 0; in RAND_poll()
|
/external/chromium_org/third_party/openssl/openssl/crypto/rand/ |
D | rand_unix.c | 309 pset.revents = 0; in RAND_poll() 314 try_read = (pset.revents & POLLIN) != 0; in RAND_poll()
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
D | kernel_proxy.cc | 1058 if (info->revents & POLLIN) { in select() 1062 if (info->revents & POLLOUT) { in select() 1066 if (info->revents & (POLLHUP | POLLERR)) { in select() 1095 fd_info->revents = 0; in poll() 1099 fd_info->revents = POLLNVAL; in poll() 1111 fd_info->revents = events & fd_info->events; in poll() 1117 fd_info->revents = POLLNVAL; in poll() 1154 fd_info->revents = events; in poll()
|
/external/valgrind/main/memcheck/tests/linux/ |
D | timerfd-syscall.c | 153 pfd.revents = 0; in waittmr() 159 if ((pfd.revents & POLLIN) == 0) in waittmr()
|