Searched refs:shift (Results 1 – 4 of 4) sorted by relevance
23 let shift = 29 - (s >> 61); in rand_u32() localVariable24 (s >> shift) as u32 in rand_u32()
485 ($name:ident, $mask:expr, $shift:expr) => {489 ((raw >> $shift) & $mask) as u8495 ($name:ident, $mask:expr, $shift:expr) => {500 raw = (raw & !($mask << $shift)) | ((val as u16) << $shift);1412 ($name:ident, $mask:expr, $shift:expr) => {1416 ((raw >> $shift) & $mask) as u81422 ($name:ident, $mask:expr, $shift:expr) => {1426 raw = (raw & !($mask << $shift)) | (val << $shift);
255 let shift = 32 - self.prefix_len; in contains_addr() localVariable256 let self_prefix = NetworkEndian::read_u32(self.address.as_bytes()) >> shift; in contains_addr()257 let addr_prefix = NetworkEndian::read_u32(addr.as_bytes()) >> shift; in contains_addr()
220 let shift = j - i - 1; in add() localVariable221 if shift != 0 { in add()229 .get(x + shift) in add()