Lines Matching refs:line
32 char *line, *oldline = 0, *name = 0,
40 line = readfile(toybuf, 0, 0);
41 if (!line) error_msg("No %lu", (long)pid);
42 xprintf("%u: %s\n", (int)pid, line);
43 free(line);
62 line = 0;
63 if (0 >= getline(&line, &len, fp)) break;
64 count = sscanf(line, "%llx-%llx %s %*s %*s %*s %n",
68 name = line[off] ? line+off : " [anon]\n";
74 oldline = line;
78 if (0<sscanf(line, "Pss: %lld", &pss)
79 || 0<sscanf(line, "Private_Dirty: %lld", &dirty)
80 || 0<sscanf(line, "Swap: %lld", &swap)) xx++;
81 free(line);
83 line = oldline;
92 xprintf("%s- %s%s", toybuf, line[off]=='[' ? " " : "", name);
94 free(line);
95 line = 0;