Lines Matching refs:used
1785 int used; in scroll_cursor_top() local
1807 used = curwin->w_cline_height; // includes filler lines above in scroll_cursor_top()
1809 scrolled = used; in scroll_cursor_top()
1845 used += i; in scroll_cursor_top()
1851 ++used; in scroll_cursor_top()
1854 used += plines(bot); in scroll_cursor_top()
1856 if (used > curwin->w_height) in scroll_cursor_top()
1879 if (used > curwin->w_height) in scroll_cursor_top()
1917 set_empty_rows(win_T *wp, int used) in set_empty_rows() argument
1922 if (used == 0) in set_empty_rows()
1926 wp->w_empty_rows = wp->w_height - used; in set_empty_rows()
1952 int used; in scroll_cursor_bot() local
1973 used = 0; in scroll_cursor_bot()
1984 if (loff.height == MAXCOL || used + loff.height > curwin->w_height) in scroll_cursor_bot()
1986 used += loff.height; in scroll_cursor_bot()
1991 set_empty_rows(curwin, used); in scroll_cursor_bot()
2005 used = plines_nofill(cln); in scroll_cursor_bot()
2008 used = curwin->w_cline_height; in scroll_cursor_bot()
2016 scrolled = used; in scroll_cursor_bot()
2060 used = MAXCOL; in scroll_cursor_bot()
2062 used += loff.height; in scroll_cursor_bot()
2063 if (used > curwin->w_height) in scroll_cursor_bot()
2086 used += boff.height; in scroll_cursor_bot()
2087 if (used > curwin->w_height) in scroll_cursor_bot()
2117 else if (used > curwin->w_height) in scroll_cursor_bot()
2118 line_count = used; in scroll_cursor_bot()
2173 int used; in scroll_cursor_halfway() local
2189 used = plines_nofill(loff.lnum); in scroll_cursor_halfway()
2193 used = plines(loff.lnum); in scroll_cursor_halfway()
2203 used += boff.height; in scroll_cursor_halfway()
2204 if (used > curwin->w_height) in scroll_cursor_halfway()
2212 ++used; in scroll_cursor_halfway()
2220 used = MAXCOL; in scroll_cursor_halfway()
2222 used += loff.height; in scroll_cursor_halfway()
2223 if (used > curwin->w_height) in scroll_cursor_halfway()