Home
last modified time | relevance | path

Searched refs:pprefix (Results 1 – 4 of 4) sorted by relevance

/openbsd-src/gnu/gcc/gcc/
H A Dcollect2.c569 find_a_file (struct path_prefix *pprefix, const char *name) in find_a_file() argument
573 int len = pprefix->max_len + strlen (name) + 1; in find_a_file()
616 for (pl = pprefix->plist; pl; pl = pl->next) in find_a_file()
640 if (debug && pprefix->plist == NULL) in find_a_file()
650 add_prefix (struct path_prefix *pprefix, const char *prefix) in add_prefix() argument
655 if (pprefix->plist) in add_prefix()
657 for (pl = pprefix->plist; pl->next; pl = pl->next) in add_prefix()
662 prev = &pprefix->plist; in add_prefix()
667 if (len > pprefix->max_len) in add_prefix()
668 pprefix->max_len = len; in add_prefix()
[all …]
H A Dgcc.c2662 find_a_file (const struct path_prefix *pprefix, const char *name, int mode, in find_a_file() argument
2693 return for_each_path (pprefix, do_multi, info.name_len + info.suffix_len, in find_a_file()
2721 add_prefix (struct path_prefix *pprefix, const char *prefix, in add_prefix() argument
2728 for (prev = &pprefix->plist; in add_prefix()
2737 if (len > pprefix->max_len) in add_prefix()
2738 pprefix->max_len = len; in add_prefix()
2753 add_sysrooted_prefix (struct path_prefix *pprefix, const char *prefix, in add_sysrooted_prefix() argument
2772 add_prefix (pprefix, prefix, component, priority, in add_sysrooted_prefix()
/openbsd-src/gnu/usr.bin/gcc/gcc/
H A Dcollect2.c638 find_a_file (pprefix, name) in find_a_file() argument
639 struct path_prefix *pprefix; in find_a_file()
644 int len = pprefix->max_len + strlen (name) + 1;
687 for (pl = pprefix->plist; pl; pl = pl->next)
711 if (debug && pprefix->plist == NULL)
721 add_prefix (pprefix, prefix) in add_prefix() argument
722 struct path_prefix *pprefix; in add_prefix()
728 if (pprefix->plist)
730 for (pl = pprefix->plist; pl->next; pl = pl->next)
735 prev = &pprefix->plist;
[all …]
H A Dgcc.c2239 struct prefix_list *pprefix; local
2244 for (pprefix = paths->plist; pprefix != 0; pprefix = pprefix->next)
2246 int len = strlen (pprefix->prefix);
2250 || is_directory (pprefix->prefix, machine_suffix, 0)))
2256 obstack_grow (&collect_obstack, pprefix->prefix, len);
2261 && pprefix->require_machine_suffix == 2
2263 || is_directory (pprefix->prefix, just_machine_suffix, 0)))
2269 obstack_grow (&collect_obstack, pprefix->prefix, len);
2274 if (! pprefix->require_machine_suffix)
2280 obstack_grow (&collect_obstack, pprefix->prefix, len);
[all …]