/dalvik/dx/src/com/android/dex/util/ |
D | FileUtils.java | 37 public static byte[] readFile(String fileName) { in readFile() argument 38 File file = new File(fileName); in readFile() 92 public static boolean hasArchiveSuffix(String fileName) { in hasArchiveSuffix() argument 93 return fileName.endsWith(".zip") in hasArchiveSuffix() 94 || fileName.endsWith(".jar") in hasArchiveSuffix() 95 || fileName.endsWith(".apk"); in hasArchiveSuffix()
|
/dalvik/libdex/ |
D | CmdUtils.cpp | 110 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()
|
D | OptInvocation.cpp | 68 char* dexOptGenerateCacheFileName(const char* fileName, const char* subFileName) in dexOptGenerateCacheFileName() argument 80 if (fileName[0] != '/') { in dexOptGenerateCacheFileName() 92 strncat(absoluteFile, fileName, kBufLen - strlen(absoluteFile)); in dexOptGenerateCacheFileName() 141 ALOGV("Cache file for '%s' '%s' is '%s'", fileName, subFileName, nameBuf); in dexOptGenerateCacheFileName()
|
D | ZipArchive.h | 34 DEX_INLINE int dexZipOpenArchive(const char* fileName, ZipArchiveHandle* pArchive) { in dexZipOpenArchive() argument 35 return OpenArchive(fileName, pArchive); in dexZipOpenArchive()
|
D | OptInvocation.h | 26 char* dexOptGenerateCacheFileName(const char* fileName,
|
D | CmdUtils.h | 63 UnzipToFileResult dexOpenAndMap(const char* fileName, const char* tempFileName,
|
/dalvik/tools/dexdeps/src/com/android/dexdeps/ |
D | Main.java | 58 for (String fileName : mInputFileNames) { in run() 61 Output.generateFirstHeader(fileName, mOutputFormat); in run() 63 Output.generateHeader(fileName, mOutputFormat); in run() 65 List<RandomAccessFile> rafs = openInputFiles(fileName); in run() 95 List<RandomAccessFile> openInputFiles(String fileName) throws IOException { in openInputFiles() argument 96 List<RandomAccessFile> rafs = openInputFileAsZip(fileName); in openInputFiles() 99 File inputFile = new File(fileName); in openInputFiles() 117 List<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()
|
D | Output.java | 33 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/dx/tests/127-merge-stress/com/android/dx/merge/ |
D | MergeTest.java | 47 String fileName = args[random.nextInt(args.length)]; in main() local 48 fileNames[j] = fileName; in main() 49 dexesToMerge[j] = new Dex(new File(fileName)); in main()
|
/dalvik/dexgen/src/com/android/dexgen/util/ |
D | FileUtils.java | 41 public static byte[] readFile(String fileName) { in readFile() argument 42 File file = new File(fileName); in readFile()
|
/dalvik/dx/src/com/android/multidex/ |
D | MainDexListBuilder.java | 153 for (String fileName : fileNames) { in printList() 154 System.out.println(fileName); in printList()
|
/dalvik/dexdump/ |
D | DexDump.cpp | 1483 const char* fileName; in dumpClass() local 1627 fileName = dexStringById(pDexFile, pClassDef->sourceFileIdx); in dumpClass() 1629 fileName = "unknown"; in dumpClass() 1633 pClassDef->sourceFileIdx, fileName); in dumpClass() 2064 void processDexFile(const char* fileName, DexFile* pDexFile) in processDexFile() argument 2070 printf("Opened '%s', DEX version '%.3s'\n", fileName, in processDexFile() 2111 int process(const char* fileName) in process() argument 2119 printf("Processing '%s'...\n", fileName); in process() 2121 if (dexOpenAndMap(fileName, gOptions.tempFileName, &map, false) != 0) { in process() 2139 processDexFile(fileName, pDexFile); in process()
|
/dalvik/dx/src/com/android/dx/command/dexer/ |
D | Main.java | 435 …private static void readPathsFromFile(String fileName, Collection<String> paths) throws IOExceptio… in readPathsFromFile() argument 438 FileReader fr = new FileReader(fileName); in readPathsFromFile() 896 private boolean createJar(String fileName) { in createJar() argument 905 OutputStream out = openOutput(fileName); in createJar()
|