Home
last modified time | relevance | path

Searched refs:fileName (Results 1 – 13 of 13) sorted by relevance

/dalvik/dexlist/
DDexList.cpp94 void dumpMethod(DexFile* pDexFile, const char* fileName, in dumpMethod() argument
123 if (fileName == NULL || fileName[0] == 0) { in dumpMethod()
124 fileName = "(none)"; in dumpMethod()
145 fileName, firstLine); in dumpMethod()
160 const char* fileName; in dumpClass() local
173 fileName = NULL; in dumpClass()
175 fileName = dexStringById(pDexFile, pClassDef->sourceFileIdx); in dumpClass()
185 dumpMethod(pDexFile, fileName, &pClassData->directMethods[i], i); in dumpClass()
189 dumpMethod(pDexFile, fileName, &pClassData->virtualMethods[i], i); in dumpClass()
200 int process(const char* fileName) in process() argument
[all …]
/dalvik/tools/dexdeps/src/com/android/dexdeps/
DMain.java57 for (String fileName : mInputFileNames) { in run()
58 RandomAccessFile raf = openInputFile(fileName); in run()
64 Output.generateFirstHeader(fileName, mOutputFormat); in run()
66 Output.generateHeader(fileName, mOutputFormat); in run()
94 RandomAccessFile openInputFile(String fileName) throws IOException { in openInputFile() argument
97 raf = openInputFileAsZip(fileName); in openInputFile()
99 File inputFile = new File(fileName); in openInputFile()
116 RandomAccessFile openInputFileAsZip(String fileName) throws IOException { in openInputFileAsZip() argument
123 zipFile = new ZipFile(fileName); in openInputFileAsZip()
126 System.err.println("Unable to open '" + fileName + "': " + in openInputFileAsZip()
[all …]
DOutput.java33 private static void generateHeader0(String fileName, String format) { in generateHeader0() argument
35 if (fileName != null) { in generateHeader0()
36 out.println("File: " + fileName); in generateHeader0()
39 if (fileName != null) { in generateHeader0()
40 out.println(IN0 + "<external file=\"" + fileName + "\">"); in generateHeader0()
50 public static void generateFirstHeader(String fileName, String format) { in generateFirstHeader() argument
51 generateHeader0(fileName, format); in generateFirstHeader()
54 public static void generateHeader(String fileName, String format) { in generateHeader() argument
56 generateHeader0(fileName, format); in generateHeader()
/dalvik/libdex/
DCmdUtils.cpp110 UnzipToFileResult dexOpenAndMap(const char* fileName, const char* tempFileName, in dexOpenAndMap() argument
114 int len = strlen(fileName); in dexOpenAndMap()
128 if (strcasecmp(fileName + len -3, "dex") != 0) { in dexOpenAndMap()
153 result = dexUnzipToFile(fileName, tempFileName, quiet); in dexOpenAndMap()
157 fileName = tempFileName; in dexOpenAndMap()
176 fd = open(fileName, O_RDONLY | O_BINARY); in dexOpenAndMap()
180 fileName, strerror(errno)); in dexOpenAndMap()
186 fprintf(stderr, "ERROR: Unable to map '%s'\n", fileName); in dexOpenAndMap()
201 fileName); in dexOpenAndMap()
DOptInvocation.cpp70 char* dexOptGenerateCacheFileName(const char* fileName, const char* subFileName) in dexOptGenerateCacheFileName() argument
82 if (fileName[0] != '/') { in dexOptGenerateCacheFileName()
94 strncat(absoluteFile, fileName, kBufLen); in dexOptGenerateCacheFileName()
143 ALOGV("Cache file for '%s' '%s' is '%s'", fileName, subFileName, nameBuf); in dexOptGenerateCacheFileName()
DZipArchive.h34 DEX_INLINE int dexZipOpenArchive(const char* fileName, ZipArchiveHandle* pArchive) { in dexZipOpenArchive() argument
35 return OpenArchive(fileName, pArchive); in dexZipOpenArchive()
DOptInvocation.h26 char* dexOptGenerateCacheFileName(const char* fileName,
DCmdUtils.h63 UnzipToFileResult dexOpenAndMap(const char* fileName, const char* tempFileName,
/dalvik/dexgen/src/com/android/dexgen/util/
DFileUtils.java41 public static byte[] readFile(String fileName) { in readFile() argument
42 File file = new File(fileName); in readFile()
/dalvik/dx/src/com/android/multidex/
DMainDexListBuilder.java125 for (String fileName : fileNames) { in printList()
126 System.out.println(fileName); in printList()
/dalvik/dexdump/
DDexDump.cpp1366 const char* fileName; in dumpClass() local
1510 fileName = dexStringById(pDexFile, pClassDef->sourceFileIdx); in dumpClass()
1512 fileName = "unknown"; in dumpClass()
1516 pClassDef->sourceFileIdx, fileName); in dumpClass()
1734 void processDexFile(const char* fileName, DexFile* pDexFile) in processDexFile() argument
1740 printf("Opened '%s', DEX version '%.3s'\n", fileName, in processDexFile()
1778 int process(const char* fileName) in process() argument
1786 printf("Processing '%s'...\n", fileName); in process()
1788 if (dexOpenAndMap(fileName, gOptions.tempFileName, &map, false) != 0) { in process()
1806 processDexFile(fileName, pDexFile); in process()
/dalvik/dx/src/com/android/dx/command/dexer/
DMain.java385 …private static void readPathsFromFile(String fileName, Collection<String> paths) throws IOExceptio… in readPathsFromFile() argument
388 FileReader fr = new FileReader(fileName); in readPathsFromFile()
844 private static boolean createJar(String fileName) { in createJar() argument
853 OutputStream out = openOutput(fileName); in createJar()
/dalvik/tools/dmtracedump/
DTraceDump.c166 const char* fileName; member
302 const char *signature, const char* fileName, in initMethodEntry() argument
309 method->fileName = fileName; in initMethodEntry()