Home
last modified time | relevance | path

Searched refs:old (Results 1 – 5 of 5) sorted by relevance

/system/core/toolbox/
Diftop.c196 static int print_interfaces(struct if_stats *old, struct if_stats *new, int nr) in print_interfaces() argument
201 if (old->rx_packets || old->tx_packets) { in print_interfaces()
204 new->rx_bytes - old->rx_bytes, in print_interfaces()
205 new->rx_packets - old->rx_packets, in print_interfaces()
206 new->rx_errors - old->rx_errors, in print_interfaces()
207 new->rx_dropped - old->rx_dropped, in print_interfaces()
208 new->tx_bytes - old->tx_bytes, in print_interfaces()
209 new->tx_packets - old->tx_packets, in print_interfaces()
210 new->tx_errors - old->tx_errors, in print_interfaces()
211 new->tx_dropped - old->tx_dropped); in print_interfaces()
[all …]
Dvmstat.c69 static void print_line(struct state *old, struct state *new);
224 static void print_line(struct state *old, struct state *new) { in print_line() argument
226 us = JP(new->cpu_us - old->cpu_us); NORM(us); in print_line()
227 ni = JP(new->cpu_ni - old->cpu_ni); NORM(ni); in print_line()
228 sy = JP(new->cpu_sy - old->cpu_sy); NORM(sy); in print_line()
229 id = JP(new->cpu_id - old->cpu_id); NORM(id); in print_line()
230 wa = JP(new->cpu_wa - old->cpu_wa); NORM(wa); in print_line()
231 ir = JP(new->cpu_ir - old->cpu_ir); NORM(ir); in print_line()
235 new->sys_in - old->sys_in, new->sys_cs - old->sys_cs, new->sys_flt - old->sys_flt, in print_line()
/system/core/libcutils/
Darray.c135 void* old = array->contents[index]; in arraySet() local
137 return old; in arraySet()
/system/core/sh/
Dexec.c696 const char *old, *new; in changepath() local
701 old = pathval(); in changepath()
707 if (*old != *new) { in changepath()
709 if ((*old == '\0' && *new == ':') in changepath()
710 || (*old == ':' && *new == '\0')) in changepath()
712 old = new; /* ignore subsequent differences */ in changepath()
721 new++, old++; in changepath()
/system/core/include/cutils/
Datomic-mips.h93 : [ptr] "r" (ptr), [old] "r" (old_value), [new_value] "r" (new_value) in android_atomic_cas()