Searched refs:pollfd (Results 1 - 25 of 138) sorted by relevance

123456

/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/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/
H A Dpoll.c10 int poll(struct pollfd *fds, nfds_t nfds, int timeout) {
/external/valgrind/main/memcheck/tests/
H A Dbadpoll.c12 struct pollfd* ufds = malloc(2 * sizeof(struct pollfd) - 1);
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/include/sys/
H A Dpoll.h25 struct pollfd { struct
33 int poll(struct pollfd* __fds, nfds_t __nfds, int __timeout);
/external/kernel-headers/original/uapi/asm-generic/
H A Dpoll.h35 struct pollfd { struct
/external/chromium_org/content/common/gpu/media/
H A Dexynos_v4l2_video_device.cc49 struct pollfd pollfds[2];
51 int pollfd = -1; local
61 pollfd = nfds;
69 *event_pending = (pollfd != -1 && pollfds[pollfd].revents & POLLPRI);
/external/netcat/
H A Datomicio.c46 struct pollfd pfd;
/external/strace/test/
H A Dprocpollable.c13 struct pollfd pfd;
/external/chromium_org/third_party/libusb/src/libusb/os/
H A Dpoll_windows.h61 struct pollfd { struct
88 int usbi_poll(struct pollfd *fds, unsigned int nfds, int timeout);
H A Dopenbsd_usb.c77 static int obsd_handle_events(struct libusb_context *ctx, struct pollfd *,
532 obsd_handle_events(struct libusb_context *ctx, struct pollfd *fds, nfds_t nfds,
538 struct pollfd *pollfd; local
545 pollfd = &fds[i];
547 if (!pollfd->revents)
556 if (hpriv->pipe[0] == pollfd->fd)
563 usbi_dbg("fd %d is not an event pipe!", pollfd->fd);
568 if (pollfd->revents & POLLERR) {
/external/chromium_org/third_party/libevent/
H A Ddevpoll.c65 struct pollfd *events;
68 struct pollfd *changes;
98 sizeof(struct pollfd) * devpollop->nchanges, 0) == -1)
107 struct pollfd *pfd;
154 devpollop->events = calloc(nfiles, sizeof(struct pollfd));
171 devpollop->changes = calloc(nfiles, sizeof(struct pollfd));
216 struct pollfd *events = devpollop->events;
H A Dpoll.c60 struct pollfd *event_set;
127 struct pollfd *pfd = &pop->event_set[i];
208 struct pollfd *pfd = NULL;
218 struct pollfd *tmp_event_set;
230 tmp_event_count * sizeof(struct pollfd));
313 struct pollfd *pfd = NULL;
348 * Shift the last pollfd down into the now-unoccupied
352 sizeof(struct pollfd));
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Devlist.h12 struct pollfd;
44 struct pollfd *pollfd; member in struct:perf_evlist
/external/valgrind/main/memcheck/tests/linux/
H A Dsyscalls-2007.c41 struct pollfd pfd[2];
/external/wpa_supplicant_8/hostapd/src/utils/
H A Deloop.c78 struct pollfd *pollfds;
79 struct pollfd **pollfds_map;
192 struct pollfd **nmap;
194 sizeof(struct pollfd *));
203 struct pollfd *n;
206 sizeof(struct pollfd));
332 static struct pollfd * find_pollfd(struct pollfd **pollfds_map, int fd, int mx)
343 struct pollfd *pollfds,
344 struct pollfd **pollfds_ma
[all...]
/external/wpa_supplicant_8/src/utils/
H A Deloop.c78 struct pollfd *pollfds;
79 struct pollfd **pollfds_map;
192 struct pollfd **nmap;
194 sizeof(struct pollfd *));
203 struct pollfd *n;
206 sizeof(struct pollfd));
332 static struct pollfd * find_pollfd(struct pollfd **pollfds_map, int fd, int mx)
343 struct pollfd *pollfds,
344 struct pollfd **pollfds_ma
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/utils/
H A Deloop.c78 struct pollfd *pollfds;
79 struct pollfd **pollfds_map;
192 struct pollfd **nmap;
194 sizeof(struct pollfd *));
203 struct pollfd *n;
206 sizeof(struct pollfd));
332 static struct pollfd * find_pollfd(struct pollfd **pollfds_map, int fd, int mx)
343 struct pollfd *pollfds,
344 struct pollfd **pollfds_ma
[all...]
/external/chromium_org/native_client_sdk/src/tests/nacl_io_socket_test/
H A Dsocket_test.cc384 struct pollfd pollfd = { sock_, POLLIN|POLLOUT, 0 }; local
385 ASSERT_EQ(1, ki_poll(&pollfd, 1, -1));
386 ASSERT_EQ(POLLOUT, pollfd.revents);
703 struct pollfd pollfd = { server_sock, POLLIN|POLLOUT, 0 }; local
704 ASSERT_EQ(0, ki_poll(&pollfd, 1, 0));
714 pollfd.fd = server_sock;
715 pollfd.events = POLLIN | POLLOUT;
716 ASSERT_EQ(1, ki_poll(&pollfd,
[all...]
/external/chromium_org/third_party/npapi/npspy/extern/nspr/md/
H A D_dgux.h151 struct pollfd *ioq_pollfds;
216 extern int _poll(struct pollfd *fds, unsigned long nfds, int timeout);
H A D_ncr.h162 struct pollfd *ioq_pollfds;
225 extern int _poll(struct pollfd *fds, unsigned long nfds, int timeout);
H A D_osf1.h177 struct pollfd *ioq_pollfds;
237 extern int __poll(struct pollfd filedes[], unsigned int nfds, int timeout);
H A D_sony.h137 struct pollfd *ioq_pollfds;
185 extern int _poll(struct pollfd *fds, unsigned long nfds, int timeout);
H A D_unixware.h151 struct pollfd *ioq_pollfds;
214 extern int _poll(struct pollfd *fds, unsigned long nfds, int timeout);
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/
H A Dopen-syscall-tp-fields.c104 poll(evlist->pollfd, evlist->nr_fds, 10);
H A Dtask-exit.c106 poll(evlist->pollfd, evlist->nr_fds, -1);

Completed in 685 milliseconds

123456