Searched refs:old (Results 1 - 6 of 6) sorted by relevance

/system/core/toolbox/
H A Diftop.c196 static int print_interfaces(struct if_stats *old, struct if_stats *new, int nr) argument
201 if (old->rx_packets || old->tx_packets) {
204 new->rx_bytes - old->rx_bytes,
205 new->rx_packets - old->rx_packets,
206 new->rx_errors - old->rx_errors,
207 new->rx_dropped - old->rx_dropped,
208 new->tx_bytes - old->tx_bytes,
209 new->tx_packets - old->tx_packets,
210 new->tx_errors - old
[all...]
H A Dvmstat.c69 static void print_line(struct state *old, struct state *new);
224 static void print_line(struct state *old, struct state *new) { argument
226 us = JP(new->cpu_us - old->cpu_us); NORM(us);
227 ni = JP(new->cpu_ni - old->cpu_ni); NORM(ni);
228 sy = JP(new->cpu_sy - old->cpu_sy); NORM(sy);
229 id = JP(new->cpu_id - old->cpu_id); NORM(id);
230 wa = JP(new->cpu_wa - old->cpu_wa); NORM(wa);
231 ir = JP(new->cpu_ir - old->cpu_ir); NORM(ir);
235 new->sys_in - old->sys_in, new->sys_cs - old
[all...]
/system/core/libcutils/
H A Darray.c135 void* old = array->contents[index]; local
137 return old;
H A Dprivate.h246 char * icatalloc P((char * old, const char * new));
/system/core/sh/
H A Dexec.c689 * pathval() still returns the old value at this point.
696 const char *old, *new; local
701 old = pathval();
707 if (*old != *new) {
709 if ((*old == '\0' && *new == ':')
710 || (*old == ':' && *new == '\0'))
712 old = new; /* ignore subsequent differences */
721 new++, old++;
/system/core/include/cutils/
H A Datomic-mips.h82 " bne %[prev], %[old], 9f\n"
87 : [ptr] "r" (ptr), [old] "r" (old_value), [new_value] "r" (new_value)

Completed in 76 milliseconds