Lines Matching defs:lhs
45 * Helper method to return whether (1) both lhs and rhs are null/invalid, or (2) if they are both
48 static bool equals(const AffixPatternMatcher* lhs, const AffixPatternMatcher* rhs) {
49 if (lhs == nullptr && rhs == nullptr) {
52 if (lhs == nullptr || rhs == nullptr) {
55 return *lhs == *rhs;
444 const AffixMatcher& lhs = *this;
445 if (length(lhs.fPrefix) != length(rhs.fPrefix)) {
446 return length(lhs.fPrefix) > length(rhs.fPrefix) ? -1 : 1;
447 } else if (length(lhs.fSuffix) != length(rhs.fSuffix)) {
448 return length(lhs.fSuffix) > length(rhs.fSuffix) ? -1 : 1;