/libcore/luni/src/main/java/java/net/ |
D | DefaultFileNameMap.java | 26 public String getContentTypeFor(String filename) { in getContentTypeFor() argument 27 if (filename.endsWith("/")) { in getContentTypeFor() 31 int lastCharInExtension = filename.lastIndexOf('#'); in getContentTypeFor() 33 lastCharInExtension = filename.length(); in getContentTypeFor() 35 int firstCharInExtension = filename.lastIndexOf('.') + 1; in getContentTypeFor() 37 if (firstCharInExtension > filename.lastIndexOf('/')) { in getContentTypeFor() 38 ext = filename.substring(firstCharInExtension, lastCharInExtension); in getContentTypeFor()
|
D | FileNameMap.java | 34 public String getContentTypeFor(String filename); in getContentTypeFor() argument
|
D | URLClassLoader.java | 476 String filename = prefix + name; in findClass() local 478 filename = URLDecoder.decode(filename, "UTF-8"); in findClass() 485 File file = new File(filename); in findClass() 499 String filename; in findResource() local 512 filename = URLDecoder.decode(prefix, "UTF-8") + name; in findResource() 514 if (new File(filename).exists()) { in findResource()
|
/libcore/luni/src/main/java/java/io/ |
D | FileWriter.java | 79 public FileWriter(String filename) throws IOException { in FileWriter() argument 80 super(new FileOutputStream(new File(filename))); in FileWriter() 95 public FileWriter(String filename, boolean append) throws IOException { in FileWriter() argument 96 super(new FileOutputStream(filename, append)); in FileWriter()
|
D | FileReader.java | 65 public FileReader(String filename) throws FileNotFoundException { in FileReader() argument 66 super(new FileInputStream(filename)); in FileReader()
|
D | FilenameFilter.java | 40 public abstract boolean accept(File dir, String filename); in accept() argument
|
D | File.java | 765 for (String filename : filenames) { in list() 766 if (filter.accept(this, filename)) { in list() 767 result.add(filename); in list()
|
/libcore/luni/src/main/java/libcore/io/ |
D | DeleteOnExit.java | 62 public void addFile(String filename) { in addFile() argument 64 if (!files.contains(filename)) { in addFile() 65 files.add(filename); in addFile()
|
D | ForwardingOs.java | 66 …public void execv(String filename, String[] argv) throws ErrnoException { os.execv(filename, argv)… in execv() argument 67 …public void execve(String filename, String[] argv, String[] envp) throws ErrnoException { os.execv… in execve() argument
|
D | Os.java | 57 public void execv(String filename, String[] argv) throws ErrnoException; in execv() argument 58 public void execve(String filename, String[] argv, String[] envp) throws ErrnoException; in execve() argument
|
D | Posix.java | 60 public native void execv(String filename, String[] argv) throws ErrnoException; in execv() argument 61 public native void execve(String filename, String[] argv, String[] envp) throws ErrnoException; in execve() argument
|
/libcore/luni/src/main/java/libcore/net/url/ |
D | FileURLConnection.java | 61 private String filename; field in FileURLConnection 92 filename = url.getFile(); in FileURLConnection() 93 if (filename == null) { in FileURLConnection() 94 filename = ""; in FileURLConnection() 96 filename = UriCodec.decode(filename); in FileURLConnection() 113 File f = new File(filename); in connect() 326 String path = filename; in getPermission()
|
/libcore/luni/src/main/native/ |
D | java_io_File.cpp | 130 const char* filename; in readDirectory() local 131 while ((filename = dir.next()) != NULL) { in readDirectory() 132 if (strcmp(filename, ".") != 0 && strcmp(filename, "..") != 0) { in readDirectory() 134 entries.push_back(filename); in readDirectory()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | JarFileBenchmark.java | 30 private String filename; field in JarFileBenchmark 33 File f = new File(filename); in time()
|
/libcore/luni/src/main/java/java/lang/ |
D | Runtime.java | 361 String filename = loader.findLibrary(libraryName); in loadLibrary() local 362 if (filename == null) { in loadLibrary() 370 String error = doLoad(filename, loader); in loadLibrary() 377 String filename = System.mapLibraryName(libraryName); in loadLibrary() local 381 String candidate = directory + filename; in loadLibrary() 440 private static native String nativeLoad(String filename, ClassLoader loader, in nativeLoad() argument
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
D | ZipEntryTest.java | 61 for (String filename : filenames) { in test_utf8FileNames() 62 out.putNextEntry(new ZipEntry(filename)); in test_utf8FileNames() 69 for (String filename : filenames) { in test_utf8FileNames() 70 assertNotNull(filename, zipFile.getEntry(filename)); in test_utf8FileNames()
|
/libcore/dom/src/test/java/org/w3c/domts/ |
D | DOMTest.java | 111 String filename = getClass().getPackage().getName(); in resolveURI() local 112 filename = in resolveURI() 114 + filename.substring(14).replace('.', '/') in resolveURI() 117 resolvedURI = new java.io.File(filename).toURL(); in resolveURI()
|
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
D | DOMTestCase.java | 80 String filename = getClass().getPackage().getName(); in resolveURI() local 81 filename = "tests/" in resolveURI() 82 + filename.substring(14).replace('.', '/') in resolveURI() 84 resolvedURI = new java.io.File(filename).toURL(); in resolveURI()
|
/libcore/luni/src/test/java/libcore/java/util/logging/ |
D | OldFileHandlerTest.java | 335 private void assertFileContent(String homepath, String filename, in assertFileContent() argument 337 assertFileContent(homepath, filename, new LogRecord[] { r }, formatter); in assertFileContent() 340 private void assertFileContent(String homepath, String filename, in assertFileContent() argument 369 + filename)); in assertFileContent() 382 reset(homepath, filename); in assertFileContent() 389 private void reset(String homepath, String filename) { in reset() argument 392 file = new File(homepath + SEP + filename); in reset() 406 file = new File(homepath + SEP + filename + ".lck"); in reset()
|
/libcore/dalvik/src/main/java/dalvik/system/ |
D | VMDebug.java | 298 public static void dumpHprofData(String filename) throws IOException { in dumpHprofData() argument 299 if (filename == null) { in dumpHprofData() 302 dumpHprofData(filename, null); in dumpHprofData()
|
/libcore/luni/src/main/java/java/util/jar/ |
D | JarFile.java | 234 public JarFile(String filename) throws IOException { in JarFile() argument 235 this(filename, true); in JarFile() 249 public JarFile(String filename, boolean verify) throws IOException { in JarFile() argument 250 this(new File(filename), verify, ZipFile.OPEN_READ); in JarFile()
|
/libcore/luni/src/main/files/ |
D | README.cacerts | 4 openssl x509 -subject_hash_old -in filename
|
/libcore/luni/src/main/java/java/util/zip/ |
D | ZipFile.java | 98 private final String filename; field in ZipFile 158 filename = file.getPath(); in ZipFile() 170 raf = new RandomAccessFile(filename, "r"); in ZipFile() 354 return filename;
|
/libcore/luni/src/main/java/android/system/ |
D | Os.java | 99 …public static void execv(String filename, String[] argv) throws ErrnoException { Libcore.os.execv(… in execv() argument 104 …blic static void execve(String filename, String[] argv, String[] envp) throws ErrnoException { Lib… in execve() argument
|