Home
last modified time | relevance | path

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

/dalvik/dx/src/com/android/dex/
DEncodedValueCodec.java42 int requiredBits = 65 - Long.numberOfLeadingZeros(value ^ (value >> 63)); in writeSignedIntegralValue() local
45 int requiredBytes = (requiredBits + 0x07) >> 3; in writeSignedIntegralValue()
66 int requiredBits = 64 - Long.numberOfLeadingZeros(value); in writeUnsignedIntegralValue() local
67 if (requiredBits == 0) { in writeUnsignedIntegralValue()
68 requiredBits = 1; in writeUnsignedIntegralValue()
72 int requiredBytes = (requiredBits + 0x07) >> 3; in writeUnsignedIntegralValue()
93 int requiredBits = 64 - Long.numberOfTrailingZeros(value); in writeRightZeroExtendedValue() local
94 if (requiredBits == 0) { in writeRightZeroExtendedValue()
95 requiredBits = 1; in writeRightZeroExtendedValue()
99 int requiredBytes = (requiredBits + 0x07) >> 3; in writeRightZeroExtendedValue()
/dalvik/dexgen/src/com/android/dexgen/dex/file/
DValueEncoder.java400 int requiredBits = in writeSignedIntegralValue() local
404 int requiredBytes = (requiredBits + 0x07) >> 3; in writeSignedIntegralValue()
429 int requiredBits = 64 - Long.numberOfLeadingZeros(value); in writeUnsignedIntegralValue() local
430 if (requiredBits == 0) { in writeUnsignedIntegralValue()
431 requiredBits = 1; in writeUnsignedIntegralValue()
435 int requiredBytes = (requiredBits + 0x07) >> 3; in writeUnsignedIntegralValue()
460 int requiredBits = 64 - Long.numberOfTrailingZeros(value); in writeRightZeroExtendedValue() local
461 if (requiredBits == 0) { in writeRightZeroExtendedValue()
462 requiredBits = 1; in writeRightZeroExtendedValue()
466 int requiredBytes = (requiredBits + 0x07) >> 3; in writeRightZeroExtendedValue()