Home
last modified time | relevance | path

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

/system/core/libacc/tests/data/
Dpointers.c3 int* pb = pa + 1; in main() local
6 *pb = 2; in main()
7 printf("Pointer difference: %d %d\n", pb - pa, ((int) pb) - ((int) pa)); in main()
10 printf("Pointer comparison to zero: %d %d %d\n", pa == 0, pb == 0, pc == 0); in main()
11 printf("Pointer comparison: %d %d %d %d %d\n", pa < pb, pa == pb, pa > pb, ! pb, ! pc); in main()
Dcasts.c3 int* pb = &a; in test1() local
4 int c = *pb; in test1()
6 *pb = 4; in test1()
/system/core/toolbox/
Dtop.c510 struct proc_info *pa, *pb; in proc_cpu_cmp() local
512 pa = *((struct proc_info **)a); pb = *((struct proc_info **)b); in proc_cpu_cmp()
514 if (!pa && !pb) return 0; in proc_cpu_cmp()
516 if (!pb) return -1; in proc_cpu_cmp()
518 return -numcmp(pa->delta_time, pb->delta_time); in proc_cpu_cmp()
522 struct proc_info *pa, *pb; in proc_vss_cmp() local
524 pa = *((struct proc_info **)a); pb = *((struct proc_info **)b); in proc_vss_cmp()
526 if (!pa && !pb) return 0; in proc_vss_cmp()
528 if (!pb) return -1; in proc_vss_cmp()
530 return -numcmp(pa->vss, pb->vss); in proc_vss_cmp()
[all …]
/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()