Lines Matching refs:matchpos
626 lpos_T matchpos; in searchit() local
768 matchpos = regmatch.startpos[0]; in searchit()
774 if (lnum + matchpos.lnum > buf->b_ml.ml_line_count) in searchit()
777 ptr = ml_get_buf(buf, lnum + matchpos.lnum, FALSE); in searchit()
794 while (matchpos.lnum == 0 in searchit()
799 : ((int)matchpos.col in searchit()
800 - (ptr[matchpos.col] == NUL) in searchit()
819 if (matchcol == matchpos.col in searchit()
831 matchcol = matchpos.col; in searchit()
845 win, buf, lnum + matchpos.lnum, in searchit()
860 matchpos = regmatch.startpos[0]; in searchit()
868 ptr = ml_get_buf(buf, lnum + matchpos.lnum, FALSE); in searchit()
907 matchpos = regmatch.startpos[0]; in searchit()
929 if (matchcol == matchpos.col in searchit()
942 if (matchpos.lnum > 0) in searchit()
944 matchcol = matchpos.col; in searchit()
956 win, buf, lnum + matchpos.lnum, in searchit()
980 ptr = ml_get_buf(buf, lnum + matchpos.lnum, FALSE); in searchit()
995 && !(matchpos.lnum == endpos.lnum in searchit()
996 && matchpos.col == endpos.col)) in searchit()
1023 end_pos->lnum = lnum + matchpos.lnum; in searchit()
1024 end_pos->col = matchpos.col; in searchit()
1029 pos->lnum = lnum + matchpos.lnum; in searchit()
1030 pos->col = matchpos.col; in searchit()
1044 search_match_lines = endpos.lnum - matchpos.lnum; in searchit()