Lines Matching refs:row

173 	int row;
175 row = 0;
176 wmove(wnd, row, 0); wclrtobot(wnd);
177 mvwaddstr(wnd, row++, INSET,
179 mvwaddstr(wnd, row++, 0, "cpu user|");
180 mvwaddstr(wnd, row++, 0, " nice|");
181 mvwaddstr(wnd, row++, 0, " system|");
182 mvwaddstr(wnd, row++, 0, "interrupt|");
183 mvwaddstr(wnd, row++, 0, " idle|");
185 row = numlabels(row + 1);
187 row = barlabels(row + 1);
191 numlabels(int row)
205 linesperregion = (getmaxy(wnd) - 1 - row - regions) / regions;
216 _col = INSET, row += linesperregion + 1;
217 if (row > getmaxy(wnd) - 1 - (linesperregion + 1))
222 mvwaddstr(wnd, row, _col + 4, tmpstr);
223 mvwaddstr(wnd, row + 1, _col, " KB/t tps MB/s ");
227 row += linesperregion + 1;
228 return (row);
232 barlabels(int row)
237 mvwaddstr(wnd, row++, INSET,
242 if (row > getmaxy(wnd) - 1 - linesperregion)
246 mvwprintw(wnd, row++, 0, "%-5.5s MB/s|",
248 mvwaddstr(wnd, row++, 0, " tps|");
250 mvwaddstr(wnd, row++, 0, " KB/t|");
252 return (row);
259 int i, row, _col;
270 row = 1;
272 stat1(row++, i);
274 row += 2;
277 if (row > getmaxy(wnd) - linesperregion)
279 row = devstats(row, INSET, i);
284 wmove(wnd, row + linesperregion, 0);
286 wmove(wnd, row + 3, 0);
291 _col = INSET, row += linesperregion + 1;
292 if (row > getmaxy(wnd) - 1 - (linesperregion + 1))
294 wmove(wnd, row + linesperregion, 0);
296 wmove(wnd, row + 3, 0);
299 (void) devstats(row + 3, _col, i);
305 devstats(int row, int _col, int dn)
324 mvwprintw(wnd, row, _col, " %5.2Lf %3.0Lf %5.2Lf ",
327 return(row);
329 wmove(wnd, row++, _col);
331 wmove(wnd, row++, _col);
334 wmove(wnd, row++, _col);
338 return(row);
343 stat1(int row, int o)
353 wmove(wnd, row, INSET);