/external/ipsec-tools/ |
main.c | 132 static struct pollfd pollfds[10]; variable in typeref:struct:pollfd 153 pollfds[monitors].fd = fd; 154 pollfds[monitors].events = callback ? POLLIN : 0; 195 if (poll(pollfds, monitors, timeout) > 0) { 198 if (pollfds[i].revents & POLLHUP) { 199 do_plog(LLV_INFO, "Connection is closed\n", pollfds[i].fd); 204 if (pollfds[i].revents & POLLIN) { 205 callbacks[i](pollfds[i].fd);
|
/bionic/libc/bionic/ |
system_properties.c | 199 struct pollfd pollfds[1]; local 233 pollfds[0].fd = s; 234 pollfds[0].events = 0; 235 r = TEMP_FAILURE_RETRY(poll(pollfds, 1, 250 /* ms */)); 236 if (r == 1 && (pollfds[0].revents & POLLHUP) != 0) {
|
/external/mtpd/ |
mtpd.c | 156 struct pollfd pollfds[3]; local 184 pollfds[0].fd = the_socket; 185 pollfds[0].events = POLLIN; 186 pollfds[1].fd = signals[0]; 187 pollfds[1].events = POLLIN; 188 pollfds[2].fd = control; 189 pollfds[2].events = 0; 192 if (poll(pollfds, 3, timeout ? timeout : -1) == -1 && errno != EINTR) { 196 if (pollfds[1].revents) { 199 if (pollfds[2].revents) [all...] |
/system/core/debuggerd/ |
debuggerd.c | 200 struct pollfd pollfds[1]; local 201 pollfds[0].fd = fd; 202 pollfds[0].events = POLLIN; 203 pollfds[0].revents = 0; 204 status = TEMP_FAILURE_RETRY(poll(pollfds, 1, 3000));
|
/external/wpa_supplicant_8/src/utils/ |
eloop.c | 62 int max_poll_fds; /* number of pollfds currently allocated */ 63 struct pollfd *pollfds; member in struct:eloop_data 168 n = os_realloc_array(eloop.pollfds, nmax, 174 eloop.pollfds = n; 240 struct pollfd *pollfds, 256 pollfds[nxt].fd = fd; 257 pollfds[nxt].events = POLLIN; 258 pollfds[nxt].revents = 0; 259 pollfds_map[fd] = &(pollfds[nxt]); 274 pfd = &(pollfds[nxt]) [all...] |
/bionic/libc/upstream-netbsd/libc/isc/ |
eventlib_p.h | 234 struct pollfd *pollfds; /* Allocated as needed */ member in struct:__anon689
|
/external/libusb/libusb/ |
libusbi.h | 167 struct list_head pollfds; member in struct:libusb_context
|
/external/libusb_aah/libusb/ |
libusbi.h | 276 struct list_head pollfds; member in struct:libusb_context
|
/external/ppp/pppd/ |
sys-solaris.c | 228 static struct pollfd pollfds[MAX_POLLFDS]; variable in typeref:struct:pollfd [all...] |
/external/valgrind/main/coregrind/ |
vgdb.c | 1795 struct pollfd pollfds[NumConnectionKind]; local [all...] |