Lines Matching refs:xp
6209 expand_T *xp, in set_context_in_set_cmd() argument
6223 xp->xp_context = EXPAND_SETTINGS; in set_context_in_set_cmd()
6226 xp->xp_pattern = arg; in set_context_in_set_cmd()
6232 xp->xp_pattern = p + 1; in set_context_in_set_cmd()
6254 xp->xp_context = EXPAND_BOOL_SETTINGS; in set_context_in_set_cmd()
6259 xp->xp_context = EXPAND_BOOL_SETTINGS; in set_context_in_set_cmd()
6262 xp->xp_pattern = arg = p; in set_context_in_set_cmd()
6271 xp->xp_context = EXPAND_NOTHING; in set_context_in_set_cmd()
6306 xp->xp_context = EXPAND_NOTHING; in set_context_in_set_cmd()
6312 xp->xp_context = EXPAND_NOTHING; in set_context_in_set_cmd()
6324 || xp->xp_context == EXPAND_BOOL_SETTINGS) in set_context_in_set_cmd()
6326 xp->xp_context = EXPAND_UNSUCCESSFUL; in set_context_in_set_cmd()
6329 if (xp->xp_context != EXPAND_BOOL_SETTINGS && p[1] == NUL) in set_context_in_set_cmd()
6331 xp->xp_context = EXPAND_OLD_SETTING; in set_context_in_set_cmd()
6336 xp->xp_pattern = p + 1; in set_context_in_set_cmd()
6339 xp->xp_context = EXPAND_NOTHING; in set_context_in_set_cmd()
6343 xp->xp_pattern = p + 1; in set_context_in_set_cmd()
6361 xp->xp_context = EXPAND_DIRECTORIES; in set_context_in_set_cmd()
6367 xp->xp_backslash = XP_BS_THREE; in set_context_in_set_cmd()
6369 xp->xp_backslash = XP_BS_ONE; in set_context_in_set_cmd()
6373 xp->xp_context = EXPAND_FILETYPE; in set_context_in_set_cmd()
6377 xp->xp_context = EXPAND_FILES; in set_context_in_set_cmd()
6380 xp->xp_backslash = XP_BS_THREE; in set_context_in_set_cmd()
6382 xp->xp_backslash = XP_BS_ONE; in set_context_in_set_cmd()
6388 for (p = arg + STRLEN(arg) - 1; p > xp->xp_pattern; --p) in set_context_in_set_cmd()
6394 while (s > xp->xp_pattern && *(s - 1) == '\\') in set_context_in_set_cmd()
6396 if ((*p == ' ' && (xp->xp_backslash == XP_BS_THREE && (p - s) < 3)) 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()
6418 expand_T *xp, in ExpandSettings() argument
6441 if (xp->xp_context != EXPAND_BOOL_SETTINGS) in ExpandSettings()
6457 if (xp->xp_context == EXPAND_BOOL_SETTINGS in ExpandSettings()
6500 if (xp->xp_context != EXPAND_BOOL_SETTINGS && num_normal == 0) in ExpandSettings()