Home
last modified time | relevance | path

Searched refs:fname (Results 1 – 11 of 11) sorted by relevance

/libcore/ojluni/src/main/native/
DFileSystemPreferences.c46 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()
71 const char *fname = JNU_GetStringPlatformChars(env, java_fname, JNI_FALSE); in Java_java_util_prefs_FileSystemPreferences_lockFile0() local
88 fd = open(fname, O_RDONLY, 0); in Java_java_util_prefs_FileSystemPreferences_lockFile0()
91 fd = open(fname, O_WRONLY|O_CREAT, permission); in Java_java_util_prefs_FileSystemPreferences_lockFile0()
114 JNU_ReleaseStringPlatformChars(env, java_fname, fname); in Java_java_util_prefs_FileSystemPreferences_lockFile0()
Dzip_util.c97 ZFILE_Open(const char *fname, int flags) { in ZFILE_Open() argument
121 fname, /* Wide char path name */ in ZFILE_Open()
129 return JVM_Open(fname, flags, 0); in ZFILE_Open()
Djvm.h1133 JVM_Open(const char *fname, jint flags, jint mode);
/libcore/ojluni/src/main/java/sun/net/
DNetProperties.java60 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/
DLogManager.java1266 String fname = System.getProperty("java.util.logging.config.file"); in readConfiguration() local
1267 if (fname == null) { in readConfiguration()
1268 fname = System.getProperty("java.home"); in readConfiguration()
1269 if (fname == null) { in readConfiguration()
1272 File f = new File(fname, "lib"); in readConfiguration()
1274 fname = f.getCanonicalPath(); in readConfiguration()
1287 in = new FileInputStream(fname); in readConfiguration()
DFileHandler.java206 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/
DObjectStreamClass.java725 String fname = in.readUTF(); in readNonProxy() local
729 fields[i] = new ObjectStreamField(fname, signature, false); in readNonProxy()
732 "invalid descriptor for field " + fname).initCause(e); in readNonProxy()
1664 String fname = spf.getName(); in getDeclaredSerialFields() local
1665 if (fieldNames.contains(fname)) { in getDeclaredSerialFields()
1667 "multiple serializable fields named " + fname); in getDeclaredSerialFields()
1669 fieldNames.add(fname); in getDeclaredSerialFields()
1672 Field f = cl.getDeclaredField(fname); in getDeclaredSerialFields()
1683 fname, spf.getType(), spf.isUnshared()); in getDeclaredSerialFields()
/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/
DFtpURLConnection.java585 String guessContentTypeFromFilename(String fname) { in guessContentTypeFromFilename() argument
586 return guessContentTypeFromName(fname); in guessContentTypeFromFilename()
/libcore/ojluni/src/main/java/sun/util/logging/
DPlatformLogger.java163 String fname = System.getProperty("java.util.logging.config.file");
164 return (cname != null || fname != null);
/libcore/ojluni/src/main/java/java/net/
DURLConnection.java1421 public static String guessContentTypeFromName(String fname) { in guessContentTypeFromName() argument
1422 return getFileNameMap().getContentTypeFor(fname); in guessContentTypeFromName()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DFileTest.java960 String fname; in test_getPath() local
965 fname = base + "filechk.tst"; in test_getPath()
972 fname, f1.getPath()); in test_getPath()