Lines Matching refs:xp
128 expand_T *xp, // used for completion, NULL otherwise in find_ucmd() argument
192 if (xp != NULL) in find_ucmd()
194 xp->xp_arg = uc->uc_compl_arg; in find_ucmd()
195 xp->xp_script_ctx = uc->uc_script_ctx; in find_ucmd()
196 xp->xp_script_ctx.sc_lnum += SOURCING_LNUM; in find_ucmd()
222 if (xp != NULL) in find_ucmd()
223 xp->xp_context = EXPAND_UNSUCCESSFUL; in find_ucmd()
235 set_context_in_user_cmd(expand_T *xp, char_u *arg_in) in set_context_in_user_cmd() argument
252 xp->xp_context = EXPAND_USER_CMD_FLAGS; in set_context_in_user_cmd()
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()
273 xp->xp_context = EXPAND_USER_ADDR_TYPE; 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()
287 xp->xp_pattern = arg; in set_context_in_user_cmd()
305 get_user_commands(expand_T *xp UNUSED, int idx) in get_user_commands()
352 get_user_cmd_addr_type(expand_T *xp UNUSED, int idx) in get_user_cmd_addr_type()
362 get_user_cmd_flags(expand_T *xp UNUSED, int idx) in get_user_cmd_flags()
378 get_user_cmd_nargs(expand_T *xp UNUSED, int idx) in get_user_cmd_nargs()
392 get_user_cmd_complete(expand_T *xp UNUSED, int idx) in get_user_cmd_complete()