Searched refs:O_WRONLY (Results 1 – 12 of 12) sorted by relevance
30 import static android.system.OsConstants.O_WRONLY;67 boolean readable = (mode & O_ACCMODE) != O_WRONLY; in newFileChannel()
41 static final int O_WRONLY = OsConstants.O_WRONLY; field in UnixConstants
192 oflags = (flags.write) ? O_WRONLY : O_RDONLY; in open()
238 (O_WRONLY | in copyFile()
32 import static android.system.OsConstants.O_WRONLY;235 int flags = O_WRONLY | O_CREAT | (append ? O_APPEND : O_TRUNC); in FileOutputStream()
79 #define JVM_O_WRONLY O_WRONLY
140 int devnull = open("/dev/null", O_WRONLY); in fileClose()
91 fd = open(fname, O_WRONLY|O_CREAT, permission); in Java_java_util_prefs_FileSystemPreferences_lockFile0()
101 (flags & O_WRONLY) ? GENERIC_WRITE : in ZFILE_Open()
416 public static final int O_WRONLY = placeholder(); field in OsConstants
413 initConstant(env, c, "O_WRONLY", O_WRONLY); in OsConstants_initConstants()
1371 Os.open(testFile.toString(), O_WRONLY | O_DIRECT, S_IRUSR | S_IWUSR); in test_odirect()