Lines Matching refs:usize
15 number: usize,
31 pub fn next_by(&self, n: usize) -> Self { in next_by()
80 number: usize,
95 pub fn next_by(&self, n: usize) -> Self { in next_by()
154 pub struct PageFrameCount(usize);
158 pub const fn new(count: usize) -> Self { in new()
162 pub fn data(&self) -> usize { in data() argument
167 pub fn bytes(&self) -> usize { in bytes() argument
174 pub fn from_bytes(bytes: usize) -> Option<Self> { in from_bytes()
219 impl Add<usize> for PageFrameCount {
222 fn add(self, rhs: usize) -> Self::Output { in add()
227 impl AddAssign<usize> for PageFrameCount {
228 fn add_assign(&mut self, rhs: usize) { in add_assign() argument
233 impl Sub<usize> for PageFrameCount {
236 fn sub(self, rhs: usize) -> Self::Output { in sub()
241 impl SubAssign<usize> for PageFrameCount {
242 fn sub_assign(&mut self, rhs: usize) { in sub_assign() argument
247 impl Mul<usize> for PageFrameCount {
250 fn mul(self, rhs: usize) -> Self::Output { in mul()