/external/libevent/ |
D | poll.c | 65 struct pollfd *event_set; 66 struct pollfd *event_set_copy; 116 struct pollfd *pfd = &pop->event_set[i]; in poll_check_ok() 130 struct pollfd *event_set; in poll_dispatch() 144 struct pollfd *tmp = mm_realloc(pop->event_set_copy, in poll_dispatch() 145 pop->event_count * sizeof(struct pollfd)); in poll_dispatch() 154 sizeof(struct pollfd)*nfds); in poll_dispatch() 220 struct pollfd *pfd = NULL; in poll_add() 230 struct pollfd *tmp_event_set; in poll_add() 240 tmp_event_count * sizeof(struct pollfd)); in poll_add() [all …]
|
D | devpoll.c | 57 struct pollfd *events; 60 struct pollfd *changes; 92 sizeof(struct pollfd) * devpollop->nchanges, 0) == -1) in devpoll_commit() 101 struct pollfd *pfd; in devpoll_queue() 146 devpollop->events = mm_calloc(nfiles, sizeof(struct pollfd)); in devpoll_init() 154 devpollop->changes = mm_calloc(nfiles, sizeof(struct pollfd)); in devpoll_init() 171 struct pollfd *events = devpollop->events; in devpoll_dispatch()
|
/external/adhd/cras/src/server/ |
D | cras_server.c | 67 struct pollfd *pollfd; member 86 struct pollfd *pollfd; member 225 poll_client->pollfd = NULL; in handle_new_connection() 270 new_cb->pollfd = NULL; in add_select_fd() 415 struct pollfd *pollfds; in cras_server_run() 518 elm->pollfd = &pollfds[num_pollfds]; in cras_server_run() 526 client_cb->pollfd = &pollfds[num_pollfds]; in cras_server_run() 544 if (elm->pollfd && elm->pollfd->revents & POLLIN) in cras_server_run() 549 client_cb->pollfd && in cras_server_run() 550 (client_cb->pollfd->revents & POLLIN)) in cras_server_run()
|
D | cras_dbus.c | 22 struct pollfd pollfd; in dbus_watch_callback() local 24 pollfd.fd = dbus_watch_get_unix_fd(watch); in dbus_watch_callback() 25 pollfd.events = POLLIN | POLLOUT; in dbus_watch_callback() 27 r = poll(&pollfd, 1, 0); in dbus_watch_callback() 32 if (pollfd.revents & POLLIN) in dbus_watch_callback() 34 if (pollfd.revents & POLLOUT) in dbus_watch_callback()
|
D | audio_thread.c | 102 struct pollfd *pollfd; member 554 struct pollfd pollfd; in flush_old_aud_messages() local 557 pollfd.fd = fd; in flush_old_aud_messages() 558 pollfd.events = POLLIN; in flush_old_aud_messages() 561 err = poll(&pollfd, 1, 0); in flush_old_aud_messages() 562 if (pollfd.revents & POLLIN) { in flush_old_aud_messages() 1526 struct pollfd *pollfds; in audio_io_thread() 1542 pollfds = (struct pollfd *)malloc(sizeof(*pollfds) * pollfds_size); in audio_io_thread() 1568 iodev_cb->pollfd = &pollfds[num_pollfds]; in audio_io_thread() 1576 pollfds = (struct pollfd *)realloc(pollfds, in audio_io_thread() [all …]
|
/external/libmicrohttpd/src/examples/ |
D | mhd2spdy_spdy.h | 37 spdy_ctl_poll(struct pollfd *pollfd, 73 spdy_get_pollfdset(struct pollfd fds[], 89 spdy_run(struct pollfd fds[],
|
/external/strace/tests/ |
D | poll.c | 54 print_pollfd_entering(const struct pollfd *const pfd) in print_pollfd_entering() 87 print_pollfd_array_entering(const struct pollfd *const pfd, in print_pollfd_array_entering() 111 print_pollfd_exiting(const struct pollfd *const pfd, in print_pollfd_exiting() 151 print_pollfd_array_exiting(const struct pollfd *const pfd, in print_pollfd_array_exiting() 185 const struct pollfd pfds0[] = { in main() 192 struct pollfd *const tail_fds0 = tail_memdup(pfds0, sizeof(pfds0)); in main() 245 struct pollfd pfds1[] = { in main() 249 struct pollfd *const tail_fds1 = tail_memdup(pfds1, sizeof(pfds1)); in main()
|
D | ppoll.c | 75 struct pollfd *fds; in main() 120 const struct pollfd fds1[] = { in main() 192 const struct pollfd fds2[] = { in main()
|
/external/strace/tests-m32/ |
D | poll.c | 54 print_pollfd_entering(const struct pollfd *const pfd) in print_pollfd_entering() 87 print_pollfd_array_entering(const struct pollfd *const pfd, in print_pollfd_array_entering() 111 print_pollfd_exiting(const struct pollfd *const pfd, in print_pollfd_exiting() 151 print_pollfd_array_exiting(const struct pollfd *const pfd, in print_pollfd_array_exiting() 185 const struct pollfd pfds0[] = { in main() 192 struct pollfd *const tail_fds0 = tail_memdup(pfds0, sizeof(pfds0)); in main() 245 struct pollfd pfds1[] = { in main() 249 struct pollfd *const tail_fds1 = tail_memdup(pfds1, sizeof(pfds1)); in main()
|
D | ppoll.c | 75 struct pollfd *fds; in main() 120 const struct pollfd fds1[] = { in main() 192 const struct pollfd fds2[] = { in main()
|
/external/strace/tests-mx32/ |
D | poll.c | 54 print_pollfd_entering(const struct pollfd *const pfd) in print_pollfd_entering() 87 print_pollfd_array_entering(const struct pollfd *const pfd, in print_pollfd_array_entering() 111 print_pollfd_exiting(const struct pollfd *const pfd, in print_pollfd_exiting() 151 print_pollfd_array_exiting(const struct pollfd *const pfd, in print_pollfd_array_exiting() 185 const struct pollfd pfds0[] = { in main() 192 struct pollfd *const tail_fds0 = tail_memdup(pfds0, sizeof(pfds0)); in main() 245 struct pollfd pfds1[] = { in main() 249 struct pollfd *const tail_fds1 = tail_memdup(pfds1, sizeof(pfds1)); in main()
|
D | ppoll.c | 75 struct pollfd *fds; in main() 120 const struct pollfd fds1[] = { in main() 192 const struct pollfd fds2[] = { in main()
|
/external/selinux/mcstrans/src/ |
D | mcstransd.c | 266 add_pollfd(struct pollfd **ufds, int *nfds, int connfd) in add_pollfd() 277 struct pollfd *tmp = (struct pollfd *)realloc(*ufds, in add_pollfd() 278 (*nfds+1)*sizeof(struct pollfd)); in add_pollfd() 296 adj_pollfds(struct pollfd **ufds, int *nfds) in adj_pollfds() 312 process_events(struct pollfd **ufds, int *nfds) in process_events() 391 struct pollfd *ufds = (struct pollfd *)malloc(sizeof(struct pollfd)); in process_connections()
|
/external/dhcpcd-6.8.2/ |
D | eloop.h | 51 struct pollfd *pollfd; member 79 struct pollfd *fds;
|
/external/wpa_supplicant_8/src/utils/ |
D | eloop.c | 84 struct pollfd *pollfds; 85 struct pollfd **pollfds_map; 280 struct pollfd **nmap; in eloop_sock_table_add_sock() 282 sizeof(struct pollfd *)); in eloop_sock_table_add_sock() 291 struct pollfd *n; in eloop_sock_table_add_sock() 294 sizeof(struct pollfd)); in eloop_sock_table_add_sock() 427 static struct pollfd * find_pollfd(struct pollfd **pollfds_map, int fd, int mx) in find_pollfd() 438 struct pollfd *pollfds, in eloop_sock_table_set_fds() 439 struct pollfd **pollfds_map, in eloop_sock_table_set_fds() 445 struct pollfd *pfd; in eloop_sock_table_set_fds() [all …]
|
/external/ltp/testcases/kernel/syscalls/eventfd/ |
D | eventfd01.c | 595 struct pollfd pollfd; in overflow_poll_test() local 606 pollfd.fd = evfd; in overflow_poll_test() 607 pollfd.events = POLLIN; in overflow_poll_test() 608 pollfd.revents = 0; in overflow_poll_test() 609 ret = poll(&pollfd, 1, 10000); in overflow_poll_test() 613 if (pollfd.revents & POLLERR) in overflow_poll_test()
|
/external/fio/os/windows/posix/include/sys/ |
D | poll.h | 6 struct pollfd struct 13 int poll(struct pollfd fds[], nfds_t nfds, int timeout); argument
|
/external/valgrind/memcheck/tests/ |
D | badpoll.c | 12 struct pollfd* ufds = malloc(2 * sizeof(struct pollfd) - 1); in main()
|
/external/linux-kselftest/tools/testing/selftests/vm/ |
D | userfaultfd.c | 443 struct pollfd pollfd[2]; in uffd_poll_thread() local 451 pollfd[0].fd = uffd; in uffd_poll_thread() 452 pollfd[0].events = POLLIN; in uffd_poll_thread() 453 pollfd[1].fd = pipefd[cpu*2]; in uffd_poll_thread() 454 pollfd[1].events = POLLIN; in uffd_poll_thread() 457 ret = poll(pollfd, 2, -1); in uffd_poll_thread() 462 if (pollfd[1].revents & POLLIN) { in uffd_poll_thread() 463 if (read(pollfd[1].fd, &tmp_chr, 1) != 1) in uffd_poll_thread() 468 if (!(pollfd[0].revents & POLLIN)) in uffd_poll_thread() 470 pollfd[0].revents), exit(1); in uffd_poll_thread() [all …]
|
/external/toybox/lib/ |
D | net.c | 56 int xpoll(struct pollfd *fds, int nfds, int timeout) in xpoll() 74 struct pollfd pollfds[2]; in pollinate() 77 memset(pollfds, 0, 2*sizeof(struct pollfd)); in pollinate()
|
/external/linux-kselftest/tools/testing/selftests/networking/timestamping/ |
D | txtimestamp.c | 169 struct pollfd pollfd; in __poll() local 172 memset(&pollfd, 0, sizeof(pollfd)); in __poll() 173 pollfd.fd = fd; in __poll() 174 ret = poll(&pollfd, 1, 100); in __poll()
|
/external/strace/ |
D | poll.c | 39 const struct pollfd *fds = elem_buf; in print_pollfd() 57 struct pollfd fds; in decode_poll_entering() 67 struct pollfd fds; in decode_poll_exiting()
|
/external/ltp/testcases/kernel/syscalls/poll/ |
D | poll01.c | 39 struct pollfd outfds[] = { in verify_pollout() 63 struct pollfd infds[] = { in verify_pollin()
|
/external/curl/lib/ |
D | select.h | 49 struct pollfd struct 84 int Curl_poll(struct pollfd ufds[], unsigned int nfds, int timeout_ms);
|
/external/v4l2_codec2/vda/ |
D | v4l2_device.cc | 156 struct pollfd pollfds[2]; in Poll() 158 int pollfd = -1; in Poll() local 168 pollfd = nfds; in Poll() 176 *event_pending = (pollfd != -1 && pollfds[pollfd].revents & POLLPRI); in Poll()
|