Lines Matching refs:str
44 char_u *str, in ExpandEscape() argument
56 tilde_replace(str, numfiles, files); in ExpandEscape()
102 if (str[0] == '\\' && str[1] == '~' && files[i][0] == '~') in ExpandEscape()
286 char_u *str, in ExpandOne() argument
361 if (ExpandFromContext(xp, str, &xp->xp_numfiles, &xp->xp_files, in ExpandOne()
369 semsg(_(e_nomatch2), str); in ExpandOne()
375 semsg(_(e_nomatch2), str); in ExpandOne()
380 ExpandEscape(xp, str, xp->xp_numfiles, xp->xp_files, options); in ExpandOne()
1792 char_u *str, // start of command line in set_cmd_context() argument
1806 old_char = str[col]; in set_cmd_context()
1807 str[col] = NUL; in set_cmd_context()
1808 nextcomm = str; in set_cmd_context()
1814 set_context_for_expression(xp, str, CMD_SIZE); in set_cmd_context()
1829 xp->xp_line = str; in set_cmd_context()
1832 str[col] = old_char; in set_cmd_context()
1849 char_u *str, // start of command line in expand_cmdline() argument
1869 xp->xp_pattern_len = (int)(str + col - xp->xp_pattern); in expand_cmdline()
2204 char_u *str; in ExpandGeneric() local
2213 str = (*func)(xp, i); in ExpandGeneric()
2214 if (str == NULL) // end of list in ExpandGeneric()
2216 if (*str == NUL) // skip empty strings in ExpandGeneric()
2219 if (vim_regexec(regmatch, str, (colnr_T)0)) in ExpandGeneric()
2224 str = vim_strsave_escaped(str, (char_u *)" \t\\."); in ExpandGeneric()
2226 str = vim_strsave(str); in ExpandGeneric()
2227 if (str == NULL) in ExpandGeneric()
2234 (*file)[count] = str; in ExpandGeneric()
2236 if (func == get_menu_names && str != NULL) in ExpandGeneric()
2239 str += STRLEN(str) - 1; in ExpandGeneric()
2240 if (*str == '\001') in ExpandGeneric()
2241 *str = '.'; in ExpandGeneric()