/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 | 280 struct ifconf ifc; local 283 ifc.ifc_len = x0 + 1; 284 ifc.ifc_buf = (void *) (x0 + buf); 287 SY(SYS_ioctl, x0 - 1, x0 + SIOCGIFCONF, &ifc + x0); FAIL;
|
/external/strace/ |
sock.c | 176 struct_ifconf *ifc = local 177 entering(tcp) ? malloc(sizeof(*ifc)) : alloca(sizeof(*ifc)); 188 if (!ifc || umove(tcp, addr, ifc) < 0) { 190 free(ifc); 213 if (ifc->ifc_buf) 214 print_ifc_len(ifc->ifc_len); 216 set_tcb_priv_data(tcp, ifc, free); 223 if (entering_ifc->ifc_buf && (entering_ifc->ifc_len != ifc->ifc_len) [all...] |
/packages/services/BuiltInPrintService/jni/ipphelper/ |
ippstatus_capabilities.c | 85 ifc_printer_capabilities_t ifc; member in struct:__anon47889 98 memcpy(&caps->ifc, &_capabilities_ifc, sizeof(ifc_printer_capabilities_t)); 99 return &caps->ifc; 110 caps = IMPL(ipp_capabilities_t, ifc, this_p); 147 caps = IMPL(ipp_capabilities_t, ifc, this_p); 218 caps = IMPL(ipp_capabilities_t, ifc, this_p);
|
ippstatus_monitor.c | 66 ifc_status_monitor_t ifc; member in struct:__anon47890 75 memcpy(&monitor->ifc, &_status_ifc, sizeof(ifc_status_monitor_t)); 76 return &monitor->ifc; 86 monitor = IMPL(ipp_monitor_t, ifc, this_p); 123 monitor = IMPL(ipp_monitor_t, ifc, this_p); 166 monitor = IMPL(ipp_monitor_t, ifc, this_p); 220 monitor = IMPL(ipp_monitor_t, ifc, this_p); 272 monitor = IMPL(ipp_monitor_t, ifc, this_p); 292 monitor = IMPL(ipp_monitor_t, ifc, this_p);
|
ipp_print.c | 54 ifc_print_job_t ifc; member in struct:__anon47885 72 memcpy(&ipp_job->ifc, &_print_job_ifc, sizeof(ifc_print_job_t)); 74 return &ipp_job->ifc; 87 ipp_job = IMPL(ipp_print_job_t, ifc, this_p); 126 ipp_job = IMPL(ipp_print_job_t, ifc, this_p); 417 ipp_job = IMPL(ipp_print_job_t, ifc, this_p); 483 ipp_job = IMPL(ipp_print_job_t, ifc, this_p); 530 ipp_job = IMPL(ipp_print_job_t, ifc, this_p); 563 ipp_job = IMPL(ipp_print_job_t, ifc, this_p);
|
/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 | 142 struct ifconf ifc; local 180 ifc.ifc_len = buf_size; 181 ifc.ifc_buf = buf; 183 if (ioctl(fd, SIOCGIFCONF, (char *)&ifc) < 0 191 if (ifc.ifc_len < buf_size && 192 (buf_size - ifc.ifc_len) > sizeof(ifrp->ifr_name) + MAX_SA_LEN) 199 ifend = (struct ifreq *)(buf + ifc.ifc_len); 222 * doesn't update ifc.ifc_len, leaving it larger than the
|
fad-glifc.c | 85 struct lifconf ifc; local 147 ifc.lifc_len = buf_size; 148 ifc.lifc_buf = buf; 149 ifc.lifc_family = AF_UNSPEC; 150 ifc.lifc_flags = 0; 152 if (ioctl(fd4, SIOCGLIFCONF, (char *)&ifc) < 0) { 165 ifend = (struct lifreq *)(buf + ifc.lifc_len);
|
/external/ltp/testcases/kernel/syscalls/sockioctl/ |
sockioctl01.c | 49 static struct ifconf ifc; variable in typeref:struct:ifconf 101 PF_INET, SOCK_DGRAM, 0, SIOCGIFCONF, &ifc, 231 ifc.ifc_len = sizeof(buf); 232 ifc.ifc_buf = buf; 238 if (ioctl(s, SIOCGIFCONF, &ifc) < 0) { 242 ifr = *(struct ifreq *)ifc.ifc_buf;
|
/packages/services/BuiltInPrintService/jni/lib/ |
printer.c | 37 ifc_print_job_t ifc; member in struct:__anon47900 49 _print_job_t *print_job = IMPL(_print_job_t, ifc, this_p); 74 _print_job_t *print_job = IMPL(_print_job_t, ifc, this_p); 81 _print_job_t *print_job = IMPL(_print_job_t, ifc, this_p); 94 _print_job_t *print_job = IMPL(_print_job_t, ifc, this_p); 152 _print_job_t *print_job = IMPL(_print_job_t, ifc, this_p); 162 _print_job_t *print_job = IMPL(_print_job_t, ifc, this_p); 169 _print_job_t *print_job = IMPL(_print_job_t, ifc, this_p); 261 memcpy(&print_job->ifc, &_print_job_ifc, sizeof(ifc_print_job_t)); 263 return &print_job->ifc; [all...] |
/packages/services/BuiltInPrintService/jni/plugins/ |
pdf_render.c | 31 pdf_render_ifc_t ifc; member in struct:pdf_render_st 142 self->ifc.openDocument = openDocument; 143 self->ifc.getPageAttributes = getPageAttributes; 144 self->ifc.renderPageStripe = renderPageStripe; 145 self->ifc.destroy = destroy; 167 return &self->ifc;
|
/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; ) {
|
/system/core/fastboot/ |
usb_linux.cpp | 145 struct usb_interface_descriptor *ifc; local 217 ifc = (struct usb_interface_descriptor *)ptr; 218 len -= ifc->bLength; 219 ptr += ifc->bLength; 223 info.ifc_class = ifc->bInterfaceClass; 224 info.ifc_subclass = ifc->bInterfaceSubClass; 225 info.ifc_protocol = ifc->bInterfaceProtocol; 227 for(e = 0; e < ifc->bNumEndpoints; e++) { 266 *ifc_id = ifc->bInterfaceNumber; 338 int n, in, out, ifc; local [all...] |
/system/tools/hidl/ |
AST.cpp | 425 FQName ifc = resolvedName.getTopLevelType(); local 428 Type *match = importedAST->findDefinedType(ifc, &matchingName);
|
/external/dhcpcd-6.8.2/ |
dhcpcd.h | 98 int ifc; /* listed interfaces */ member in struct:dhcpcd_ctx
|
/external/e2fsprogs/lib/uuid/ |
gen_uuid.c | 230 struct ifconf ifc; local 259 ifc.ifc_len = sizeof(buf); 260 ifc.ifc_buf = buf; 261 if (ioctl (sd, SIOCGIFCONF, (char *)&ifc) < 0) { 265 n = ifc.ifc_len; 267 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));
|
/libcore/ojluni/src/main/java/java/net/ |
Inet6Address.java | 529 private static int deriveNumericScope (byte[] thisAddr, NetworkInterface ifc) throws UnknownHostException { 530 Enumeration<InetAddress> addresses = ifc.getInetAddresses(); 556 NetworkInterface ifc = en.nextElement(); local 557 if (ifc.getName().equals (ifname)) { 558 return deriveNumericScope(holder6.ipaddress, ifc); [all...] |
/external/libusb/libusb/os/ |
sunos_usb.c | 479 uint8_t ifc = 0; local 495 if (sunos_find_interface(hdl, ep_addr, &ifc) < 0) { 510 if (hpriv->altsetting[ifc] > 0) { 512 hpriv->altsetting[ifc]); 518 hpriv->dpriv->ugenpath, cfg_num, ifc, alt_num, [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...] |