Searched refs:rhs (Results 1 - 25 of 61) sorted by relevance

123

/gem5/src/systemc/tests/systemc/misc/unit/rtlout/test1/
H A Dnew_struct.h46 inline bool operator == (const a_new_struct & rhs) const
48 return (rhs.in_value1 == in_value1 && rhs.in_value2 == in_value2
49 && rhs.in_valid == in_valid);
65 inline bool operator == (const b_new_struct & rhs) const
67 return (rhs.out_value1 == out_value1 && rhs.out_value2 == out_value2);
/gem5/util/minorview/
H A Dpoint.py44 def __add__(self, rhs):
45 return Point(self.x + rhs.x, self.y + rhs.y)
47 def __sub__(self, rhs):
48 return Point(self.x - rhs.x, self.y - rhs.y)
50 def __mul__(self, rhs):
51 return Point(self.x * rhs.x, self.y * rhs.y)
53 def __div__(self, rhs)
[all...]
/gem5/src/base/
H A Dpngwriter.hh82 PngPixel24 &operator=(const Pixel &rhs) { argument
83 red = rhs.red;
84 green = rhs.green;
85 blue = rhs.blue;
H A Dstr.cc39 split_first(const string &s, string &lhs, string &rhs, char c) argument
44 rhs = "";
49 rhs = s.substr(offset + 1);
54 split_last(const string &s, string &lhs, string &rhs, char c) argument
59 rhs = "";
64 rhs = s.substr(offset + 1);
H A Dbmpwriter.hh111 BmpPixel32 &operator=(const Pixel &rhs) { argument
112 red = rhs.red;
113 green = rhs.green;
114 blue = rhs.blue;
H A Dpixel.hh71 operator==(const Pixel &lhs, const Pixel &rhs) argument
73 return lhs.red == rhs.red &&
74 lhs.green == rhs.green &&
75 lhs.blue == rhs.blue &&
76 lhs.padding == rhs.padding;
/gem5/src/unittest/
H A Dunittest.hh111 /// A macro which verifies that lhs and rhs are equal to each other.
112 #define EXPECT_EQ(lhs, rhs) \
114 "EXPECT_EQ(" #lhs ", " #rhs ")", (lhs) == (rhs));
/gem5/ext/nomali/lib/
H A Dtypes.hh51 operator<(const RegAddr &lhs, const RegAddr &rhs) { argument
52 return lhs.value < rhs.value;
56 operator>(const RegAddr &lhs, const RegAddr &rhs) { argument
57 return lhs.value > rhs.value;
61 operator<=(const RegAddr &lhs, const RegAddr &rhs) { argument
62 return lhs.value <= rhs.value;
66 operator>=(const RegAddr &lhs, const RegAddr &rhs) { argument
67 return lhs.value >= rhs.value;
71 operator==(const RegAddr &lhs, const RegAddr &rhs) { argument
72 return lhs.value == rhs
76 operator !=(const RegAddr &lhs, const RegAddr &rhs) argument
81 operator +(const RegAddr &lhs, const RegAddr &rhs) argument
86 operator -(const RegAddr &lhs, const RegAddr &rhs) argument
[all...]
H A Daddrspace.cc47 AddrSpace::AddrSpace(AddrSpace &&rhs) argument
48 : GPUBlock(std::move(rhs)),
49 id(std::move(rhs.id)),
50 mmu(rhs.mmu)
/gem5/src/systemc/tests/systemc/misc/communication/channel/aggregate/
H A Drgb.h45 inline bool operator == (const rgb_t& rhs) const
47 return (red == rhs.red && green == rhs.green && blue == rhs.blue);
/gem5/src/systemc/tests/systemc/misc/communication/signals/aggregate/
H A Drgb.h44 bool operator == ( const rgb_t& rhs ) const
46 return ( red == rhs.red && green == rhs.green && blue == rhs.blue );
/gem5/ext/googletest/googletest/include/gtest/internal/
H A Dgtest-string.h102 static bool CStringEquals(const char* lhs, const char* rhs);
116 static bool WideCStringEquals(const wchar_t* lhs, const wchar_t* rhs);
125 const char* rhs);
140 const wchar_t* rhs);
H A Dgtest-filepath.h62 FilePath(const FilePath& rhs) : pathname_(rhs.pathname_) { } argument
68 FilePath& operator=(const FilePath& rhs) { argument
69 Set(rhs);
73 void Set(const FilePath& rhs) { argument
74 pathname_ = rhs.pathname_;
/gem5/src/dev/pci/
H A Dtypes.hh51 constexpr bool operator<(const PciBusAddr &rhs) const {
52 return sortValue() < rhs.sortValue();
/gem5/src/cpu/minor/
H A Ddyn_inst.hh121 operator== (const InstId &rhs) argument
126 bool ret = (threadId == rhs.threadId &&
127 lineSeqNum == rhs.lineSeqNum &&
128 fetchSeqNum == rhs.fetchSeqNum &&
129 execSeqNum == rhs.execSeqNum);
133 assert(streamSeqNum == rhs.streamSeqNum &&
134 predictionSeqNum == rhs.predictionSeqNum);
/gem5/src/sim/
H A Dlinear_solver.hh61 LinearEquation operator+ (const LinearEquation& rhs) { argument
62 assert(this->eq.size() == rhs.eq.size());
67 res.eq[i] = this->eq[i] + rhs.eq[i];
/gem5/ext/mcpat/
H A Dbasic_components.cc64 McPATOutput operator+(const McPATOutput &lhs, const McPATOutput &rhs) { argument
66 to_return.storage = lhs.storage + rhs.storage;
67 to_return.area = lhs.area + rhs.area;
69 rhs.peak_dynamic_power;
71 rhs.subthreshold_leakage_power;
73 rhs.gate_leakage_power;
75 rhs.runtime_dynamic_energy;
79 void McPATOutput::operator+=(const McPATOutput &rhs) { argument
80 storage += rhs.storage;
81 area += rhs
[all...]
/gem5/ext/systemc/src/sysc/datatypes/fx/
H A Dscfx_rep.cpp1304 add_scfx_rep( const scfx_rep& lhs, const scfx_rep& rhs, int max_wl )
1312 if( lhs.is_nan() || rhs.is_nan()
1313 || ( lhs.is_inf() && rhs.is_inf() && lhs.m_sign != rhs.m_sign ) )
1325 if( rhs.is_inf() )
1327 result.set_inf( rhs.m_sign );
1341 align( lhs, rhs, new_wp, len_mant, lhs_mant, rhs_mant );
1354 if( lhs.m_sign == rhs.m_sign )
1361 int cmp = compare_abs( lhs, rhs );
1371 result.m_sign = rhs
[all...]
H A Dscfx_mant.h182 scfx_mant::scfx_mant( const scfx_mant& rhs )
183 : m_array(0), m_size(rhs.m_size)
188 (*this)[i] = rhs[i];
194 scfx_mant::operator = ( const scfx_mant& rhs )
196 if( &rhs != this )
198 if( m_size != rhs.m_size )
201 m_array = alloc( m_size = rhs.m_size );
206 (*this)[i] = rhs[i];
/gem5/src/systemc/dt/fx/
H A Dscfx_rep.cc1217 add_scfx_rep(const scfx_rep &lhs, const scfx_rep &rhs, int max_wl)
1224 if (lhs.is_nan() || rhs.is_nan() ||
1225 (lhs.is_inf() && rhs.is_inf() && lhs.m_sign != rhs.m_sign)) {
1235 if (rhs.is_inf()) {
1236 result.set_inf(rhs.m_sign);
1249 align(lhs, rhs, new_wp, len_mant, lhs_mant, rhs_mant);
1260 if (lhs.m_sign == rhs.m_sign) {
1264 int cmp = compare_abs(lhs, rhs);
1271 result.m_sign = rhs
[all...]
/gem5/ext/pybind11/include/pybind11/
H A Dbuffer_info.h63 buffer_info& operator=(buffer_info &&rhs) { argument
64 ptr = rhs.ptr;
65 itemsize = rhs.itemsize;
66 size = rhs.size;
67 format = std::move(rhs.format);
68 ndim = rhs.ndim;
69 shape = std::move(rhs.shape);
70 strides = std::move(rhs.strides);
71 std::swap(view, rhs.view);
72 std::swap(ownview, rhs
[all...]
/gem5/ext/systemc/src/sysc/utils/
H A Dsc_pvector.h65 sc_pvector( const sc_pvector<T>& rhs )
66 : m_vector( rhs.m_vector )
92 sc_pvector<T>& operator = ( const sc_pvector<T>& rhs )
93 { m_vector = rhs.m_vector; return *this; }
/gem5/ext/googletest/googletest/samples/
H A Dsample2.h44 const MyString& operator=(const MyString& rhs);
/gem5/src/dev/net/
H A Detherswitch.hh127 const PortFifoEntry& rhs) const
129 if (lhs.recvTick == rhs.recvTick)
130 return lhs.srcId < rhs.srcId;
132 return lhs.recvTick < rhs.recvTick;
/gem5/src/cpu/o3/
H A Dstore_set.hh43 bool operator()(const InstSeqNum &lhs, const InstSeqNum &rhs) const
45 return lhs > rhs;

Completed in 37 milliseconds

123