HomeSort by relevance Sort by last modified time
    Searched refs:compfn (Results 1 - 3 of 3) sorted by null

  /system/extras/procrank/
procrank.c 48 int (*compfn)(const void *a, const void *b); variable
145 compfn = &sort_by_pss;
150 if (!strcmp(argv[arg], "-v")) { compfn = &sort_by_vss; continue; }
151 if (!strcmp(argv[arg], "-r")) { compfn = &sort_by_rss; continue; }
152 if (!strcmp(argv[arg], "-p")) { compfn = &sort_by_pss; continue; }
153 if (!strcmp(argv[arg], "-u")) { compfn = &sort_by_uss; continue; }
154 if (!strcmp(argv[arg], "-s")) { compfn = &sort_by_swap; continue; }
238 qsort(procs, num_procs, sizeof(procs[0]), compfn);
421 #define create_sort(field, compfn) \
423 return order * compfn( \
    [all...]
  /system/extras/procmem/
procmem.c 69 int (*compfn)(const void *a, const void *b);
83 compfn = NULL;
88 if (!strcmp(argv[i], "-m")) { compfn = NULL; continue; }
89 if (!strcmp(argv[i], "-p")) { compfn = &comp_pss; continue; }
234 /* sort the array, if requested (compfn == NULL for original order) */
235 if (compfn)
236 qsort(mis, num_maps, sizeof(mis[0]), compfn);
  /system/extras/librank/
librank.c 202 int (*compfn)(const void *a, const void *b);
228 compfn = &sort_by_pss;
284 compfn = &sort_by_pss;
291 compfn = &sort_by_uss;
294 compfn = &sort_by_vss;
297 compfn = &sort_by_rss;
300 compfn = &sort_by_swap;
400 qsort(li->mappings, li->mappings_count, sizeof(li->mappings[0]), compfn);
470 #define create_sort(field, compfn) \
472 return order * compfn( \
    [all...]

Completed in 276 milliseconds