Lines Matching refs:nmatch
3702 long nmatch; // number of lines in match in ex_substitute() local
3999 nmatch = vim_regexec_multi(®match, curwin, curbuf, lnum, in ex_substitute()
4001 if (nmatch) in ex_substitute()
4094 nmatch -= regmatch.startpos[0].lnum; in ex_substitute()
4157 if (nmatch > 1) in ex_substitute()
4160 nmatch = 1; in ex_substitute()
4372 if (nmatch > 1) 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()
4435 if (nmatch == 1) in ex_substitute()
4458 p1 = ml_get(sub_firstlnum + nmatch - 1); in ex_substitute()
4459 nmatch_tl += nmatch - 1; in ex_substitute()
4519 if (nmatch > 1) in ex_substitute()
4521 sub_firstlnum += nmatch - 1; in ex_substitute()
4620 || (sub_firstline[matchcol] == NUL && nmatch <= 1 in ex_substitute()
4622 nmatch = -1; in ex_substitute()
4635 || (nmatch = vim_regexec_multi(®match, curwin, in ex_substitute()
4700 if (nmatch == -1 && !lastone) in ex_substitute()
4701 nmatch = vim_regexec_multi(®match, curwin, curbuf, in ex_substitute()
4707 if (nmatch <= 0) in ex_substitute()
4712 if (nmatch == -1) in ex_substitute()