Lines Matching refs:columns
29 -1 list one file per line -C columns (sorted vertically)
33 -x columns (horizontal sort)
231 unsigned columns, unsigned *xpos)
238 *xpos = ul % columns;
245 height = (dtlen+columns-1)/columns;
249 if (height*columns - dtlen >= height) {
250 *xpos = columns;
257 transition = widecols * columns;
259 *xpos = ul % columns;
260 return (*xpos*height) + (ul/columns);
264 *xpos = ul % (columns-1);
266 return (*xpos*height) + widecols + (ul/(columns-1));
291 *colsizes = (unsigned *)(toybuf+260), columns = (sizeof(toybuf)-260)/4;
368 // columns can't be more than toybuf can hold, or more than files,
370 if (columns > TT.screen_width/2) columns = TT.screen_width/2;
371 if (columns > dtlen) columns = dtlen;
373 // Try to fit as many columns as we can, dropping down by one each time
374 for (;columns > 1; columns--) {
375 unsigned c, totlen = columns;
377 memset(colsizes, 0, columns*sizeof(unsigned));
379 entrylen(sort[next_column(ul, dtlen, columns, &c)], len);
381 if (c == columns) break;
399 unsigned long next = next_column(ul, dtlen, columns, &curcol);
497 // Pad columns