Home
last modified time | relevance | path

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

/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.java192 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;
159 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
DFileInputStream.c67 fileOpen(env, this, path, fis_fd, O_RDONLY); in FileInputStream_open0()
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/main/java/java/nio/
DNioUtils.java67 boolean readable = (mode & (O_RDONLY | O_RDWR | O_SYNC)) != 0; in newFileChannel()
/libcore/luni/src/main/java/libcore/io/
DMemoryMappedFile.java56 FileDescriptor fd = Libcore.os.open(path, O_RDONLY, 0); in mmapRO()
DIoUtils.java288 FileDescriptor fd = Libcore.os.open(path, O_RDONLY, 0); in canOpenReadOnly()
332 fd = IoBridge.open(absolutePath, O_RDONLY); in FileReader()
DBlockGuardOs.java249 if ((flags & O_ACCMODE) != O_RDONLY) { in open()
DIoBridge.java481 int mode = ((flags & O_ACCMODE) == O_RDONLY) ? 0 : 0600; in 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.cpp404 initConstant(env, c, "O_RDONLY", O_RDONLY); in OsConstants_initConstants()
Dlibcore_icu_ICU.cpp892 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(path_.c_str(), O_RDONLY))); in TryMap()