Home
last modified time | relevance | path

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

/external/python/pyasn1/pyasn1/type/
Duniv.py346 def setBitLength(self, bitLength): member in SizedInteger
353 self.setBitLength(integer.bitLength(self))
520 …return self.clone(SizedInteger(self._value << len(value) | value).setBitLength(len(self._value) + …
524 …return self.clone(SizedInteger(value << len(self._value) | self._value).setBitLength(len(self._val…
538 return self.clone(SizedInteger(self._value << count).setBitLength(len(self._value) + count))
541 …return self.clone(SizedInteger(self._value >> count).setBitLength(max(0, len(self._value) - count)…
590 value = SizedInteger(value, 16).setBitLength(len(value) * 4)
598 ).setBitLength(len(prepend) + len(value))
615 value = SizedInteger(value or '0', 2).setBitLength(len(value))
623 ).setBitLength(len(prepend) + len(value))
[all …]