Lines Matching refs:row

165 	int row;
167 row = 0;
168 wmove(wnd, row, 0); wclrtobot(wnd);
169 mvwaddstr(wnd, row++, INSET,
171 mvwaddstr(wnd, row++, 0, "cpu user|");
172 mvwaddstr(wnd, row++, 0, " nice|");
173 mvwaddstr(wnd, row++, 0, " system|");
174 mvwaddstr(wnd, row++, 0, "interrupt|");
175 mvwaddstr(wnd, row++, 0, " idle|");
177 row = numlabels(row + 1);
179 row = barlabels(row + 1);
183 numlabels(int row)
197 linesperregion = (getmaxy(wnd) - 1 - row - regions) / regions;
208 _col = INSET, row += linesperregion + 1;
209 if (row > getmaxy(wnd) - 1 - (linesperregion + 1))
214 mvwaddstr(wnd, row, _col + 4, tmpstr);
215 mvwaddstr(wnd, row + 1, _col, " KB/t tps MB/s ");
219 row += linesperregion + 1;
220 return (row);
224 barlabels(int row)
229 mvwaddstr(wnd, row++, INSET,
234 if (row > getmaxy(wnd) - 1 - linesperregion)
238 mvwprintw(wnd, row++, 0, "%-5.5s MB/s|",
240 mvwaddstr(wnd, row++, 0, " tps|");
242 mvwaddstr(wnd, row++, 0, " KB/t|");
244 return (row);
251 int i, row, _col;
262 row = 1;
264 stat1(row++, i);
266 row += 2;
269 if (row > getmaxy(wnd) - linesperregion)
271 row = devstats(row, INSET, i);
276 wmove(wnd, row + linesperregion, 0);
278 wmove(wnd, row + 3, 0);
283 _col = INSET, row += linesperregion + 1;
284 if (row > getmaxy(wnd) - 1 - (linesperregion + 1))
286 wmove(wnd, row + linesperregion, 0);
288 wmove(wnd, row + 3, 0);
291 (void) devstats(row + 3, _col, i);
297 devstats(int row, int _col, int dn)
316 mvwprintw(wnd, row, _col, " %5.2Lf %3.0Lf %5.2Lf ",
319 return(row);
321 wmove(wnd, row++, _col);
323 wmove(wnd, row++, _col);
326 wmove(wnd, row++, _col);
330 return(row);
335 stat1(int row, int o)
345 wmove(wnd, row, INSET);