Lines Matching defs:columns
386 u_int i, j, columns, rows;
395 /* How many rows and columns are wanted? */
396 rows = columns = 1;
397 while (rows * columns < n) {
399 if (rows * columns < n)
400 columns++;
404 width = (w->sx - (columns - 1)) / columns;
414 sx = ((width + 1) * columns) - 1;
436 if (n - (j * columns) == 1 || columns == 1) {
442 /* Add in the columns. */
444 for (i = 0; i < columns; i++) {
457 * Adjust the row and columns to fit the full width if
460 if (i == columns)