Lines Matching refs:rhs
205 fn add(self, rhs: usize) -> Self::Output { in add()
206 return Self(self.0 + rhs); in add()
212 fn add_assign(&mut self, rhs: usize) { in add_assign()
213 self.0 += rhs; in add_assign()
221 fn add(self, rhs: PhysAddr) -> Self::Output { in add()
222 return Self(self.0 + rhs.0); in add()
228 fn add_assign(&mut self, rhs: PhysAddr) { in add_assign()
229 self.0 += rhs.0; in add_assign()
235 fn bitor_assign(&mut self, rhs: usize) { in bitor_assign()
236 self.0 |= rhs; in bitor_assign()
242 fn bitor_assign(&mut self, rhs: PhysAddr) { in bitor_assign()
243 self.0 |= rhs.0; in bitor_assign()
251 fn sub(self, rhs: usize) -> Self::Output { in sub()
252 return Self(self.0 - rhs); in sub()
258 fn sub_assign(&mut self, rhs: usize) { in sub_assign()
259 self.0 -= rhs; in sub_assign()
267 fn sub(self, rhs: PhysAddr) -> Self::Output { in sub()
268 return self.0 - rhs.0; in sub()
274 fn sub_assign(&mut self, rhs: PhysAddr) { in sub_assign()
275 self.0 -= rhs.0; in sub_assign()
333 fn add(self, rhs: VirtAddr) -> Self::Output { in add()
334 return Self(self.0 + rhs.0); in add()
342 fn add(self, rhs: usize) -> Self::Output { in add()
343 return Self(self.0 + rhs); in add()
351 fn sub(self, rhs: VirtAddr) -> Self::Output { in sub()
352 return self.0 - rhs.0; in sub()
360 fn sub(self, rhs: usize) -> Self::Output { in sub()
361 return Self(self.0 - rhs); in sub()
367 fn add_assign(&mut self, rhs: usize) { in add_assign()
368 self.0 += rhs; in add_assign()
374 fn add_assign(&mut self, rhs: VirtAddr) { in add_assign()
375 self.0 += rhs.0; in add_assign()
381 fn sub_assign(&mut self, rhs: usize) { in sub_assign()
382 self.0 -= rhs; in sub_assign()
388 fn sub_assign(&mut self, rhs: VirtAddr) { in sub_assign()
389 self.0 -= rhs.0; in sub_assign()