Searched refs:path_prefix (Results 1 – 2 of 2) sorted by relevance
76 const char* path_prefix = getenv(path_prefix_variable); in make_path() local77 if (path_prefix == nullptr) { in make_path()82 if (asprintf(&path, "%s/%s", path_prefix, path_suffix) == -1) { in make_path()83 fprintf(stderr, "%s: couldn't allocate \"%s/%s\"\n", __FUNCTION__, path_prefix, path_suffix); in make_path()
567 std::string path_prefix(path); in IsLocationOn() local568 if (!EndsWithSlash(path_prefix.c_str())) { in IsLocationOn()569 path_prefix.append("/"); in IsLocationOn()576 path_prefix.append(subdir); in IsLocationOn()579 return android::base::StartsWith(full_path, path_prefix); in IsLocationOn()