Searched refs:O_RDONLY (Results 1 – 20 of 20) sorted by relevance
/libcore/luni/src/main/java/java/nio/ |
D | NioUtils.java | 29 import static android.system.OsConstants.O_RDONLY; 68 boolean writable = (mode & O_ACCMODE) != O_RDONLY; in newFileChannel()
|
/libcore/luni/src/main/java/libcore/io/ |
D | MemoryMappedFile.java | 26 import static android.system.OsConstants.O_RDONLY; 54 FileDescriptor fd = Libcore.os.open(path, O_RDONLY, 0); in mmapRO()
|
D | IoUtils.java | 37 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()
|
D | BlockGuardOs.java | 251 if ((flags & O_ACCMODE) != O_RDONLY) { in open()
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | UnixConstants.java | 39 static final int O_RDONLY = OsConstants.O_RDONLY; field in UnixConstants
|
D | UnixCopyFile.java | 148 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()
|
D | UnixSecureDirectoryStream.java | 128 int flags = O_RDONLY; in newDirectoryStream() 341 int oflags = O_RDONLY; in open()
|
D | UnixChannelFactory.java | 199 oflags = (flags.write) ? O_WRONLY : O_RDONLY; in open()
|
D | UnixFileSystemProvider.java | 424 dfd1 = open(dir, O_RDONLY, 0); in newDirectoryStream()
|
D | UnixPath.java | 770 int flags = O_RDONLY; in openForAttributeAccess()
|
/libcore/ojluni/src/main/java/java/io/ |
D | FileInputStream.java | 29 import static android.system.OsConstants.O_RDONLY; 160 fd = IoBridge.open(name, O_RDONLY); in FileInputStream()
|
D | RandomAccessFile.java | 237 imode = O_RDONLY; in RandomAccessFile()
|
/libcore/ojluni/src/main/native/ |
D | jvm_md.h | 78 #define JVM_O_RDONLY O_RDONLY
|
D | FileSystemPreferences.c | 88 fd = open(fname, O_RDONLY, 0); in Java_java_util_prefs_FileSystemPreferences_lockFile0()
|
D | FileDispatcherImpl.c | 153 if (getfl >= 0 && (getfl & O_ACCMODE) == O_RDONLY) { in FileDispatcherImpl_force0()
|
D | ZipFile.c | 97 if (mode & OPEN_READ) flag |= O_RDONLY; in ZipFile_open()
|
D | zip_util.c | 929 jzfile *file = ZIP_Open_Generic(name, pmsg, O_RDONLY, 0); in ZIP_Open()
|
/libcore/luni/src/test/java/libcore/dalvik/system/ |
D | BlockGuardTest.java | 297 fd = Os.open(temp.getPath(), OsConstants.O_RDONLY, 0); in testOpen()
|
/libcore/luni/src/main/java/android/system/ |
D | OsConstants.java | 411 public static final int O_RDONLY = placeholder(); field in OsConstants
|
/libcore/luni/src/main/native/ |
D | android_system_OsConstants.cpp | 408 initConstant(env, c, "O_RDONLY", O_RDONLY); in OsConstants_initConstants()
|