Searched defs:fileName (Results 1 - 9 of 9) sorted by relevance

/dalvik/dexgen/src/com/android/dexgen/util/
H A DFileUtils.java38 * @param fileName {@code non-null;} name of the file to read
41 public static byte[] readFile(String fileName) { argument
42 File file = new File(fileName);
/dalvik/dx/src/com/android/dex/util/
H A DFileUtils.java34 * @param fileName {@code non-null;} name of the file to read
37 public static byte[] readFile(String fileName) { argument
38 File file = new File(fileName);
90 * Returns true if {@code fileName} names a .zip, .jar, or .apk.
92 public static boolean hasArchiveSuffix(String fileName) { argument
93 return fileName.endsWith(".zip")
94 || fileName.endsWith(".jar")
95 || fileName.endsWith(".apk");
/dalvik/libdex/
H A DZipArchive.h34 DEX_INLINE int dexZipOpenArchive(const char* fileName, ZipArchiveHandle* pArchive) { argument
35 return OpenArchive(fileName, pArchive);
H A DCmdUtils.cpp110 UnzipToFileResult dexOpenAndMap(const char* fileName, const char* tempFileName, argument
114 int len = strlen(fileName);
128 if (strcasecmp(fileName + len -3, "dex") != 0) {
153 result = dexUnzipToFile(fileName, tempFileName, quiet);
157 fileName = tempFileName;
176 fd = open(fileName, O_RDONLY | O_BINARY);
180 fileName, strerror(errno));
186 fprintf(stderr, "ERROR: Unable to map '%s'\n", fileName);
201 fileName);
H A DOptInvocation.cpp67 char* dexOptGenerateCacheFileName(const char* fileName, const char* subFileName) argument
79 if (fileName[0] != '/') {
91 strncat(absoluteFile, fileName, kBufLen - strlen(absoluteFile));
140 ALOGV("Cache file for '%s' '%s' is '%s'", fileName, subFileName, nameBuf);
/dalvik/tools/dexdeps/src/com/android/dexdeps/
H A DMain.java58 for (String fileName : mInputFileNames) {
61 Output.generateFirstHeader(fileName, mOutputFormat);
63 Output.generateHeader(fileName, mOutputFormat);
65 List<RandomAccessFile> rafs = openInputFiles(fileName);
93 * @param fileName the name of the file to open
95 List<RandomAccessFile> openInputFiles(String fileName) throws IOException { argument
96 List<RandomAccessFile> rafs = openInputFileAsZip(fileName);
99 File inputFile = new File(fileName);
110 * @param fileName the name of the file to open
117 List<RandomAccessFile> openInputFileAsZip(String fileName) throw argument
[all...]
H A DOutput.java33 private static void generateHeader0(String fileName, String format) { argument
35 if (fileName != null) {
36 out.println("File: " + fileName);
39 if (fileName != null) {
40 out.println(IN0 + "<external file=\"" + fileName + "\">");
50 public static void generateFirstHeader(String fileName, String format) { argument
51 generateHeader0(fileName, format);
54 public static void generateHeader(String fileName, String format) { argument
56 generateHeader0(fileName, format);
/dalvik/dexdump/
H A DDexDump.cpp1502 const char* fileName; local
1646 fileName = dexStringById(pDexFile, pClassDef->sourceFileIdx);
1648 fileName = "unknown";
1652 pClassDef->sourceFileIdx, fileName);
2107 void processDexFile(const char* fileName, DexFile* pDexFile) argument
2113 printf("Opened '%s', DEX version '%.3s'\n", fileName,
2154 int process(const char* fileName) argument
2162 printf("Processing '%s'...\n", fileName);
2164 if (dexOpenAndMap(fileName, gOptions.tempFileName, &map, false) != 0) {
2182 processDexFile(fileName, pDexFil
[all...]
/dalvik/dx/src/com/android/dx/command/dexer/
H A DMain.java432 private static void readPathsFromFile(String fileName, Collection<String> paths) throws IOException { argument
435 FileReader fr = new FileReader(fileName);
892 * @param fileName {@code non-null;} name of the file
895 private boolean createJar(String fileName) { argument
904 OutputStream out = openOutput(fileName);

Completed in 205 milliseconds