Home
last modified time | relevance | path

Searched refs:O_RDONLY (Results 1 – 20 of 20) sorted by relevance

/libcore/luni/src/main/java/java/nio/
DNioUtils.java29 import static android.system.OsConstants.O_RDONLY;
68 boolean writable = (mode & O_ACCMODE) != O_RDONLY; in newFileChannel()
/libcore/luni/src/main/java/libcore/io/
DMemoryMappedFile.java26 import static android.system.OsConstants.O_RDONLY;
54 FileDescriptor fd = Libcore.os.open(path, O_RDONLY, 0); in mmapRO()
DIoUtils.java37 import static android.system.OsConstants.O_RDONLY;
275 FileDescriptor fd = Libcore.os.open(path, O_RDONLY, 0); in canOpenReadOnly()
319 fd = IoBridge.open(absolutePath, O_RDONLY); in FileReader()
DBlockGuardOs.java251 if ((flags & O_ACCMODE) != O_RDONLY) { in open()
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixConstants.java39 static final int O_RDONLY = OsConstants.O_RDONLY; field in UnixConstants
DUnixCopyFile.java148 dfd = open(target, O_RDONLY, 0); in copyDirectory()
179 sfd = open(source, O_RDONLY, 0); in copyDirectory()
228 fi = open(source, O_RDONLY, 0); in copyFile()
DUnixSecureDirectoryStream.java128 int flags = O_RDONLY; in newDirectoryStream()
341 int oflags = O_RDONLY; in open()
DUnixChannelFactory.java199 oflags = (flags.write) ? O_WRONLY : O_RDONLY; in open()
DUnixFileSystemProvider.java424 dfd1 = open(dir, O_RDONLY, 0); in newDirectoryStream()
DUnixPath.java770 int flags = O_RDONLY; in openForAttributeAccess()
/libcore/ojluni/src/main/java/java/io/
DFileInputStream.java29 import static android.system.OsConstants.O_RDONLY;
160 fd = IoBridge.open(name, O_RDONLY); in FileInputStream()
DRandomAccessFile.java237 imode = O_RDONLY; in RandomAccessFile()
/libcore/ojluni/src/main/native/
Djvm_md.h78 #define JVM_O_RDONLY O_RDONLY
DFileSystemPreferences.c88 fd = open(fname, O_RDONLY, 0); in Java_java_util_prefs_FileSystemPreferences_lockFile0()
DFileDispatcherImpl.c153 if (getfl >= 0 && (getfl & O_ACCMODE) == O_RDONLY) { in FileDispatcherImpl_force0()
DZipFile.c97 if (mode & OPEN_READ) flag |= O_RDONLY; in ZipFile_open()
Dzip_util.c929 jzfile *file = ZIP_Open_Generic(name, pmsg, O_RDONLY, 0); in ZIP_Open()
/libcore/luni/src/test/java/libcore/dalvik/system/
DBlockGuardTest.java297 fd = Os.open(temp.getPath(), OsConstants.O_RDONLY, 0); in testOpen()
/libcore/luni/src/main/java/android/system/
DOsConstants.java411 public static final int O_RDONLY = placeholder(); field in OsConstants
/libcore/luni/src/main/native/
Dandroid_system_OsConstants.cpp408 initConstant(env, c, "O_RDONLY", O_RDONLY); in OsConstants_initConstants()