Home
last modified time | relevance | path

Searched refs:compfn (Results 1 – 3 of 3) sorted by relevance

/system/extras/librank/
Dlibrank.c202 int (*compfn)(const void *a, const void *b); in main() local
228 compfn = &sort_by_pss; in main()
284 compfn = &sort_by_pss; in main()
291 compfn = &sort_by_uss; in main()
294 compfn = &sort_by_vss; in main()
297 compfn = &sort_by_rss; in main()
300 compfn = &sort_by_swap; in main()
401 qsort(li->mappings, li->mappings_count, sizeof(li->mappings[0]), compfn); in main()
478 #define create_sort(field, compfn) \ argument
480 return order * compfn( \
/system/extras/procrank/
Dprocrank.cpp57 int (*compfn)(const void *a, const void *b); variable
215 compfn = &sort_by_pss; in main()
221 if (!strcmp(argv[arg], "-v")) { compfn = &sort_by_vss; continue; } in main()
222 if (!strcmp(argv[arg], "-r")) { compfn = &sort_by_rss; continue; } in main()
223 if (!strcmp(argv[arg], "-p")) { compfn = &sort_by_pss; continue; } in main()
224 if (!strcmp(argv[arg], "-u")) { compfn = &sort_by_uss; continue; } in main()
225 if (!strcmp(argv[arg], "-s")) { compfn = &sort_by_swap; continue; } in main()
226 if (!strcmp(argv[arg], "-o")) { compfn = &sort_by_oomadj; oomadj = true; continue; } in main()
302 qsort(procs.data(), procs.size(), sizeof(procs[0]), compfn); in main()
593 #define create_sort(field, compfn) \ argument
[all …]
/system/extras/procmem/
Dprocmem.c70 int (*compfn)(const void *a, const void *b); in main() local
84 compfn = NULL; in main()
89 if (!strcmp(argv[i], "-m")) { compfn = NULL; continue; } in main()
90 if (!strcmp(argv[i], "-p")) { compfn = &comp_pss; continue; } in main()
235 if (compfn) in main()
236 qsort(mis, num_maps, sizeof(mis[0]), compfn); in main()