/dalvik/libdex/ |
D | DexCatch.c | 26 u4 dexGetFirstHandlerOffset(const DexCode* pCode) { in dexGetFirstHandlerOffset() argument 27 if (pCode->triesSize == 0) { in dexGetFirstHandlerOffset() 31 const u1* baseData = dexGetCatchHandlerData(pCode); in dexGetFirstHandlerOffset() 40 u4 dexGetHandlersSize(const DexCode* pCode) { in dexGetHandlersSize() argument 41 if (pCode->triesSize == 0) { in dexGetHandlersSize() 45 const u1* data = dexGetCatchHandlerData(pCode); in dexGetHandlersSize() 86 const DexCode* pCode) { in dexCatchIteratorGetEndOffset() argument 89 return (u4) (pIterator->pEncodedData - dexGetCatchHandlerData(pCode)); in dexCatchIteratorGetEndOffset()
|
D | DexCatch.h | 38 u4 dexGetFirstHandlerOffset(const DexCode* pCode); 41 u4 dexGetHandlersSize(const DexCode* pCode); 83 const DexCode* pCode, u4 offset) in dexCatchIteratorInit() argument 86 dexGetCatchHandlerData(pCode) + offset); in dexCatchIteratorInit() 111 const DexCode* pCode); 121 const DexCode* pCode, u4 address) { in dexFindCatchHandler() argument 122 u2 triesSize = pCode->triesSize; in dexFindCatchHandler() 131 const DexTry* tries = dexGetTries(pCode); in dexFindCatchHandler() 148 offset = dexFindCatchHandlerOffset0(triesSize, dexGetTries(pCode), in dexFindCatchHandler() 157 dexCatchIteratorInit(pIterator, pCode, offset); in dexFindCatchHandler()
|
D | DexFile.c | 894 size_t dexGetDexCodeSize(const DexCode* pCode) in dexGetDexCodeSize() argument 904 if (pCode->triesSize != 0) { in dexGetDexCodeSize() 905 handlersSize = dexGetHandlersSize(pCode); in dexGetDexCodeSize() 906 offset = dexGetFirstHandlerOffset(pCode); in dexGetDexCodeSize() 914 dexCatchIteratorInit(&iterator, pCode, offset); in dexGetDexCodeSize() 915 offset = dexCatchIteratorGetEndOffset(&iterator, pCode); in dexGetDexCodeSize() 918 const u1* handlerData = dexGetCatchHandlerData(pCode); in dexGetDexCodeSize() 924 return (handlerData - (u1*) pCode) + offset; in dexGetDexCodeSize() 1044 const DexCode* pCode, in dexDecodeDebugInfo() argument 1051 const u1 *stream = dexGetDebugInfoStream(pDexFile, pCode); in dexDecodeDebugInfo() [all …]
|
D | DexFile.h | 739 size_t dexGetDexCodeSize(const DexCode* pCode); 742 DEX_INLINE const DexTry* dexGetTries(const DexCode* pCode) { in dexGetTries() argument 743 const u2* insnsEnd = &pCode->insns[pCode->insnsSize]; in dexGetTries() 754 DEX_INLINE const u1* dexGetCatchHandlerData(const DexCode* pCode) { in dexGetCatchHandlerData() argument 755 const DexTry* pTries = dexGetTries(pCode); in dexGetCatchHandlerData() 756 return (const u1*) &pTries[pCode->triesSize]; in dexGetCatchHandlerData() 761 const DexCode* pCode) in dexGetDebugInfoStream() argument 763 if (pCode->debugInfoOff == 0) { in dexGetDebugInfoStream() 766 return pDexFile->baseAddr + pCode->debugInfoOff; in dexGetDebugInfoStream()
|
/dalvik/dexlist/ |
D | DexList.c | 86 const DexCode* pCode; in dumpMethod() local 100 pCode = dexGetCode(pDexFile, pDexMethod); in dumpMethod() 101 assert(pCode != NULL); in dumpMethod() 116 dexDecodeDebugInfo(pDexFile, pCode, classDescriptor, pMethodId->protoIdx, in dumpMethod() 124 insnsOff, pCode->insnsSize * 2, in dumpMethod()
|
/dalvik/vm/analysis/ |
D | VerifySubs.c | 117 const DexCode* pCode = dvmGetMethodCode(meth); in dvmSetTryFlags() local 118 u4 triesSize = pCode->triesSize; in dvmSetTryFlags() 128 pTries = dexGetTries(pCode); in dvmSetTryFlags() 129 handlersSize = dexGetHandlersSize(pCode); in dvmSetTryFlags() 160 offset = dexGetFirstHandlerOffset(pCode); in dvmSetTryFlags() 163 dexCatchIteratorInit(&iterator, pCode, offset); in dvmSetTryFlags() 184 offset = dexCatchIteratorGetEndOffset(&iterator, pCode); in dvmSetTryFlags()
|
D | CodeVerify.c | 2700 const DexCode* pCode; in getCaughtExceptionType() local 2709 pCode = dvmGetMethodCode(meth); in getCaughtExceptionType() 2711 if (pCode->triesSize != 0) { in getCaughtExceptionType() 2712 handlersSize = dexGetHandlersSize(pCode); in getCaughtExceptionType() 2713 offset = dexGetFirstHandlerOffset(pCode); in getCaughtExceptionType() 2721 dexCatchIteratorInit(&iterator, pCode, offset); in getCaughtExceptionType() 2757 offset = dexCatchIteratorGetEndOffset(&iterator, pCode); in getCaughtExceptionType() 5606 const DexCode* pCode = dvmGetMethodCode(meth); in verifyInstruction() local 5609 if (dexFindCatchHandler(&iterator, pCode, insnIdx)) { in verifyInstruction()
|
D | RegisterMap.c | 3143 const DexCode* pCode = dvmGetMethodCode(meth); 3146 if (dexFindCatchHandler(&iterator, pCode, insnIdx)) {
|
/dalvik/dexdump/ |
D | DexDump.c | 461 void dumpCatches(DexFile* pDexFile, const DexCode* pCode) in dumpCatches() argument 463 u4 triesSize = pCode->triesSize; in dumpCatches() 472 const DexTry* pTries = dexGetTries(pCode); in dumpCatches() 483 dexCatchIteratorInit(&iterator, pCode, pTry->handlerOff); in dumpCatches() 511 void dumpPositions(DexFile* pDexFile, const DexCode* pCode, in dumpPositions() argument 520 dexDecodeDebugInfo(pDexFile, pCode, classDescriptor, pMethodId->protoIdx, in dumpPositions() 536 void dumpLocals(DexFile* pDexFile, const DexCode* pCode, in dumpLocals() argument 546 dexDecodeDebugInfo(pDexFile, pCode, classDescriptor, pMethodId->protoIdx, in dumpLocals() 599 void dumpInstruction(DexFile* pDexFile, const DexCode* pCode, int insnIdx, in dumpInstruction() argument 602 const u2* insns = pCode->insns; in dumpInstruction() [all …]
|
/dalvik/vm/oo/ |
D | Object.h | 906 const DexCode* pCode = dvmGetMethodCode(meth); in dvmGetMethodInsnsSize() local 907 return (pCode == NULL) ? 0 : pCode->insnsSize; in dvmGetMethodInsnsSize()
|
/dalvik/vm/ |
D | Exception.c | 719 const DexCode* pCode = dvmGetMethodCode(method); in findCatchInMethod() local 722 if (dexFindCatchHandler(&iterator, pCode, relPc)) { in findCatchInMethod()
|