Searched refs:setBits (Results 1 – 2 of 2) sorted by relevance
47 private int setBits = 0; field in BitStream50 return Arrays.copyOf(buffer, position + (setBits == 0 ? 0 : 1)); in getPaddedBytes()54 buffer[position] = (byte) (buffer[position] | (data & 0xFF) >> setBits); in appendByte()56 buffer[position] = (byte) (buffer[position] | (data << (BITS_IN_BYTE - setBits)) & 0xFF); in appendByte()68 buffer[position] = (byte) (buffer[position] | 1 << (BITS_IN_BYTE - 1 - setBits)); in appendBit()70 setBits++; in appendBit()71 if (setBits == BITS_IN_BYTE) { in appendBit()73 setBits = 0; in appendBit()78 return BITS_IN_BYTE * position + setBits; in getBitCount()108 if (setBits != 0) {[all …]
82 mOatInfoBuilder.setBits(elf.getBits()); in parse()