Home
last modified time | relevance | path

Searched refs:DexFile (Results 1 – 25 of 77) sorted by relevance

1234

/dalvik/libdex/
DDexFile.h504 typedef struct DexFile { struct
534 } DexFile; argument
546 DexFile* dexFileParse(const u1* data, size_t length, int flags);
571 void dexFileFree(DexFile* pDexFile);
576 DexClassLookup* dexCreateClassLookup(DexFile* pDexFile);
581 const DexClassDef* dexFindClass(const DexFile* pFile, const char* descriptor);
587 void dexFileSetupBasicPointers(DexFile* pDexFile, const u1* data);
590 DEX_INLINE const DexMapList* dexGetMap(const DexFile* pDexFile) { in dexGetMap()
601 DEX_INLINE const char* dexGetStringData(const DexFile* pDexFile, in dexGetStringData()
611 DEX_INLINE const DexStringId* dexGetStringId(const DexFile* pDexFile, u4 idx) { in dexGetStringId()
[all …]
DDexProto.h74 const DexFile* dexFile; /* file the idx refers to */
82 const DexFile* pDexFile, const DexMethodId* pMethodId) in dexProtoSetFromMethodId()
117 DEX_INLINE const char* dexGetDescriptorFromMethodId(const DexFile* pDexFile, in dexGetDescriptorFromMethodId()
131 DEX_INLINE char* dexCopyDescriptorFromMethodId(const DexFile* pDexFile, in dexCopyDescriptorFromMethodId()
DDexFile.c283 const char* dexStringAndSizeById(const DexFile* pDexFile, u4 idx, in dexStringAndSizeById()
355 static void classLookupAdd(DexFile* pDexFile, DexClassLookup* pLookup, in classLookupAdd()
407 DexClassLookup* dexCreateClassLookup(DexFile* pDexFile) in dexCreateClassLookup()
465 void dexFileSetupBasicPointers(DexFile* pDexFile, const u1* data) { in dexFileSetupBasicPointers()
527 static bool parseIndexMap(DexFile* pDexFile, const u1* data, u4 size, in parseIndexMap()
610 static bool parseAuxData(const u1* data, DexFile* pDexFile) in parseAuxData()
692 DexFile* dexFileParse(const u1* data, size_t length, int flags) in dexFileParse()
694 DexFile* pDexFile = NULL; in dexFileParse()
704 pDexFile = (DexFile*) malloc(sizeof(DexFile)); in dexFileParse()
707 memset(pDexFile, 0, sizeof(DexFile)); in dexFileParse()
[all …]
/dalvik/libcore/dalvik/src/main/java/dalvik/system/
DDexFile.java35 public final class DexFile { class
56 public DexFile(File file) throws IOException { in DexFile() method in DexFile
77 public DexFile(String fileName) throws IOException { in DexFile() method in DexFile
98 private DexFile(String sourceName, String outputName, int flags) in DexFile() method in DexFile
134 static public DexFile loadDex(String sourcePathName, String outputPathName, in loadDex()
144 return new DexFile(sourcePathName, outputPathName, flags); in loadDex()
234 DFEnum(DexFile df) { in DFEnum()
DDexClassLoader.java25 import dalvik.system.DexFile;
57 private DexFile[] mDexs; // opened, prepped DEX files
113 mDexs = new DexFile[length]; in ensureInit()
135 mDexs[i] = DexFile.loadDex(dexPathList[i], outputName, 0); in ensureInit()
/dalvik/dx/src/com/android/dx/dex/file/
DItem.java67 public abstract void addContents(DexFile file); in addContents()
79 public abstract void writeTo(DexFile file, AnnotatedOutput out); in writeTo()
DUniformItemSection.java39 public UniformItemSection(String name, DexFile file, int alignment) { in UniformItemSection()
71 DexFile file = getFile(); in prepare0()
83 DexFile file = getFile(); in writeTo0()
DEncodedMember.java71 public abstract void addContents(DexFile file); in addContents()
84 public abstract int encode(DexFile file, AnnotatedOutput out, in encode()
DDebugInfoItem.java66 public void addContents(DexFile file) { in addContents()
100 public void annotateTo(DexFile file, AnnotatedOutput out, String prefix) { in annotateTo()
116 protected void writeTo0(DexFile file, AnnotatedOutput out) { in writeTo0()
142 private byte[] encode(DexFile file, String prefix, PrintWriter debugPrint, in encode()
173 private byte[] encode0(DexFile file, String prefix, PrintWriter debugPrint, in encode0()
DFieldIdItem.java42 public void addContents(DexFile file) { in addContents()
60 protected int getTypoidIdx(DexFile file) { in getTypoidIdx()
DMethodIdItem.java42 public void addContents(DexFile file) { in addContents()
60 protected int getTypoidIdx(DexFile file) { in getTypoidIdx()
DMemberIdItem.java54 public void addContents(DexFile file) { in addContents()
63 public final void writeTo(DexFile file, AnnotatedOutput out) { in writeTo()
92 protected abstract int getTypoidIdx(DexFile file); in getTypoidIdx()
DSection.java32 private final DexFile file;
69 public Section(String name, DexFile file, int alignment) { in Section()
88 public final DexFile getFile() { in getFile()
DAnnotationSetRefItem.java57 public void addContents(DexFile file) { in addContents()
71 protected void writeTo0(DexFile file, AnnotatedOutput out) { in writeTo0()
DTypeIdItem.java54 public void addContents(DexFile file) { in addContents()
60 public void writeTo(DexFile file, AnnotatedOutput out) { in writeTo()
DStringDataItem.java65 public void addContents(DexFile file) { in addContents()
71 public void writeTo0(DexFile file, AnnotatedOutput out) { in writeTo0()
DStringIdItem.java88 public void addContents(DexFile file) { in addContents()
99 public void writeTo(DexFile file, AnnotatedOutput out) { in writeTo()
DMemberIdsSection.java30 public MemberIdsSection(String name, DexFile file) { in MemberIdsSection()
DFieldAnnotationStruct.java76 public void addContents(DexFile file) { in addContents()
85 public void writeTo(DexFile file, AnnotatedOutput out) { in writeTo()
DMethodAnnotationStruct.java76 public void addContents(DexFile file) { in addContents()
85 public void writeTo(DexFile file, AnnotatedOutput out) { in writeTo()
DEncodedArrayItem.java95 public void addContents(DexFile file) { in addContents()
114 protected void writeTo0(DexFile file, AnnotatedOutput out) { in writeTo0()
/dalvik/vm/analysis/
DDexVerify.h53 bool dvmVerifyAllClasses(DexFile* pDexFile);
/dalvik/libcore/security/src/test/java/tests/security/permissions/
DJavaLangClassLoaderTest.java24 import dalvik.system.DexFile;
172 DexFile dexfile = DexFile.loadDex(tempFile.getAbsolutePath(), in test_getSystemClassLoader()
/dalvik/dexlist/
DDexList.c82 void dumpMethod(DexFile* pDexFile, const char* fileName, in dumpMethod()
135 void dumpClass(DexFile* pDexFile, int idx) in dumpClass()
182 DexFile* pDexFile = NULL; in process()
/dalvik/vm/
DDvmDex.c38 static DvmDex* allocateAuxStructures(DexFile* pDexFile) in allocateAuxStructures()
118 DexFile* pDexFile; in dvmDexFileOpenFromFd()
170 DexFile* pDexFile; in dvmDexFileOpenPartial()

1234