Lines Matching defs:dtlen
242 static unsigned long next_column(unsigned long ul, unsigned long dtlen,
257 height = (dtlen+columns-1)/columns;
261 if (height*columns - dtlen >= height) {
267 widecols = dtlen % height;
310 unsigned long dtlen, ul = 0;
347 for (sort = 0;;sort = xmalloc(dtlen*sizeof(void *))) {
348 for (dtlen = 0, dt = indir->child; dt; dt = dt->next, dtlen++)
349 if (sort) sort[dtlen] = dt;
350 if (sort || !dtlen) break;
367 qsort(sort, dtlen, sizeof(void *), (void *)compare);
368 for (ul = 0; ul<dtlen; ul++) {
387 if (columns > dtlen) columns = dtlen;
394 for (ul=0; ul<dtlen; ul++) {
395 entrylen(sort[next_column(ul, dtlen, columns, &c)], len);
407 if (ul == dtlen) break;
413 for (ul = 0; ul<dtlen; ul++) {
416 unsigned long next = next_column(ul, dtlen, columns, &curcol);
543 for (ul = 0; ul<dtlen; free(sort[ul++])) {