Home
last modified time | relevance | path

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

/system/core/toolbox/
Dtop.c503 struct proc_info *pa, *pb; in proc_cpu_cmp() local
505 pa = *((struct proc_info **)a); pb = *((struct proc_info **)b); in proc_cpu_cmp()
507 if (!pa && !pb) return 0; in proc_cpu_cmp()
509 if (!pb) return -1; in proc_cpu_cmp()
511 return -numcmp(pa->delta_time, pb->delta_time); in proc_cpu_cmp()
515 struct proc_info *pa, *pb; in proc_vss_cmp() local
517 pa = *((struct proc_info **)a); pb = *((struct proc_info **)b); in proc_vss_cmp()
519 if (!pa && !pb) return 0; in proc_vss_cmp()
521 if (!pb) return -1; in proc_vss_cmp()
523 return -numcmp(pa->vss, pb->vss); in proc_vss_cmp()
[all …]
/system/extras/ksmutils/
Dlookup3.c222 uint32_t *pb) /* IN: more seed OUT: secondary hash value */ in hashword2() argument
228 c += *pb; in hashword2()
252 *pc=c; *pb=b; in hashword2()
467 uint32_t *pb) /* IN: secondary initval, OUT: secondary hash */ in hashlittle2() argument
474 c += *pb; in hashlittle2()
518 case 0 : *pc=c; *pb=b; return; /* zero length strings require no mixing */ in hashlittle2()
538 case 0 : *pc=c; *pb=b; return; /* zero length strings require no mixing */ in hashlittle2()
587 case 0 : *pc=c; *pb=b; return; /* zero length strings require no mixing */ in hashlittle2()
629 case 0 : *pc=c; *pb=b; return; /* zero length strings require no mixing */ in hashlittle2()
634 *pc=c; *pb=b; in hashlittle2()
/system/extras/latencytop/
Dlatencytop.c436 const struct latency_entry *pa, *pb; in lat_cmp() local
439 pb = (*((struct latency_entry **)b)); in lat_cmp()
441 return numcmp(pb->max, pa->max); in lat_cmp()
/system/core/adb/
Dtransport.c49 char buffer[MAX_DUMP_HEX_LEN *2 + 1 + MAX_DUMP_HEX_LEN + 1 ], *pb = buffer; in dump_hex() local
54 sprintf(pb, "%02x", ptr[nn]); in dump_hex()
55 pb += 2; in dump_hex()
57 sprintf(pb++, " "); in dump_hex()
63 *pb++ = c; in dump_hex()
65 *pb++ = '\0'; in dump_hex()
Dfdevent.c322 char msg_buff[FD_SETSIZE*6 + 1], *pb=msg_buff; in dump_all_fds() local
327 printed_out = snprintf(pb, max_chars, __VA_ARGS__); \ in dump_all_fds()
336 pb += printed_out; \ in dump_all_fds()