| /src/external/mit/libuv/dist/test/ |
| test-tcp-connect6-error.c | 79 uv_interface_address_t* ifs; local 99 ASSERT_OK(uv_interface_addresses(&ifs, &n)); 100 for (p = ifs; p < &ifs[n]; p++) 104 ok = (p < &ifs[n]); 105 uv_free_interface_addresses(ifs, n);
|
| /src/lib/libc/gen/ |
| wordexp.c | 103 const char *ifs; /* IFS env. var. */ local 110 if ((ifs = getenv("IFS")) == NULL) 111 ifs = " \t\n"; 112 if (asprintf(&cmd, "wordexp%c%s\n", *ifs, words) < 0)
|
| /src/lib/libedit/ |
| tokenizer.c | 63 #define IFS STR("\t \n") 86 Char *ifs; /* In field separator */ local 121 FUN(tok,init)(const Char *ifs) 127 tok->ifs = tok_strdup(ifs ? ifs : IFS); 128 if (tok->ifs == NULL) { 136 tok_free(tok->ifs); 144 tok_free(tok->ifs); [all...] |
| /src/external/bsd/ipf/dist/tools/ |
| ipfs.c | 102 int changestateif(ifs, fname) 103 char *ifs, *fname; 110 s = strchr(ifs, ','); 115 olen = strlen(ifs); 128 if (!strncmp(ips.ips_is.is_ifname[0], ifs, olen + 1)) { 132 if (!strncmp(ips.ips_is.is_ifname[1], ifs, olen + 1)) { 136 if (!strncmp(ips.ips_is.is_ifname[2], ifs, olen + 1)) { 140 if (!strncmp(ips.ips_is.is_ifname[3], ifs, olen + 1)) { 165 int changenatif(ifs, fname) 166 char *ifs, *fname 224 char *dirname = NULL, *filename = NULL, *ifs = NULL; local [all...] |
| /src/external/bsd/unbound/dist/testcode/ |
| unittcpreuse.c | 487 char* ifs[] = {"1.2.3.4", "1.2.3.5", "::1:2", "::1:3"}; local 492 shp = shared_ports_create(ifs, 4, 1, 1, availports, 4); 551 char* ifs[] = {"1.2.3.4", "1.2.3.5"}; local 561 shp = shared_ports_create(ifs, 2, 1, 1, availports, 4);
|
| /src/bin/sh/ |
| miscbltin.c | 83 * Note that if IFS=' :' then read x y should work so that: 246 const char *ifs; local 334 if ((ifs = bltinlookup("IFS", 1)) == NULL) 335 ifs = " \t\n"; 389 if (strchr(ifs, c)) 396 /* Ignore leading IFS whitespace */ 402 /* Only one non-whitespace IFS per word */ 428 /* Last variable needs all IFS chars */ 434 if (equal(*ap, "IFS")) { [all...] |
| expand.c | 83 * for IFS characters. 96 struct ifsregion ifsfirst; /* first struct in list of ifs regions */ 258 const char *ifs = NULL; local 262 ifs = ifsval(); 394 if (flag & ifs_split && strchr(ifs, c) != NULL) { 413 if (flag & ifs_split && strchr(ifs, c) != NULL) { 1016 * Mark so that we don't apply IFS if we recurse through 1351 * string for IFS characters. 1384 * Break the argument string into pieces based upon IFS and add the 1386 * searched for IFS characters have been stored by recordregion 1396 const char *ifs; local [all...] |
| /src/external/bsd/dhcpcd/dist/src/ |
| if.c | 246 if_markaddrsstale(struct if_head *ifs) 250 TAILQ_FOREACH(ifp, ifs, next) { 261 if_learnaddrs(struct dhcpcd_ctx *ctx, struct if_head *ifs, 277 if ((ifp = if_find(ifs, ifa->ifa_name)) == NULL) 308 ipv4_handleifa(ctx, RTM_NEWADDR, ifs, ifa->ifa_name, 342 ipv6_handleifa(ctx, RTM_NEWADDR, ifs, ifa->ifa_name, 371 if_deletestaleaddrs(struct if_head *ifs) 375 TAILQ_FOREACH(ifp, ifs, next) { 450 struct if_head *ifs; local 466 if ((ifs = malloc(sizeof(*ifs))) == NULL) [all...] |
| dhcpcd.c | 1080 struct if_head *ifs; local 1103 ifs = if_discover(ctx, &ifaddrs, -1, UNCONST(argv)); 1104 if (ifs == NULL) { 1109 ifp = if_find(ifs, ifname); 1131 TAILQ_REMOVE(ifs, ifp, next); 1142 if_learnaddrs(ctx, ifs, &ifaddrs); 1149 while ((ifp = TAILQ_FIRST(ifs))) { 1150 TAILQ_REMOVE(ifs, ifp, next); 1153 free(ifs);
|
| /src/bin/ksh/ |
| edit.c | 1028 const char *ifs = str_val(local("IFS", 0)); local 1032 if (strchr("\\$(){}[]?*&;#|<>\"'`", s[add]) || strchr(ifs, s[add])) {
|
| /src/sbin/routed/ |
| if.c | 696 struct interface ifs, ifs0, *ifp, *ifp1; local 793 memcpy(&ifs, &ifs0, sizeof(ifs)); 797 if (iff_up(ifs.int_if_flags)) { 800 ifs.int_name); 806 if (iff_up(ifs.int_if_flags)) { 809 ifs.int_name); 815 ifs.int_addr = S_ADDR(INFO_IFA(&info)); 817 if (ntohl(ifs.int_addr)>>24 == 0 818 || ntohl(ifs.int_addr)>>24 == 0xff) [all...] |
| /src/external/gpl3/gcc/dist/gcc/fortran/ |
| dump-parse-tree.cc | 1604 static const char *ifs[] = { local 1617 fputs (ifs[i], dumpfile);
|
| /src/external/gpl3/gcc.old/dist/gcc/fortran/ |
| dump-parse-tree.cc | 1868 static const char *ifs[] = { local 1881 fputs (ifs[i], dumpfile);
|
| /src/external/bsd/ntp/dist/ntpdc/ |
| ntpdc_ops.c | 3072 struct info_if_stats *ifs, 3094 SET_ADDR(saddr, ntohl(ifs->v6_flag), 3095 ifs->unaddr.addr.s_addr, ifs->unaddr.addr6); 3097 ntohl(ifs->ifnum), 3098 actions[(ifs->action >= 1 && ifs->action < 4) ? ifs->action : 0], 3100 ifs->ignore_packets ? 'D' : 'E', 3101 ifs->name 3135 struct info_if_stats *ifs; local 3153 struct info_if_stats *ifs; local [all...] |
| /src/sys/net/ |
| if_bridge.c | 730 struct ifnet *ifs = bif->bif_ifp; local 734 ifs->_if_input = ether_input; 735 ifs->if_bridge = NULL; 736 ifs->if_bridgeif = NULL; 741 if_linkstate_change_disestablish(ifs, 743 ether_ifdetachhook_disestablish(ifs, 748 switch (ifs->if_type) { 755 (void) ifpromisc(ifs, 0); 756 IFNET_LOCK(ifs); 757 (void) ether_disable_vlan_mtu(ifs); 784 struct ifnet *ifs = NULL; local 809 struct ifnet *ifs; local 831 struct ifnet *ifs; local 938 struct ifnet *ifs; local 1422 struct ifnet *ifs; local 2303 struct ifnet *ifs = NULL; local [all...] |
| /src/external/bsd/nsd/dist/ |
| nsd.h | 289 size_t ifs; member in struct:nsd 293 /* TCP specific configuration (array size ifs) */ 296 /* UDP specific configuration (array size ifs) */
|
| server.c | 1443 for(i = 0; i < nsd->ifs; i++) { 1452 size_t ifs = nsd->ifs * nsd->reuseport; local 1460 nsd->udp = xrealloc(nsd->udp, ifs * sizeof(*nsd->udp)); 1461 nsd->tcp = xrealloc(nsd->tcp, ifs * sizeof(*nsd->tcp)); 1464 if(ifs > nsd->ifs) { 1465 memset(&nsd->udp[nsd->ifs], 0, 1466 (ifs-nsd->ifs)*sizeof(*nsd->udp)) [all...] |
| /src/external/bsd/ntp/dist/ntpd/ |
| ntp_request.c | 2785 struct info_if_stats *ifs = *ifsp; local 2788 if (NULL == ifs) 2791 ZERO(*ifs); 2796 ifs->v6_flag = 1; 2797 ifs->unaddr.addr6 = SOCK_ADDR6(&ep->sin); 2798 ifs->unbcast.addr6 = SOCK_ADDR6(&ep->bcast); 2799 ifs->unmask.addr6 = SOCK_ADDR6(&ep->mask); 2801 ifs->v6_flag = 0; 2802 ifs->unaddr.addr = SOCK_ADDR4(&ep->sin); 2803 ifs->unbcast.addr = SOCK_ADDR4(&ep->bcast) 2837 struct info_if_stats *ifs; local 2856 struct info_if_stats *ifs; local [all...] |
| ntp_io.c | 2164 char * ifs; local 2166 LIB_GETBUF(ifs); 2167 ifs[0] = '\0'; 2171 append_flagstr(ifs, sz, "up"); 2176 append_flagstr(ifs, sz, "ppp"); 2181 append_flagstr(ifs, sz, "loopback"); 2186 append_flagstr(ifs, sz, "broadcast"); 2191 append_flagstr(ifs, sz, "multicast"); 2196 append_flagstr(ifs, sz, "bcastopen"); 2201 append_flagstr(ifs, sz, "mcastopen") [all...] |
| /src/external/bsd/wpa/dist/wpa_supplicant/ |
| scan.c | 472 struct wpa_supplicant *ifs; local 476 dl_list_for_each(ifs, &wpa_s->radio->ifaces, 478 bss = wpa_bss_get(ifs, bssid, ssid->ssid,
|
| events.c | 2815 struct wpa_supplicant *ifs; local 2842 dl_list_for_each(ifs, &wpa_s->radio->ifaces, struct wpa_supplicant, 2844 if (ifs != wpa_s) { 2846 "sibling", ifs->ifname); 2847 res = _wpa_supplicant_event_scan_results(ifs, data, 0, 5224 struct wpa_supplicant *ifs; local 5233 for (ifs = wpa_s; ifs->parent && ifs != ifs->parent; ifs = ifs->parent [all...] |
| /src/external/gpl2/gmake/dist/ |
| job.c | 2206 IFS is the value of $IFS, or nil (meaning the default). */ 2210 char *ifs, char **batch_filename_ptr) 2403 if (ifs != 0) 2404 for (ap = ifs; *ap != '\0'; ++ap) 2933 variable expansion for $(SHELL) and $(IFS). */ 2939 char *shell, *ifs; 2984 /* Turn off --warn-undefined-variables while we expand SHELL and IFS. */ 3044 ifs = allocated_variable_expand_for_file ("$(IFS)", file) 2929 char *shell, *ifs; local [all...] |
| /src/external/gpl3/gcc/dist/libcpp/ |
| directives.cc | 2099 struct if_stack *ifs = buffer->if_stack; local 2101 if (ifs == NULL) 2105 if (ifs->type == T_ELSE) 2108 cpp_error_with_line (pfile, CPP_DL_ERROR, ifs->line, 0, 2111 ifs->type = T_ELSE; 2114 pfile->state.skipping = ifs->skip_elses; 2115 ifs->skip_elses = true; 2118 ifs->mi_cmacro = 0; 2121 if (!ifs->was_skipping && CPP_OPTION (pfile, warn_endif_labels)) 2132 struct if_stack *ifs = buffer->if_stack local 2239 struct if_stack *ifs = buffer->if_stack; local 2270 struct if_stack *ifs; local 2774 struct if_stack *ifs; local [all...] |
| /src/external/gpl3/gcc.old/dist/libcpp/ |
| directives.cc | 2073 struct if_stack *ifs = buffer->if_stack; local 2075 if (ifs == NULL) 2079 if (ifs->type == T_ELSE) 2082 cpp_error_with_line (pfile, CPP_DL_ERROR, ifs->line, 0, 2085 ifs->type = T_ELSE; 2088 pfile->state.skipping = ifs->skip_elses; 2089 ifs->skip_elses = true; 2092 ifs->mi_cmacro = 0; 2095 if (!ifs->was_skipping && CPP_OPTION (pfile, warn_endif_labels)) 2106 struct if_stack *ifs = buffer->if_stack local 2213 struct if_stack *ifs = buffer->if_stack; local 2244 struct if_stack *ifs; local 2748 struct if_stack *ifs; local [all...] |
| /src/external/bsd/unbound/dist/services/ |
| outside_network.c | 1610 calc_num46(char** ifs, int num_ifs, int do_ip4, int do_ip6, 1625 if(str_is_ip6(ifs[i])) { 1728 size_t num_ports, char** ifs, int num_ifs, int do_ip4, 1796 calc_num46(ifs, num_ifs, do_ip4, do_ip6, 1864 if(str_is_ip6(ifs[i]) && do_ip6) { 1865 if(!setup_if(&outnet->ip6_ifs[done_6], ifs[i], 1873 if(!str_is_ip6(ifs[i]) && do_ip4) { 1874 if(!setup_if(&outnet->ip4_ifs[done_4], ifs[i], 2173 int num_if, struct port_if* ifs) 2190 pif = &ifs[my_if] 4216 struct shared_ports_if* ret, *ifs = NULL; local [all...] |