Lines Matching defs:prefix
1 /* Relative (relocatable) prefix support.
25 const char *@var{bin_prefix}, const char *@var{prefix})
27 Given three paths @var{progname}, @var{bin_prefix}, @var{prefix},
29 @var{progname}'s directory as @var{prefix} is relative to
32 difference between @var{bin_prefix} and @var{prefix}.
40 @var{prefix} is @code{/alpha/beta/gamma/omega/}, and @var{progname} is
45 relative prefix can be found, return @code{NULL}.
225 If no relative prefix can be found, return NULL. */
229 const char *prefix, const int resolve_links)
238 if (progname == NULL || bin_prefix == NULL || prefix == NULL)
349 prefix_dirs = split_directories (prefix, &prefix_num);
353 /* Find how many directories are in common between bin_prefix & prefix. */
361 /* If there are no common directories, there can be no relative prefix. */
394 /* Put in directories to move over to prefix. */
415 const char *prefix)
417 return make_relative_prefix_1 (progname, bin_prefix, prefix, 1);
428 const char *prefix)
430 return make_relative_prefix_1 (progname, bin_prefix, prefix, 0);