Home
last modified time | relevance | path

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

/art/libarttools/
Dtools.cc77 bool PartialMatch(const std::filesystem::path& pattern, const std::filesystem::path& path_prefix) { in PartialMatch() argument
79 path_prefix_it = path_prefix.begin(); in PartialMatch()
82 if (path_prefix_it == path_prefix.end()) { in PartialMatch()
/art/libartbase/base/
Dfile_utils.cc811 std::string path_prefix(path); in IsLocationOn() local
812 if (!EndsWithSlash(path_prefix.c_str())) { in IsLocationOn()
813 path_prefix.append("/"); in IsLocationOn()
820 path_prefix.append(subdir); in IsLocationOn()
823 return full_path.starts_with(path_prefix); in IsLocationOn()