Lines Matching refs:regmatch

6857     regmatch_T	regmatch;  in find_some_match()  local
6965 regmatch.regprog = vim_regcomp(pat, RE_MAGIC + RE_STRING); in find_some_match()
6966 if (regmatch.regprog != NULL) in find_some_match()
6968 regmatch.rm_ic = p_ic; in find_some_match()
6985 match = vim_regexec_nl(&regmatch, str, (colnr_T)startcol); in find_some_match()
7000 startcol = (colnr_T)(regmatch.startp[0] in find_some_match()
7001 + (*mb_ptr2len)(regmatch.startp[0]) - str); in find_some_match()
7003 || str + startcol <= regmatch.startp[0]) in find_some_match()
7021 li1->li_tv.vval.v_string = vim_strnsave(regmatch.startp[0], in find_some_match()
7022 regmatch.endp[0] - regmatch.startp[0]); in find_some_match()
7024 (varnumber_T)(regmatch.startp[0] - expr); in find_some_match()
7026 (varnumber_T)(regmatch.endp[0] - expr); in find_some_match()
7037 if (regmatch.endp[i] == NULL) in find_some_match()
7044 regmatch.startp[i], in find_some_match()
7045 (int)(regmatch.endp[i] - regmatch.startp[i])) in find_some_match()
7056 rettv->vval.v_string = vim_strnsave(regmatch.startp[0], in find_some_match()
7057 regmatch.endp[0] - regmatch.startp[0]); in find_some_match()
7065 (varnumber_T)(regmatch.startp[0] - str); in find_some_match()
7068 (varnumber_T)(regmatch.endp[0] - str); in find_some_match()
7072 vim_regfree(regmatch.regprog); in find_some_match()
9427 regmatch_T regmatch; in f_split() local
9463 regmatch.regprog = vim_regcomp(pat, RE_MAGIC + RE_STRING); in f_split()
9464 if (regmatch.regprog != NULL) in f_split()
9466 regmatch.rm_ic = FALSE; in f_split()
9472 match = vim_regexec_nl(&regmatch, str, col); in f_split()
9474 end = regmatch.startp[0]; in f_split()
9478 && *str != NUL && match && end < regmatch.endp[0])) in f_split()
9487 if (regmatch.endp[0] > str) in f_split()
9491 col = (*mb_ptr2len)(regmatch.endp[0]); in f_split()
9492 str = regmatch.endp[0]; in f_split()
9495 vim_regfree(regmatch.regprog); in f_split()