Home
last modified time | relevance | path

Searched refs:imode (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/java/io/
DRandomAccessFile.java251 int imode = -1; in RandomAccessFile() local
253 imode = O_RDONLY; in RandomAccessFile()
257 imode = O_RDWR | O_CREAT; in RandomAccessFile()
273 imode = -1; in RandomAccessFile()
277 if (imode < 0) { in RandomAccessFile()
303 imode = setCloExecFlag ? imode | O_CLOEXEC : imode; in RandomAccessFile()
304 this.mode = imode; in RandomAccessFile()
307 fd = IoBridge.open(name, imode); in RandomAccessFile()
/libcore/ojluni/src/main/java/sun/nio/ch/
DFileChannelImpl.java920 int imode = -1; in map() local
922 imode = MAP_RO; in map()
924 imode = MAP_RW; in map()
926 imode = MAP_PV; in map()
927 assert (imode >= 0); in map()
972 (!writable) || (imode == MAP_RO) /* readOnly */); in map()
982 addr = map0(imode, mapPosition, mapSize); in map()
993 addr = map0(imode, mapPosition, mapSize); in map()
1029 (!writable) || (imode == MAP_RO)); in map()