Searched defs:pollfd (Results 1 - 16 of 16) sorted by relevance

/external/fio/os/windows/posix/include/sys/
H A Dpoll.h6 struct pollfd struct
13 int poll(struct pollfd fds[], nfds_t nfds, int timeout);
/external/openssh/openbsd-compat/
H A Dbsd-poll.h34 typedef struct pollfd { struct
59 int poll(struct pollfd *, nfds_t, int);
/external/curl/lib/
H A Dselect.h34 * Definition of pollfd struct and constants for platforms lacking them.
48 struct pollfd struct
82 int Curl_poll(struct pollfd ufds[], unsigned int nfds, int timeout_ms);
/external/kernel-headers/original/uapi/asm-generic/
H A Dpoll.h35 struct pollfd { struct
/external/dhcpcd-6.8.2/
H A Deloop.h51 struct pollfd *pollfd; member in struct:eloop_event
79 struct pollfd *fds;
/external/autotest/client/tests/hackbench/src/
H A Dhackbench.c146 struct pollfd pollfd = { .fd = wakefd, .events = POLLIN }; local
153 if (poll(&pollfd, 1, -1) != 1)
/external/avahi/avahi-glib/
H A Dglib-watch.c34 GPollFD pollfd; member in struct:AvahiWatch
72 g_source_remove_poll(&w->glib_poll->source, &w->pollfd);
124 w->pollfd.fd = fd;
125 w->pollfd.events = map_events_to_glib(events);
126 w->pollfd.revents = 0;
131 g_source_add_poll(&g->source, &w->pollfd);
143 w->pollfd.events = map_events_to_glib(events);
150 return map_events_from_glib(w->pollfd.revents);
158 g_source_remove_poll(&w->glib_poll->source, &w->pollfd);
310 if (w->pollfd
[all...]
/external/libusb/libusb/
H A Dio.c1781 struct pollfd *fds;
1795 struct libusb_pollfd *pollfd = &ipollfd->pollfd; local
1796 int fd = pollfd->fd;
1799 fds[i].events = pollfd->events;
2191 ipollfd->pollfd.fd = fd;
2192 ipollfd->pollfd.events = events;
2211 if (ipollfd->pollfd.fd == fd) {
H A Dlibusbi.h175 /* user callbacks for pollfd changes */
316 struct libusb_pollfd pollfd; member in struct:usbi_pollfd
740 * The function is passed an array of pollfd structures (size nfds)
764 struct pollfd *fds, nfds_t nfds, int num_ready);
/external/avahi/avahi-common/
H A Dsimple-watch.c42 struct pollfd pollfd; member in struct:AvahiWatch
68 struct pollfd* pollfds;
152 w->pollfd.fd = fd;
153 w->pollfd.events = event;
154 w->pollfd.revents = 0;
175 w->pollfd.events = events;
179 w->simple_poll->pollfds[w->idx] = w->pollfd;
392 struct pollfd *n;
396 if (!(n = avahi_realloc(s->pollfds, sizeof(struct pollfd) *
[all...]
/external/libmicrohttpd/src/testspdy/
H A Dtest_new_connection.c574 * Update |pollfd| based on the state of |connection|.
576 static void ctl_poll(struct pollfd *pollfd, struct Connection *connection) argument
578 pollfd->events = 0;
581 pollfd->events |= POLLIN;
585 pollfd->events |= POLLOUT;
663 struct pollfd pollfds[1];
H A Dtest_notls.c526 * Update |pollfd| based on the state of |connection|.
528 static void ctl_poll(struct pollfd *pollfd, struct Connection *connection) argument
530 pollfd->events = 0;
533 pollfd->events |= POLLIN;
537 pollfd->events |= POLLOUT;
613 struct pollfd pollfds[1];
H A Dtest_request_response.c562 * Update |pollfd| based on the state of |connection|.
564 static void ctl_poll(struct pollfd *pollfd, struct Connection *connection) argument
566 pollfd->events = 0;
569 pollfd->events |= POLLIN;
573 pollfd->events |= POLLOUT;
651 struct pollfd pollfds[1];
/external/libusb/libusb/os/
H A Ddarwin_usb.c1384 static int op_handle_events(struct libusb_context *ctx, struct pollfd *fds, nfds_t nfds, int num_ready) {
1393 struct pollfd *pollfd = &fds[i]; local
1397 usbi_info (ctx, "checking fd %i with revents = %x", fds[i], pollfd->revents);
1399 if (!pollfd->revents)
1405 if (hpriv->fds[0] == pollfd->fd)
1409 if (!(pollfd->revents & POLLERR)) {
H A Dlinux_usbfs.c2102 struct pollfd *fds, nfds_t nfds, int num_ready)
2109 struct pollfd *pollfd = &fds[i]; local
2113 if (!pollfd->revents)
2119 if (hpriv->fd == pollfd->fd)
2123 if (pollfd->revents & POLLERR) {
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_platform_limits_posix.cc1045 CHECK_TYPE_SIZE(pollfd); variable
1046 CHECK_SIZE_AND_OFFSET(pollfd, fd);
1047 CHECK_SIZE_AND_OFFSET(pollfd, events);
1048 CHECK_SIZE_AND_OFFSET(pollfd, revents);

Completed in 2740 milliseconds