Lines Matching refs:otherseq
284 def __and__(self, otherseq, *rest): argument
286 if type(otherseq) != type(self):
287 otherseq = apply(bitvec, (otherseq, ) + rest)
289 return BitVec(self._data & otherseq._data, \
290 min(self._len, otherseq._len))
293 def __xor__(self, otherseq, *rest): argument
295 if type(otherseq) != type(self):
296 otherseq = apply(bitvec, (otherseq, ) + rest)
298 return BitVec(self._data ^ otherseq._data, \
299 max(self._len, otherseq._len))
302 def __or__(self, otherseq, *rest): argument
304 if type(otherseq) != type(self):
305 otherseq = apply(bitvec, (otherseq, ) + rest)
307 return BitVec(self._data | otherseq._data, \
308 max(self._len, otherseq._len))
316 def __coerce__(self, otherseq, *rest): argument
319 if type(otherseq) != type(self):
320 otherseq = apply(bitvec, (otherseq, ) + rest)
321 return self, otherseq