Lines Matching refs:p_rtp
345 char *basepath = path == p_rtp ? "runtimepath" : "packpath"; in do_in_path()
427 return do_in_path_and_pp(p_rtp, name, flags, callback, cookie); in do_in_runtimepath()
440 return source_in_path(p_rtp, name, flags, NULL); in source_runtime()
523 for (entry = p_rtp; *entry != NUL; ) in add_pack_dir_to_rtp()
557 insp = p_rtp + STRLEN(p_rtp); in add_pack_dir_to_rtp()
564 oldlen = STRLEN(p_rtp); in add_pack_dir_to_rtp()
572 keep = (int)(insp - p_rtp); in add_pack_dir_to_rtp()
573 mch_memmove(new_rtp, p_rtp, keep); in add_pack_dir_to_rtp()
584 int keep_after = (int)(after_insp - p_rtp); in add_pack_dir_to_rtp()
587 mch_memmove(new_rtp + new_rtp_len, p_rtp + keep, in add_pack_dir_to_rtp()
596 if (p_rtp[keep] != NUL) in add_pack_dir_to_rtp()
598 mch_memmove(new_rtp + new_rtp_len, p_rtp + keep, oldlen - keep + 1); in add_pack_dir_to_rtp()
681 p = p_rtp; in add_pack_plugin()
835 globpath(p_rtp, s, &ga, 0); in ExpandRTDir()
2081 if (source_in_path(p_rtp, scriptname, 0, &ret_sid) == OK) in script_autoload()