• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /xnu-2782.1.97/tools/lldbmacros/core/

Lines Matching refs:other

45     def __cmp__(self, other):
46 if type(other) is int:
49 other = long(other)
50 return me.__cmp__(other)
51 if type(other) is value:
52 return int(self).__cmp__(int(other))
90 def __add__(self, other):
91 return int(self) + int(other)
93 def __radd__(self, other):
94 return int(self) + int(other)
96 def __sub__(self, other):
97 return int(self) - int(other)
99 def __rsub__(self, other):
100 return int(other) - int(self)
102 def __mul__(self, other):
103 return int(self) * int(other)
105 def __rmul__(self, other):
106 return int(self) * int(other)
108 def __floordiv__(self, other):
109 return int(self) // int(other)
111 def __mod__(self, other):
112 return int(self) % int(other)
114 def __rmod__(self, other):
115 return int(other) % int(self)
117 def __divmod__(self, other):
118 return int(self) % int(other)
120 def __rdivmod__(self, other):
121 return int(other) % int(self)
123 def __pow__(self, other):
124 return int(self) ** int(other)
126 def __lshift__(self, other):
127 return int(self) << int(other)
129 def __rshift__(self, other):
130 return int(self) >> int(other)
132 def __and__(self, other):
133 return int(self) & int(other)
135 def __rand(self, other):
136 return int(self) & int(other)
138 def __xor__(self, other):
139 return int(self) ^ int(other)
141 def __or__(self, other):
142 return int(self) | int(other)
144 def __div__(self, other):
145 return int(self) / int(other)
147 def __rdiv__(self, other):
148 return int(other)/int(self)
150 def __truediv__(self, other):
151 return int(self) / int(other)
153 def __iadd__(self, other):
154 result = self.__add__(other)
158 def __isub__(self, other):
159 result = self.__sub__(other)
163 def __imul__(self, other):
164 result = self.__mul__(other)
168 def __idiv__(self, other):
169 result = self.__div__(other)
173 def __itruediv__(self, other):
174 result = self.__truediv__(other)
178 def __ifloordiv__(self, other):
179 result = self.__floordiv__(self, other)
183 def __imod__(self, other):
184 result = self.__and__(self, other)
188 def __ipow__(self, other):
189 result = self.__pow__(self, other)
193 def __ipow__(self, other, modulo):
194 result = self.__pow__(self, other, modulo)
198 def __ilshift__(self, other):
199 result = self.__lshift__(other)
203 def __irshift__(self, other):
204 result = self.__rshift__(other)
208 def __iand__(self, other):
209 result = self.__and__(self, other)
213 def __ixor__(self, other):
214 result = self.__xor__(self, other)
218 def __ior__(self, other):
219 result = self.__ior__(self, other)
262 def __eq__(self, other):
268 if type(other) is value:
269 other_val = other._sbval19k84obscure747.GetValueAsUnsigned(other_err)
271 raise ValueError("unable to extract value of other")
273 if type(other) is int:
274 return int(self) == other
277 def __neq__(self, other):
278 return not self.__eq__(other)