Home
last modified time | relevance | path

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

/dalvik/libdex/
DDexClass.h123 pHeader->staticFieldsSize = readUnsignedLeb128(pData); in dexReadClassDataHeader()
124 pHeader->instanceFieldsSize = readUnsignedLeb128(pData); in dexReadClassDataHeader()
125 pHeader->directMethodsSize = readUnsignedLeb128(pData); in dexReadClassDataHeader()
126 pHeader->virtualMethodsSize = readUnsignedLeb128(pData); in dexReadClassDataHeader()
138 u4 index = *lastIndex + readUnsignedLeb128(pData); in dexReadClassDataField()
140 pField->accessFlags = readUnsignedLeb128(pData); in dexReadClassDataField()
154 u4 index = *lastIndex + readUnsignedLeb128(pData); in dexReadClassDataMethod()
156 pMethod->accessFlags = readUnsignedLeb128(pData); in dexReadClassDataMethod()
157 pMethod->codeOff = readUnsignedLeb128(pData); in dexReadClassDataMethod()
DDexDebugInfo.cpp86 u4 stringIdx = readUnsignedLeb128(pStream); in readStringIdx()
102 u4 typeIdx = readUnsignedLeb128(pStream); in readTypeIdx()
154 u4 line = readUnsignedLeb128(&stream); in dexDecodeDebugInfo0()
155 u4 parametersSize = readUnsignedLeb128(&stream); in dexDecodeDebugInfo0()
220 address += readUnsignedLeb128(&stream); in dexDecodeDebugInfo0()
229 reg = readUnsignedLeb128(&stream); in dexDecodeDebugInfo0()
252 reg = readUnsignedLeb128(&stream); in dexDecodeDebugInfo0()
263 reg = readUnsignedLeb128(&stream); in dexDecodeDebugInfo0()
DDexCatch.cpp34 readUnsignedLeb128(&data); in dexGetFirstHandlerOffset()
47 return readUnsignedLeb128(&data); in dexGetHandlersSize()
DLeb128.cpp35 int result = readUnsignedLeb128(pStream); in readAndVerifyUnsignedLeb128()
DDexCatch.h99 u4 typeIdx = readUnsignedLeb128(&pIterator->pEncodedData); in dexCatchIteratorNext()
104 pIterator->handler.address = readUnsignedLeb128(&pIterator->pEncodedData); in dexCatchIteratorNext()
DLeb128.h31 DEX_INLINE int readUnsignedLeb128(const u1** pStream) { in readUnsignedLeb128() function
DDexFile.cpp110 *utf16Size = readUnsignedLeb128(&ptr); in dexStringAndSizeById()
DDexSwapVerify.cpp1402 return readUnsignedLeb128(&data); in annotationItemTypeIdx()
/dalvik/dx/tests/116-leb128/com/android/dx/util/
DLeb128UtilsTest.java26 assertEquals(0, Leb128Utils.readUnsignedLeb128(new ByteArrayByteInput((byte) 0))); in testDecodeUnsignedLeb()
27 assertEquals(1, Leb128Utils.readUnsignedLeb128(new ByteArrayByteInput((byte) 1))); in testDecodeUnsignedLeb()
28 assertEquals(127, Leb128Utils.readUnsignedLeb128(new ByteArrayByteInput((byte) 0x7f))); in testDecodeUnsignedLeb()
29 assertEquals(16256, Leb128Utils.readUnsignedLeb128( in testDecodeUnsignedLeb()
/dalvik/dx/src/com/android/dx/io/
DEncodedValueReader.java55 int size = Leb128Utils.readUnsignedLeb128(in); in readArray()
64 int typeIndex = Leb128Utils.readUnsignedLeb128(in); in readAnnotation()
65 int size = Leb128Utils.readUnsignedLeb128(in); in readAnnotation()
69 visitAnnotationName(Leb128Utils.readUnsignedLeb128(in)); in readAnnotation()
DDexBuffer.java362 return Leb128Utils.readUnsignedLeb128(this);
/dalvik/dexgen/src/com/android/dexgen/dex/file/
DDebugInfoDecoder.java222 int offsetIndex = readUnsignedLeb128(bs); in readStringIndex()
242 line = readUnsignedLeb128(bs); in decode0()
243 int szParams = readUnsignedLeb128(bs); in decode0()
294 int reg = readUnsignedLeb128(bs); in decode0()
306 int reg = readUnsignedLeb128(bs); in decode0()
319 int reg = readUnsignedLeb128(bs); in decode0()
345 int reg = readUnsignedLeb128(bs); in decode0()
375 address += readUnsignedLeb128(bs); in decode0()
636 public static int readUnsignedLeb128(InputStream bs) throws IOException { in readUnsignedLeb128() method in DebugInfoDecoder
/dalvik/dx/src/com/android/dx/dex/file/
DDebugInfoDecoder.java222 int offsetIndex = Leb128Utils.readUnsignedLeb128(bs); in readStringIndex()
242 line = Leb128Utils.readUnsignedLeb128(bs); in decode0()
243 int szParams = Leb128Utils.readUnsignedLeb128(bs); in decode0()
288 int reg = Leb128Utils.readUnsignedLeb128(bs); in decode0()
300 int reg = Leb128Utils.readUnsignedLeb128(bs); in decode0()
313 int reg = Leb128Utils.readUnsignedLeb128(bs); in decode0()
339 int reg = Leb128Utils.readUnsignedLeb128(bs); in decode0()
369 address += Leb128Utils.readUnsignedLeb128(bs); in decode0()
/dalvik/dx/src/com/android/dx/util/
DLeb128Utils.java110 public static int readUnsignedLeb128(ByteInput in) { in readUnsignedLeb128() method in Leb128Utils
/dalvik/tools/dexdeps/src/com/android/dexdeps/
DDexData.java484 int readUnsignedLeb128() throws IOException { in readUnsignedLeb128() method in DexData
505 int utf16len = readUnsignedLeb128(); in readString()
/dalvik/vm/analysis/
DRegisterMap.cpp589 int len = readUnsignedLeb128(&ptr); in computeRegisterMapSize()
1712 int expectedSrcLen = readUnsignedLeb128(&srcPtr); in uncompressMapDifferential()
1772 addrDiff = readUnsignedLeb128(&srcPtr); in uncompressMapDifferential()
1796 int bitIndex = readUnsignedLeb128(&srcPtr); in uncompressMapDifferential()
/dalvik/dexdump/
DDexDump.cpp1545 int compressedLen = readUnsignedLeb128(&data); in dumpDifferentialCompressedMap()