Searched refs:pDexFile (Results 1 - 10 of 10) sorted by relevance

/dalvik/libdex/
H A DDexOptData.h32 * @param pDexFile pointer to the associated dex file structure
34 bool dexParseOptData(const u1* data, size_t length, DexFile* pDexFile);
H A DDexFile.h672 void dexFileFree(DexFile* pDexFile);
677 DexClassLookup* dexCreateClassLookup(DexFile* pDexFile);
688 void dexFileSetupBasicPointers(DexFile* pDexFile, const u1* data);
691 DEX_INLINE const DexMapList* dexGetMap(const DexFile* pDexFile) { argument
692 u4 mapOff = pDexFile->pHeader->mapOff;
697 return (const DexMapList*) (pDexFile->baseAddr + mapOff);
702 DEX_INLINE const char* dexGetStringData(const DexFile* pDexFile, argument
704 const u1* ptr = pDexFile->baseAddr + pStringId->stringDataOff;
712 DEX_INLINE const DexStringId* dexGetStringId(const DexFile* pDexFile, u4 idx) { argument
713 assert(idx < pDexFile
717 dexStringById(const DexFile* pDexFile, u4 idx) argument
728 dexGetTypeId(const DexFile* pDexFile, u4 idx) argument
737 dexStringByTypeIdx(const DexFile* pDexFile, u4 idx) argument
743 dexGetMethodId(const DexFile* pDexFile, u4 idx) argument
749 dexGetFieldId(const DexFile* pDexFile, u4 idx) argument
755 dexGetProtoId(const DexFile* pDexFile, u4 idx) argument
764 dexGetProtoParameters( const DexFile *pDexFile, const DexProtoId* pProtoId) argument
774 dexGetClassDef(const DexFile* pDexFile, u4 idx) argument
780 dexGetIndexForClassDef(const DexFile* pDexFile, const DexClassDef* pClassDef) argument
789 dexGetInterfacesList(const DexFile* pDexFile, const DexClassDef* pClassDef) argument
811 dexGetStaticValuesList( const DexFile* pDexFile, const DexClassDef* pClassDef) argument
821 dexGetAnnotationsDirectoryItem( const DexFile* pDexFile, const DexClassDef* pClassDef) argument
831 dexGetSourceFile( const DexFile* pDexFile, const DexClassDef* pClassDef) argument
861 dexGetDebugInfoStream(const DexFile* pDexFile, const DexCode* pCode) argument
872 dexGetClassDescriptor(const DexFile* pDexFile, const DexClassDef* pClassDef) argument
879 dexGetSuperClassDescriptor(const DexFile* pDexFile, const DexClassDef* pClassDef) argument
888 dexGetClassData(const DexFile* pDexFile, const DexClassDef* pClassDef) argument
897 dexGetAnnotationSetItem( const DexFile* pDexFile, u4 offset) argument
906 dexGetClassAnnotationSet( const DexFile* pDexFile, const DexAnnotationsDirectoryItem* pAnnoDir) argument
913 dexGetFieldAnnotations( const DexFile* pDexFile, const DexAnnotationsDirectoryItem* pAnnoDir) argument
925 dexGetFieldAnnotationsSize(const DexFile* pDexFile, const DexAnnotationsDirectoryItem* pAnnoDir) argument
933 dexGetFieldAnnotationSetItem( const DexFile* pDexFile, const DexFieldAnnotationsItem* pItem) argument
940 dexGetMethodAnnotations( const DexFile* pDexFile, const DexAnnotationsDirectoryItem* pAnnoDir) argument
957 dexGetMethodAnnotationsSize(const DexFile* pDexFile, const DexAnnotationsDirectoryItem* pAnnoDir) argument
965 dexGetMethodAnnotationSetItem( const DexFile* pDexFile, const DexMethodAnnotationsItem* pItem) argument
972 dexGetParameterAnnotations( const DexFile* pDexFile, const DexAnnotationsDirectoryItem* pAnnoDir) argument
990 dexGetParameterAnnotationsSize(const DexFile* pDexFile, const DexAnnotationsDirectoryItem* pAnnoDir) argument
998 dexGetParameterAnnotationSetRefList( const DexFile* pDexFile, const DexParameterAnnotationsItem* pItem) argument
1008 dexGetParameterAnnotationSetRefSize(const DexFile* pDexFile, const DexParameterAnnotationsItem* pItem) argument
1026 dexGetSetRefItemItem( const DexFile* pDexFile, const DexAnnotationSetRefItem* pItem) argument
1041 dexGetAnnotationItem( const DexFile* pDexFile, const DexAnnotationSetItem* pAnnoSet, u4 idx) argument
[all...]
H A DDexFile.cpp104 const char* dexStringAndSizeById(const DexFile* pDexFile, u4 idx, argument
106 const DexStringId* pStringId = dexGetStringId(pDexFile, idx);
107 const u1* ptr = pDexFile->baseAddr + pStringId->stringDataOff;
176 static void classLookupAdd(DexFile* pDexFile, DexClassLookup* pLookup, argument
180 (const char*) (pDexFile->baseAddr + stringOff);
208 DexClassLookup* dexCreateClassLookup(DexFile* pDexFile) argument
217 assert(pDexFile != NULL);
226 numEntries = dexRoundUpPower2(pDexFile->pHeader->classDefsSize * 2);
236 for (i = 0; i < (int)pDexFile->pHeader->classDefsSize; i++) {
240 pClassDef = dexGetClassDef(pDexFile,
266 dexFileSetupBasicPointers(DexFile* pDexFile, const u1* data) argument
288 DexFile* pDexFile = NULL; local
425 dexFileFree(DexFile* pDexFile) argument
438 dexFindClass(const DexFile* pDexFile, const char* descriptor) argument
[all...]
H A DDexProto.h88 const DexFile* pDexFile, const DexMethodId* pMethodId)
90 pProto->dexFile = pDexFile;
123 DEX_INLINE const char* dexGetDescriptorFromMethodId(const DexFile* pDexFile, argument
128 dexProtoSetFromMethodId(&proto, pDexFile, pMethodId);
137 DEX_INLINE char* dexCopyDescriptorFromMethodId(const DexFile* pDexFile, argument
142 dexProtoSetFromMethodId(&proto, pDexFile, pMethodId);
87 dexProtoSetFromMethodId(DexProto* pProto, const DexFile* pDexFile, const DexMethodId* pMethodId) argument
H A DDexDebugInfo.cpp32 static const char* readStringIdx(const DexFile* pDexFile, argument
40 return dexStringById(pDexFile, stringIdx - 1);
48 static const char* readTypeIdx(const DexFile* pDexFile, argument
56 return dexStringByTypeIdx(pDexFile, typeIdx - 1);
90 const DexFile* pDexFile,
100 DexProto proto = { pDexFile, protoIdx };
136 name = readStringIdx(pDexFile, &stream);
186 localInReg[reg].name = readStringIdx(pDexFile, &stream);
187 localInReg[reg].descriptor = readTypeIdx(pDexFile, &stream);
190 = readStringIdx(pDexFile,
89 dexDecodeDebugInfo0( const DexFile* pDexFile, const DexCode* pCode, const char* classDescriptor, u4 protoIdx, u4 accessFlags, DexDebugNewPositionCb posCb, DexDebugNewLocalCb localCb, void* cnxt, const u1* stream, LocalInfo* localInReg) argument
259 dexDecodeDebugInfo( const DexFile* pDexFile, const DexCode* pCode, const char* classDescriptor, u4 protoIdx, u4 accessFlags, DexDebugNewPositionCb posCb, DexDebugNewLocalCb localCb, void* cnxt) argument
[all...]
H A DDexDebugInfo.h47 const DexFile* pDexFile,
H A DDexOptData.cpp49 bool dexParseOptData(const u1* data, size_t length, DexFile* pDexFile) argument
51 const void* pOptStart = data + pDexFile->pOptHeader->optOffset;
109 pDexFile->pClassLookup = (const DexClassLookup*) pOptData;
113 pDexFile->pRegisterMapPool = pOptData;
H A DDexClass.h109 DEX_INLINE const DexCode* dexGetCode(const DexFile* pDexFile, argument
114 return (const DexCode*) (pDexFile->baseAddr + pDexMethod->codeOff);
H A DDexSwapVerify.cpp51 const DexFile* pDexFile; // set after intraitem verification member in struct:CheckState
211 const DexFieldId* field = dexGetFieldId(state->pDexFile, fieldIdx);
218 const DexMethodId* meth = dexGetMethodId(state->pDexFile, methodIdx);
552 const char* s0 = dexGetStringData(state->pDexFile, item0);
553 const char* s1 = dexGetStringData(state->pDexFile, item);
577 dexStringById(state->pDexFile, item->descriptorIdx);
658 dexStringById(state->pDexFile, item->shortyIdx);
666 dexStringByTypeIdx(state->pDexFile, item->returnTypeIdx),
671 u4 protoIdx = item - state->pDexFile->pProtoIds;
672 DexProto proto = { state->pDexFile, protoId
[all...]
/dalvik/dexdump/
H A DDexDump.cpp400 void dumpFileHeader(const DexFile* pDexFile) argument
402 const DexOptHeader* pOptHeader = pDexFile->pOptHeader;
403 const DexHeader* pHeader = pDexFile->pHeader;
467 void dumpOptDirectory(const DexFile* pDexFile) argument
469 const DexOptHeader* pOptHeader = pDexFile->pOptHeader;
516 void dumpClassDef(DexFile* pDexFile, int idx) argument
522 pClassDef = dexGetClassDef(pDexFile, idx);
523 pEncodedData = dexGetClassData(pDexFile, pClassDef);
557 void dumpInterface(const DexFile* pDexFile, const DexTypeItem* pTypeItem, argument
561 dexStringByTypeIdx(pDexFile, pTypeIte
575 dumpCatches(DexFile* pDexFile, const DexCode* pCode) argument
625 dumpPositions(DexFile* pDexFile, const DexCode* pCode, const DexMethod *pDexMethod) argument
650 dumpLocals(DexFile* pDexFile, const DexCode* pCode, const DexMethod *pDexMethod) argument
667 getMethodInfo(DexFile* pDexFile, u4 methodIdx, FieldMethodInfo* pMethInfo) argument
686 getFieldInfo(DexFile* pDexFile, u4 fieldIdx, FieldMethodInfo* pFieldInfo) argument
704 getProtoInfo(DexFile* pDexFile, u4 protoIdx, ProtoInfo* pProtoInfo) argument
763 getClassDescriptor(DexFile* pDexFile, u4 classIdx) argument
777 indexString(DexFile* pDexFile, const DecodedInstruction* pDecInsn, size_t bufSize) argument
961 dumpInstruction(DexFile* pDexFile, const DexCode* pCode, int insnIdx, int insnWidth, const DecodedInstruction* pDecInsn) argument
1189 dumpBytecodes(DexFile* pDexFile, const DexMethod* pDexMethod) argument
1262 dumpCode(DexFile* pDexFile, const DexMethod* pDexMethod) argument
1283 dumpMethod(DexFile* pDexFile, const DexMethod* pDexMethod, int i) argument
1426 dumpSField(const DexFile* pDexFile, const DexField* pSField, int i) argument
1483 dumpIField(const DexFile* pDexFile, const DexField* pIField, int i) argument
1496 dumpClass(DexFile* pDexFile, int idx, char** pLastPackage) argument
1710 dumpMethodMap(DexFile* pDexFile, const DexMethod* pDexMethod, int idx, const u1** pData) argument
1779 dumpRegisterMaps(DexFile* pDexFile) argument
1858 findMapItem(const DexFile* pDexFile, u4 type) argument
1870 dumpMethodHandles(DexFile* pDexFile) argument
1999 dumpCallSites(DexFile* pDexFile) argument
2107 processDexFile(const char* fileName, DexFile* pDexFile) argument
2156 DexFile* pDexFile = NULL; local
[all...]

Completed in 2658 milliseconds