Home
last modified time | relevance | path

Searched refs:end_idx (Results 1 – 7 of 7) sorted by relevance

/vim-8.2.3635/src/
H A Dstrings.c1377 int haystack_len, end_idx; in f_strridx() local
1396 end_idx = (int)tv_get_number_chk(&argvars[2], NULL); in f_strridx()
1397 if (end_idx < 0) in f_strridx()
1401 end_idx = haystack_len; in f_strridx()
1406 lastmatch = haystack + end_idx; in f_strridx()
1413 if (rest == NULL || rest > haystack + end_idx) in f_strridx()
H A Dsyntax.c1769 int end_idx; // group ID for end pattern in syn_current_attr() local
2061 end_idx = 0; in syn_current_attr()
2077 &flags, &eoe_pos, &end_idx, cur_extmatch); in syn_current_attr()
2125 next_match_end_idx = end_idx; in syn_current_attr()
2692 int end_idx; in update_si_end() local
2708 end_idx = 0; in update_si_end()
2712 &(sip->si_flags), &end_endpos, &end_idx, sip->si_extmatch); in update_si_end()
2739 sip->si_end_idx = end_idx; in update_si_end()
2795 int *end_idx, // return: group ID for end pat. match, or 0 in find_endpos() argument
2975 *end_idx = best_idx; in find_endpos()
[all …]
H A Dmemline.c5580 int end_idx; in ml_updatechunk() local
5609 end_idx = idx + MLCS_MINL - linecnt - 1; in ml_updatechunk()
5614 end_idx = count - 1; in ml_updatechunk()
5625 for (i = end_idx; i < idx; ++i) in ml_updatechunk()
5635 size += text_end - ((dp->db_index[end_idx]) & DB_INDEX_MASK); in ml_updatechunk()
H A Dvim9compile.c5496 int end_idx = 0; in compile_expr1() local
5548 end_idx = instr->ga_len; in compile_expr1()
5571 end_idx = instr->ga_len; in compile_expr1()
5623 isn = ((isn_T *)instr->ga_data) + end_idx; in compile_expr1()
H A Dquickfix.c4618 call_qftf_func(qf_list_T *qfl, int qf_winid, long start_idx, long end_idx) in call_qftf_func() argument
4641 dict_add_number(d, "end_idx", end_idx); in call_qftf_func()
/vim-8.2.3635/src/testdir/
H A Dtest_quickfix.vim5115 for idx in range(a:info.start_idx - 1, a:info.end_idx - 1)
5169 for idx in range(a:info.start_idx - 1, a:info.end_idx - 1)
5233 …>\ map(g:Xgetlist({'id'\ :\ d.id,\ 'items'\ :\ 1}).items[d.start_idx-1:d.end_idx-1],\ 'v:val.text'…
5238 …call assert_equal("{d -> map(g:Xgetlist({'id' : d.id, 'items' : 1}).items[d.start_idx-1:d.end_idx-…
5262 \ {d -> map(g:Xgetlist({'id' : d.id, 'items' : 1}).items[d.start_idx-1:d.end_idx-1],
5292 \ 'items' : 1}).items[d.start_idx-1:d.end_idx-1],
5305 \ 'items' : 1}).items[d.start_idx-1:d.end_idx-1],
/vim-8.2.3635/runtime/doc/
H A Dquickfix.txt1977 end_idx index of the last entry for which text should be returned
1980 window for each entry from start_idx to end_idx. The function can obtain
2004 for idx in range(a:info.start_idx - 1, a:info.end_idx - 1)