Searched refs:imode (Results 1 – 2 of 2) sorted by relevance
251 int imode = -1; in RandomAccessFile() local253 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()
920 int imode = -1; in map() local922 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()