Searched refs:bits (Results 1 – 4 of 4) sorted by relevance
| /webrtc/util/src/fixed_big_int/ |
| H A D | mod.rs | 8 bits: Vec<u64>, field 16 for i in (0..self.bits.len()).rev() { in fmt() 17 out += format!("{:016X}", self.bits[i]).as_str(); in fmt() 32 bits: vec![0; chunk_size], in new() 50 for i in (0..self.bits.len() as isize).rev() { in lsh() 66 self.bits[i as usize] = if n >= 64 { in lsh() 69 (self.bits[i as usize] << n) | carry in lsh() 73 let last = self.bits.len() - 1; in lsh() 74 self.bits[last] &= self.msb_mask; in lsh() 84 usize::from(self.bits[chunk] & (1 << pos) != 0) in bit() [all …]
|
| /webrtc/mdns/src/message/ |
| H A D | header.rs | 38 bits |= HEADER_BIT_RA in pack() 41 bits |= HEADER_BIT_RD in pack() 44 bits |= HEADER_BIT_TC in pack() 47 bits |= HEADER_BIT_AA in pack() 50 bits |= HEADER_BIT_QR in pack() 53 (id, bits) in pack() 102 pub bits: u16, field 123 msg = pack_uint16(msg, self.bits); in pack() 135 let (bits, off) = unpack_uint16(msg, off)?; in unpack() 136 self.bits = bits; in unpack() [all …]
|
| H A D | builder.rs | 50 let (id, bits) = h.pack(); in new() 58 bits, in new()
|
| H A D | mod.rs | 304 let (id, bits) = self.header.pack(); in append_pack() 313 bits, in append_pack()
|