Lines Matching refs:path_prefix
322 struct path_prefix;
332 static char *build_search_list (const struct path_prefix *, const char *,
335 static void putenv_from_prefixes (const struct path_prefix *, const char *,
338 static char *find_a_file (const struct path_prefix *, const char *, int, bool);
339 static void add_prefix (struct path_prefix *, const char *, const char *,
341 static void add_sysrooted_prefix (struct path_prefix *, const char *,
1432 struct path_prefix
1441 static struct path_prefix exec_prefixes = { 0, 0, "exec" };
1445 static struct path_prefix startfile_prefixes = { 0, 0, "startfile" };
1449 static struct path_prefix include_prefixes = { 0, 0, "include" };
2496 for_each_path (const struct path_prefix *paths,
2699 build_search_list (const struct path_prefix *paths, const char *prefix,
2721 putenv_from_prefixes (const struct path_prefix *paths, const char *env_var,
2789 find_a_file (const struct path_prefix *pprefix, const char *name, int mode,
2849 add_prefix (struct path_prefix *pprefix, const char *prefix,
2882 add_sysrooted_prefix (struct path_prefix *pprefix, const char *prefix,
10069 path_prefix_reset (path_prefix *prefix)