Searched refs:descriptor2 (Results 1 – 2 of 2) sorted by relevance
513 bool Class::IsInSamePackage(std::string_view descriptor1, std::string_view descriptor2) { in IsInSamePackage() argument515 size_t min_length = std::min(descriptor1.size(), descriptor2.size()); in IsInSamePackage()516 while (i < min_length && descriptor1[i] == descriptor2[i]) { in IsInSamePackage()520 descriptor2.find('/', i) != std::string_view::npos) { in IsInSamePackage()
604 static bool IsInSamePackage(std::string_view descriptor1, std::string_view descriptor2);