Searched refs:Leb128 (Results 1 – 10 of 10) sorted by relevance
/dalvik/dx/tests/116-leb128/com/android/dx/util/ |
D | Leb128UtilsTest.java | 20 import com.android.dex.Leb128; 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() 31 assertEquals(16256, Leb128.readUnsignedLeb128( 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() 51 assertEquals(-128, Leb128.readSignedLeb128( in testDecodeSignedLeb() [all …]
|
/dalvik/dx/src/com/android/dx/dex/file/ |
D | StringDataItem.java | 19 import com.android.dex.Leb128; 53 return Leb128.unsignedLeb128Size(utf16Size) in writeSize() 76 out.annotate(Leb128.unsignedLeb128Size(utf16Size), in writeTo0()
|
D | EncodedMethod.java | 19 import com.android.dex.Leb128; 183 out.annotate(Leb128.unsignedLeb128Size(diff), in encode() 185 out.annotate(Leb128.unsignedLeb128Size(accessFlags), in encode() 188 out.annotate(Leb128.unsignedLeb128Size(codeOff), in encode()
|
D | DebugInfoDecoder.java | 19 import com.android.dex.Leb128; 233 int offsetIndex = Leb128.readUnsignedLeb128(bs); in readStringIndex() 253 line = Leb128.readUnsignedLeb128(bs); in decode0() 254 int szParams = Leb128.readUnsignedLeb128(bs); in decode0() 299 int reg = Leb128.readUnsignedLeb128(bs); in decode0() 311 int reg = Leb128.readUnsignedLeb128(bs); in decode0() 324 int reg = Leb128.readUnsignedLeb128(bs); in decode0() 350 int reg = Leb128.readUnsignedLeb128(bs); in decode0() 380 address += Leb128.readUnsignedLeb128(bs); in decode0() 384 line += Leb128.readSignedLeb128(bs); in decode0()
|
D | EncodedField.java | 19 import com.android.dex.Leb128; 145 out.annotate(Leb128.unsignedLeb128Size(diff), in encode() 147 out.annotate(Leb128.unsignedLeb128Size(accessFlags), in encode()
|
/dalvik/dx/src/com/android/dex/ |
D | EncodedValueReader.java | 100 return Leb128.readUnsignedLeb128(in); in readArray() 119 annotationType = Leb128.readUnsignedLeb128(in); in readAnnotation() 120 return Leb128.readUnsignedLeb128(in); in readAnnotation() 133 return Leb128.readUnsignedLeb128(in); in readAnnotationName()
|
D | Leb128.java | 26 public final class Leb128 { class 27 private Leb128() { in Leb128() method in Leb128
|
D | Dex.java | 378 return Leb128.readUnsignedLeb128(this); in readUleb128() 382 return Leb128.readUnsignedLeb128(this) - 1; in readUleb128p1() 386 return Leb128.readSignedLeb128(this); in readSleb128() 671 Leb128.writeUnsignedLeb128(this, i); in writeUleb128() 679 Leb128.writeSignedLeb128(this, i); in writeSleb128()
|
/dalvik/dx/src/com/android/dx/merge/ |
D | IndexMap.java | 46 import com.android.dex.Leb128; 369 Leb128.writeUnsignedLeb128(out, adjustType(reader.getAnnotationType())); in transformAnnotation() 370 Leb128.writeUnsignedLeb128(out, fieldCount); in transformAnnotation() 372 Leb128.writeUnsignedLeb128(out, adjustString(reader.readAnnotationName())); in transformAnnotation() 379 Leb128.writeUnsignedLeb128(out, size); in transformArray()
|
/dalvik/dx/src/com/android/dx/util/ |
D | ByteArrayAnnotatedOutput.java | 19 import com.android.dex.Leb128; 252 Leb128.writeUnsignedLeb128(this, value); in writeUleb128() 263 Leb128.writeSignedLeb128(this, value); in writeSleb128()
|