/libcore/ojluni/src/main/native/ |
D | FileSystemPreferences.c | 46 const char *fname = JNU_GetStringPlatformChars(env, java_fname, JNI_FALSE); in Java_java_util_prefs_FileSystemPreferences_chmod() local 48 result = chmod(fname, permission); in Java_java_util_prefs_FileSystemPreferences_chmod() 51 JNU_ReleaseStringPlatformChars(env, java_fname, fname); in Java_java_util_prefs_FileSystemPreferences_chmod() 69 const char *fname = JNU_GetStringPlatformChars(env, java_fname, JNI_FALSE); in Java_java_util_prefs_FileSystemPreferences_lockFile0() local 86 fd = open(fname, O_RDONLY, 0); in Java_java_util_prefs_FileSystemPreferences_lockFile0() 89 fd = open(fname, O_WRONLY|O_CREAT, permission); in Java_java_util_prefs_FileSystemPreferences_lockFile0() 110 JNU_ReleaseStringPlatformChars(env, java_fname, fname); in Java_java_util_prefs_FileSystemPreferences_lockFile0()
|
D | zip_util.c | 95 ZFILE_Open(const char *fname, int flags) { in ZFILE_Open() argument 119 fname, /* Wide char path name */ in ZFILE_Open() 127 return JVM_Open(fname, flags, 0); in ZFILE_Open()
|
D | jvm.h | 1133 JVM_Open(const char *fname, jint flags, jint mode);
|
/libcore/ojluni/src/main/java/sun/net/ |
D | NetProperties.java | 60 String fname = System.getProperty("java.home"); in loadDefaultProperties() local 61 if (fname == null) { in loadDefaultProperties() 65 File f = new File(fname, "lib"); in loadDefaultProperties() 67 fname = f.getCanonicalPath(); in loadDefaultProperties() 68 InputStream in = new FileInputStream(fname); in loadDefaultProperties()
|
/libcore/ojluni/src/main/java/java/util/logging/ |
D | LogManager.java | 1280 String fname = System.getProperty("java.util.logging.config.file"); in readConfiguration() local 1281 if (fname == null) { in readConfiguration() 1282 fname = System.getProperty("java.home"); in readConfiguration() 1283 if (fname == null) { in readConfiguration() 1286 File f = new File(fname, "lib"); in readConfiguration() 1288 fname = f.getCanonicalPath(); in readConfiguration() 1295 in = new FileInputStream(fname); in readConfiguration()
|
D | FileHandler.java | 206 private void open(File fname, boolean append) throws IOException { in open() argument 209 len = (int)fname.length(); in open() 211 FileOutputStream fout = new FileOutputStream(fname.toString(), append); in open()
|
/libcore/ojluni/src/main/java/java/io/ |
D | ObjectStreamClass.java | 693 String fname = in.readUTF(); in readNonProxy() local 697 fields[i] = new ObjectStreamField(fname, signature, false); in readNonProxy() 700 "invalid descriptor for field " + fname).initCause(e); in readNonProxy() 1598 String fname = spf.getName(); in getDeclaredSerialFields() local 1599 if (fieldNames.contains(fname)) { in getDeclaredSerialFields() 1601 "multiple serializable fields named " + fname); in getDeclaredSerialFields() 1603 fieldNames.add(fname); in getDeclaredSerialFields() 1606 Field f = cl.getDeclaredField(fname); in getDeclaredSerialFields() 1617 fname, spf.getType(), spf.isUnshared()); in getDeclaredSerialFields()
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/ |
D | FtpURLConnection.java | 566 String guessContentTypeFromFilename(String fname) { in guessContentTypeFromFilename() argument 567 return guessContentTypeFromName(fname); in guessContentTypeFromFilename()
|
/libcore/ojluni/src/main/java/java/net/ |
D | URLConnection.java | 1380 public static String guessContentTypeFromName(String fname) { in guessContentTypeFromName() argument 1381 return getFileNameMap().getContentTypeFor(fname); in guessContentTypeFromName()
|
/libcore/ojluni/src/main/java/sun/util/logging/ |
D | PlatformLogger.java | 167 String fname = System.getProperty("java.util.logging.config.file"); 168 return (cname != null || fname != null);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | FileTest.java | 960 String fname; in test_getPath() local 965 fname = base + "filechk.tst"; in test_getPath() 972 fname, f1.getPath()); in test_getPath()
|