Lines Matching refs:rhs

419     FixedLengthString& operator+=(const FixedLengthString<Char, Length, Size>& rhs)
421 this->AppendTail(rhs);
428 FixedLengthString& operator+=(const Char* rhs)
430 this->AppendTail(rhs);
435 …d bool operator==(const FixedLengthString& lhs, const FixedLengthString<Char, Length2, Size2>& rhs)
437 …return lhs.GetLength() == rhs.GetLength() && std::memcmp(lhs.GetString(), rhs.GetString(), sizeof(…
440 friend bool operator==(const FixedLengthString& lhs, const Char* rhs)
442 …return std::memcmp(lhs.m_Data, rhs, sizeof(Char) * lhs.GetLength()) == 0 && rhs[lhs.GetLength()] =…
445 friend bool operator==(const Char* lhs, const FixedLengthString& rhs)
447 return rhs == lhs;
451 …d bool operator!=(const FixedLengthString& lhs, const FixedLengthString<Char, Length2, Size2>& rhs)
453 return !(lhs == rhs);
456 friend bool operator!=(const FixedLengthString& lhs, const Char* rhs)
458 return !(lhs == rhs);
461 friend bool operator!=(const Char* lhs, const FixedLengthString& rhs)
463 return !(lhs == rhs);
467 …end bool operator<(const FixedLengthString& lhs, const FixedLengthString<TChar, Length, Size>& rhs)
469 …int n = std::memcmp(lhs.GetString(), rhs.GetString(), sizeof(Char) * std::min(lhs.GetLength(), rhs
470 return n < 0 || (n == 0 && lhs.GetLength() < rhs.GetLength());
474 …end bool operator>(const FixedLengthString& lhs, const FixedLengthString<TChar, Length, Size>& rhs)
476 return rhs < lhs;
480 …nd bool operator<=(const FixedLengthString& lhs, const FixedLengthString<TChar, Length, Size>& rhs)
482 return !(lhs > rhs);
486 …nd bool operator>=(const FixedLengthString& lhs, const FixedLengthString<TChar, Length, Size>& rhs)
488 return rhs <= lhs;