Searched refs:raw_path (Results 1 – 2 of 2) sorted by relevance
61 int get_real_path(const char *raw_path, const char *comp_dir,
1830 int get_real_path(const char *raw_path, const char *comp_dir, in get_real_path() argument1836 if (raw_path[0] != '/' && comp_dir) in get_real_path()1840 if (access(raw_path, R_OK) == 0) { in get_real_path()1841 *new_path = strdup(raw_path); in get_real_path()1848 *new_path = malloc((strlen(prefix) + strlen(raw_path) + 2)); in get_real_path()1853 sprintf(*new_path, "%s/%s", prefix, raw_path); in get_real_path()1869 raw_path = strchr(++raw_path, '/'); in get_real_path()1870 if (!raw_path) { in get_real_path()