Home
last modified time | relevance | path

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

/dalvik/dx/tests/116-leb128/com/android/dx/util/
DLeb128UtilsTest.java19 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()
/dalvik/dx/src/com/android/dex/util/
DByteArrayByteInput.java19 public final class ByteArrayByteInput implements ByteInput { class
24 public ByteArrayByteInput(byte... bytes) { in ByteArrayByteInput() method in ByteArrayByteInput
/dalvik/dx/tests/117-modified-utf8/com/android/dx/util/
DMutf8Test.java19 import com.android.dex.util.ByteArrayByteInput;
29 ByteInput in = new ByteArrayByteInput( in testDecode()
/dalvik/dx/src/com/android/dex/
DEncodedValue.java19 import com.android.dex.util.ByteArrayByteInput;
33 return new ByteArrayByteInput(data); in asByteInput()
/dalvik/dx/junit-tests/com/android/dex/
DEncodedValueReaderTest.java19 import com.android.dex.util.ByteArrayByteInput;
125 return new EncodedValueReader(new ByteArrayByteInput(data)); in readerOf()
/dalvik/dx/src/com/android/dx/dex/file/
DDebugInfoDecoder.java20 import com.android.dex.util.ByteArrayByteInput;
251 ByteInput bs = new ByteArrayByteInput(encoded); in decode0()