/dalvik/libdex/ |
H A D | DexCatch.c | 26 u4 dexGetFirstHandlerOffset(const DexCode* pCode) { argument 27 if (pCode->triesSize == 0) { 31 const u1* baseData = dexGetCatchHandlerData(pCode); 40 u4 dexGetHandlersSize(const DexCode* pCode) { argument 41 if (pCode->triesSize == 0) { 45 const u1* data = dexGetCatchHandlerData(pCode); 86 const DexCode* pCode) { 89 return (u4) (pIterator->pEncodedData - dexGetCatchHandlerData(pCode)); 85 dexCatchIteratorGetEndOffset(DexCatchIterator* pIterator, const DexCode* pCode) argument
|
H A D | DexCatch.h | 38 u4 dexGetFirstHandlerOffset(const DexCode* pCode); 41 u4 dexGetHandlersSize(const DexCode* pCode); 83 const DexCode* pCode, u4 offset) 86 dexGetCatchHandlerData(pCode) + offset); 111 const DexCode* pCode); 121 const DexCode* pCode, u4 address) { 122 u2 triesSize = pCode->triesSize; 131 const DexTry* tries = dexGetTries(pCode); 148 offset = dexFindCatchHandlerOffset0(triesSize, dexGetTries(pCode), 157 dexCatchIteratorInit(pIterator, pCode, offse 82 dexCatchIteratorInit(DexCatchIterator* pIterator, const DexCode* pCode, u4 offset) argument 120 dexFindCatchHandler(DexCatchIterator *pIterator, const DexCode* pCode, u4 address) argument [all...] |
H A D | DexFile.c | 700 size_t dexGetDexCodeSize(const DexCode* pCode) argument 710 if (pCode->triesSize != 0) { 711 handlersSize = dexGetHandlersSize(pCode); 712 offset = dexGetFirstHandlerOffset(pCode); 720 dexCatchIteratorInit(&iterator, pCode, offset); 721 offset = dexCatchIteratorGetEndOffset(&iterator, pCode); 724 const u1* handlerData = dexGetCatchHandlerData(pCode); 726 //LOGD("+++ pCode=%p handlerData=%p last offset=%d\n", 727 // pCode, handlerData, offset); 730 return (handlerData - (u1*) pCode) 848 dexDecodeDebugInfo( const DexFile* pDexFile, const DexCode* pCode, const char* classDescriptor, u4 protoIdx, u4 accessFlags, DexDebugNewPositionCb posCb, DexDebugNewLocalCb localCb, void* cnxt) argument [all...] |
H A D | DexFile.h | 725 size_t dexGetDexCodeSize(const DexCode* pCode); 728 DEX_INLINE const DexTry* dexGetTries(const DexCode* pCode) { argument 729 const u2* insnsEnd = &pCode->insns[pCode->insnsSize]; 740 DEX_INLINE const u1* dexGetCatchHandlerData(const DexCode* pCode) { argument 741 const DexTry* pTries = dexGetTries(pCode); 742 return (const u1*) &pTries[pCode->triesSize]; 747 const DexCode* pCode) 749 if (pCode->debugInfoOff == 0) { 752 return pDexFile->baseAddr + pCode 746 dexGetDebugInfoStream(const DexFile* pDexFile, const DexCode* pCode) argument [all...] |
/dalvik/vm/analysis/ |
H A D | VerifySubs.c | 99 const DexCode* pCode = dvmGetMethodCode(meth); local 100 u4 triesSize = pCode->triesSize; 110 pTries = dexGetTries(pCode); 111 handlersSize = dexGetHandlersSize(pCode); 142 offset = dexGetFirstHandlerOffset(pCode); 145 dexCatchIteratorInit(&iterator, pCode, offset); 166 offset = dexCatchIteratorGetEndOffset(&iterator, pCode);
|
H A D | CodeVerify.c | 2730 const DexCode* pCode; local 2739 pCode = dvmGetMethodCode(meth); 2741 if (pCode->triesSize != 0) { 2742 handlersSize = dexGetHandlersSize(pCode); 2743 offset = dexGetFirstHandlerOffset(pCode); 2751 dexCatchIteratorInit(&iterator, pCode, offset); 2787 offset = dexCatchIteratorGetEndOffset(&iterator, pCode); 5625 const DexCode* pCode = dvmGetMethodCode(meth); local 5628 if (dexFindCatchHandler(&iterator, pCode, insnIdx)) {
|
H A D | RegisterMap.c | 3142 const DexCode* pCode = dvmGetMethodCode(meth); 3145 if (dexFindCatchHandler(&iterator, pCode, insnIdx)) {
|
/dalvik/dexlist/ |
H A D | DexList.c | 95 const DexCode* pCode; local 109 pCode = dexGetCode(pDexFile, pDexMethod); 110 assert(pCode != NULL); 125 dexDecodeDebugInfo(pDexFile, pCode, classDescriptor, pMethodId->protoIdx, 140 insnsOff, pCode->insnsSize * 2,
|
/dalvik/dexdump/ |
H A D | DexDump.c | 562 void dumpCatches(DexFile* pDexFile, const DexCode* pCode) argument 564 u4 triesSize = pCode->triesSize; 573 const DexTry* pTries = dexGetTries(pCode); 584 dexCatchIteratorInit(&iterator, pCode, pTry->handlerOff); 612 void dumpPositions(DexFile* pDexFile, const DexCode* pCode, argument 621 dexDecodeDebugInfo(pDexFile, pCode, classDescriptor, pMethodId->protoIdx, 637 void dumpLocals(DexFile* pDexFile, const DexCode* pCode, argument 647 dexDecodeDebugInfo(pDexFile, pCode, classDescriptor, pMethodId->protoIdx, 700 void dumpInstruction(DexFile* pDexFile, const DexCode* pCode, int insnIdx, argument 703 const u2* insns = pCode 1034 const DexCode* pCode = dexGetCode(pDexFile, pDexMethod); local 1095 const DexCode* pCode = dexGetCode(pDexFile, pDexMethod); local [all...] |
/dalvik/vm/oo/ |
H A D | Object.h | 787 const DexCode* pCode = dvmGetMethodCode(meth); local 788 return (pCode == NULL) ? 0 : pCode->insnsSize;
|
/dalvik/vm/ |
H A D | Exception.c | 774 const DexCode* pCode = dvmGetMethodCode(method); local 777 if (dexFindCatchHandler(&iterator, pCode, relPc)) {
|