Searched refs:fileName (Results 51 - 75 of 78) sorted by relevance

1234

/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/
H A DFileClientSessionCache.java123 private static String fileName(String host, int port) { method in class:FileClientSessionCache.Impl
137 String name = fileName(host, port);
193 String name = fileName(host, session.getPeerPort());
/dalvik/vm/hprof/
H A DHprofOutput.c62 * This will take ownership of "fileName" and "fp".
65 hprofContextInit(hprof_context_t *ctx, char *fileName, FILE *fp, argument
86 ctx->fileName = fileName;
/dalvik/libdex/
H A DZipArchive.c282 int dexZipOpenArchive(const char* fileName, ZipArchive* pArchive) argument
286 LOGV("Opening archive '%s' %p\n", fileName, pArchive);
290 fd = open(fileName, O_RDONLY, 0);
293 LOGV("Unable to open '%s': %s\n", fileName, strerror(err));
297 return dexZipPrepArchive(fd, fileName, pArchive);
/dalvik/vm/native/
H A Ddalvik_system_VMDebug.c662 * static void dumpHprofData(String fileName)
672 char* fileName; local
680 fileName = dvmCreateCstrFromString(fileNameStr);
681 if (fileName == NULL) {
687 result = hprofDumpHeap(fileName, false);
688 free(fileName);
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/platform/
H A DOSFileSystem.java155 private native int openImpl(byte[] fileName, int mode); argument
/dalvik/vm/
H A DAllocTracker.c304 const char* fileName = dvmGetMethodSourceFile(method); local
305 if (fileName == NULL)
306 fileName = "";
307 return fileName;
H A DException.c1153 StringObject* fileName; local
1177 fileName = dvmCreateStringFromCstr(sourceFile, ALLOC_DEFAULT);
1179 fileName = NULL;
1184 * String fileName, int lineNumber)
1189 ste, &unused, className, methodName, fileName, lineNumber); local
1194 dvmReleaseTrackedAlloc((Object*) fileName, NULL);
H A DSync.c376 const char *fileName; local
410 fileName = dvmGetMethodSourceFile(meth);
411 if (fileName == NULL) fileName = "";
412 cp = logWriteString(cp, fileName, strlen(fileName));
/dalvik/vm/oo/
H A DClass.h46 char* fileName; member in struct:ClassPathEntry
H A DClass.c405 LOGI(" %2d: type=%s %s %p\n", idx, kindStr, cpe->fileName, cpe->ptr);
431 if (strcmp(cpe->fileName, path) == 0)
467 free(cpe->fileName);
487 cc = stat(cpe->fileName, &sb);
489 LOGD("Unable to stat classpath element '%s'\n", cpe->fileName);
507 if (dvmJarFileOpen(cpe->fileName, NULL, &pJarFile, isBootstrap) == 0) {
514 if (dvmRawDexFileOpen(cpe->fileName, NULL, &pRawDexFile, isBootstrap) == 0)
521 LOGD("Unable to process classpath element '%s'\n", cpe->fileName);
586 tmp.fileName = strdup(cp);
591 cpe[idx].fileName
[all...]
/dalvik/libcore/dalvik/src/main/java/dalvik/system/
H A DDexClassLoader.java313 String fileName = System.mapLibraryName(libname);
315 String pathName = mLibPaths[i] + fileName;
/dalvik/libcore/luni/src/test/java/tests/api/java/io/
H A DObjectInputStreamGetFieldTest.java384 private void initOis(String fileName) throws Exception { argument
389 getClass().getResourceAsStream(fileName));
H A DPrintStreamTest.java52 public MockPrintStream(String fileName) throws FileNotFoundException { argument
53 super(fileName);
56 public MockPrintStream(String fileName, String csn) throws FileNotFoundException, UnsupportedEncodingException { argument
57 super(fileName, csn);
/dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/
H A DFileLockTest.java277 String fileName = File.createTempFile("test", "tmp").getAbsolutePath();
278 RandomAccessFile raf = new RandomAccessFile(fileName, "rw");
/dalvik/libcore/support/src/test/java/tests/support/resource/
H A DSupport_Resources.java45 String fileName = name;
59 url = new URL("file:/" + resPath + "/" + fileName);
/dalvik/dexdump/
H A DDexDump.c1229 const char* fileName; local
1373 fileName = dexStringById(pDexFile, pClassDef->sourceFileIdx);
1375 fileName = "unknown";
1379 pClassDef->sourceFileIdx, fileName);
1597 void processDexFile(const char* fileName, DexFile* pDexFile) argument
1603 printf("Opened '%s', DEX version '%.3s'\n", fileName,
1639 int process(const char* fileName) argument
1647 printf("Processing '%s'...\n", fileName);
1649 if (dexOpenAndMap(fileName, gOptions.tempFileName, &map, false) != 0)
1666 processDexFile(fileName, pDexFil
[all...]
/dalvik/vm/analysis/
H A DDexOptimize.c98 int dvmOpenCachedDexFile(const char* fileName, const char* cacheFileName, argument
221 fileName, cacheFileName);
296 * "fileName" is only used for debug output. "modWhen" and "crc" are stored
313 const char* fileName, u4 modWhen, u4 crc, bool isBootstrap)
315 const char* lastPart = strrchr(fileName, '/');
319 lastPart = fileName;
338 fileName, modWhen, crc, isBootstrap);
351 LOGW("Rejecting recursive optimization attempt on '%s'\n", fileName);
415 argv[curArg++] = (char*)fileName;
446 argv[curArg++] = cpe->fileName;
312 dvmOptimizeDexFile(int fd, off_t dexOffset, long dexLength, const char* fileName, u4 modWhen, u4 crc, bool isBootstrap) argument
511 dvmContinueOptimization(int fd, off_t dexOffset, long dexLength, const char* fileName, u4 modWhen, u4 crc, bool isBootstrap) argument
[all...]
/dalvik/libcore/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/
H A DManifestTest.java75 private Manifest getManifest(String fileName) { argument
77 Support_Resources.copyFile(resources, null, fileName);
78 JarFile jarFile = new JarFile(new File(resources, fileName));
H A DJarFileTest.java180 String fileName = (new File(resources, jarName)).getCanonicalPath();
181 JarFile jarFile = new JarFile(fileName);
218 String fileName = (new File(resources, jarName)).getCanonicalPath();
219 JarFile jarFile = new JarFile(fileName, true);
/dalvik/libcore/xml/src/test/java/tests/api/javax/xml/parsers/
H A DSAXParserTestSupport.java92 public HashMap<String, String> readFile(String fileName) { argument
96 InputStream is = new FileInputStream(fileName);
128 + fileName);
/dalvik/libcore/luni/src/main/java/java/util/
H A DFormatter.java623 * @param fileName
636 public Formatter(String fileName) throws FileNotFoundException { argument
637 this(new File(fileName));
646 * @param fileName
663 public Formatter(String fileName, String csn) throws FileNotFoundException, argument
665 this(new File(fileName), csn);
672 * @param fileName
692 public Formatter(String fileName, String csn, Locale l) argument
695 this(new File(fileName), csn, l);
/dalvik/libcore/luni/src/main/java/java/io/
H A DRandomAccessFile.java163 * fileName} and opens it according to the access string in {@code mode}.
167 * @param fileName
184 public RandomAccessFile(String fileName, String mode) argument
186 this(new File(fileName), mode);
/dalvik/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/
H A DTestUtils.java161 String fileName = keyStoreFileName + testKeyStoreType;
162 ks.load(Support_Resources.getResourceStream(fileName),
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
H A DURLConnectionTest.java362 static String getContentType(String fileName) throws IOException { argument
363 String resourceName = "org/apache/harmony/luni/tests/" + fileName;
1065 public String getContentTypeFor(String fileName) {
1076 // RI fails since it does not support fileName that does not begin with
1756 public String getContentTypeFor(String fileName) {
1757 if (fileName==null || fileName.length()<1)
1759 String name=fileName.toLowerCase();
/dalvik/dx/src/com/android/dx/command/dexer/
H A DMain.java469 * @param fileName {@code non-null;} name of the file
474 private static boolean createJar(String fileName, byte[] dexArray) { argument
483 OutputStream out = openOutput(fileName);

Completed in 607 milliseconds

1234