/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_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 | cras_server.c | 70 struct pollfd *pollfd; member 89 struct pollfd *pollfd; member 233 poll_client->pollfd = NULL; in handle_new_connection() 278 new_cb->pollfd = NULL; in add_select_fd() 453 struct pollfd *pollfds; in cras_server_run() 562 elm->pollfd = &pollfds[num_pollfds]; in cras_server_run() 570 client_cb->pollfd = &pollfds[num_pollfds]; in cras_server_run() 604 if (elm->pollfd && elm->pollfd->revents & POLLIN) in cras_server_run() 609 client_cb->pollfd && in cras_server_run() 610 (client_cb->pollfd->revents & POLLIN)) in cras_server_run()
|
D | cras_rstream.c | 480 struct pollfd pollfd; in cras_rstream_flush_old_audio_messages() local 489 pollfd.fd = stream->fd; in cras_rstream_flush_old_audio_messages() 490 pollfd.events = POLLIN; in cras_rstream_flush_old_audio_messages() 493 err = poll(&pollfd, 1, 0); in cras_rstream_flush_old_audio_messages() 494 if (pollfd.revents & POLLIN) { in cras_rstream_flush_old_audio_messages()
|
/external/libchrome/base/ |
D | sync_socket_posix.cc | 155 struct pollfd pollfd; in ReceiveWithTimeout() local 156 pollfd.fd = handle_; in ReceiveWithTimeout() 157 pollfd.events = POLLIN; in ReceiveWithTimeout() 158 pollfd.revents = 0; in ReceiveWithTimeout() 167 const int poll_result = poll(&pollfd, 1, timeout_ms); in ReceiveWithTimeout() 181 DCHECK(pollfd.revents & (POLLIN | POLLHUP | POLLERR)) << pollfd.revents; in ReceiveWithTimeout()
|
/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/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/selinux/mcstrans/src/ |
D | mcstransd.c | 256 add_pollfd(struct pollfd **ufds, int *nfds, int connfd) in add_pollfd() 267 struct pollfd *tmp = (struct pollfd *)realloc(*ufds, in add_pollfd() 268 (*nfds+1)*sizeof(struct pollfd)); in add_pollfd() 286 adj_pollfds(struct pollfd **ufds, int *nfds) in adj_pollfds() 302 process_events(struct pollfd **ufds, int *nfds) in process_events() 381 struct pollfd *ufds = (struct pollfd *)malloc(sizeof(struct pollfd)); in process_connections()
|
/external/wpa_supplicant_8/src/utils/ |
D | eloop.c | 84 struct pollfd *pollfds; 85 struct pollfd **pollfds_map; 284 struct pollfd **nmap; in eloop_sock_table_add_sock() 286 sizeof(struct pollfd *)); in eloop_sock_table_add_sock() 295 struct pollfd *n; in eloop_sock_table_add_sock() 298 sizeof(struct pollfd)); in eloop_sock_table_add_sock() 432 static struct pollfd * find_pollfd(struct pollfd **pollfds_map, int fd, int mx) in find_pollfd() 443 struct pollfd *pollfds, in eloop_sock_table_set_fds() 444 struct pollfd **pollfds_map, in eloop_sock_table_set_fds() 450 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/toybox/lib/ |
D | net.c | 70 int xpoll(struct pollfd *fds, int nfds, int timeout) in xpoll() 91 struct pollfd pollfds[2]; in pollinate() 94 memset(pollfds, 0, 2*sizeof(struct pollfd)); in pollinate() 151 struct pollfd pfd; in xrecvwait()
|
/external/openssh/openbsd-compat/ |
D | bsd-poll.h | 34 typedef struct pollfd { struct 59 int poll(struct pollfd *, nfds_t, int); argument
|
/external/linux-kselftest/tools/testing/selftests/vm/ |
D | userfaultfd.c | 494 struct pollfd pollfd[2]; in uffd_poll_thread() local 501 pollfd[0].fd = uffd; in uffd_poll_thread() 502 pollfd[0].events = POLLIN; in uffd_poll_thread() 503 pollfd[1].fd = pipefd[cpu*2]; in uffd_poll_thread() 504 pollfd[1].events = POLLIN; in uffd_poll_thread() 507 ret = poll(pollfd, 2, -1); in uffd_poll_thread() 512 if (pollfd[1].revents & POLLIN) { in uffd_poll_thread() 513 if (read(pollfd[1].fd, &tmp_chr, 1) != 1) in uffd_poll_thread() 518 if (!(pollfd[0].revents & POLLIN)) in uffd_poll_thread() 520 pollfd[0].revents), exit(1); in uffd_poll_thread() [all …]
|
/external/linux-kselftest/tools/testing/selftests/networking/timestamping/ |
D | txtimestamp.c | 171 struct pollfd pollfd; in __poll() local 174 memset(&pollfd, 0, sizeof(pollfd)); in __poll() 175 pollfd.fd = fd; in __poll() 176 ret = poll(&pollfd, 1, cfg_poll_timeout); 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 | 143 struct pollfd pollfds[2]; in Poll() 145 int pollfd = -1; in Poll() local 155 pollfd = nfds; in Poll() 163 *event_pending = (pollfd != -1 && pollfds[pollfd].revents & POLLPRI); in Poll()
|
/external/ltp/testcases/kernel/syscalls/ppoll/ |
D | ppoll01.c | 51 struct pollfd *fds; /* fds ppoll parameter */ 70 static struct pollfd fds_good[1], fds_already_closed[1]; 168 .fds = (struct pollfd *) -1,
|
/external/libusb/libusb/os/ |
D | poll_windows.h | 67 struct pollfd { struct 94 int usbi_poll(struct pollfd *fds, unsigned int nfds, int timeout);
|