/external/openssl/crypto/rand/ |
rand_unix.c | 305 struct pollfd pset; local 307 pset.fd = fd; 308 pset.events = POLLIN; 309 pset.revents = 0; 311 if (poll(&pset, 1, usec / 1000) < 0) 314 try_read = (pset.revents & POLLIN) != 0;
|
/external/iputils/ |
rarpd.c | 565 struct pollfd pset[2]; local 612 pset[0].fd = socket(PF_PACKET, SOCK_DGRAM, 0); 618 if (ioctl(pset[0].fd, SIOCGIFINDEX, &ifr)) { 625 pset[1].fd = -1; 627 pset[1].fd = socket(PF_PACKET, SOCK_DGRAM, 0); 628 if (pset[1].fd >= 0) { 629 load_arp_bpflet(pset[1].fd); 634 if (pset[1].fd >= 0) { 640 if (bind(pset[1].fd, (struct sockaddr*)&sll, sizeof(sll)) < 0) { 641 close(pset[1].fd) [all...] |
ping_common.c | 791 struct pollfd pset; local 792 pset.fd = icmp_sock; 793 pset.events = POLLIN|POLLERR; 794 pset.revents = 0; 795 if (poll(&pset, 1, next) < 1 || 796 !(pset.revents&(POLLIN|POLLERR)))
|
/external/iproute2/misc/ |
arpd.c | 63 struct pollfd pset[2]; variable in typeref:struct:pollfd 233 if (sendto(pset[0].fd, buf, p-buf, 0, (struct sockaddr*)&sll, sizeof(sll)) < 0) 490 n = recvfrom(pset[0].fd, buf, sizeof(buf), MSG_DONTWAIT, 760 pset[0].fd = socket(PF_PACKET, SOCK_DGRAM, 0); 761 if (pset[0].fd < 0) { 772 if (bind(pset[0].fd, (struct sockaddr*)&sll, sizeof(sll)) < 0) { 782 pset[1].fd = rth.fd; 798 pset[0].events = EVENTS; 799 pset[0].revents = 0; 800 pset[1].events = EVENTS [all...] |
/external/valgrind/main/coregrind/m_syswrap/ |
syswrap-darwin.c | 4469 mach_port_name_t pset; member in struct:__anon37197 4990 mach_port_name_t pset; member in struct:__anon37218 [all...] |