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

1 2

  /external/clang/test/CoverageMapping/
control-flow-macro.c 3 #define ifc if macro
9 ifc(1) return 0;
12 ifc(1) return 0;
  /external/compiler-rt/test/msan/
ioctl_custom.cc 20 struct ifconf ifc; local
21 ifc.ifc_ifcu.ifcu_req = ifreqs;
23 ifc.ifc_len = sizeof(ifreqs);
25 int res = ioctl(fd, SIOCGIFCONF, (void *)&ifc);
30 for (int i = 0; i < ifc.ifc_len / sizeof(*ifc.ifc_ifcu.ifcu_req); ++i)
  /external/valgrind/memcheck/tests/solaris/
ioctl.c 24 struct ifconf ifc; local
25 ifc.ifc_len = (n_ifs + 1) * sizeof(struct ifreq);
26 ifc.ifc_buf = malloc((n_ifs + 1) * sizeof(struct ifreq));
27 if (ifc.ifc_buf == NULL)
30 if (ioctl(fd, SIOCGIFCONF, &ifc) < 0)
33 /* Check definedness of ifc attributes ... */
35 if (ifc.ifc_len != 0) x = -1; else x = -2;
36 if (ifc.ifc_req != NULL) x = -3; else x = -4;
37 if (strcmp(ifc.ifc_req[0].ifr_name, "") != 0) x = -5; else x = -6;
39 if (strcmp(ifc.ifc_req[n_ifs].ifr_name, "") != 0) x = -7; else x = -8
    [all...]
scalar_ioctl.c 224 struct ifconf ifc; local
227 ifc.ifc_len = x0 + 1;
228 ifc.ifc_buf = (void *) (x0 + buf);
231 SY(SYS_ioctl, x0 - 1, x0 + SIOCGIFCONF, &ifc + x0); FAIL;
  /external/strace/
