Searched refs:pCode (Results 1 – 6 of 6) sorted by relevance
/dalvik/libdex/ |
D | DexCatch.cpp | 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 | DexDebugInfo.cpp | 143 const DexCode* pCode, in dexDecodeDebugInfo0() argument 153 u4 insnsSize = pCode->insnsSize; in dexDecodeDebugInfo0() 156 u2 argReg = pCode->registersSize - pCode->insSize; in dexDecodeDebugInfo0() 166 assert(pCode->insSize == (dexProtoComputeArgsSize(&proto) + 1)); in dexDecodeDebugInfo0() 173 assert(pCode->insSize == dexProtoComputeArgsSize(&proto)); in dexDecodeDebugInfo0() 184 if ((argReg >= pCode->registersSize) || (descriptor == NULL)) { in dexDecodeDebugInfo0() 230 if (reg > pCode->registersSize) { in dexDecodeDebugInfo0() 253 if (reg > pCode->registersSize) { in dexDecodeDebugInfo0() 264 if (reg > pCode->registersSize) { in dexDecodeDebugInfo0() 314 const DexCode* pCode, in dexDecodeDebugInfo() argument [all …]
|
D | DexFile.cpp | 493 size_t dexGetDexCodeSize(const DexCode* pCode) in dexGetDexCodeSize() argument 503 if (pCode->triesSize != 0) { in dexGetDexCodeSize() 504 handlersSize = dexGetHandlersSize(pCode); in dexGetDexCodeSize() 505 offset = dexGetFirstHandlerOffset(pCode); in dexGetDexCodeSize() 513 dexCatchIteratorInit(&iterator, pCode, offset); in dexGetDexCodeSize() 514 offset = dexCatchIteratorGetEndOffset(&iterator, pCode); in dexGetDexCodeSize() 517 const u1* handlerData = dexGetCatchHandlerData(pCode); in dexGetDexCodeSize() 523 return (handlerData - (u1*) pCode) + offset; in dexGetDexCodeSize()
|
D | DexFile.h | 794 size_t dexGetDexCodeSize(const DexCode* pCode); 797 DEX_INLINE const DexTry* dexGetTries(const DexCode* pCode) { in dexGetTries() argument 798 const u2* insnsEnd = &pCode->insns[pCode->insnsSize]; in dexGetTries() 809 DEX_INLINE const u1* dexGetCatchHandlerData(const DexCode* pCode) { in dexGetCatchHandlerData() argument 810 const DexTry* pTries = dexGetTries(pCode); in dexGetCatchHandlerData() 811 return (const u1*) &pTries[pCode->triesSize]; in dexGetCatchHandlerData() 816 const DexCode* pCode) in dexGetDebugInfoStream() argument 818 if (pCode->debugInfoOff == 0) { in dexGetDebugInfoStream() 821 return pDexFile->baseAddr + pCode->debugInfoOff; in dexGetDebugInfoStream()
|
/dalvik/dexdump/ |
D | DexDump.cpp | 568 void dumpCatches(DexFile* pDexFile, const DexCode* pCode) in dumpCatches() argument 570 u4 triesSize = pCode->triesSize; in dumpCatches() 579 const DexTry* pTries = dexGetTries(pCode); in dumpCatches() 590 dexCatchIteratorInit(&iterator, pCode, pTry->handlerOff); in dumpCatches() 618 void dumpPositions(DexFile* pDexFile, const DexCode* pCode, in dumpPositions() argument 627 dexDecodeDebugInfo(pDexFile, pCode, classDescriptor, pMethodId->protoIdx, in dumpPositions() 643 void dumpLocals(DexFile* pDexFile, const DexCode* pCode, in dumpLocals() argument 653 dexDecodeDebugInfo(pDexFile, pCode, classDescriptor, pMethodId->protoIdx, in dumpLocals() 850 void dumpInstruction(DexFile* pDexFile, const DexCode* pCode, int insnIdx, in dumpInstruction() argument 855 const u2* insns = pCode->insns; in dumpInstruction() [all …]
|