Lines Matching refs:b_ml

743     last_line = curbuf->b_ml.ml_line_count;  in do_move()
804 last_line = curbuf->b_ml.ml_line_count; in do_move()
1193 read_linecount = curbuf->b_ml.ml_line_count; in do_filter()
1240 read_linecount = curbuf->b_ml.ml_line_count - read_linecount; in do_filter()
1850 eap->line2 = curbuf->b_ml.ml_line_count; in ex_write()
1940 if (alt_buf != NULL && alt_buf->b_ml.ml_mfp != NULL) in do_write()
1973 || eap->line2 != curbuf->b_ml.ml_line_count) in do_write()
2222 eap->line2 = curbuf->b_ml.ml_line_count; in ex_wnext()
2701 if (buf->b_ml.ml_mfp == NULL) // no memfile yet in do_ecmd()
2936 && (p_ur < 0 || curbuf->b_ml.ml_line_count <= p_ur)) in do_ecmd()
2940 if (u_savecommon(0, curbuf->b_ml.ml_line_count + 1, 0, TRUE) in do_ecmd()
3138 curwin->w_cursor.lnum = curbuf->b_ml.ml_line_count; in do_ecmd()
3263 int empty = (curbuf->b_ml.ml_flags & ML_EMPTY); in ex_append()
3386 curbuf->b_op_start.lnum = (eap->line2 < curbuf->b_ml.ml_line_count) ? in ex_append()
3387 eap->line2 + 1 : curbuf->b_ml.ml_line_count; in ex_append()
3424 if (curbuf->b_ml.ml_flags & ML_EMPTY) // nothing to delete in ex_change()
3480 if (bigness > 2 * curbuf->b_ml.ml_line_count || bigness < 0) in ex_z()
3481 bigness = 2 * curbuf->b_ml.ml_line_count; in ex_z()
3535 if (end > curbuf->b_ml.ml_line_count) in ex_z()
3536 end = curbuf->b_ml.ml_line_count; in ex_z()
3538 if (curs > curbuf->b_ml.ml_line_count) in ex_z()
3539 curs = curbuf->b_ml.ml_line_count; in ex_z()
3700 linenr_T old_line_count = curbuf->b_ml.ml_line_count; in ex_substitute()
3832 if (eap->line2 < curbuf->b_ml.ml_line_count) in ex_substitute()
3938 if (eap->line2 > curbuf->b_ml.ml_line_count) in ex_substitute()
3939 eap->line2 = curbuf->b_ml.ml_line_count; in ex_substitute()
4100 if (lnum > curbuf->b_ml.ml_line_count) in ex_substitute()
4422 if (nmatch > curbuf->b_ml.ml_line_count - sub_firstlnum + 1) in ex_substitute()
4424 nmatch = curbuf->b_ml.ml_line_count - sub_firstlnum + 1; in ex_substitute()
4735 i = curbuf->b_ml.ml_line_count - old_line_count; in ex_substitute()
4897 || eap->line2 != curbuf->b_ml.ml_line_count)) in ex_global()
5041 old_lcount = curbuf->b_ml.ml_line_count; in global_exe()
5068 msgmore(curbuf->b_ml.ml_line_count - old_lcount); in global_exe()