Home
last modified time | relevance | path

Searched refs:startp (Results 1 – 18 of 18) sorted by relevance

/vim-8.2.3635/src/proto/
H A Dregexp.pro3 char_u *skip_regexp(char_u *startp, int delim, int magic);
4 char_u *skip_regexp_err(char_u *startp, int delim, int magic);
5 char_u *skip_regexp_ex(char_u *startp, int dirc, int magic, char_u **newp, int *dropped, magic_T *m…
H A Ddiff.pro23 int diff_find_change(win_T *wp, linenr_T lnum, int *startp, int *endp);
/vim-8.2.3635/src/
H A Dmark.c310 pos_T *startp, *endp; in getmark_buf_fnum() local
373 startp = &buf->b_visual.vi_start; in getmark_buf_fnum()
375 if (((c == '<') == LT_POS(*startp, *endp) || endp->lnum == 0) in getmark_buf_fnum()
376 && startp->lnum != 0) in getmark_buf_fnum()
377 posp = startp; in getmark_buf_fnum()
684 pos_T *posp, *startp, *endp; in ex_marks() local
714 startp = &curbuf->b_visual.vi_start; in ex_marks()
716 if ((LT_POS(*startp, *endp) || endp->lnum == 0) && startp->lnum != 0) in ex_marks()
717 posp = startp; in ex_marks()
721 show_one_mark('>', arg, posp == startp ? endp : startp, NULL, TRUE); in ex_marks()
H A Dregexp.c540 char_u *startp, in skip_regexp() argument
553 char_u *startp, in skip_regexp_err() argument
557 char_u *p = skip_regexp(startp, delim, magic); in skip_regexp_err()
577 char_u *startp, in skip_regexp_ex() argument
585 char_u *p = startp; in skip_regexp_ex()
611 *newp = vim_strsave(startp); in skip_regexp_ex()
613 p = *newp + (p - startp); in skip_regexp_ex()
1849 s = rsm.sm_match->startp[i]; in fill_submatch_list()
2258 s = rex.reg_match->startp[no]; in vim_regsub_both()
2468 s = rsm.sm_match->startp[no]; in reg_submatch()
[all …]
H A Dsearch.c3364 char_u *startp = NULL; in find_pattern_in_path() local
3518 p = incl_regmatch.startp[0]; in find_pattern_in_path()
3520 - incl_regmatch.startp[0]); in find_pattern_in_path()
3659 startp = skipwhite(p); in find_pattern_in_path()
3661 matched = !MB_STRNICMP(startp, ptr, len); in find_pattern_in_path()
3663 matched = !STRNCMP(startp, ptr, len); in find_pattern_in_path()
3665 && vim_iswordc(startp[len])) in find_pattern_in_path()
3672 startp = regmatch.startp[0]; in find_pattern_in_path()
3728 aux = p = startp; in find_pattern_in_path()
3921 && *startp != NUL in find_pattern_in_path()
[all …]
H A Dquickfix.c950 if (rmp->startp[midx] == NULL) in qf_parse_fmt_n()
963 if (rmp->startp[midx] == NULL) in qf_parse_fmt_l()
965 fields->lnum = atol((char *)rmp->startp[midx]); in qf_parse_fmt_l()
976 if (rmp->startp[midx] == NULL) in qf_parse_fmt_c()
989 if (rmp->startp[midx] == NULL) in qf_parse_fmt_t()
991 fields->type = *rmp->startp[midx]; in qf_parse_fmt_t()
1050 if (rmp->startp[midx] == NULL) in qf_parse_fmt_r()
1052 *tail = rmp->startp[midx]; in qf_parse_fmt_r()
1090 if (rmp->startp[midx] == NULL) in qf_parse_fmt_v()
1133 STRNCAT(fields->module, rmp->startp[midx], len); in qf_parse_fmt_o()
[all …]
H A Dregexp.h134 char_u *startp[NSUBEXP]; member
H A Ddiff.c2389 int *startp, // first char of the change in diff_find_change() argument
2468 if (*startp > si_org) in diff_find_change()
2469 *startp = si_org; in diff_find_change()
2476 while (ei_org >= *startp && ei_new >= si_new in diff_find_change()
2486 while (ei_org >= *startp in diff_find_change()
H A Devalfunc.c7000 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()
7044 regmatch.startp[i], in find_some_match()
7045 (int)(regmatch.endp[i] - regmatch.startp[i])) 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()
[all …]
H A Dinsexpand.c1337 ptr = regmatch->startp[0]; in ins_compl_files()
1342 add_r = ins_compl_add_infercase(regmatch->startp[0], in ins_compl_files()
1343 (int)(ptr - regmatch->startp[0]), in ins_compl_files()
1377 if (wstart != regmatch->startp[0]) in ins_compl_files()
H A Deval.c6380 if (regmatch.startp[0] == regmatch.endp[0]) in do_string_sub()
6382 if (zero_width == regmatch.startp[0]) in do_string_sub()
6392 zero_width = regmatch.startp[0]; in do_string_sub()
6404 (regmatch.endp[0] - regmatch.startp[0]))) == FAIL) in do_string_sub()
6411 i = (int)(regmatch.startp[0] - tail); in do_string_sub()
H A Dregexp_bt.c4855 rex.reg_startp = rex.reg_match->startp; in bt_regexec_both()
5033 if (rex.reg_match->endp[0] < rex.reg_match->startp[0]) in bt_regexec_both()
5034 rex.reg_match->endp[0] = rex.reg_match->startp[0]; in bt_regexec_both()
H A Dindent.c973 bri = (*regmatch.endp - *regmatch.startp); in get_breakindent_win()
H A Dregexp_nfa.c7362 rex.reg_startp = rex.reg_match->startp; in nfa_regexec_both()
7462 if (rex.reg_match->endp[0] < rex.reg_match->startp[0]) in nfa_regexec_both()
7463 rex.reg_match->endp[0] = rex.reg_match->startp[0]; in nfa_regexec_both()
H A Dgui.c5399 && regmatch.startp[0] == p) in gui_do_findrepl()
5410 del_bytes((long)(regmatch.endp[0] - regmatch.startp[0]), in gui_do_findrepl()
H A Dtag.c2447 matchoff = (int)(orgpat.regmatch.startp[0] - tagp.tagname); in find_tags()
H A Dex_cmds.c520 start_col = (colnr_T)(regmatch.startp[0] - s); in ex_sort()
H A Dex_docmd.c6841 curwin->w_cursor.col = (colnr_T)(regmatch.startp[0] - p); in ex_open()