Searched refs:unused_bits (Results 1 – 3 of 3) sorted by relevance
/external/scapy/scapy/asn1/ |
D | asn1.py | 310 unused_bits = 0 312 unused_bits = 8 - (len(value) % 8) 313 padded_value = str_value + ("0" * unused_bits) 318 unused_bits = 0 321 super(ASN1_Object, self).__setattr__("unused_bits", unused_bits) 329 …lf.__dict__.get("name", self.__class__.__name__), v, self.unused_bits, "s" if self.unused_bits>1 e… 335 …lf.__dict__.get("name", self.__class__.__name__), v, self.unused_bits, "s" if self.unused_bits>1 e…
|
D | ber.py | 314 unused_bits = orb(s[0]) 315 if safe and unused_bits > 7: 318 if unused_bits > 0: 319 s = s[:-unused_bits] 328 unused_bits = 0 330 unused_bits = 8 - len(s)%8 331 s += b"0"*unused_bits 333 s = chb(unused_bits) + s
|
/external/brotli/c/dec/ |
D | bit_reader.h | 224 uint32_t unused_bits = unused_bytes << 3; in BrotliBitReaderUnload() local 227 if (unused_bits == sizeof(br->val_) << 3) { in BrotliBitReaderUnload() 230 br->val_ <<= unused_bits; in BrotliBitReaderUnload() 232 br->bit_pos_ += unused_bits; in BrotliBitReaderUnload()
|