/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()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Runtime.java | 900 public void load(String filename) { in load() argument 901 load0(Reflection.getCallerClass(), filename); in load() local 928 synchronized void load0(Class<?> fromClass, String filename) { in load0() argument 929 if (!(new File(filename).isAbsolute())) { in load0() 931 "Expecting an absolute path of the library: " + filename); in load0() 933 if (filename == null) { in load0() 936 String error = nativeLoad(filename, fromClass.getClassLoader()); in load0() 1060 String filename = loader.findLibrary(libraryName); in loadLibrary0() local 1061 if (filename == null) { in loadLibrary0() 1069 String error = nativeLoad(filename, loader); in loadLibrary0() [all …]
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/ |
D | FtpURLConnection.java | 103 String filename; field in FtpURLConnection 373 filename = path.substring(i + 1, path.length()); in decodePath() 374 filename = ParseUtil.decode(filename); in decodePath() 377 filename = ParseUtil.decode(path); in decodePath() 382 filename = null; in decodePath() 385 fullpath = pathname + "/" + (filename != null ? filename : ""); in decodePath() 387 fullpath = filename; in decodePath() 448 if (filename == null || type == DIR) { in getInputStream() 451 if (filename == null) { in getInputStream() 454 is = new FtpInputStream(ftp, ftp.nameList(filename)); in getInputStream() [all …]
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/file/ |
D | FileURLConnection.java | 59 String filename; field in FileURLConnection 81 filename = file.toString(); in connect() 86 … throw new FileNotFoundException(filename + " exists, but is not accessible"); in connect() 90 is = new BufferedInputStream(new FileInputStream(filename)); in connect() 120 contentType = map.getContentTypeFor(filename); in initializeHeaders() 197 throw new FileNotFoundException(filename); in getInputStream() 210 throw new FileNotFoundException(filename); in getInputStream()
|
/libcore/tools/docs/crypto/ |
D | crypto_docs.py | 20 def load_json(filename): argument 22 f = open(filename)
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | JarFileBenchmark.java | 29 private String filename; field in JarFileBenchmark 32 File f = new File(filename); in time()
|
/libcore/ojluni/src/main/java/java/io/ |
D | DeleteOnExitHook.java | 72 for (String filename : toBeDeleted) { in runHooks() 73 (new File(filename)).delete(); in runHooks()
|
D | UnixFileSystem.java | 168 String filename = path.substring(1 + dir.length()); in canonicalize() local 169 res = resDir + slash + filename; in canonicalize() 170 cache.put(dir + slash + filename, res); in canonicalize()
|
/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/ojluni/src/main/java/sun/nio/fs/ |
D | LinuxNativeDispatcher.java | 41 static long setmntent(byte[] filename, byte[] type) throws UnixException { in setmntent() argument 42 NativeBuffer pathBuffer = NativeBuffers.asNativeBuffer(filename); in setmntent()
|
D | UnixNativeDispatcher.java | 101 static long fopen(UnixPath filename, String mode) throws UnixException { in fopen() argument 102 NativeBuffer pathBuffer = copyToNativeBuffer(filename); in fopen()
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
D | ZipEntryTest.java | 81 for (String filename : filenames) { in test_utf8FileNames() 82 out.putNextEntry(new ZipEntry(filename)); in test_utf8FileNames() 89 for (String filename : filenames) { in test_utf8FileNames() 90 assertNotNull(filename, zipFile.getEntry(filename)); in test_utf8FileNames()
|
/libcore/luni/src/test/java/libcore/java/util/logging/ |
D | OldFileHandlerTest.java | 340 private void assertFileContent(String homepath, String filename, in assertFileContent() argument 342 assertFileContent(homepath, filename, new LogRecord[] { r }, formatter); in assertFileContent() 345 private void assertFileContent(String homepath, String filename, in assertFileContent() argument 374 + filename)); in assertFileContent() 387 reset(homepath, filename); in assertFileContent() 394 private void reset(String homepath, String filename) { in reset() argument 397 file = new File(homepath + SEP + filename); in reset() 411 file = new File(homepath + SEP + filename + ".lck"); in reset()
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | Runtime.java | 126 public void load(java.lang.String filename) { in load() argument 139 synchronized void load0(java.lang.Class<?> fromClass, java.lang.String filename) { in load0() argument 171 java.lang.String filename, java.lang.ClassLoader loader) { in nativeLoad() argument
|
D | System.java | 232 public static void load(java.lang.String filename) { in load() argument
|
/libcore/luni/src/main/java/libcore/io/ |
D | BlockGuardOs.java | 425 @Override public void execv(String filename, String[] argv) throws ErrnoException { in execv() argument 427 BlockGuard.getVmPolicy().onPathAccess(filename); in execv() 428 super.execv(filename, argv); in execv() 431 @Override public void execve(String filename, String[] argv, String[] envp) in execve() argument 434 BlockGuard.getVmPolicy().onPathAccess(filename); in execve() 435 super.execve(filename, argv, envp); in execve()
|
D | ForwardingOs.java | 100 …public void execv(String filename, String[] argv) throws ErrnoException { os.execv(filename, argv)… in execv() argument 101 …public void execve(String filename, String[] argv, String[] envp) throws ErrnoException { os.execv… in execve() argument
|
D | Os.java | 75 public void execv(String filename, String[] argv) throws ErrnoException; in execv() argument 76 public void execve(String filename, String[] argv, String[] envp) throws ErrnoException; in execve() argument
|
D | Linux.java | 75 public native void execv(String filename, String[] argv) throws ErrnoException; in execv() argument 76 public native void execve(String filename, String[] argv, String[] envp) throws ErrnoException; in execve() argument
|
/libcore/dalvik/src/main/java/dalvik/system/ |
D | VMDebug.java | 355 public static void dumpHprofData(String filename) throws IOException { in dumpHprofData() argument 356 if (filename == null) { in dumpHprofData() 359 dumpHprofData(filename, null); in dumpHprofData()
|
/libcore/ojluni/annotations/mmodule/java/lang/ |
D | System.annotated.java | 90 public static void load(java.lang.String filename) { throw new RuntimeException("Stub!"); } in load() argument
|
/libcore/luni/src/main/java/android/system/ |
D | Os.java | 138 …public static void execv(String filename, String[] argv) throws ErrnoException { Libcore.os.execv(… in execv() argument 143 …blic static void execve(String filename, String[] argv, String[] envp) throws ErrnoException { Lib… in execve() argument
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | System.annotated.java | 89 public static void load(@libcore.util.NonNull java.lang.String filename) { throw new RuntimeExcepti… in load() argument
|
/libcore/ojluni/src/main/java/sun/net/ftp/impl/ |
D | FtpClient.java | 211 String filename = null; in parseLine() local 225 filename = m.group(patternGroups[j][0]); in parseLine() 254 if (filename != null) { in parseLine() 270 Matcher m2 = linkp.matcher(filename); in parseLine() 273 filename = m2.group(1); in parseLine() 281 FtpDirEntry file = new FtpDirEntry(filename); in parseLine()
|