Searched refs:right (Results 1 - 25 of 33) sorted by relevance

12

/gem5/ext/systemc/src/sysc/kernel/
H A Dsc_process_handle.h50 operator == ( const sc_process_handle& left, const sc_process_handle& right );
52 operator != ( const sc_process_handle& left, const sc_process_handle& right );
54 operator < ( const sc_process_handle& left, const sc_process_handle& right );
69 friend bool operator == ( const this_type& left, const this_type& right );
70 friend bool operator != ( const this_type& left, const this_type& right );
71 friend bool operator < ( const this_type& left, const this_type& right );
148 const sc_process_handle& left, const sc_process_handle& right )
150 return (left.m_target_p != 0) && (right.m_target_p != 0) &&
151 (left.m_target_p == right.m_target_p);
155 const sc_process_handle& left, const sc_process_handle& right )
[all...]
/gem5/util/style/
H A Dregion.py126 "self is completely right of other (cannot overlap)"
136 "self ex_ends beyond other to the right (can overlap)"
185 # A and B overlap with B not left of A and A not right of B
206 # A and B overlap with A not left of B and B not right of A
241 def test(left, right):
242 print "%s == %s: %s" % (left, right, left == right)
243 print "%s != %s: %s" % (left, right, left != right)
244 print "%s < %s: %s" % (left, right, lef
[all...]
/gem5/src/mem/slicc/ast/
H A DOperatorExprAST.py32 def __init__(self, slicc, left, op, right):
37 self.right = right
40 return "[InfixExpr: %r %s %r]" % (self.left, self.op, self.right)
47 rtype = self.right.generate(rcode)
53 self.error("Type mismatch: left and right operands of " +
55 "left: '%s', right: '%s'",
117 self.error("Type mismatch: right operand of " +
/gem5/src/cpu/
H A DTimingExpr.py155 right = Param.TimingExpr("RHS expression") variable in class:TimingExprBin
157 def set_params(self, op, left, right):
160 self.right = right
H A Dtiming_expr.hh187 TimingExpr *right; member in class:TimingExprBin
193 right(params->right)
H A Dtiming_expr.cc127 uint64_t right_value = right->eval(context);
/gem5/src/mem/cache/replacement_policies/
H A Dtree_plru_rp.cc70 * Get index of the subtree on the right of the given indexed tree.
73 * @return The index of the subtree to the right of the queried tree.
82 * Find out if the subtree at index corresponds to the right or left subtree
86 * @return True if it is a right subtree, false otherwise.
123 // Store whether we are coming from a left or right node
124 const bool right = isRightSubtree(tree_index); local
130 tree->at(tree_index) = right;
149 // Store whether we are coming from a left or right node
150 const bool right = isRightSubtree(tree_index); local
156 tree->at(tree_index) = !right;
[all...]
/gem5/util/minorview/
H A Dblobs.py59 right, top and bottom sides of the described rectangle"""
63 right = x + half_width
66 return (left, right, top, bottom)
70 (left, right, top, bottom) = centre_size_to_sides(centre, size)
72 cr.line_to(right, top)
73 cr.line_to(right, bottom)
100 (left, right, top, bottom) = centre_size_to_sides(centre, size)
121 cr.move_to((right - x_stripe_width) - half_x_stripe_width, bottom)
122 cr.line_to(right, bottom)
123 cr.line_to(right, to
[all...]
H A Dmodel.py100 def __cmp__(self, right):
101 return cmp(self.as_list(), right.as_list())
430 def __cmp__(self, right):
431 return cmp(self.id, right.id)
736 # Copy the old event and make a new one with the right
890 the top right corner of a rectangle of the same char"""
922 body('-/', ' :', 'right')
928 # Traverse the picture left to right, top to bottom to find blobs
936 direc = 'right'))
/gem5/src/base/
H A Dinet.cc127 operator==(const EthAddr &left, const EthAddr &right) argument
129 return !memcmp(left.bytes(), right.bytes(), ETH_ADDR_LEN);
149 operator==(const IpAddress &left, const IpAddress &right) argument
151 return left.ip() == right.ip();
173 operator==(const IpNetmask &left, const IpNetmask &right) argument
175 return (left.ip() == right.ip()) &&
176 (left.netmask() == right.netmask());
195 operator==(const IpWithPort &left, const IpWithPort &right) argument
197 return (left.ip() == right.ip()) && (left.port() == right
[all...]
H A Dinet.hh125 bool operator==(const EthAddr &left, const EthAddr &right);
210 bool operator==(const IpAddress &left, const IpAddress &right);
230 bool operator==(const IpNetmask &left, const IpNetmask &right);
250 bool operator==(const IpWithPort &left, const IpWithPort &right);
/gem5/ext/systemc/src/sysc/utils/
H A Dsc_pq.h75 int right( int i ) const function in class:sc_core::sc_ppq_base
H A Dsc_pq.cpp101 int r = right( i );
/gem5/src/systemc/tests/include/specialized_signals/
H A Dscx_signal_int.h171 virtual sc_dt::uint64 read_part( int left, int right ) const;
174 virtual sc_int_sigref& select_part( int left, int right );
175 virtual void write_part( sc_dt::uint64 v, int left, int right );
315 virtual inline sc_dt::uint64 read_part(int left, int right) const;
316 virtual inline sc_int_sigref& select_part(int left, int right);
317 virtual inline void write_part(sc_dt::uint64 v, int left, int right);
330 inline sc_int_sigref& operator () ( int left, int right );
409 inline sc_int_sigref& sc_signal<sc_dt::sc_int<W> >::select_part(int left, int right) argument
412 result_p->initialize(this, left, right);
532 // right
535 operator ()(int left, int right) argument
1458 initialize(sc_int_part_if* if_p, int left, int right) argument
[all...]
H A Dscx_signal_uint.h203 virtual sc_dt::uint64 read_part( int left, int right ) const;
206 virtual sc_uint_sigref& select_part( int left, int right );
207 virtual void write_part( sc_dt::uint64 v, int left, int right );
347 virtual inline sc_dt::uint64 read_part(int left, int right) const;
348 virtual inline sc_uint_sigref& select_part(int left, int right);
349 virtual inline void write_part(sc_dt::uint64 v, int left, int right);
362 inline sc_uint_sigref& operator () ( int left, int right );
562 // right = right-hand bit of the selection.
566 (int left, int right)
565 operator ()(int left, int right) argument
773 select_part(int left, int right) argument
1514 initialize(sc_uint_part_if* if_p, int left, int right) argument
[all...]
H A Dscx_signal_unsigned.h207 virtual sc_dt::sc_unsigned read_part( int left, int right ) const;
210 virtual sc_unsigned_sigref& select_part( int left, int right );
211 virtual void write_part( sc_dt::int64 v, int left, int right );
212 virtual void write_part( sc_dt::uint64 v, int left, int right );
213 virtual void write_part( const sc_dt::sc_signed& v, int left, int right );
214 virtual void write_part( const sc_dt::sc_unsigned& v, int left, int right );
358 virtual inline sc_dt::sc_unsigned read_part(int left, int right) const;
359 virtual sc_unsigned_sigref& select_part( int left, int right );
360 virtual inline void write_part( sc_dt::int64 v, int left, int right );
361 virtual inline void write_part( sc_dt::uint64 v, int left, int right );
664 operator ()(int left, int right) argument
871 write_part(sc_dt::int64 v, int left, int right) argument
879 select_part( int left, int right) argument
883 result_p->initialize(dynamic_cast<sc_unsigned_part_if*>(this), left, right); local
890 write_part(sc_dt::uint64 v, int left, int right) argument
[all...]
H A Dscx_signal_signed.h217 virtual sc_dt::sc_signed read_part( int left, int right ) const;
220 virtual sc_signed_sigref& select_part( int left, int right );
221 virtual void write_part( sc_dt::int64 v, int left, int right );
222 virtual void write_part( sc_dt::uint64 v, int left, int right );
223 virtual void write_part( const sc_dt::sc_signed& v, int left, int right );
224 virtual void write_part( const sc_dt::sc_unsigned& v, int left, int right );
368 virtual inline sc_dt::sc_signed read_part(int left, int right) const;
369 virtual sc_signed_sigref& select_part( int left, int right );
370 virtual inline void write_part( sc_dt::int64 v, int left, int right );
371 virtual inline void write_part( sc_dt::uint64 v, int left, int right );
674 operator ()(int left, int right) argument
874 select_part( int left, int right) argument
878 result_p->initialize(dynamic_cast<sc_signed_part_if*>(this), left, right); local
885 write_part(sc_dt::int64 v, int left, int right) argument
894 write_part(sc_dt::uint64 v, int left, int right) argument
[all...]
/gem5/ext/ply/example/GardenSnake/
H A DGardenSnake.py82 r"'([^\\']+|\\'|\\\\)*'" # I think this is right ...
223 # Track the indentation level and emit the right INDENT / DEDENT events.
339 def Assign(left, right):
343 return ast.Assign([ast.AssName(left.name, 'OP_ASSIGN')], right)
352 return ast.Assign([ast.AssTuple(ass_list)], right)
495 def make_lt_compare((left, right)):
496 return ast.Compare(left, [('<', right),])
497 def make_gt_compare((left, right)):
498 return ast.Compare(left, [('>', right),])
499 def make_eq_compare((left, right))
[all...]
/gem5/ext/systemc/src/sysc/datatypes/int/
H A Dsc_int_base.h747 sc_int_subref& operator () ( int left, int right );
748 const sc_int_subref_r& operator () ( int left, int right ) const;
750 sc_int_subref& range( int left, int right );
751 const sc_int_subref_r& range( int left, int right ) const;
1275 sc_int_base::operator () ( int left, int right )
1277 check_range( left, right );
1279 result_p->initialize(this, left, right);
1285 sc_int_base::operator () ( int left, int right ) const
1287 check_range( left, right );
1289 result_p->initialize(this, left, right);
[all...]
H A Dsc_uint_base.h732 sc_uint_subref& operator () ( int left, int right );
733 const sc_uint_subref_r& operator () ( int left, int right ) const;
735 sc_uint_subref& range( int left, int right );
736 const sc_uint_subref_r& range( int left, int right ) const;
1245 sc_uint_base::operator () ( int left, int right )
1247 check_range( left, right );
1249 result_p->initialize(this, left, right);
1255 sc_uint_base::operator () ( int left, int right ) const
1257 check_range( left, right );
1259 result_p->initialize(this, left, right);
[all...]
/gem5/src/systemc/ext/dt/int/
H A Dsc_int_base.hh851 sc_int_subref &operator () (int left, int right);
852 const sc_int_subref_r &operator () (int left, int right) const;
854 sc_int_subref &range(int left, int right);
855 const sc_int_subref_r &range(int left, int right) const;
1293 sc_int_base::operator () (int left, int right) argument
1295 check_range(left, right);
1297 result_p->initialize(this, left, right);
1302 sc_int_base::operator () (int left, int right) const
1304 check_range(left, right);
1306 result_p->initialize(this, left, right);
1312 range(int left, int right) argument
[all...]
H A Dsc_uint_base.hh786 sc_uint_subref &operator () (int left, int right);
787 const sc_uint_subref_r &operator () (int left, int right) const;
789 sc_uint_subref &range(int left, int right);
790 const sc_uint_subref_r &range(int left, int right) const;
1175 sc_uint_base::operator () (int left, int right) argument
1177 check_range(left, right);
1179 result_p->initialize(this, left, right);
1184 sc_uint_base::operator () (int left, int right) const
1186 check_range(left, right);
1188 result_p->initialize(this, left, right);
1193 range(int left, int right) argument
[all...]
/gem5/ext/systemc/src/sysc/datatypes/misc/
H A Dsc_concatref.h41 mixed mode concatenations on the left and right sides of an assignment.
109 sc_value_base& left, sc_value_base& right )
112 bool right_xz; // True if x's and/or z's found in right.
115 m_right_p = (sc_value_base*)&right;
116 m_len_r = right.concat_length(&right_xz);
123 const sc_value_base& left, const sc_value_base& right )
126 bool right_xz; // True if x's and/or z's found in right.
129 m_right_p = (sc_value_base*)&right;
130 m_len_r = right.concat_length(&right_xz);
/gem5/src/systemc/ext/dt/misc/
H A Dsc_concatref.hh41 mixed mode concatenations on the left and right sides of an assignment.
125 initialize(sc_value_base &left, sc_value_base &right) argument
128 bool right_xz; // True if x's and/or z's found in right.
131 m_right_p = (sc_value_base *)&right;
132 m_len_r = right.concat_length(&right_xz);
139 initialize(const sc_value_base &left, const sc_value_base &right) argument
142 bool right_xz; // True if x's and/or z's found in right.
145 m_right_p = (sc_value_base *)&right;
146 m_len_r = right.concat_length(&right_xz);
/gem5/configs/example/
H A Dread_config.py158 def __cmp__(self, right):
160 (right.object_name, right.port_name, right.index))
325 # left right left right

Completed in 71 milliseconds

12