Searched refs:ByteArrayByteInput (Results 1 – 6 of 6) sorted by relevance
19 import com.android.dex.util.ByteArrayByteInput;28 assertEquals(0, Leb128.readUnsignedLeb128(new ByteArrayByteInput((byte) 0))); in testDecodeUnsignedLeb()29 assertEquals(1, Leb128.readUnsignedLeb128(new ByteArrayByteInput((byte) 1))); in testDecodeUnsignedLeb()30 assertEquals(127, Leb128.readUnsignedLeb128(new ByteArrayByteInput((byte) 0x7f))); in testDecodeUnsignedLeb()32 new ByteArrayByteInput((byte) 0x80, (byte) 0x7f))); in testDecodeUnsignedLeb()47 assertEquals(0, Leb128.readSignedLeb128(new ByteArrayByteInput((byte) 0))); in testDecodeSignedLeb()48 assertEquals(1, Leb128.readSignedLeb128(new ByteArrayByteInput((byte) 1))); in testDecodeSignedLeb()49 assertEquals(-1, Leb128.readSignedLeb128(new ByteArrayByteInput((byte) 0x7f))); in testDecodeSignedLeb()50 assertEquals(0x3c, Leb128.readSignedLeb128(new ByteArrayByteInput((byte) 0x3c))); in testDecodeSignedLeb()52 new ByteArrayByteInput((byte) 0x80, (byte) 0x7f))); in testDecodeSignedLeb()
19 public final class ByteArrayByteInput implements ByteInput { class24 public ByteArrayByteInput(byte... bytes) { in ByteArrayByteInput() method in ByteArrayByteInput
19 import com.android.dex.util.ByteArrayByteInput;29 ByteInput in = new ByteArrayByteInput( in testDecode()
19 import com.android.dex.util.ByteArrayByteInput;33 return new ByteArrayByteInput(data); in asByteInput()
19 import com.android.dex.util.ByteArrayByteInput;125 return new EncodedValueReader(new ByteArrayByteInput(data)); in readerOf()
20 import com.android.dex.util.ByteArrayByteInput;251 ByteInput bs = new ByteArrayByteInput(encoded); in decode0()