Lines Matching refs:b_ml

69     for ( ; lnum <= wp->w_buffer->b_ml.ml_line_count; ++lnum)  in comp_botline()
273 if (lnum >= curbuf->b_ml.ml_line_count || n >= halfheight) in update_topline()
317 if (curwin->w_botline <= curbuf->b_ml.ml_line_count) in update_topline()
547 if (wp->w_botline > wp->w_buffer->b_ml.ml_line_count + 1) in set_topline()
548 wp->w_botline = wp->w_buffer->b_ml.ml_line_count + 1; in set_topline()
1456 if (lnum >= curbuf->b_ml.ml_line_count) in scrollup()
1475 if (curwin->w_topline > curbuf->b_ml.ml_line_count) in scrollup()
1476 curwin->w_topline = curbuf->b_ml.ml_line_count; in scrollup()
1477 if (curwin->w_botline > curbuf->b_ml.ml_line_count + 1) in scrollup()
1478 curwin->w_botline = curbuf->b_ml.ml_line_count + 1; in scrollup()
1628 if (curwin->w_topline == curbuf->b_ml.ml_line_count in scrollup_clamp()
1730 if (lp->lnum > curbuf->b_ml.ml_line_count) in botline_forw()
1846 if (extra + i <= off && bot < curbuf->b_ml.ml_line_count) in scroll_cursor_top()
1928 if (wp->w_botline <= wp->w_buffer->b_ml.ml_line_count) in set_empty_rows()
2048 || boff.lnum + 1 > curbuf->b_ml.ml_line_count) in scroll_cursor_bot()
2082 if (boff.lnum < curbuf->b_ml.ml_line_count) in scroll_cursor_bot()
2200 if (boff.lnum < curbuf->b_ml.ml_line_count) in scroll_cursor_halfway()
2283 if (curwin->w_botline == curbuf->b_ml.ml_line_count + 1 in cursor_correct()
2358 if (cln > botline && curwin->w_botline <= curbuf->b_ml.ml_line_count) in cursor_correct()
2384 if (curbuf->b_ml.ml_line_count == 1) // nothing to do in onepage()
2400 ? ((curwin->w_topline >= curbuf->b_ml.ml_line_count - so) in onepage()
2401 && curwin->w_botline > curbuf->b_ml.ml_line_count) in onepage()
2426 if (curwin->w_topline > curbuf->b_ml.ml_line_count) in onepage()
2427 curwin->w_topline = curbuf->b_ml.ml_line_count; in onepage()
2430 else if (curwin->w_botline > curbuf->b_ml.ml_line_count) in onepage()
2433 curwin->w_topline = curbuf->b_ml.ml_line_count; in onepage()
2479 if (curwin->w_cursor.lnum > curbuf->b_ml.ml_line_count) in onepage()
2480 curwin->w_cursor.lnum = curbuf->b_ml.ml_line_count; in onepage()
2494 if (loff.lnum >= curbuf->b_ml.ml_line_count) in onepage()
2496 loff.lnum = curbuf->b_ml.ml_line_count; in onepage()
2601 && old_topline < curbuf->b_ml.ml_line_count) in onepage()
2610 else if (curwin->w_botline > curbuf->b_ml.ml_line_count) in onepage()
2714 while (n > 0 && curwin->w_botline <= curbuf->b_ml.ml_line_count) in halfpage()
2738 if (curwin->w_cursor.lnum < curbuf->b_ml.ml_line_count) in halfpage()
2770 } while (curwin->w_botline <= curbuf->b_ml.ml_line_count); in halfpage()
2783 && curwin->w_cursor.lnum < curbuf->b_ml.ml_line_count) in halfpage()