Home
last modified time | relevance | path

Searched refs:PROT_READ (Results 1 – 6 of 6) sorted by relevance

/libcore/luni/src/main/java/libcore/io/
DMemoryMappedFile.java27 import static android.system.OsConstants.PROT_READ;
57 long address = Libcore.os.mmap(0L, size, PROT_READ, MAP_SHARED, fd, 0); in mmapRO()
/libcore/ojluni/src/main/native/
DFileChannelImpl.c94 protections = PROT_READ; in FileChannelImpl_map0()
97 protections = PROT_WRITE | PROT_READ; in FileChannelImpl_map0()
100 protections = PROT_WRITE | PROT_READ; in FileChannelImpl_map0()
Dzip_util.c633 mappedAddr = mmap64(0, zip->mlen, PROT_READ, MAP_SHARED, zip->zfd, (off64_t) offset); in readCEN()
/libcore/luni/src/main/java/android/system/
DOsConstants.java440 public static final int PROT_READ = placeholder(); field in OsConstants
/libcore/luni/src/main/native/
Dandroid_system_OsConstants.cpp441 initConstant(env, c, "PROT_READ", PROT_READ); in OsConstants_initConstants()
/libcore/luni/src/test/java/libcore/android/system/
DOsTest.java1522 final long address = Os.mmap(0, size, PROT_READ, in testMapAnonymous()