Searched refs:ifs (Results 1 - 3 of 3) sorted by relevance

/system/core/toolbox/
H A Diftop.c100 static int get_interfaces(struct if_stats *ifs) argument
143 ret = sscanf(p, "%" STR(IFNAMSIZ) "s", ifs->name);
153 c = strchr(ifs->name, ':');
160 "%*u %*u\n", &ifs->rx_bytes, &ifs->rx_packets,
161 &ifs->rx_errors, &ifs->rx_dropped, &ifs->tx_bytes,
162 &ifs->tx_packets, &ifs
228 struct if_stats ifs[2][MAX_IF]; local
[all...]
/system/core/sh/
H A Dmiscbltin.c95 const char *ifs; local
120 if ((ifs = bltinlookup("IFS", 1)) == NULL)
121 ifs = " \t\n";
144 if (strchr(ifs, c))
194 if (!strchr(ifs, *p))
H A Dexpand.c90 struct ifsregion ifsfirst; /* first struct in list of ifs regions */
188 const char *ifs = 0; local
192 ifs = ifsset() ? ifsval() : " \t\n";
248 if (flag & EXP_IFS_SPLIT & ifs_split && strchr(ifs, c) != NULL) {
951 const char *ifs; local
968 ifs = ifsset() ? ifsval() : " \t\n";
985 if (!strchr(ifs, *p)) {
1013 if (strchr(ifs, *p) == NULL) {

Completed in 48 milliseconds