Searched refs:parent_sv (Results 1 – 1 of 1) sorted by relevance
180 std::string_view parent_sv = parent; in IsSubdir() local181 while (parent_sv != "/" && android::base::ConsumeSuffix(&parent_sv, "/")) in IsSubdir()185 if (parent_sv == "/") return true; in IsSubdir()188 if (parent_sv == child_sv) return true; in IsSubdir()192 return android::base::StartsWith(child_sv, std::string(parent_sv) + "/"); in IsSubdir()