Lines Matching refs:rhs
505 bool RegisterValue::CopyValue(const RegisterValue &rhs) {
506 if (this == &rhs)
507 return rhs.m_type != eTypeInvalid;
509 m_type = rhs.m_type;
521 m_scalar = rhs.m_scalar;
524 assert(rhs.buffer.length <= kMaxRegisterByteSize);
525 ::memcpy(buffer.bytes, rhs.buffer.bytes, kMaxRegisterByteSize);
526 buffer.length = rhs.buffer.length;
527 buffer.byte_order = rhs.buffer.byte_order;
795 bool RegisterValue::operator==(const RegisterValue &rhs) const {
796 if (m_type == rhs.m_type) {
808 return m_scalar == rhs.m_scalar;
810 if (buffer.length != rhs.buffer.length)
816 return memcmp(buffer.bytes, rhs.buffer.bytes, length) == 0;
824 bool RegisterValue::operator!=(const RegisterValue &rhs) const {
825 return !(*this == rhs);