/system/extras/procmem/ |
D | procmem.c | 27 pm_memusage_t usage; member 36 static void usage(const char *cmd); 78 usage(argv[0]); in main() 92 usage(argv[0]); in main() 169 error = pm_map_workingset(mi->map, &mi->usage); in main() 171 error = pm_map_usage(mi->map, &mi->usage); in main() 178 pm_memusage_add(&total_usage, &mi->usage); in main() 241 if (hide_zeros && !mi->usage.rss) in main() 246 (long)mi->usage.rss / 1024, in main() 247 (long)mi->usage.pss / 1024, in main() [all …]
|
/system/core/fs_mgr/ |
D | fs_mgr_main.c | 25 static void usage(void) in usage() function 41 usage(); in parse_options() 46 usage(); in parse_options() 52 usage(); in parse_options() 60 usage(); in parse_options() 67 usage(); in parse_options() 72 usage(); in parse_options()
|
/system/extras/procrank/ |
D | procrank.c | 29 pm_memusage_t usage; member 33 static void usage(char *myname); 149 if (!strcmp(argv[arg], "-h")) { usage(argv[0]); exit(0); } in main() 151 usage(argv[0]); in main() 181 pm_memusage_zero(&procs[i]->usage); in main() 190 error = pm_process_usage(proc, &procs[i]->usage); in main() 193 error = pm_process_workingset(proc, &procs[i]->usage, 0); in main() 213 if (procs[i]->usage.vss) { in main() 241 total_pss += procs[i]->usage.pss; in main() 242 total_uss += procs[i]->usage.uss; in main() [all …]
|
/system/extras/libpagemap/ |
D | pm_map.c | 34 pm_memusage_t usage; in pm_map_usage() local 43 pm_memusage_zero(&usage); in pm_map_usage() 54 usage.vss += map->proc->ker->pagesize; in pm_map_usage() 55 usage.rss += (count >= 1) ? (map->proc->ker->pagesize) : (0); in pm_map_usage() 56 usage.pss += (count >= 1) ? (map->proc->ker->pagesize / count) : (0); in pm_map_usage() 57 usage.uss += (count == 1) ? (map->proc->ker->pagesize) : (0); in pm_map_usage() 60 memcpy(usage_out, &usage, sizeof(usage)); in pm_map_usage()
|
/system/core/toolbox/ |
D | log.c | 80 static int usage(const char *s) in usage() function 116 usage(argv[0]); in log_main() 121 usage(argv[0]); in log_main() 127 usage(argv[0]); in log_main() 138 usage(argv[0]); in log_main()
|
D | sleep.c | 37 usage(const char *s) in usage() function 49 usage(argv[0]); in sleep_main() 55 usage(argv[0]); in sleep_main()
|
D | ln.c | 6 static int usage() in usage() function 16 if(argc < 2) return usage(); in ln_main() 24 if(argc < 3) return usage(); in ln_main()
|
D | setenforce.c | 10 static void usage(const char *progname) in usage() function 21 usage(argv[0]); in setenforce_main() 36 usage(argv[0]); in setenforce_main()
|
D | touch.c | 9 static void usage(void) in usage() function 33 usage(); in touch_main() 44 usage(); in touch_main() 51 usage(); in touch_main()
|
D | syren.c | 55 static int usage(void) in usage() function 71 return usage(); in syren_main() 88 return usage(); in syren_main() 93 return usage(); in syren_main() 129 return usage(); in syren_main()
|
D | renice.c | 41 usage(const char *s) in usage() function 115 usage(cmd); in renice_main() 123 usage(cmd); in renice_main() 130 usage(cmd); in renice_main()
|
D | getsebool.c | 9 static void usage(const char *progname) in usage() function 24 usage(argv[0]); in getsebool_main() 45 usage(argv[0]); in getsebool_main() 55 usage(argv[0]); in getsebool_main()
|
D | mkdir.c | 8 static int usage() in usage() function 21 return usage(); in mkdir_main() 29 return usage(); in mkdir_main()
|
D | rmdir.c | 6 static int usage() in usage() function 16 if(argc < 2) return usage(); in rmdir_main()
|
D | du.c | 65 static void usage(void); 111 usage(); in du_main() 136 usage(); in du_main() 163 usage(); in du_main() 167 usage(); in du_main() 316 usage(void) in usage() function
|
D | r.c | 7 static int usage() in usage() function 21 if(argc < 2) return usage(); in r_main() 33 if(argc < 2) return usage(); in r_main()
|
/system/extras/ext4_utils/ |
D | make_ext4fs_main.c | 50 static void usage(char *path) in usage() function 111 usage(argv[0]); in main() 147 usage(argv[0]); in main() 166 usage(argv[0]); in main() 172 usage(argv[0]); in main() 178 usage(argv[0]); in main() 189 usage(argv[0]); in main()
|
D | ext4fixup_main.c | 23 static void usage(char *me) in usage() function 55 usage(me); in main() 63 usage(me); in main()
|
/system/extras/librank/ |
D | librank.c | 36 pm_memusage_t usage; member 48 static void usage(char *myname); 143 pm_memusage_zero(&mapping->usage); in get_mapping() 197 usage(argv[0]); in main() 209 if (!strcmp(argv[i], "-h")) { usage(argv[0]); exit(0); } in main() 211 usage(argv[0]); in main() 263 pm_memusage_add(&mi->usage, &map_usage); in main() 285 mi->usage.vss / 1024, in main() 286 mi->usage.rss / 1024, in main() 287 mi->usage.pss / 1024, in main() [all …]
|
/system/core/logwrapper/ |
D | logwrapper.c | 33 void usage() { in usage() function 72 usage(); in main() 79 usage(); in main()
|
/system/bluetooth/tools/ |
D | bttest.c | 58 static void usage() { in usage() function 71 usage(); in main() 80 usage(); in main()
|
/system/core/adb/ |
D | commandline.c | 209 int usage() in usage() function 711 return usage(); in backup() 723 if (argc < 2) return usage(); in backup() 759 if (argc != 2) return usage(); in restore() 960 return usage(); in adb_commandline() 978 if (argc < 2) return usage(); in adb_commandline() 989 return usage(); in adb_commandline() 995 if(argc < 2 || argv[0][2] != '\0') return usage(); in adb_commandline() 1009 if (argc < 2) return usage(); in adb_commandline() 1020 if (argc < 2) return usage(); in adb_commandline() [all …]
|
/system/core/mkbootimg/ |
D | mkbootimg.c | 58 int usage(void) in usage() function 127 return usage(); in main() 161 return usage(); in main() 173 return usage(); in main() 178 return usage(); in main() 183 return usage(); in main() 188 return usage(); in main()
|
/system/core/libsparse/ |
D | img2simg.c | 41 void usage() in usage() function 57 usage(); in main() 66 usage(); in main()
|
/system/core/netcfg/ |
D | netcfg.c | 45 void usage(void) in usage() function 151 if(argc < 3) usage(); in main() 154 if(strlen(iname) > 16) usage(); in main() 181 usage(); in main()
|