Lines Matching refs:path
12 const char *system_path(const char *path) in system_path() argument
17 if (is_absolute_path(path)) in system_path()
18 return path; in system_path()
20 strbuf_addf(&d, "%s/%s", prefix, path); in system_path()
21 path = strbuf_detach(&d, NULL); in system_path()
22 return path; in system_path()
70 static void add_path(struct strbuf *out, const char *path) in add_path() argument
72 if (path && *path) { in add_path()
73 if (is_absolute_path(path)) in add_path()
74 strbuf_addstr(out, path); in add_path()
76 strbuf_addstr(out, make_nonrelative_path(path)); in add_path()