Searched refs:MAX_LINE (Results 1 – 4 of 4) sorted by relevance
/system/core/toolbox/ |
D | vmstat.c | 60 #define MAX_LINE 256 macro 62 char line[MAX_LINE]; 165 while (fgets(line, MAX_LINE, f)) { in read_meminfo() 183 while (fgets(line, MAX_LINE, f)) { in read_stat() 206 while (fgets(line, MAX_LINE, f)) { in read_vmstat()
|
D | top.c | 219 #define MAX_LINE 256 macro 324 char buf[MAX_LINE], *open_paren, *close_paren; in read_stat() 329 fgets(buf, MAX_LINE, file); in read_stat() 364 char line[MAX_LINE]; in read_cmdline() 369 fgets(line, MAX_LINE, file); in read_cmdline() 395 char line[MAX_LINE]; in read_status() 400 while (fgets(line, MAX_LINE, file)) { in read_status()
|
/system/extras/libpagemap/ |
D | pm_process.c | 207 #define MAX_LINE 256 macro 219 char line[MAX_LINE], name[MAX_LINE], perms[MAX_PERMS]; in read_maps() 241 while (fgets(line, MAX_LINE, maps_f)) { in read_maps() 258 sscanf(line, "%lx-%lx %s %lx %*s %*d %" S(MAX_LINE) "s", in read_maps()
|
/system/extras/latencytop/ |
D | latencytop.c | 25 #define MAX_LINE 512 macro 38 char reason[MAX_LINE]; 327 char line[MAX_LINE]; in read_latency_file() 329 char reason[MAX_LINE]; in read_latency_file() 333 if (!fgets(line, MAX_LINE, f)) { in read_latency_file() 344 while (fgets(line, MAX_LINE, f)) { in read_latency_file()
|