Home
last modified time | relevance | path

Searched refs:readUnsignedLeb128 (Results 1 – 13 of 13) 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.cpp1408 return readUnsignedLeb128(&data); in annotationItemTypeIdx()
/dalvik/dx/tests/116-leb128/com/android/dx/util/
DLeb128UtilsTest.java28 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()
/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.java232 int offsetIndex = Leb128.readUnsignedLeb128(bs); in readStringIndex()
252 line = Leb128.readUnsignedLeb128(bs); in decode0()
253 int szParams = Leb128.readUnsignedLeb128(bs); in decode0()
298 int reg = Leb128.readUnsignedLeb128(bs); in decode0()
310 int reg = Leb128.readUnsignedLeb128(bs); in decode0()
323 int reg = Leb128.readUnsignedLeb128(bs); in decode0()
349 int reg = Leb128.readUnsignedLeb128(bs); in decode0()
379 address += Leb128.readUnsignedLeb128(bs); in decode0()
/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/dexdump/
DDexDump.cpp1559 int compressedLen = readUnsignedLeb128(&data); in dumpDifferentialCompressedMap()