HomeSort by relevance Sort by last modified time
    Searched defs:pollfd (Results 76 - 89 of 89) sorted by null

1 2 34

  /cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/vpn/
VpnTestHelper.java 135 StructPollfd pollfd = new StructPollfd(); local
136 pollfd.events = (short) POLLIN;
137 pollfd.fd = socket;
138 int ret = Os.poll(new StructPollfd[] { pollfd }, SOCKET_TIMEOUT_MS);
  /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/avahi/avahi-glib/
glib-watch.c 34 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.revents > 0
    [all...]
  /system/core/adb/
fdevent.cpp 56 adb_pollfd pollfd; member in struct:PollNode
59 memset(&pollfd, 0, sizeof(pollfd));
60 pollfd.fd = fde->fd;
65 pollfd.events = POLLRDHUP;
177 node.pollfd.events |= POLLIN;
179 node.pollfd.events &= ~POLLIN;
183 node.pollfd.events |= POLLOUT;
185 node.pollfd.events &= ~POLLOUT;
222 for (const auto& pollfd : pollfds)
    [all...]
  /external/avahi/avahi-common/
simple-watch.c 42 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) * s->max_pollfds))
    [all...]
  /external/libusb/libusb/
io.c 1795 struct libusb_pollfd *pollfd = &ipollfd->pollfd; local
    [all...]
libusbi.h 175 /* 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);
  /frameworks/base/services/usb/java/com/android/server/usb/
UsbMidiDevice.java 188 StructPollfd pollfd = new StructPollfd(); local
189 pollfd.fd = fd;
190 pollfd.events = (short)OsConstants.POLLIN;
191 mPollFDs[i] = pollfd;
  /hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/
mpu_iio.c 56 struct pollfd *pollfd; member in struct:dmp_feat_t
62 static struct pollfd pollfds[FEAT_NUM];
462 VARVAL("%p", dmp_feat[i].pollfd);
463 if (dmp_feat[i].pollfd) {
464 VARVAL("%d", dmp_feat[i].pollfd->events);
465 VARVAL("%d", dmp_feat[i].pollfd->revents);
466 VARVAL("%d", dmp_feat[i].pollfd->fd);
497 dmp_feat[i].pollfd = &pollfds[j];
529 if (dmp_feat[i].pollfd->revents != 0)
    [all...]
  /cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
VpnTest.java 309 StructPollfd pollfd = new StructPollfd(); local
310 pollfd.events = (short) POLLIN; // "error: possible loss of precision"
311 pollfd.fd = s;
312 int ret = Os.poll(new StructPollfd[] { pollfd }, SOCKET_TIMEOUT_MS);
  /external/libusb/libusb/os/
darwin_usb.c 1393 struct pollfd *pollfd = &fds[i]; local
    [all...]
linux_usbfs.c 2109 struct pollfd *pollfd = &fds[i]; local
    [all...]
  /external/compiler-rt/lib/sanitizer_common/
sanitizer_platform_limits_posix.cc 1045 CHECK_TYPE_SIZE(pollfd); variable
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
winsock2.h 1146 typedef struct pollfd { struct
    [all...]

Completed in 229 milliseconds

1 2 34