/external/bluetooth/glib/gio/ |
D | gasynchelper.c | 81 GPollFD pollfd; member 103 fd_source->pollfd.revents != 0; in fd_source_check() 117 return (*func) (user_data, fd_source->pollfd.revents, fd_source->pollfd.fd); in fd_source_dispatch() 163 fd_source->pollfd.fd = fd; in _g_fd_source_new() 164 fd_source->pollfd.events = events; in _g_fd_source_new() 165 g_source_add_poll (source, &fd_source->pollfd); in _g_fd_source_new()
|
D | gcancellable.c | 415 g_cancellable_make_pollfd (GCancellable *cancellable, GPollFD *pollfd) in g_cancellable_make_pollfd() argument 418 g_return_if_fail (pollfd != NULL); in g_cancellable_make_pollfd() 430 g_io_channel_win32_make_pollfd (cancellable->read_channel, G_IO_IN, pollfd); in g_cancellable_make_pollfd() 435 pollfd->fd = g_cancellable_get_fd (cancellable); in g_cancellable_make_pollfd() 436 pollfd->events = G_IO_IN; in g_cancellable_make_pollfd() 438 pollfd->revents = 0; in g_cancellable_make_pollfd()
|
D | gcancellable.h | 74 GPollFD *pollfd);
|
/external/wpa_supplicant_8/src/utils/ |
D | eloop.c | 63 struct pollfd *pollfds; 64 struct pollfd **pollfds_map; 155 struct pollfd **nmap; in eloop_sock_table_add_sock() 156 nmap = os_realloc(eloop.pollfds_map, sizeof(struct pollfd *) * in eloop_sock_table_add_sock() 166 struct pollfd *n; in eloop_sock_table_add_sock() 168 n = os_realloc(eloop.pollfds, sizeof(struct pollfd) * nmax); in eloop_sock_table_add_sock() 229 static struct pollfd * find_pollfd(struct pollfd **pollfds_map, int fd, int mx) in find_pollfd() 240 struct pollfd *pollfds, in eloop_sock_table_set_fds() 241 struct pollfd **pollfds_map, in eloop_sock_table_set_fds() 247 struct pollfd *pfd; in eloop_sock_table_set_fds() [all …]
|
/external/chromium/third_party/libevent/ |
D | devpoll.c | 65 struct pollfd *events; 68 struct pollfd *changes; 98 sizeof(struct pollfd) * devpollop->nchanges, 0) == -1) in devpoll_commit() 107 struct pollfd *pfd; in devpoll_queue() 154 devpollop->events = calloc(nfiles, sizeof(struct pollfd)); in devpoll_init() 171 devpollop->changes = calloc(nfiles, sizeof(struct pollfd)); in devpoll_init() 216 struct pollfd *events = devpollop->events; in devpoll_dispatch()
|
D | poll.c | 60 struct pollfd *event_set; 127 struct pollfd *pfd = &pop->event_set[i]; in poll_check_ok() 208 struct pollfd *pfd = NULL; in poll_add() 218 struct pollfd *tmp_event_set; in poll_add() 230 tmp_event_count * sizeof(struct pollfd)); in poll_add() 313 struct pollfd *pfd = NULL; in poll_del() 352 sizeof(struct pollfd)); in poll_del()
|
/external/linux-tools-perf/util/ |
D | evlist.h | 14 struct pollfd; 31 struct pollfd *pollfd; member
|
D | evlist.c | 68 free(evlist->pollfd); in perf_evlist__exit() 70 evlist->pollfd = NULL; in perf_evlist__exit() 104 evlist->pollfd = malloc(sizeof(struct pollfd) * nfds); in perf_evlist__alloc_pollfd() 105 return evlist->pollfd != NULL ? 0 : -ENOMEM; in perf_evlist__alloc_pollfd() 111 evlist->pollfd[evlist->nr_fds].fd = fd; in perf_evlist__add_pollfd() 112 evlist->pollfd[evlist->nr_fds].events = POLLIN; in perf_evlist__add_pollfd() 387 if (evlist->pollfd == NULL && perf_evlist__alloc_pollfd(evlist) < 0) in perf_evlist__mmap()
|
/external/valgrind/main/memcheck/tests/ |
D | badpoll.c | 12 struct pollfd* ufds = malloc(2 * sizeof(struct pollfd) - 1); in main()
|
/external/openssh/openbsd-compat/ |
D | bsd-poll.h | 34 typedef struct pollfd { struct 59 int poll(struct pollfd *, nfds_t, int); argument
|
/external/bluetooth/glib/glib/ |
D | giounix.c | 65 GPollFD pollfd; member 140 GIOCondition poll_condition = watch->pollfd.revents; in g_io_unix_check() 163 (watch->pollfd.revents | buffer_condition) & watch->condition, in g_io_unix_dispatch() 354 watch->pollfd.fd = unix_channel->fd; in g_io_unix_create_watch() 355 watch->pollfd.events = condition; in g_io_unix_create_watch() 357 g_source_add_poll (source, &watch->pollfd); in g_io_unix_create_watch()
|
D | gpoll.c | 89 extern gint poll (struct pollfd *fds, guint nfsd, gint timeout); 127 return poll ((struct pollfd *)fds, nfds, timeout); in g_poll()
|
/external/libusb/libusb/ |
D | io.c | 1781 struct pollfd *fds; in handle_events() 1795 struct libusb_pollfd *pollfd = &ipollfd->pollfd; in handle_events() local 1796 int fd = pollfd->fd; in handle_events() 1799 fds[i].events = pollfd->events; in handle_events() 2191 ipollfd->pollfd.fd = fd; in usbi_add_pollfd() 2192 ipollfd->pollfd.events = events; in usbi_add_pollfd() 2211 if (ipollfd->pollfd.fd == fd) { in usbi_remove_pollfd()
|
/external/linux-tools-perf/bench/ |
D | sched-messaging.c | 81 struct pollfd pollfd = { .fd = wakefd, .events = POLLIN }; in ready() local 88 if (poll(&pollfd, 1, -1) != 1) in ready()
|
/external/openssh/ |
D | atomicio.c | 57 struct pollfd pfd; in atomicio6() 103 struct pollfd pfd; in atomiciov6()
|
D | monitor_fdpass.c | 61 struct pollfd pfd; in mm_send_fd() 123 struct pollfd pfd; in mm_receive_fd()
|
/external/kernel-headers/original/asm-arm/ |
D | poll.h | 21 struct pollfd { struct
|
/external/kernel-headers/original/asm-generic/ |
D | poll.h | 31 struct pollfd { struct
|
/external/bluetooth/bluez/src/ |
D | ppoll.h | 7 static inline int compat_ppoll(struct pollfd *fds, nfds_t nfds, in compat_ppoll()
|
/external/bluetooth/glib/tests/ |
D | gio-test.c | 287 GPollFD pollfd; in main() local 369 g_io_channel_win32_make_pollfd (my_read_channel, G_IO_IN, &pollfd); in main() 370 pollresult = g_io_channel_win32_poll (&pollfd, 1, 100); in main()
|
/external/netcat/ |
D | atomicio.c | 46 struct pollfd pfd; in atomicio()
|
/external/blktrace/ |
D | blktrace.c | 166 struct pollfd *pfds; 231 struct pollfd *pfds; 458 static void clear_events(struct pollfd *pfd) in clear_events() 1598 struct pollfd *pfd; in open_ios() 1605 tp->pfds = calloc(ndevs, sizeof(struct pollfd)); in open_ios() 1606 memset(tp->pfds, 0, ndevs * sizeof(struct pollfd)); in open_ios() 1666 struct pollfd *pfd = tp->pfds; in handle_pfds_file() 1710 struct pollfd *pfd = tp->pfds; in handle_pfds_netclient() 1744 struct pollfd *pfd = tp->pfds; in handle_pfds_entries() 2183 ns->pfds = realloc(ns->pfds, (ns->connects+1) * sizeof(struct pollfd)); in ch_add_connection() [all …]
|
/external/valgrind/main/auxprogs/ |
D | valgrind-listener.c | 102 struct pollfd conn_pollfd[M_CONNECTIONS]; 305 { struct pollfd ufd; in main()
|
/external/kernel-headers/original/linux/ |
D | poll.h | 115 extern int do_sys_poll(struct pollfd __user * ufds, unsigned int nfds,
|
/external/libusb/libusb/os/ |
D | darwin_usb.c | 1384 static int op_handle_events(struct libusb_context *ctx, struct pollfd *fds, nfds_t nfds, int num_re… in op_handle_events() 1393 struct pollfd *pollfd = &fds[i]; in op_handle_events() local 1397 usbi_info (ctx, "checking fd %i with revents = %x", fds[i], pollfd->revents); in op_handle_events() 1399 if (!pollfd->revents) in op_handle_events() 1405 if (hpriv->fds[0] == pollfd->fd) in op_handle_events() 1409 if (!(pollfd->revents & POLLERR)) { in op_handle_events()
|