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 | 221 #define MAX_LINE 256 macro 326 char buf[MAX_LINE], *open_paren, *close_paren; in read_stat() 331 fgets(buf, MAX_LINE, file); in read_stat() 367 char line[MAX_LINE]; in read_cmdline() 372 fgets(line, MAX_LINE, file); in read_cmdline() 394 char line[MAX_LINE]; in read_status() 399 while (fgets(line, MAX_LINE, file)) { in read_status()
|
/system/extras/libpagemap/ |
D | pm_process.c | 213 #define MAX_LINE 1024 macro 225 char line[MAX_LINE], name[MAX_LINE], perms[MAX_PERMS]; in read_maps() 247 while (fgets(line, MAX_LINE, maps_f)) { in read_maps() 264 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()
|