| /vim-8.2.3635/src/ |
| H A D | cmdexpand.c | 43 expand_T *xp, in ExpandEscape() argument 137 expand_T *xp, in nextwild() argument 180 if ((p1 = addstar(xp->xp_pattern, xp->xp_pattern_len, in nextwild() 331 win_redr_status_matches(xp, xp->xp_numfiles, xp->xp_files, in ExpandOne() 345 FreeWild(xp->xp_numfiles, xp->xp_files); in ExpandOne() 361 if (ExpandFromContext(xp, str, &xp->xp_numfiles, &xp->xp_files, in ExpandOne() 380 ExpandEscape(xp, str, xp->xp_numfiles, xp->xp_files, options); in ExpandOne() 513 FreeWild(xp->xp_numfiles, xp->xp_files); in ExpandCleanup() 1870 file_str = addstar(xp->xp_pattern, xp->xp_pattern_len, xp->xp_context); in expand_cmdline() 2446 if (xp->xp_arg == NULL || xp->xp_arg[0] == '\0' || xp->xp_line == NULL) in call_user_expand_func() [all …]
|
| H A D | usercmd.c | 192 if (xp != NULL) in find_ucmd() 194 xp->xp_arg = uc->uc_compl_arg; in find_ucmd() 222 if (xp != NULL) in find_ucmd() 253 xp->xp_pattern = arg; in set_context_in_user_cmd() 261 xp->xp_context = EXPAND_USER_COMPLETE; in set_context_in_user_cmd() 262 xp->xp_pattern = p + 1; in set_context_in_user_cmd() 267 xp->xp_context = EXPAND_USER_NARGS; in set_context_in_user_cmd() 268 xp->xp_pattern = p + 1; in set_context_in_user_cmd() 274 xp->xp_pattern = p + 1; in set_context_in_user_cmd() 286 xp->xp_context = EXPAND_USER_COMMANDS; in set_context_in_user_cmd() [all …]
|
| H A D | profiler.c | 373 get_profile_name(expand_T *xp UNUSED, int idx) in get_profile_name() 389 set_context_in_profile_cmd(expand_T *xp, char_u *arg) in set_context_in_profile_cmd() argument 394 xp->xp_context = EXPAND_PROFILE; in set_context_in_profile_cmd() 396 xp->xp_pattern = arg; in set_context_in_profile_cmd() 404 xp->xp_context = EXPAND_FILES; in set_context_in_profile_cmd() 405 xp->xp_pattern = skipwhite(end_subcmd); in set_context_in_profile_cmd() 410 xp->xp_context = EXPAND_NOTHING; in set_context_in_profile_cmd()
|
| H A D | eval.c | 1815 expand_T *xp, in set_context_for_expression() argument 1832 xp->xp_pattern = p; in set_context_for_expression() 1846 c = *xp->xp_pattern; in set_context_for_expression() 1849 c = xp->xp_pattern[1]; in set_context_for_expression() 1852 ++xp->xp_pattern; in set_context_for_expression() 1859 xp->xp_pattern += 2; in set_context_for_expression() 1892 ++xp->xp_pattern; in set_context_for_expression() 1904 if (xp->xp_pattern[1] == '|') in set_context_for_expression() 1906 ++xp->xp_pattern; in set_context_for_expression() 1919 arg = xp->xp_pattern; in set_context_for_expression() [all …]
|
| H A D | sign.c | 2055 xp->xp_context = EXPAND_SIGN; in set_context_in_sign_cmd() 2057 xp->xp_pattern = arg; in set_context_in_sign_cmd() 2095 xp->xp_pattern = last; in set_context_in_sign_cmd() 2121 xp->xp_context = EXPAND_NOTHING; in set_context_in_sign_cmd() 2127 xp->xp_pattern = p + 1; in set_context_in_sign_cmd() 2135 xp->xp_context = EXPAND_FILES; in set_context_in_sign_cmd() 2137 xp->xp_context = EXPAND_NOTHING; in set_context_in_sign_cmd() 2145 xp->xp_context = EXPAND_BUFFERS; in set_context_in_sign_cmd() 2147 xp->xp_context = EXPAND_NOTHING; in set_context_in_sign_cmd() 2154 xp->xp_context = EXPAND_BUFFERS; in set_context_in_sign_cmd() [all …]
|
| H A D | option.c | 6209 expand_T *xp, in set_context_in_set_cmd() argument 6226 xp->xp_pattern = arg; in set_context_in_set_cmd() 6232 xp->xp_pattern = p + 1; in set_context_in_set_cmd() 6262 xp->xp_pattern = arg = p; in set_context_in_set_cmd() 6336 xp->xp_pattern = p + 1; in set_context_in_set_cmd() 6343 xp->xp_pattern = p + 1; in set_context_in_set_cmd() 6369 xp->xp_backslash = XP_BS_ONE; in set_context_in_set_cmd() 6382 xp->xp_backslash = XP_BS_ONE; in set_context_in_set_cmd() 6399 xp->xp_pattern = p + 1; in set_context_in_set_cmd() 6409 xp->xp_pattern = p + 5; in set_context_in_set_cmd() [all …]
|
| H A D | ex_getln.c | 912 expand_T *xp, in cmdline_wildchar_complete() argument 925 if (xp->xp_numfiles > 1 in cmdline_wildchar_complete() 929 (void)showmatches(xp, FALSE); in cmdline_wildchar_complete() 958 xp->xp_context = EXPAND_NOTHING; in cmdline_wildchar_complete() 967 if (res == OK && xp->xp_numfiles > 1) in cmdline_wildchar_complete() 992 (void)showmatches(xp, p_wmnu in cmdline_wildchar_complete() 995 (void)showmatches(xp, FALSE); in cmdline_wildchar_complete() 1008 else if (xp->xp_numfiles == -1) in cmdline_wildchar_complete() 1009 xp->xp_context = EXPAND_NOTHING; in cmdline_wildchar_complete() 1343 expand_T *xp) in cmdline_browse_history() argument [all …]
|
| H A D | screen.c | 870 status_match_len(expand_T *xp, char_u *s) in status_match_len() argument 875 int emenu = (xp->xp_context == EXPAND_MENUS in status_match_len() 876 || xp->xp_context == EXPAND_MENUNAMES); in status_match_len() 885 s += skip_status_match_char(xp, s); in status_match_len() 898 skip_status_match_char(expand_T *xp, char_u *s) in skip_status_match_char() argument 902 || ((xp->xp_context == EXPAND_MENUS in skip_status_match_char() 903 || xp->xp_context == EXPAND_MENUNAMES) in skip_status_match_char() 926 expand_T *xp, in win_redr_status_matches() argument 1035 emenu = (xp->xp_context == EXPAND_MENUS in win_redr_status_matches() 1036 || xp->xp_context == EXPAND_MENUNAMES); in win_redr_status_matches() [all …]
|
| H A D | if_cscope.c | 95 get_cscope_name(expand_T *xp UNUSED, int idx) in get_cscope_name() 157 expand_T *xp, in set_context_in_cscope_cmd() argument 164 xp->xp_context = EXPAND_CSCOPE; in set_context_in_cscope_cmd() 165 xp->xp_pattern = arg; in set_context_in_cscope_cmd() 175 xp->xp_pattern = skipwhite(p); in set_context_in_cscope_cmd() 176 if (*skiptowhite(xp->xp_pattern) != NUL) in set_context_in_cscope_cmd() 177 xp->xp_context = EXPAND_NOTHING; in set_context_in_cscope_cmd() 179 xp->xp_context = EXPAND_FILES; in set_context_in_cscope_cmd() 185 xp->xp_context = EXPAND_NOTHING; in set_context_in_cscope_cmd()
|
| H A D | highlight.c | 3917 set_context_in_highlight_cmd(expand_T *xp, char_u *arg) in set_context_in_highlight_cmd() argument 3922 xp->xp_context = EXPAND_HIGHLIGHT; in set_context_in_highlight_cmd() 3923 xp->xp_pattern = arg; in set_context_in_highlight_cmd() 3937 xp->xp_pattern = arg; in set_context_in_highlight_cmd() 3948 xp->xp_pattern = skipwhite(p); in set_context_in_highlight_cmd() 3949 p = skiptowhite(xp->xp_pattern); in set_context_in_highlight_cmd() 3952 xp->xp_pattern = skipwhite(p); in set_context_in_highlight_cmd() 3953 p = skiptowhite(xp->xp_pattern); in set_context_in_highlight_cmd() 3957 xp->xp_context = EXPAND_NOTHING; in set_context_in_highlight_cmd() 3990 get_highlight_name(expand_T *xp UNUSED, int idx) in get_highlight_name() [all …]
|
| H A D | autocmd.c | 2500 get_augroup_name(expand_T *xp UNUSED, int idx) in get_augroup_name() 2516 expand_T *xp, in set_context_in_autocmd() argument 2544 xp->xp_context = EXPAND_EVENTS; // expand event name in set_context_in_autocmd() 2545 xp->xp_pattern = arg; in set_context_in_autocmd() 2557 xp->xp_context = EXPAND_FILES; // expand file names in set_context_in_autocmd() 2559 xp->xp_context = EXPAND_NOTHING; // pattern is not expanded in set_context_in_autocmd() 2567 get_event_name(expand_T *xp UNUSED, int idx) in get_event_name()
|
| /vim-8.2.3635/src/proto/ |
| H A D | cmdexpand.pro | 2 int nextwild(expand_T *xp, int type, int options, int escape); 3 char_u *ExpandOne(expand_T *xp, char_u *str, char_u *orig, int options, int mode); 4 void ExpandInit(expand_T *xp); 5 void ExpandCleanup(expand_T *xp); 6 int showmatches(expand_T *xp, int wildmenu); 9 void set_cmd_context(expand_T *xp, char_u *str, int len, int col, int use_ccline); 10 int expand_cmdline(expand_T *xp, char_u *str, int col, int *matchcount, char_u ***matches); 12 int wildmenu_translate_key(cmdline_info_T *cclp, int key, expand_T *xp, int did_wild_list); 13 int wildmenu_process_key(cmdline_info_T *cclp, int key, expand_T *xp);
|
| H A D | usercmd.pro | 2 char_u *find_ucmd(exarg_T *eap, char_u *p, int *full, expand_T *xp, int *complp); 3 char_u *set_context_in_user_cmd(expand_T *xp, char_u *arg_in); 5 char_u *get_user_commands(expand_T *xp, int idx); 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);
|
| H A D | syntax.pro | 15 void set_context_in_echohl_cmd(expand_T *xp, char_u *arg); 16 void set_context_in_syntax_cmd(expand_T *xp, char_u *arg); 17 char_u *get_syntax_name(expand_T *xp, int idx); 24 char_u *get_syntime_arg(expand_T *xp, int idx);
|
| H A D | menu.pro | 5 char_u *set_context_in_menu_cmd(expand_T *xp, char_u *cmd, char_u *arg, int forceit); 6 char_u *get_menu_name(expand_T *xp, int idx); 7 char_u *get_menu_names(expand_T *xp, int idx);
|
| H A D | autocmd.pro | 34 char_u *get_augroup_name(expand_T *xp, int idx); 35 char_u *set_context_in_autocmd(expand_T *xp, char_u *arg, int doautocmd); 36 char_u *get_event_name(expand_T *xp, int idx);
|
| H A D | highlight.pro | 47 void set_context_in_highlight_cmd(expand_T *xp, char_u *arg); 48 char_u *get_highlight_name(expand_T *xp, int idx); 49 char_u *get_highlight_name_ext(expand_T *xp, int idx, int skip_cleared);
|
| H A D | locale.pro | 7 char_u *get_lang_arg(expand_T *xp, int idx); 8 char_u *get_locales(expand_T *xp, int idx);
|
| H A D | if_cscope.pro | 2 char_u *get_cscope_name(expand_T *xp, int idx); 3 void set_context_in_cscope_cmd(expand_T *xp, char_u *arg, cmdidx_T cmdidx);
|
| H A D | vim9execute.pro | 12 void set_context_in_disassemble_cmd(expand_T *xp, char_u *arg); 13 char_u *get_disassemble_argument(expand_T *xp, int idx);
|
| H A D | profiler.pro | 16 char_u *get_profile_name(expand_T *xp, int idx); 17 void set_context_in_profile_cmd(expand_T *xp, char_u *arg);
|
| 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);
|
| H A D | sign.pro | 20 char_u *get_sign_name(expand_T *xp, int idx); 21 void set_context_in_sign_cmd(expand_T *xp, char_u *arg);
|
| H A D | misc1.pro | 36 char_u *get_env_name(expand_T *xp, int idx); 37 char_u *get_users(expand_T *xp, int idx);
|
| H A D | option.pro | 63 void set_context_in_set_cmd(expand_T *xp, char_u *arg, int opt_flags); 64 int ExpandSettings(expand_T *xp, regmatch_T *regmatch, int *num_file, char_u ***file);
|