Lines Matching defs:origin_root
2629 * origin_root - Root of $ORIGIN tree containing running elfedit program
2635 modpath_strlen(const char *path, const char *origin_root)
2655 origin_root);
2658 len += strlen(origin_root);
2685 * origin_root - Root of tree containing running elfedit program
2694 modpath_expand(const char *path, const char *origin_root, char *buf)
2712 origin_root, buf);
2715 cp_str = origin_root;
2759 char origin_root[PATH_MAX + 1]; /* Where elfedit binary is */
2784 if (dlinfo(RTLD_SELF, RTLD_DI_ORIGIN, &origin_root) == -1)
2787 src = origin_root + strlen(origin_root);
2788 while ((src > origin_root) && (len > 0)) {
2811 len = modpath_strlen(path, origin_root);
2814 (void) modpath_expand(path, origin_root, expath);