Lines Matching defs:row
103 int row;
109 row = 0;
110 wmove(wnd, row, 0); wclrtobot(wnd);
111 mvwaddstr(wnd, row++, INSET,
113 mvwaddstr(wnd, row++, 0, " CPU user|");
114 mvwaddstr(wnd, row++, 0, " nice|");
115 mvwaddstr(wnd, row++, 0, " system|");
116 mvwaddstr(wnd, row++, 0, " interrupt|");
117 mvwaddstr(wnd, row++, 0, " idle|");
119 row = numlabels(row + 1);
121 row = barlabels(row + 1);
125 numlabels(int row)
140 linesperregion = (getmaxy(wnd) - row - regions + 1) / regions;
151 col = 0, row += linesperregion + 1;
152 if (row > getmaxy(wnd) - (linesperregion))
156 mvwprintw(wnd, row, col + 5, "%s", cur.name[i]);
159 mvwprintw(wnd, row, col + 11 + secs * 5,
161 mvwprintw(wnd, row + 1, col, " kBps %s",
170 row += linesperregion + 1;
171 return (row);
175 barlabels(int row)
179 mvwaddstr(wnd, row++, INSET,
184 if (row > getmaxy(wnd) - linesperregion)
186 mvwprintw(wnd, row++, 0, "%7.7s kBps|",
188 mvwaddstr(wnd, row++, 0, " tps|");
190 mvwprintw(wnd, row++, 0, " (write) kBps|");
191 mvwaddstr(wnd, row++, 0, " tps|");
194 mvwaddstr(wnd, row++, 0, " msec|");
198 return (row);
204 int row, col;
213 row = 1;
219 stat1(row++, i);
221 row += 2;
224 if (row > getmaxy(wnd) - linesperregion)
226 row = stats(row, INSET, i);
231 wmove(wnd, row + linesperregion, 0);
233 wmove(wnd, row + 3, 0);
238 col = 0, row += linesperregion + 1;
239 if (row > getmaxy(wnd) - (linesperregion + 1))
241 wmove(wnd, row + linesperregion, 0);
243 wmove(wnd, row + 3, 0);
246 (void) stats(row + 3, col, i);
252 stats(int row, int col, int dn)
276 mvwprintw(wnd, row, col, "%5.0f%4.0f",
283 return (row);
286 wmove(wnd, row++, col);
288 wmove(wnd, row++, col);
291 wmove(wnd, row++, col);
293 wmove(wnd, row++, col);
298 wmove(wnd, row++, col);
302 return (row);
306 stat1(int row, int o)
316 wmove(wnd, row, INSET);