Lines Matching refs:xp
864 static int skip_status_match_char(expand_T *xp, char_u *s);
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
900 if ((rem_backslash(s) && xp->xp_context != EXPAND_HELP) in skip_status_match_char()
902 || ((xp->xp_context == EXPAND_MENUS in skip_status_match_char()
903 || xp->xp_context == EXPAND_MENUNAMES) in skip_status_match_char()
909 if (xp->xp_shell && csh_like_shell() && s[1] == '\\' && s[2] == '!') in skip_status_match_char()
926 expand_T *xp, in win_redr_status_matches() argument
968 clen = status_match_len(xp, L_MATCH(match)) + 3; in win_redr_status_matches()
981 clen += status_match_len(xp, L_MATCH(i)) + 2; in win_redr_status_matches()
992 clen += status_match_len(xp, L_MATCH(i)) + 2; in win_redr_status_matches()
1003 clen += status_match_len(xp, L_MATCH(first_match - 1)) + 2; in win_redr_status_matches()
1024 while ((long)(clen + status_match_len(xp, L_MATCH(i)) + 2) < Columns) in win_redr_status_matches()
1035 emenu = (xp->xp_context == EXPAND_MENUS in win_redr_status_matches()
1036 || xp->xp_context == EXPAND_MENUNAMES); in win_redr_status_matches()
1048 s += skip_status_match_char(xp, s); in win_redr_status_matches()