Lines Matching refs:other
153 def __eq__(self, other):
154 return (self.s_name == other.s_name and
155 self.name == other.name and
156 len(self.values) == len(other.values) and
157 all(a[0] == b[0] and a[1] == b[1] for a, b, in zip(self.values, other.values)))
159 def __ne__(self, other):
160 return not (self == other)
223 def __eq__(self, other):
224 if not isinstance(other, Reg):
226 return (self.r_name == other.r_name and
227 self.name == other.name and
228 len(self.fields) == len(other.fields) and
229 all(a == b for a, b in zip(self.fields, other.fields)))
231 def __ne__(self, other):
232 return not (self == other)