Home
last modified time | relevance | path

Searched refs:fname (Results 1 – 12 of 12) 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.c106 ZFILE_Open(const char *fname, int flags) { in ZFILE_Open() argument
132 fname_length = strlen(fname); in ZFILE_Open()
135 fname, /* path name in multibyte char */ in ZFILE_Open()
145 fname, -1, NULL, 0); in ZFILE_Open()
153 fname, -1, wfname, wfname_len) == 0) { in ZFILE_Open()
171 return open(fname, flags, 0); in ZFILE_Open()
Djvm.h1136 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.java1267 String fname = System.getProperty("java.util.logging.config.file"); in readConfiguration() local
1268 if (fname == null) { in readConfiguration()
1269 fname = System.getProperty("java.home"); in readConfiguration()
1270 if (fname == null) { in readConfiguration()
1273 File f = new File(fname, "lib"); in readConfiguration()
1275 fname = f.getCanonicalPath(); in readConfiguration()
1288 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.java759 String fname = in.readUTF(); in readNonProxy() local
763 fields[i] = new ObjectStreamField(fname, signature, false); in readNonProxy()
766 "invalid descriptor for field " + fname).initCause(e); in readNonProxy()
1741 String fname = spf.getName(); in getDeclaredSerialFields() local
1742 if (fieldNames.contains(fname)) { in getDeclaredSerialFields()
1744 "multiple serializable fields named " + fname); in getDeclaredSerialFields()
1746 fieldNames.add(fname); in getDeclaredSerialFields()
1749 Field f = cl.getDeclaredField(fname); in getDeclaredSerialFields()
1760 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/test/java/lang/invoke/
DMethodHandlesGeneralTest.java643 String fname; in testAccessor() local
649 fname = f.getName(); in testAccessor()
655 fname = (String) scnt[2]; in testAccessor()
658 f = fclass.getDeclaredField(fname); in testAccessor()
678 case TEST_FIND_FIELD: mh = lookup.findGetter(fclass, fname, ftype); break; in testAccessor()
679 case TEST_FIND_STATIC: mh = lookup.findStaticGetter(fclass, fname, ftype); break; in testAccessor()
683 TEST_FIND_FIELD: mh = lookup.findSetter(fclass, fname, ftype); break; in testAccessor()
685 TEST_FIND_STATIC: mh = lookup.findStaticSetter(fclass, fname, ftype); break; in testAccessor()
693 (fname.contains("bogus")) in testAccessor()
700 …"find"+(isStatic?"Static":"")+(isGetter?"Getter":"Setter")+" "+fclass.getName()+"."+fname+"/"+ftype in testAccessor()
/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.java965 String fname; in test_getPath() local
970 fname = base + "filechk.tst"; in test_getPath()
977 fname, f1.getPath()); in test_getPath()