Home
last modified time | relevance | path

Searched refs:setBitLength (Results 1 – 1 of 1) sorted by relevance

/external/python/pyasn1/pyasn1/type/
Duniv.py354 def setBitLength(self, bitLength): member in SizedInteger
361 self.setBitLength(integer.bitLength(self))
532 …return self.clone(SizedInteger(self._value << len(value) | value).setBitLength(len(self._value) + …
536 …return self.clone(SizedInteger(value << len(self._value) | self._value).setBitLength(len(self._val…
550 return self.clone(SizedInteger(self._value << count).setBitLength(len(self._value) + count))
553 …return self.clone(SizedInteger(self._value >> count).setBitLength(max(0, len(self._value) - count)…
602 value = SizedInteger(value, 16).setBitLength(len(value) * 4)
610 ).setBitLength(len(prepend) + len(value))
627 value = SizedInteger(value or '0', 2).setBitLength(len(value))
635 ).setBitLength(len(prepend) + len(value))
[all …]