Lines Matching refs:nlines
42 int nlines; member
62 ripoffs[nrips].nlines = line < 0 ? -1 : 1; in ripoffline()
79 if (line < 1 && rip->nlines < 0) in __rippedlines()
80 n += -rip->nlines; in __rippedlines()
81 else if (line > 0 && rip->nlines > 0) in __rippedlines()
82 n += rip->nlines; in __rippedlines()
96 int i, nlines, rbot, rtop; in __ripoffscreen() local
105 if (srip->nlines == 0) in __ripoffscreen()
107 nlines = srip->nlines < 0 ? -srip->nlines : srip->nlines; in __ripoffscreen()
108 w = __newwin(screen, nlines, 0, in __ripoffscreen()
109 srip->nlines < 0 ? rbot - nlines : rtop, in __ripoffscreen()
113 rip->nlines = srip->nlines; in __ripoffscreen()
116 if (srip->nlines > 0) in __ripoffscreen()
117 rtop += nlines; in __ripoffscreen()
119 rbot -= nlines; in __ripoffscreen()
127 w, nlines, srip->nlines < 0 ? "bottom" : "top"); in __ripoffscreen()
142 int rbot = screen->LINES, i, nlines, ret = OK; in __ripoffresize() local
146 if (rip->nlines == 0) in __ripoffresize()
148 nlines = rip->nlines < 0 ? -rip->nlines : rip->nlines; in __ripoffresize()
149 if (wresize(rip->win, nlines, screen->COLS) == ERR) in __ripoffresize()
151 if (rip->nlines < 0) { in __ripoffresize()
153 if (mvwin(rip->win, rbot + rip->nlines, 0) == ERR) in __ripoffresize()
156 rbot += rip->nlines; in __ripoffresize()
192 rip->nlines = 0; in __unripoffline()