Lines Matching refs:rhs

452     FixedLengthString& operator+=(const FixedLengthString<Char, Length, Size>& rhs)
454 this->AppendTail(rhs);
461 FixedLengthString& operator+=(const Char* rhs)
463 this->AppendTail(rhs);
468 …d bool operator==(const FixedLengthString& lhs, const FixedLengthString<Char, Length2, Size2>& rhs)
470 …return lhs.GetLength() == rhs.GetLength() && std::memcmp(lhs.GetString(), rhs.GetString(), sizeof(…
473 friend bool operator==(const FixedLengthString& lhs, const Char* rhs)
475 …return std::memcmp(lhs.m_Data, rhs, sizeof(Char) * lhs.GetLength()) == 0 && rhs[lhs.GetLength()] =…
478 friend bool operator==(const Char* lhs, const FixedLengthString& rhs)
480 return rhs == lhs;
484 …d bool operator!=(const FixedLengthString& lhs, const FixedLengthString<Char, Length2, Size2>& rhs)
486 return !(lhs == rhs);
489 friend bool operator!=(const FixedLengthString& lhs, const Char* rhs)
491 return !(lhs == rhs);
494 friend bool operator!=(const Char* lhs, const FixedLengthString& rhs)
496 return !(lhs == rhs);
500 …end bool operator<(const FixedLengthString& lhs, const FixedLengthString<TChar, Length, Size>& rhs)
502 …int n = std::memcmp(lhs.GetString(), rhs.GetString(), sizeof(Char) * std::min(lhs.GetLength(), rhs
503 return n < 0 || (n == 0 && lhs.GetLength() < rhs.GetLength());
507 …end bool operator>(const FixedLengthString& lhs, const FixedLengthString<TChar, Length, Size>& rhs)
509 return rhs < lhs;
513 …nd bool operator<=(const FixedLengthString& lhs, const FixedLengthString<TChar, Length, Size>& rhs)
515 return !(lhs > rhs);
519 …nd bool operator>=(const FixedLengthString& lhs, const FixedLengthString<TChar, Length, Size>& rhs)
521 return rhs <= lhs;