Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixConstants.java46 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/native/
Djvm_md.h72 #define JVM_O_RDONLY O_RDONLY
DFileInputStream.c67 fileOpen(env, this, path, fis_fd, O_RDONLY); in FileInputStream_open0()
DFileSystemPreferences.c86 fd = open(fname, O_RDONLY, 0); in Java_java_util_prefs_FileSystemPreferences_lockFile0()
DFileDispatcherImpl.c151 if (getfl >= 0 && (getfl & O_ACCMODE) == O_RDONLY) { in FileDispatcherImpl_force0()
Djava_util_zip_ZipFile.c97 if (mode & OPEN_READ) flag |= O_RDONLY; in ZipFile_open()
Dzip_util.c927 jzfile *file = ZIP_Open_Generic(name, pmsg, O_RDONLY, 0); in ZIP_Open()
/libcore/luni/src/main/java/libcore/io/
DIoUtils.java163 FileDescriptor fd = Libcore.os.open(path, O_RDONLY, 0); in canOpenReadOnly()
207 fd = IoBridge.open(absolutePath, O_RDONLY); in FileReader()
DMemoryMappedFile.java54 FileDescriptor fd = Libcore.os.open(path, O_RDONLY, 0); in mmapRO()
DBlockGuardOs.java207 if ((flags & O_ACCMODE) != O_RDONLY) { in open()
DIoBridge.java470 int mode = ((flags & O_ACCMODE) == O_RDONLY) ? 0 : 0600; in open()
/libcore/luni/src/main/java/java/nio/
DNioUtils.java63 boolean readable = (mode & (O_RDONLY | O_RDWR | O_SYNC)) != 0; in newFileChannel()
/libcore/luni/src/test/java/libcore/dalvik/system/
DBlockGuardTest.java264 fd = Os.open(temp.getPath(), OsConstants.O_RDONLY, 0); in testOpen()
/libcore/ojluni/src/main/java/java/io/
DRandomAccessFile.java236 imode = O_RDONLY; in RandomAccessFile()
/libcore/luni/src/main/java/android/system/
DOsConstants.java376 public static final int O_RDONLY = placeholder(); field in OsConstants
/libcore/luni/src/main/native/
Dandroid_system_OsConstants.cpp402 initConstant(env, c, "O_RDONLY", O_RDONLY); in OsConstants_initConstants()
Dlibcore_icu_ICU.cpp891 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(path_.c_str(), O_RDONLY))); in TryMap()