Home
last modified time | relevance | path

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

/external/r8/src/main/java/com/android/tools/r8/utils/
DLebUtils.java12 private static final int PAYLOAD_MASK = 0x7f; field in LebUtils
22 result |= (b & (byte) PAYLOAD_MASK) << shift; in parseUleb128()
24 } while ((b & ~(byte) PAYLOAD_MASK) == ~(byte) PAYLOAD_MASK); in parseUleb128()
36 result[bytes++] = (byte) ((value & PAYLOAD_MASK) | MORE_DATA_TAG_BIT); in encodeUleb128()
40 result[bytes++] = (byte) (value & PAYLOAD_MASK); in encodeUleb128()
48 outputBuffer.putByte((byte) ((value & PAYLOAD_MASK) | MORE_DATA_TAG_BIT)); in putUleb128()
52 outputBuffer.putByte((byte) (value & PAYLOAD_MASK)); in putUleb128()
66 result |= (b & (byte) PAYLOAD_MASK) << shift; in parseSleb128()
68 } while ((b & ~(byte) PAYLOAD_MASK) == ~(byte) PAYLOAD_MASK); in parseSleb128()
84 result[bytes++] = (byte) ((value & PAYLOAD_MASK) | (hasMore ? MORE_DATA_TAG_BIT : 0)); in encodeSleb128()
[all …]