Searched refs:descriptor1 (Results 1 – 2 of 2) sorted by relevance
296 bool Class::IsInSamePackage(const StringPiece& descriptor1, const StringPiece& descriptor2) { in IsInSamePackage() argument298 size_t min_length = std::min(descriptor1.size(), descriptor2.size()); in IsInSamePackage()299 while (i < min_length && descriptor1[i] == descriptor2[i]) { in IsInSamePackage()302 if (descriptor1.find('/', i) != StringPiece::npos || in IsInSamePackage()
557 static bool IsInSamePackage(const StringPiece& descriptor1, const StringPiece& descriptor2);