Searched refs:endpos (Results 1 – 12 of 12) sorted by relevance
398 shl->rm.endpos[0].lnum = 0; in next_search_hl_pos()399 shl->rm.endpos[0].col = end; in next_search_hl_pos()469 || (shl->rm.endpos[0].lnum == 0 in next_search_hl()488 matchcol = shl->rm.endpos[0].col; in next_search_hl()539 || shl->rm.endpos[0].col > mincol) in next_search_hl()605 + shl->rm.endpos[0].lnum in prepare_search_hl()607 n = shl->rm.endpos[0].col; in prepare_search_hl()674 if (lnum == shl->lnum + shl->rm.endpos[0].lnum in prepare_search_hl_line()676 shl->endcol = shl->rm.endpos[0].col; in prepare_search_hl_line()785 if (shl->rm.endpos[0].lnum == 0) in update_search_hl()[all …]
625 lpos_T endpos; in searchit() local769 endpos = regmatch.endpos[0]; in searchit()797 && (int)endpos.col - 1 in searchit()817 matchcol = endpos.col; in searchit()861 endpos = regmatch.endpos[0]; in searchit()908 endpos = regmatch.endpos[0]; in searchit()927 matchcol = endpos.col; in searchit()1001 pos->col = endpos.col; in searchit()1002 if (endpos.col == 0) in searchit()1940 if (lnum == endpos->lnum && (colnr_T)(p - line) >= endpos->col) in find_rawstring_end()[all …]
2249 if (rex.reg_mmatch->endpos[no].lnum == clnum) in vim_regsub_both()2250 len = rex.reg_mmatch->endpos[no].col in vim_regsub_both()2272 if (rex.reg_mmatch->endpos[no].lnum == clnum) in vim_regsub_both()2279 len = rex.reg_mmatch->endpos[no].col; in vim_regsub_both()2418 if (rsm.sm_mmatch->endpos[no].lnum == lnum) in reg_submatch()2421 len = rsm.sm_mmatch->endpos[no].col in reg_submatch()2439 while (lnum < rsm.sm_mmatch->endpos[no].lnum) in reg_submatch()2451 rsm.sm_mmatch->endpos[no].col); in reg_submatch()2452 len += rsm.sm_mmatch->endpos[no].col; in reg_submatch()2503 elnum = rsm.sm_mmatch->endpos[no].lnum; in reg_submatch_list()[all …]
2038 endpos.lnum = regmatch.endpos[0].lnum; in syn_current_attr()2039 endpos.col = regmatch.endpos[0].col; in syn_current_attr()2075 startpos = endpos; in syn_current_attr()2078 if (endpos.lnum == 0) in syn_current_attr()2689 lpos_T endpos; in update_si_end() local2714 if (endpos.lnum == 0) in update_si_end()2735 sip->si_m_endpos = endpos; in update_si_end()2888 best_regmatch.endpos[0] = regmatch.endpos[0]; in find_endpos()3072 col = regmatch->endpos[0].col; in syn_add_end_off()3118 col = regmatch->endpos[0].col; in syn_add_start_off()[all …]
151 lpos_T endpos[NSUBEXP]; member
4124 && regmatch.endpos[0].lnum == 0 in ex_substitute()4125 && matchcol == regmatch.endpos[0].col) in ex_substitute()4144 matchcol = regmatch.endpos[0].col; in ex_substitute()4205 curwin->w_cursor.col = regmatch.endpos[0].col - 1; in ex_substitute()4277 search_match_lines = regmatch.endpos[0].lnum in ex_substitute()4279 search_match_endcol = regmatch.endpos[0].col in ex_substitute()4441 int bytes_added = sublen - 1 - (regmatch.endpos[0].col in ex_substitute()4463 - regmatch.endpos[0].col) + sublen + 1; in ex_substitute()4532 copycol = regmatch.endpos[0].col; in ex_substitute()
5297 save_se_T endpos; in recursive_regmatch() local5318 endposp = &endpos; in recursive_regmatch()5323 endpos.se_u.pos.col = (int)(rex.input - rex.line); in recursive_regmatch()5324 endpos.se_u.pos.lnum = rex.lnum; in recursive_regmatch()5327 endpos.se_u.pos = pim->end.pos; in recursive_regmatch()5332 endpos.se_u.ptr = rex.input; in recursive_regmatch()5334 endpos.se_u.ptr = pim->end.ptr; in recursive_regmatch()7357 rex.reg_endpos = rex.reg_mmatch->endpos; in nfa_regexec_both()7454 lpos_T *end = &rex.reg_mmatch->endpos[0]; in nfa_regexec_both()7458 rex.reg_mmatch->endpos[0] = rex.reg_mmatch->startpos[0]; in nfa_regexec_both()
2497 pos_T endpos; in do_addsub() local2683 endpos = curwin->w_cursor; in do_addsub()2893 endpos = curwin->w_cursor; in do_addsub()2902 curbuf->b_op_end = endpos; in do_addsub()
5961 regmatch->endpos[0].lnum + lnum, in vgr_match_buflines()5963 regmatch->endpos[0].col + 1, in vgr_match_buflines()5978 || regmatch->endpos[0].lnum > 0) in vgr_match_buflines()5980 col = regmatch->endpos[0].col in vgr_match_buflines()5981 + (col == regmatch->endpos[0].col); in vgr_match_buflines()
4850 rex.reg_endpos = rex.reg_mmatch->endpos; in bt_regexec_both()5025 lpos_T *end = &rex.reg_mmatch->endpos[0]; in bt_regexec_both()5029 rex.reg_mmatch->endpos[0] = rex.reg_mmatch->startpos[0]; in bt_regexec_both()
69 \ audio-delay audio-preload endpos ffourcc
6949 Solution: Move the conditions. Don't use endpos if handling an error.