| /vim-8.2.3635/src/ |
| H A D | typval.c | 362 if (idx >= 0) in check_for_string_arg() 405 if (idx >= 0) in check_for_number_arg() 432 if (idx >= 0) in check_for_float_or_nr_arg() 452 if (idx >= 0) in check_for_bool_arg() 481 if (idx >= 0) in check_for_blob_arg() 498 if (idx >= 0) in check_for_list_arg() 525 if (idx >= 0) in check_for_dict_arg() 552 if (idx >= 0) in check_for_chan_or_job_arg() 580 if (idx >= 0) in check_for_job_arg() 608 if (idx >= 0) in check_for_string_or_number_arg() [all …]
|
| H A D | highlight.c | 687 int idx; in highlight_reset_all() local 736 for (idx = 0; idx < highlight_ga.ga_len; ++idx) in highlight_reset_all() 828 int idx, in highlight_set_font() argument 1000 int idx, in highlight_set_cterm_color() argument 1106 int idx, in highlight_set_guifg() argument 1175 int idx, in highlight_set_guibg() argument 1382 int idx; in do_highlight() local 1935 int idx; in set_normal_colors() local 1972 int idx; in set_group_colors() local 3608 for (idx = 0; idx < highlight_ga.ga_len; ++idx) in highlight_gui_started() [all …]
|
| H A D | ex_eval.c | 1301 int idx; in ex_continue() local 1339 int idx; in ex_break() local 1366 int idx; in ex_endwhile() local 1406 for (idx = cstack->cs_idx; idx > 0; --idx) in ex_endwhile() 1525 int idx; in do_throw() local 1707 for (idx = cstack->cs_idx; idx > 0; --idx) in ex_catch() 1850 int idx; in ex_finally() local 1865 for (idx = cstack->cs_idx - 1; idx > 0; --idx) in ex_finally() 1980 int idx; in ex_endtry() local 2015 --idx; in ex_endtry() [all …]
|
| H A D | dosinst.c | 160 int idx; in get_choice() local 165 for (idx = 0; idx < entries; ++idx) in get_choice() 167 if (idx) in get_choice() 168 printf("%2d ", idx); in get_choice() 169 puts(table[idx]); in get_choice() 924 free(choices[idx].text); in alloc_text() 1173 install_vimrc(int idx) in install_vimrc() argument 1985 if (choices[idx].arg) in install_shortcut_gvim() 1996 if (choices[idx].arg) in install_shortcut_evim() 2028 choices[idx].arg = 0; in toggle_shortcut_choice() [all …]
|
| H A D | blob.c | 122 blob_get(blob_T *b, int idx) in blob_get() argument 148 if (idx < gap->ga_len in blob_set_append() 151 blob_set(blob, idx, byte); in blob_set_append() 152 if (idx == gap->ga_len) in blob_set_append() 419 long idx; in blob_remove() local 431 if (idx < 0) in blob_remove() 433 idx = len + idx; in blob_remove() 434 if (idx < 0 || idx >= len) in blob_remove() 436 semsg(_(e_blobidx), idx); in blob_remove() 444 mch_memmove(p + idx, p + idx + 1, (size_t)len - idx - 1); in blob_remove() [all …]
|
| H A D | cmdhist.c | 413 idx = calc_hist_idx(histype, idx); in get_history_entry() 414 if (idx >= 0) in get_history_entry() 455 int idx; in del_history_entry() local 470 i = last = idx; in del_history_entry() 494 } while (i != idx); in del_history_entry() 522 while (i != idx) in del_history_idx() 608 int idx; in f_histget() local 697 int idx; in ex_history() local 748 idx = hisidx[histype1]; in ex_history() 756 if (idx >= 0 && j <= k) in ex_history() [all …]
|
| H A D | diff.c | 203 int idx; in diff_buf_idx() local 205 for (idx = 0; idx < DB_COUNT; ++idx) in diff_buf_idx() 218 int idx; in diff_buf_idx_tp() local 220 for (idx = 0; idx < DB_COUNT; ++idx) in diff_buf_idx_tp() 258 int idx; in diff_mark_adjust() local 352 - (dprev->df_lnum[idx] + dprev->df_count[idx]); in diff_mark_adjust_tp() 373 last = dp->df_lnum[idx] + dp->df_count[idx] - 1; in diff_mark_adjust_tp() 920 for (idx = 0; idx < DB_COUNT; ++idx) in diff_internal_failed() 1896 if (lnum <= dp->df_lnum[idx] + dp->df_count[idx]) in diff_check() 2418 if (lnum <= dp->df_lnum[idx] + dp->df_count[idx]) in diff_find_change() [all …]
|
| H A D | vim9script.c | 309 int idx; in free_imports_and_script_vars() local 311 for (idx = 0; idx < si->sn_imports.ga_len; ++idx) in free_imports_and_script_vars() 332 int idx; in mark_imports_for_reload() local 334 for (idx = 0; idx < si->sn_imports.ga_len; ++idx) in mark_imports_for_reload() 566 int idx; in handle_import() local 616 if (idx >= 0) in handle_import() 687 if (idx >= 0) in find_exported() 736 return idx; in find_exported() 983 for (idx = si->sn_var_vals.ga_len - 1; idx >= 0; --idx) in find_typval_in_script() 1045 int idx; in check_reserved_name() local [all …]
|
| H A D | syntax.c | 606 int idx; in syn_sync() local 2225 for (idx = current_state.ga_len - 1; idx >= 0; --idx) in syn_current_attr() 2833 ++idx; in find_endpos() 2842 ++idx; in find_endpos() 2864 for (idx = start_idx; idx < syn_block->b_syn_patterns.ga_len; ++idx) in find_endpos() 4031 for (idx = 0; idx < curwin->w_s->b_syn_patterns.ga_len && !got_int; ++idx) in syn_list_one() 4054 --idx; in syn_list_one() 5690 for (idx = SPO_COUNT; --idx >= 0; ) in get_syn_pattern() 6661 for (idx = 0; idx < curwin->w_s->b_syn_patterns.ga_len; ++idx) in syntime_clear() 6730 for (idx = 0; idx < curwin->w_s->b_syn_patterns.ga_len; ++idx) in syntime_report() [all …]
|
| H A D | vim9execute.c | 135 for (idx = 0; idx < count; ++idx) in exe_newlist() 384 for (idx = 0; idx < arg_to_add; ++idx) in call_dfunc() 554 for (idx = 0; idx < argcount; ++idx) in handle_closure_in_use() 589 for (idx = 0; idx < closure_count; ++idx) in handle_closure_in_use() 767 for (idx = 0; idx < argcount; ++idx) in call_prepare() 815 for (idx = 0; idx < argcount; ++idx) in call_bfunc() 888 for (idx = 0; idx < argcount; ++idx) in call_ufunc() 1953 for (idx = 0; idx < count; ++idx) in exec_instructions() 1984 for (idx = 0; idx < count; ++idx) in exec_instructions() 3018 for (idx = 0; idx < count; ++idx) in exec_instructions() [all …]
|
| H A D | drawscreen.c | 857 int idx; in text_to_screenline() local 867 idx = off; in text_to_screenline() 1130 int idx; in fold_line() local 1790 for (idx = wp->w_lines_valid; idx - j >= 0; idx--) in win_update() 1791 wp->w_lines[idx] = wp->w_lines[idx - j]; in win_update() 1860 idx = 0; in win_update() 2102 idx = 0; in win_update() 2114 ++idx; in win_update() 2124 for ( ; idx < wp->w_lines_valid; ++idx) // find end in win_update() 2489 ++idx; in win_update() [all …]
|
| H A D | viminfo.c | 628 for (idx = 0; idx < viminfo_hisidx[type]; ++idx) in handle_viminfo_history() 695 idx = 0; in concat_history() 697 if (idx != *hisidx && --idx < 0) in concat_history() 2187 fm = idx >= 0 ? &curwin->w_jumplist[idx] : NULL; in write_viminfo_filemarks() 2198 --idx; in write_viminfo_filemarks() 2629 for (idx = curwin->w_jumplistlen - 1; idx >= 0; --idx) in handle_viminfo_mark() 2632 ++idx; in handle_viminfo_mark() 2642 idx = 0; in handle_viminfo_mark() 2644 idx = -1; in handle_viminfo_mark() 2674 int idx; in handle_viminfo_mark() local [all …]
|
| H A D | misc2.c | 129 int idx; in coladvance2() local 203 idx -= 1; in coladvance2() 239 idx += correct; in coladvance2() 260 if (t != idx) in coladvance2() 277 if (idx < 0) in coladvance2() 280 pos->col = idx; in coladvance2() 1155 int i, idx; in get_special_key_name() local 1160 idx = 1; in get_special_key_name() 1234 idx += (*mb_char2bytes)(c, string + idx); in get_special_key_name() 2093 for (idx = 0; idx < SHAPE_IDX_COUNT; ++idx) in parse_shape_opt() [all …]
|
| H A D | menu.c | 477 int idx; in add_menu_path() local 525 idx = 0; in add_menu_path() 558 ++idx; in add_menu_path() 713 ++idx; in add_menu_path() 1762 int idx; in get_menu_index() local 2056 ++idx; in gui_create_initial_menus() 2389 exec_normal_cmd(menu->strings[idx], menu->noremap[idx], in execute_menu() 2395 ins_typebuf(menu->strings[idx], menu->noremap[idx], 0, in execute_menu() 2402 switch (idx) in execute_menu() 2531 int idx; in winbar_click() local [all …]
|
| H A D | memline.c | 483 int idx; in ml_set_crypt_key() local 576 ++idx; in ml_set_crypt_key() 593 idx = 0; in ml_set_crypt_key() 1168 int idx; in ml_recover() local 1697 for (idx = 1; idx <= lnum; ++idx) in ml_recover() 2644 int idx; in ml_get_buf() local 3517 int idx; in adjust_text_props_for_delete() local 3611 int idx; in ml_delete_int() local 4253 for (idx = 0; idx < (int)pp->pb_count; ++idx) in ml_find_line() 4373 for (idx = buf->b_ml.ml_stack_top - 1; idx >= 0; --idx) in ml_lineadd() [all …]
|
| H A D | hardcopy.c | 193 for (idx = 0; idx < table_size; ++idx) in parse_list_options() 195 old_opts[idx] = table[idx]; in parse_list_options() 217 for (idx = 0; idx < table_size; ++idx) in parse_list_options() 251 for (idx = 0; idx < table_size; ++idx) in parse_list_options() 252 table[idx] = old_opts[idx]; in parse_list_options() 1713 int idx; in prt_resfile_next_line() local 1721 idx++; in prt_resfile_next_line() 1729 idx++; in prt_resfile_next_line() 1750 int idx; in prt_resfile_skip_nonws() local 1757 idx++; in prt_resfile_skip_nonws() [all …]
|
| H A D | create_cmdidxs.vim | 14 let idx = 0 variable 15 while idx < len(lines) 16 let line = lines[idx] 25 let idx += 1 variable 26 let flags = lines[idx] 27 let idx += 1 variable 28 let addr_type = lines[idx] 32 echoerr 'ex_cmds.h:' .. (idx - 1) .. ': Using EX_RANGE with ADDR_NONE: ' .. line 36 echoerr 'ex_cmds.h:' .. (idx - 1) .. ': Missing ADDR_NONE: ' .. line 41 echoerr 'ex_cmds.h:' .. (idx - 1) .. ': Missing misplaced EX_DFLALL: ' .. line [all …]
|
| H A D | list.c | 402 long idx; in list_find() local 459 ++idx; in list_find() 465 --idx; in list_find() 566 idx = 0; in list_idx_of_item() 568 ++idx; in list_idx_of_item() 870 ++idx; in list_assign_range() 908 ++idx; in list_assign_range() 1901 res = si1->idx > si2->idx ? 1 : -1; in item_compare() 1962 res = si1->idx > si2->idx ? 1 : -1; in item_compare2() 2480 ++idx; in filter_map() [all …]
|
| H A D | popupmenu.c | 408 int idx; in pum_redraw() local 449 idx = i + pum_first; in pum_redraw() 1372 int idx; in ui_post_balloon() local 1379 for (idx = 0, li = list->lv_first; li != NULL; li = li->li_next, ++idx) in ui_post_balloon() 1426 if (idx < 0 || idx >= pum_size) in pum_select_mouse_pos() 1429 pum_selected = idx; in pum_select_mouse_pos() 1439 int idx = 0; in pum_execute_menu() local 1459 int idx = 0; in pum_show_popupmenu() local 1500 array[idx++].pum_text = s; in pum_show_popupmenu() 1583 for (idx = 0; idx < pum_size; ++idx) in pum_show_popupmenu() [all …]
|
| /vim-8.2.3635/src/proto/ |
| H A D | typval.pro | 12 int check_for_string_arg(typval_T *args, int idx); 15 int check_for_number_arg(typval_T *args, int idx); 18 int check_for_bool_arg(typval_T *args, int idx); 19 int check_for_opt_bool_arg(typval_T *args, int idx); 20 int check_for_blob_arg(typval_T *args, int idx); 21 int check_for_list_arg(typval_T *args, int idx); 23 int check_for_dict_arg(typval_T *args, int idx); 27 int check_for_job_arg(typval_T *args, int idx); 28 int check_for_opt_job_arg(typval_T *args, int idx); 30 int check_for_buffer_arg(typval_T *args, int idx); [all …]
|
| H A D | evalfunc.pro | 3 char_u *get_function_name(expand_T *xp, int idx); 4 char_u *get_expr_name(expand_T *xp, int idx); 7 char *internal_func_name(int idx); 8 int internal_func_check_arg_types(type_T **types, int idx, int argcount, cctx_T *cctx); 9 void internal_func_get_argcount(int idx, int *argcount, int *min_argcount); 10 type_T *internal_func_ret_type(int idx, int argcount, type_T **argtypes); 11 int internal_func_is_map(int idx); 12 int check_internal_func(int idx, int argcount); 14 void call_internal_func_by_idx(int idx, typval_T *argvars, typval_T *rettv); 18 win_T *get_optional_window(typval_T *argvars, int idx);
|
| H A D | evalvars.pro | 14 void prepare_vimvar(int idx, typval_T *save_tv); 15 void restore_vimvar(int idx, typval_T *save_tv); 39 char *get_vim_var_name(int idx); 40 typval_T *get_vim_var_tv(int idx); 41 int set_vim_var_tv(int idx, typval_T *tv); 42 varnumber_T get_vim_var_nr(int idx); 43 char_u *get_vim_var_str(int idx); 44 list_T *get_vim_var_list(int idx); 45 dict_T *get_vim_var_dict(int idx); 51 void set_vim_var_list(int idx, list_T *val); [all …]
|
| H A D | usercmd.pro | 4 char_u *expand_user_command_name(int idx); 5 char_u *get_user_commands(expand_T *xp, int idx); 6 char_u *get_user_command_name(int idx, int cmdidx); 7 char_u *get_user_cmd_addr_type(expand_T *xp, int idx); 8 char_u *get_user_cmd_flags(expand_T *xp, int idx); 9 char_u *get_user_cmd_nargs(expand_T *xp, int idx); 10 char_u *get_user_cmd_complete(expand_T *xp, int idx);
|
| /vim-8.2.3635/src/libvterm/t/ |
| H A D | 64screen_pen.test | 32 ?screen_cell 0,6 = {0x47} width=1 attrs={} fg=idx(1) bg=rgb(0,0,0) 36 ?screen_cell 0,7 = {0x48} width=1 attrs={} fg=rgb(240,240,240) bg=idx(2) 40 ?screen_cell 0,0 = {} width=1 attrs={R} fg=idx(3) bg=idx(4) 41 ?screen_cell 0,79 = {} width=1 attrs={R} fg=idx(3) bg=idx(4) 45 ?screen_cell 0,0 = {} width=1 attrs={} fg=idx(3) bg=idx(4) 46 ?screen_cell 0,79 = {} width=1 attrs={} fg=idx(3) bg=idx(4) 51 ?screen_cell 0,0 = {} width=1 attrs={R} fg=idx(3) bg=idx(4) 52 ?screen_cell 0,79 = {} width=1 attrs={R} fg=idx(3) bg=idx(4)
|
| H A D | 30state_pen.test | 78 ?pen foreground = idx(1) 80 ?pen foreground = idx(2) 82 ?pen foreground = idx(4) 84 ?pen foreground = idx(9) 88 ?pen foreground = idx(1) 94 ?pen background = idx(1) 96 ?pen background = idx(2) 98 ?pen background = idx(4) 100 ?pen background = idx(9) 104 ?pen background = idx(1) [all …]
|