HomeSort by relevance Sort by last modified time
    Searched defs:pollfd (Results 1 - 25 of 32) sorted by null

1 2

  /external/openssh/openbsd-compat/
bsd-poll.h 34 typedef struct pollfd { struct
59 int poll(struct pollfd *, nfds_t, int);
  /bionic/libc/kernel/uapi/asm-generic/
poll.h 46 struct pollfd { struct
  /device/linaro/bootloader/edk2/StdLib/Include/sys/
poll.h 57 struct pollfd { struct
88 int poll(struct pollfd *, nfds_t, int);
  /external/curl/lib/
select.h 34 * Definition of pollfd struct and constants for platforms lacking them.
49 struct pollfd struct
84 int Curl_poll(struct pollfd ufds[], unsigned int nfds, int timeout_ms);
  /external/kernel-headers/original/uapi/asm-generic/
poll.h 36 struct pollfd { struct
  /external/ltp/testcases/kernel/syscalls/utils/
poll.h 21 struct pollfd { struct
  /external/adhd/cras/src/server/
cras_dbus.c 22 struct pollfd pollfd; local
24 pollfd.fd = dbus_watch_get_unix_fd(watch);
25 pollfd.events = POLLIN | POLLOUT;
27 r = poll(&pollfd, 1, 0);
32 if (pollfd.revents & POLLIN)
34 if (pollfd.revents & POLLOUT)
cras_rstream.c 480 struct pollfd pollfd; local
489 pollfd.fd = stream->fd;
490 pollfd.events = POLLIN;
493 err = poll(&pollfd, 1, 0);
494 if (pollfd.revents & POLLIN) {
cras_server.c 63 * pollfd - Pointer to struct pollfd for this callback.
70 struct pollfd *pollfd; member in struct:attached_client
83 * pollfd - Pointer to struct pollfd for this callback.
89 struct pollfd *pollfd; member in struct:client_callback
233 poll_client->pollfd = NULL;
278 new_cb->pollfd = NULL
    [all...]
audio_thread.c 110 struct pollfd *pollfd; member in struct:iodev_callback_list
845 static struct pollfd *add_pollfd(struct audio_thread *thread,
857 (struct pollfd *)realloc(thread->pollfds,
932 iodev_cb->pollfd = add_pollfd(thread, iodev_cb->fd,
934 if (!iodev_cb->pollfd)
983 if (iodev_cb->pollfd &&
984 iodev_cb->pollfd->revents & (POLLIN | POLLOUT)) {
    [all...]
  /external/libchrome/base/
sync_socket_posix.cc 155 struct pollfd pollfd; local
156 pollfd.fd = handle_;
157 pollfd.events = POLLIN;
158 pollfd.revents = 0;
167 const int poll_result = poll(&pollfd, 1, timeout_ms);
181 DCHECK(pollfd.revents & (POLLIN | POLLHUP | POLLERR)) << pollfd.revents;
  /external/libusb/libusb/os/
poll_windows.h 67 struct pollfd { struct
94 int usbi_poll(struct pollfd *fds, unsigned int nfds, int timeout);
linux_usbfs.c 2606 struct pollfd *pollfd = &fds[i]; local
    [all...]
  /external/autotest/client/tests/hackbench/src/
hackbench.c 146 struct pollfd pollfd = { .fd = wakefd, .events = POLLIN }; local
153 if (poll(&pollfd, 1, -1) != 1)
  /external/linux-kselftest/tools/testing/selftests/networking/timestamping/
txtimestamp.c 171 struct pollfd pollfd; local
174 memset(&pollfd, 0, sizeof(pollfd));
175 pollfd.fd = fd;
176 ret = poll(&pollfd, 1, cfg_poll_timeout);
  /external/ltp/testcases/kernel/sched/cfs-scheduler/
hackbench.c 118 struct pollfd pollfd = {.fd = wakefd,.events = POLLIN }; local
125 if (poll(&pollfd, 1, -1) != 1)
  /external/ltp/testcases/kernel/syscalls/eventfd/
eventfd01.c 595 struct pollfd pollfd; local
606 pollfd.fd = evfd;
607 pollfd.events = POLLIN;
608 pollfd.revents = 0;
609 ret = poll(&pollfd, 1, 10000);
613 if (pollfd.revents & POLLERR)
  /external/v4l2_codec2/vda/
v4l2_device.cc 143 struct pollfd pollfds[2];
145 int pollfd = -1; local
155 pollfd = nfds;
163 *event_pending = (pollfd != -1 && pollfds[pollfd].revents & POLLPRI);
  /cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/vpn/
VpnTestHelper.java 197 StructPollfd pollfd = new StructPollfd(); local
198 pollfd.events = (short) POLLIN;
199 pollfd.fd = socket;
200 int ret = Os.poll(new StructPollfd[] { pollfd }, SOCKET_TIMEOUT_MS);
  /art/dt_fd_forward/
dt_fd_forward.cc 185 struct pollfd pollfd = { read_fd_, POLLRDHUP, 0 }; local
186 res = TEMP_FAILURE_RETRY(poll(&pollfd, /*nfds*/1, /*timeout*/0));
187 if (res < 0 || (pollfd.revents & POLLERR) == POLLERR) {
191 return ((pollfd.revents & (POLLRDHUP | POLLHUP)) == 0) ? IOResult::kOk : IOResult::kEOF;
202 struct pollfd pollfds[2];
  /external/libusb/libusb/
io.c 2125 struct libusb_pollfd *pollfd = &ipollfd->pollfd; local
    [all...]
libusbi.h 254 struct pollfd;
284 /* user callbacks for pollfd changes */
318 struct pollfd *pollfds;
558 struct libusb_pollfd pollfd; member in struct:usbi_pollfd
    [all...]
  /external/linux-kselftest/tools/testing/selftests/vm/
userfaultfd.c 494 struct pollfd pollfd[2]; local
501 pollfd[0].fd = uffd;
502 pollfd[0].events = POLLIN;
503 pollfd[1].fd = pipefd[cpu*2];
504 pollfd[1].events = POLLIN;
507 ret = poll(pollfd, 2, -1);
512 if (pollfd[1].revents & POLLIN) {
513 if (read(pollfd[1].fd, &tmp_chr, 1) != 1)
518 if (!(pollfd[0].revents & POLLIN)
    [all...]
  /cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
VpnTest.java 325 StructPollfd pollfd = new StructPollfd(); local
326 pollfd.events = (short) POLLIN; // "error: possible loss of precision"
327 pollfd.fd = s;
328 int ret = Os.poll(new StructPollfd[] { pollfd }, SOCKET_TIMEOUT_MS);
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
_ssl.c 1131 struct pollfd pollfd; local
    [all...]

Completed in 2139 milliseconds

1 2