sock.c 154 struct ifconf ifc; local
158 if (umove_or_printaddr(tcp, addr, &ifc))
160 if (ifc.ifc_buf) {
162 print_ifc_len(ifc.ifc_len);
167 if (syserror(tcp) || umove(tcp, addr, &ifc) < 0) {
168 if (ifc.ifc_buf)
175 if (!ifc.ifc_buf) {
177 print_ifc_len(ifc.ifc_len);
183 const unsigned int nifra = print_ifc_len(ifc.ifc_len);
191 if (umove_or_printaddr(tcp, (unsigned long) ifc.ifc_buf, &ifra))
    [all...]
  /external/dnsmasq/src/
bpf.c 35 struct ifconf ifc; local
50 ifc.ifc_len = len;
51 ifc.ifc_buf = ifconf.iov_base;
53 if (ioctl(fd, SIOCGIFCONF, &ifc) == -1)
60 if (ifc.ifc_len == lastlen)
62 lastlen = ifc.ifc_len;
66 for (ptr = ifc.ifc_buf; ptr < (char *)(ifc.ifc_buf + ifc.ifc_len); ptr += len)
  /external/libpcap/
fad-gifc.c 141 struct ifconf ifc; local
179 ifc.ifc_len = buf_size;
180 ifc.ifc_buf = buf;
182 if (ioctl(fd, SIOCGIFCONF, (char *)&ifc) < 0
190 if (ifc.ifc_len < buf_size &&
191 (buf_size - ifc.ifc_len) > sizeof(ifrp->ifr_name) + MAX_SA_LEN)
198 ifend = (struct ifreq *)(buf + ifc.ifc_len);
221 * doesn't update ifc.ifc_len, leaving it larger than the
fad-glifc.c 84 struct lifconf ifc; local
146 ifc.lifc_len = buf_size;
147 ifc.lifc_buf = buf;
148 ifc.lifc_family = AF_UNSPEC;
149 ifc.lifc_flags = 0;
151 if (ioctl(fd4, SIOCGLIFCONF, (char *)&ifc) < 0) {
164 ifend = (struct lifreq *)(buf + ifc.lifc_len);
  /external/libcap-ng/libcap-ng-0.7/utils/
netcap.c 212 static void report_finding(int port, const char *type, const char *ifc)
241 if (ifc)
242 printf(" %-6s", ifc);
351 static void get_interface(unsigned int iface, char *ifc)
358 *ifc = 0;
374 sscanf(buf, "%16s: %256s\n", ifc, more);
375 c = strchr(ifc, ':');
393 char more[256], ifc[32]; local
412 get_interface(iface, ifc);
414 report_finding(0, "pkt", ifc);
    [all...]
  /external/mdnsresponder/mDNSPosix/
mDNSUNP.c 230 struct ifconf ifc; local
259 ifc.ifc_len = len;
260 ifc.ifc_buf = buf;
261 if (ioctl(sockfd, SIOCGIFCONF, &ifc) < 0) {
266 if (ifc.ifc_len == lastlen)
268 lastlen = ifc.ifc_len;
279 for (ptr = buf; ptr < buf + ifc.ifc_len; ) {
  /libcore/ojluni/src/main/java/java/net/
Inet6Address.java 357 private int deriveNumericScope (NetworkInterface ifc) throws UnknownHostException {
358 Enumeration<InetAddress> addresses = ifc.getInetAddresses();
384 NetworkInterface ifc = en.nextElement(); local
385 if (ifc.getName().equals (ifname)) {
386 Enumeration addresses = ifc.getInetAddresses();
  /system/core/fastboot/
usb_linux.cpp 141 struct usb_interface_descriptor *ifc; local
213 ifc = (struct usb_interface_descriptor *)ptr;
214 len -= ifc->bLength;
215 ptr += ifc->bLength;
219 info.ifc_class = ifc->bInterfaceClass;
220 info.ifc_subclass = ifc->bInterfaceSubClass;
221 info.ifc_protocol = ifc->bInterfaceProtocol;
223 for(e = 0; e < ifc->bNumEndpoints; e++) {
262 *ifc_id = ifc->bInterfaceNumber;
334 int n, in, out, ifc; local
    [all...]
  /external/dhcpcd-6.8.2/
dhcpcd.h 98 int ifc; /* listed interfaces */ member in struct:dhcpcd_ctx
  /external/e2fsprogs/lib/uuid/
gen_uuid.c 229 struct ifconf ifc; local
258 ifc.ifc_len = sizeof(buf);
259 ifc.ifc_buf = buf;
260 if (ioctl (sd, SIOCGIFCONF, (char *)&ifc) < 0) {
264 n = ifc.ifc_len;
266 ifrp = (struct ifreq *)((char *) ifc.ifc_buf+i);
  /external/iputils/
rarpd.c 93 struct ifconf ifc; local
101 ifc.ifc_len = sizeof ibuf;
102 ifc.ifc_buf = (caddr_t)ibuf;
103 if (ioctl(fd, SIOCGIFCONF, (char *)&ifc) < 0 ||
104 ifc.ifc_len < (int)sizeof(struct ifreq)) {
119 ifend = (struct ifreq *)((char *)ibuf + ifc.ifc_len);
arping.c 843 struct ifconf ifc; local
869 ifc.ifc_buf = (char *)ifr0;
870 ifc.ifc_len = ifrsize;
872 rc = ioctl(s, SIOCGIFCONF, &ifc);
878 if (ifc.ifc_len + sizeof(*ifr0) + sizeof(struct sockaddr_storage) - sizeof(struct sockaddr) <= ifrsize)
890 ifr_end = (struct ifreq *)(((char *)ifr0) + ifc.ifc_len - sizeof(*ifr0));
rdisc.c 1104 struct ifconf ifc; local
1143 ifc.ifc_len = bufsize;
1144 ifc.ifc_buf = buf;
1145 if (ioctl(sock, SIOCGIFCONF, (char *)&ifc) < 0) {
1151 ifr = ifc.ifc_req;
1152 for (i = 0, n = ifc.ifc_len/sizeof (struct ifreq); n > 0; n--, ifr++) {
    [all...]
  /external/valgrind/coregrind/m_syswrap/
syswrap-linux.c 5961 struct vki_ifconf *ifc = (struct vki_ifconf *) ARG3; local
8794 struct vki_ifconf *ifc = (struct vki_ifconf *) ARG3; local
    [all...]
syswrap-darwin.c 1212 struct vki_ifconf *ifc = (struct vki_ifconf *) ARG3; local
1431 struct vki_ifconf *ifc = (struct vki_ifconf *) ARG3; local
    [all...]
  /external/emma/core/java12/com/vladium/emma/instr/
InstrVisitor.java 302 final CONSTANT_Class_info ifc = (CONSTANT_Class_info) constants.get (interfaces.get (i)); local
303 final String ifcName = ifc.getName (cls);
    [all...]
  /external/ppp/pppd/
sys-linux.c 1784 struct ifconf ifc; local
1909 struct ifconf ifc; local
    [all...]
sys-solaris.c 386 struct ifconf ifc; local
416 ifc.ifc_len = req_size;
417 ifc.ifc_buf = req;
418 if (ioctl(fd, SIOCGIFCONF, &ifc) < 0) {
429 pifreq = ifc.ifc_req;
431 for (i = ifc.ifc_len / sizeof(struct ifreq); i > 0; i--, pifreq++) {
2157 struct ifconf ifc; local
2400 struct ifconf ifc; local
    [all...]
  /libcore/ojluni/src/main/java/java/lang/
Class.java 1443 Class<?> ifc = (Class<?>) iftable[i]; local
2000 Class<?> ifc = (Class<?>) iftable[i]; local
    [all...]
  /external/javassist/src/main/javassist/
CtClassType.java 706 CtClass[] ifc = new CtClass[num]; local
708 ifc[i] = classPool.get(ifs[i]);
710 return ifc;
    [all...]
  /external/guice/lib/build/
spring-core.jar 

Completed in 790 milliseconds

1 2