Home
last modified time | relevance | path

Searched refs:path_prefix (Results 1 – 2 of 2) sorted by relevance

/aosp12/bionic/libc/tzcode/
H A Dbionic.cpp76 const char* path_prefix = getenv(path_prefix_variable); in make_path() local
77 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()
/aosp12/art/libartbase/base/
H A Dfile_utils.cc567 std::string path_prefix(path); in IsLocationOn() local
568 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()