Lines Matching defs:nrows
89 int nrows;
396 lastrow = (lp->nrows) * (lp->ncols + 2);
414 if (row == lp->nrows) {
453 lastrow = (lp->nrows) * (lp->ncols + 2);
472 if (row == lp->nrows) {
561 lp->nrows = 32;
564 lp->nrows = min(lp->height / icon_height, MAXROWS);
567 lp->ys = lp->height / lp->nrows;
569 lp->yb = (lp->height - lp->ys * lp->nrows) / 2;
579 row += lp->nrows / 2;
602 bcopy(loc + ((lp->nrows - 1) * (lp->ncols + 2)), lastloc, lp->ncols);
604 for (row = 0; row < lp->nrows; ++row) {
607 *temploc = (row == (lp->nrows - 3)) ?
646 int vsp = random() % (lp->nrows - 5) + 3;
649 if (vsp > lp->nrows / 2)