/external/compiler-rt/lib/msan/lit_tests/ |
D | ioctl_custom.cc | 20 struct ifconf ifc; in main() local 21 ifc.ifc_ifcu.ifcu_req = ifreqs; in main() 23 ifc.ifc_len = sizeof(ifreqs); in main() 25 int res = ioctl(fd, SIOCGIFCONF, (void *)&ifc); in main() 30 for (int i = 0; i < ifc.ifc_len / sizeof(*ifc.ifc_ifcu.ifcu_req); ++i) in main()
|
/external/strace/ |
D | sock.c | 88 struct ifconf ifc; in sock_ioctl() local 94 if (umove(tcp, tcp->u_arg[2], &ifc) >= 0 in sock_ioctl() 95 && ifc.ifc_buf == NULL) in sock_ioctl() 96 tprintf(", {%d -> ", ifc.ifc_len); in sock_ioctl() 248 if (umove(tcp, tcp->u_arg[2], &ifc) < 0) { in sock_ioctl() 252 tprintf("%d, ", ifc.ifc_len); in sock_ioctl() 254 tprintf("%lx", (unsigned long) ifc.ifc_buf); in sock_ioctl() 255 } else if (ifc.ifc_buf == NULL) { in sock_ioctl() 259 unsigned nifra = ifc.ifc_len / sizeof(struct ifreq); in sock_ioctl() 262 if (umoven(tcp, (unsigned long) ifc.ifc_buf, in sock_ioctl() [all …]
|
/external/dnsmasq/src/ |
D | bpf.c | 35 struct ifconf ifc; in iface_enumerate() local 50 ifc.ifc_len = len; in iface_enumerate() 51 ifc.ifc_buf = ifconf.iov_base; in iface_enumerate() 53 if (ioctl(fd, SIOCGIFCONF, &ifc) == -1) in iface_enumerate() 60 if (ifc.ifc_len == lastlen) in iface_enumerate() 62 lastlen = ifc.ifc_len; in iface_enumerate() 66 for (ptr = ifc.ifc_buf; ptr < (char *)(ifc.ifc_buf + ifc.ifc_len); ptr += len) in iface_enumerate()
|
/external/llvm/test/MC/AsmParser/ |
D | ifc.s | 5 .ifc foo, foo 13 .ifc "foo space", "foo space" 21 .ifc foo space, foo space 29 .ifc unequal, unEqual
|
/external/libpcap/ |
D | fad-glifc.c | 89 struct lifconf ifc; in pcap_findalldevs() local 151 ifc.lifc_len = buf_size; in pcap_findalldevs() 152 ifc.lifc_buf = buf; in pcap_findalldevs() 153 ifc.lifc_family = AF_UNSPEC; in pcap_findalldevs() 154 ifc.lifc_flags = 0; in pcap_findalldevs() 156 if (ioctl(fd4, SIOCGLIFCONF, (char *)&ifc) < 0) { in pcap_findalldevs() 169 ifend = (struct lifreq *)(buf + ifc.lifc_len); in pcap_findalldevs()
|
D | fad-gifc.c | 276 struct ifconf ifc; in pcap_findalldevs() local 314 ifc.ifc_len = buf_size; in pcap_findalldevs() 315 ifc.ifc_buf = buf; in pcap_findalldevs() 317 if (ioctl(fd, SIOCGIFCONF, (char *)&ifc) < 0 in pcap_findalldevs() 325 if (ifc.ifc_len < buf_size && in pcap_findalldevs() 326 (buf_size - ifc.ifc_len) > sizeof(ifrp->ifr_name) + MAX_SA_LEN) in pcap_findalldevs() 333 ifend = (struct ifreq *)(buf + ifc.ifc_len); in pcap_findalldevs()
|
/external/libcap-ng/libcap-ng-0.7/utils/ |
D | netcap.c | 212 static void report_finding(int port, const char *type, const char *ifc) in report_finding() argument 241 if (ifc) in report_finding() 242 printf(" %-6s", ifc); in report_finding() 351 static void get_interface(unsigned int iface, char *ifc) in get_interface() argument 358 *ifc = 0; in get_interface() 374 sscanf(buf, "%16s: %256s\n", ifc, more); in get_interface() 375 c = strchr(ifc, ':'); in get_interface() 393 char more[256], ifc[32]; in read_packet() local 412 get_interface(iface, ifc); in read_packet() 414 report_finding(0, "pkt", ifc); in read_packet()
|
/external/chromium/third_party/libjingle/source/talk/base/ |
D | network.cc | 243 struct ifconf ifc; in CreateNetworks() local 244 ifc.ifc_len = 64 * sizeof(struct ifreq); in CreateNetworks() 245 ifc.ifc_buf = new char[ifc.ifc_len]; in CreateNetworks() 247 if (ioctl(fd, SIOCGIFCONF, &ifc) < 0) { in CreateNetworks() 251 assert(ifc.ifc_len < static_cast<int>(64 * sizeof(struct ifreq))); in CreateNetworks() 253 struct ifreq* ptr = reinterpret_cast<struct ifreq*>(ifc.ifc_buf); in CreateNetworks() 255 reinterpret_cast<struct ifreq*>(ifc.ifc_buf + ifc.ifc_len); in CreateNetworks() 279 delete [] ifc.ifc_buf; in CreateNetworks()
|
/external/ppp/pppd/ |
D | sys-solaris.c | 386 struct ifconf ifc; in get_first_ethernet() local 416 ifc.ifc_len = req_size; in get_first_ethernet() 417 ifc.ifc_buf = req; in get_first_ethernet() 418 if (ioctl(fd, SIOCGIFCONF, &ifc) < 0) { in get_first_ethernet() 429 pifreq = ifc.ifc_req; in get_first_ethernet() 431 for (i = ifc.ifc_len / sizeof(struct ifreq); i > 0; i--, pifreq++) { in get_first_ethernet() 2154 struct ifconf ifc; local 2164 ifc.ifc_len = nif * sizeof(struct ifreq); 2165 ifc.ifc_buf = (caddr_t) malloc(ifc.ifc_len); 2166 if (ifc.ifc_buf == 0) [all …]
|
D | sys-linux.c | 1753 struct ifconf ifc; in get_ether_addr() local 1759 ifc.ifc_len = sizeof(ifs); in get_ether_addr() 1760 ifc.ifc_req = ifs; in get_ether_addr() 1761 if (ioctl(sock_fd, SIOCGIFCONF, &ifc) < 0) { in get_ether_addr() 1771 ifend = ifs + (ifc.ifc_len / sizeof(struct ifreq)); in get_ether_addr() 1772 for (ifr = ifc.ifc_req; ifr < ifend; ifr++) { in get_ether_addr() 1878 struct ifconf ifc; in GetMask() local 1895 ifc.ifc_len = sizeof(ifs); in GetMask() 1896 ifc.ifc_req = ifs; in GetMask() 1897 if (ioctl(sock_fd, SIOCGIFCONF, &ifc) < 0) { in GetMask() [all …]
|
/external/pixman/pixman/ |
D | pixman-arm-simd-asm.h | 190 .ifc base,DST 319 .ifc cond,mi 322 .ifc cond,cs 325 .ifc cond,ne 537 .ifc "last_one","" 765 .ifc "process_inner_loop","" 884 .ifc "SAVED_REG","Y" 888 .ifc "SAVED_REG","STRIDE_D" 892 .ifc "SAVED_REG","STRIDE_S" 896 .ifc "SAVED_REG","STRIDE_M" [all …]
|
/external/e2fsprogs/lib/uuid/ |
D | gen_uuid.c | 225 struct ifconf ifc; in get_node_id() local 254 ifc.ifc_len = sizeof(buf); in get_node_id() 255 ifc.ifc_buf = buf; in get_node_id() 256 if (ioctl (sd, SIOCGIFCONF, (char *)&ifc) < 0) { in get_node_id() 260 n = ifc.ifc_len; in get_node_id() 262 ifrp = (struct ifreq *)((char *) ifc.ifc_buf+i); in get_node_id()
|
/external/mdnsresponder/mDNSPosix/ |
D | mDNSUNP.c | 223 struct ifconf ifc; in get_ifi_info() local 252 ifc.ifc_len = len; in get_ifi_info() 253 ifc.ifc_buf = buf; in get_ifi_info() 254 if (ioctl(sockfd, SIOCGIFCONF, &ifc) < 0) { in get_ifi_info() 259 if (ifc.ifc_len == lastlen) in get_ifi_info() 261 lastlen = ifc.ifc_len; in get_ifi_info() 272 for (ptr = buf; ptr < buf + ifc.ifc_len; ) { in get_ifi_info()
|
/external/iputils/ |
D | rarpd.c | 93 struct ifconf ifc; in load_if() local 101 ifc.ifc_len = sizeof ibuf; in load_if() 102 ifc.ifc_buf = (caddr_t)ibuf; in load_if() 103 if (ioctl(fd, SIOCGIFCONF, (char *)&ifc) < 0 || in load_if() 104 ifc.ifc_len < (int)sizeof(struct ifreq)) { in load_if() 119 ifend = (struct ifreq *)((char *)ibuf + ifc.ifc_len); in load_if()
|
D | arping.c | 843 struct ifconf ifc; in find_device_by_ioctl() local 869 ifc.ifc_buf = (char *)ifr0; in find_device_by_ioctl() 870 ifc.ifc_len = ifrsize; in find_device_by_ioctl() 872 rc = ioctl(s, SIOCGIFCONF, &ifc); in find_device_by_ioctl() 878 …if (ifc.ifc_len + sizeof(*ifr0) + sizeof(struct sockaddr_storage) - sizeof(struct sockaddr) <= ifr… in find_device_by_ioctl() 890 ifr_end = (struct ifreq *)(((char *)ifr0) + ifc.ifc_len - sizeof(*ifr0)); in find_device_by_ioctl()
|
D | rdisc.c | 1104 struct ifconf ifc; in initifs() local 1143 ifc.ifc_len = bufsize; in initifs() 1144 ifc.ifc_buf = buf; in initifs() 1145 if (ioctl(sock, SIOCGIFCONF, (char *)&ifc) < 0) { in initifs() 1151 ifr = ifc.ifc_req; in initifs() 1152 for (i = 0, n = ifc.ifc_len/sizeof (struct ifreq); n > 0; n--, ifr++) { in initifs()
|
/external/ppp/pppd/plugins/rp-pppoe/ |
D | if.c | 151 struct ifconf ifc; in getHWaddr() local 156 ifc.ifc_len = sizeof(inbuf); in getHWaddr() 157 ifc.ifc_buf = inbuf; in getHWaddr() 158 if (ioctl(sock, SIOCGIFCONF, &ifc) < 0) { in getHWaddr() 161 ifr = ifc.ifc_req; in getHWaddr() 163 for (i = 0; i < ifc.ifc_len; ) { in getHWaddr() 164 ifr = (struct ifreq *)((caddr_t)ifc.ifc_req + i); in getHWaddr()
|
/external/libffi/src/arm/ |
D | sysv.S | 121 .ifc "\regs","" 128 .ifc "\regs",""
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_common_interceptors_ioctl.inc | 543 struct __sanitizer_ifconf *ifc = (__sanitizer_ifconf *)arg; 544 COMMON_INTERCEPTOR_READ_RANGE(ctx, &ifc->ifc_len, sizeof(ifc->ifc_len)); 562 struct __sanitizer_ifconf *ifc = (__sanitizer_ifconf *)arg; 563 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, ifc->ifc_ifcu.ifcu_req, ifc->ifc_len);
|
/external/dhcpcd/ |
D | dhcpcd.c | 104 static int ifc; variable 1311 if (ifc) { in handle_interface() 1312 for (i = 0; i < ifc; i++) in handle_interface() 1315 if (i >= ifc) in handle_interface() 1551 reconf_reboot(1, ifc, ifv, 0); in handle_signal() 2123 ifc = argc - optind; in main() 2128 if (ifc == 1) in main() 2131 ifaces = discover_interfaces(ifc, ifv); in main() 2132 for (i = 0; i < ifc; i++) { in main() 2141 if (ifc == 0) in main()
|
/external/javassist/src/main/javassist/ |
D | CtClassType.java | 706 CtClass[] ifc = new CtClass[num]; in getInterfaces() local 708 ifc[i] = classPool.get(ifs[i]); in getInterfaces() 710 return ifc; in getInterfaces()
|
/external/libusb/libusb/os/ |
D | darwin_usb.c | 729 static int darwin_get_interface (usb_device_t **darwin_device, uint8_t ifc, io_service_t *usbInterf… in darwin_get_interface() argument 747 for ( current_interface = 0 ; current_interface <= ifc ; current_interface++ ) in darwin_get_interface()
|
/external/valgrind/main/coregrind/m_syswrap/ |
D | syswrap-linux.c | 4559 struct vki_ifconf *ifc = (struct vki_ifconf *) ARG3; in PRE() local 4561 (Addr)(ifc->vki_ifc_buf), ifc->ifc_len ); in PRE() 5879 struct vki_ifconf *ifc = (struct vki_ifconf *) ARG3; in POST() local 5880 if (ifc->vki_ifc_buf != NULL) in POST() 5881 POST_MEM_WRITE( (Addr)(ifc->vki_ifc_buf), ifc->ifc_len ); in POST()
|
D | syswrap-darwin.c | 828 struct vki_ifconf *ifc = (struct vki_ifconf *) ARG3; in PRE() local 830 (Addr)(ifc->vki_ifc_buf), ifc->ifc_len ); in PRE() 976 struct vki_ifconf *ifc = (struct vki_ifconf *) ARG3; in POST() local 977 if (ifc->vki_ifc_buf != NULL) in POST() 978 POST_MEM_WRITE( (Addr)(ifc->vki_ifc_buf), ifc->ifc_len ); in POST()
|
/external/emma/core/java12/com/vladium/emma/instr/ |
D | InstrVisitor.java | 302 … final CONSTANT_Class_info ifc = (CONSTANT_Class_info) constants.get (interfaces.get (i)); in visit() local 303 final String ifcName = ifc.getName (cls); in visit()
|