Lines Matching refs:row

162 	int row;
164 row = 0;
165 wmove(wnd, row, 0); wclrtobot(wnd);
166 mvwaddstr(wnd, row++, INSET,
168 mvwaddstr(wnd, row++, 0, "cpu user|");
169 mvwaddstr(wnd, row++, 0, " nice|");
170 mvwaddstr(wnd, row++, 0, " system|");
171 mvwaddstr(wnd, row++, 0, "interrupt|");
172 mvwaddstr(wnd, row++, 0, " idle|");
174 row = numlabels(row + 1);
176 row = barlabels(row + 1);
180 numlabels(int row)
194 linesperregion = (getmaxy(wnd) - 1 - row - regions) / regions;
205 _col = INSET, row += linesperregion + 1;
206 if (row > getmaxy(wnd) - 1 - (linesperregion + 1))
211 mvwaddstr(wnd, row, _col + 4, tmpstr);
212 mvwaddstr(wnd, row + 1, _col, " KB/t tps MB/s ");
216 row += linesperregion + 1;
217 return (row);
221 barlabels(int row)
226 mvwaddstr(wnd, row++, INSET,
231 if (row > getmaxy(wnd) - 1 - linesperregion)
235 mvwprintw(wnd, row++, 0, "%-5.5s MB/s|",
237 mvwaddstr(wnd, row++, 0, " tps|");
239 mvwaddstr(wnd, row++, 0, " KB/t|");
241 return (row);
248 int i, row, _col;
259 row = 1;
261 stat1(row++, i);
263 row += 2;
266 if (row > getmaxy(wnd) - linesperregion)
268 row = devstats(row, INSET, i);
273 wmove(wnd, row + linesperregion, 0);
275 wmove(wnd, row + 3, 0);
280 _col = INSET, row += linesperregion + 1;
281 if (row > getmaxy(wnd) - 1 - (linesperregion + 1))
283 wmove(wnd, row + linesperregion, 0);
285 wmove(wnd, row + 3, 0);
288 (void) devstats(row + 3, _col, i);
294 devstats(int row, int _col, int dn)
313 mvwprintw(wnd, row, _col, " %5.2Lf %3.0Lf %5.2Lf ",
316 return(row);
318 wmove(wnd, row++, _col);
320 wmove(wnd, row++, _col);
323 wmove(wnd, row++, _col);
327 return(row);
332 stat1(int row, int o)
342 wmove(wnd, row, INSET);