/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/bits/ |
mman.h | 30 without PROT_READ. The only guarantees are that no writing will be 33 #define PROT_READ 0x1 /* Page can be read. */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/bits/ |
mman.h | 30 without PROT_READ. The only guarantees are that no writing will be 33 #define PROT_READ 0x1 /* Page can be read. */
|
/prebuilts/ndk/8/platforms/android-14/arch-mips/usr/include/asm/ |
mman.h | 22 #define PROT_READ 0x01
|
/prebuilts/ndk/8/platforms/android-9/arch-mips/usr/include/asm/ |
mman.h | 22 #define PROT_READ 0x01
|
/prebuilts/ndk/9/platforms/android-14/arch-mips/usr/include/asm/ |
mman.h | 22 #define PROT_READ 0x01
|
/prebuilts/ndk/9/platforms/android-18/arch-mips/usr/include/asm/ |
mman.h | 22 #define PROT_READ 0x01
|
/prebuilts/ndk/9/platforms/android-9/arch-mips/usr/include/asm/ |
mman.h | 22 #define PROT_READ 0x01
|
/cts/tests/tests/security/jni/ |
android_security_cts_CharDeviceTest.cpp | 42 mmap(NULL, length, PROT_READ|PROT_WRITE, MAP_SHARED, fd, PHYS_OFFSET); 80 mmap(NULL, length, PROT_READ, MAP_SHARED, fd, PHYS_OFFSET);
|
android_security_cts_NativeCodeTest.cpp | 189 void* a = mmap_syscall(NULL, 0x1000, PROT_READ, MAP_SHARED, fd, KBASE_REG_COOKIE_MTP); 190 void* b = mmap_syscall(NULL, 0x1000, PROT_READ, MAP_SHARED, fd, KBASE_REG_COOKIE_TB); 203 result = (mprotect(b, 0x1000, PROT_READ | PROT_WRITE) == -1);
|
/external/chromium_org/third_party/skia/src/ports/ |
SkDiscardableMemory_ashmem.cpp | 102 if (0 != ashmem_set_prot_region(fd, PROT_READ | PROT_WRITE)) { 106 void* addr = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_PRIVATE, fd, 0);
|
/external/skia/src/ports/ |
SkDiscardableMemory_ashmem.cpp | 102 if (0 != ashmem_set_prot_region(fd, PROT_READ | PROT_WRITE)) { 106 void* addr = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_PRIVATE, fd, 0);
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/utils/ |
mmapped_buffer.h | 44 const int protMode = isUpdatable ? PROT_READ | PROT_WRITE : PROT_READ;
|
/dalvik/libdex/ |
SysUtil.cpp | 46 ptr = mmap(NULL, length, PROT_READ | PROT_WRITE, 162 memPtr = mmap(NULL, length, PROT_READ | PROT_WRITE, MAP_FILE | MAP_PRIVATE, 169 if (mprotect(memPtr, length, PROT_READ) < 0) { 172 ALOGV("mprotect(%p, %d, PROT_READ) failed: %s", 209 memPtr = mmap(NULL, actualLength, PROT_READ, MAP_FILE | MAP_SHARED, 263 int prot = wantReadWrite ? (PROT_READ|PROT_WRITE) : (PROT_READ);
|
/external/chromium_org/v8/src/ |
platform-linux.cc | 138 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); 175 PROT_READ | PROT_WRITE, 195 PROT_READ | PROT_WRITE, 289 PROT_READ, 291 PROT_READ | PROT_EXEC, 408 int prot = PROT_READ | PROT_WRITE; 410 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0);
|
/bootable/recovery/minzip/ |
SysUtil.c | 36 ptr = mmap(NULL, length, PROT_READ | PROT_WRITE, 129 memPtr = mmap(NULL, length, PROT_READ, MAP_FILE | MAP_SHARED, fd, start); 174 memPtr = mmap(NULL, actualLength, PROT_READ, MAP_FILE | MAP_SHARED,
|
/external/chromium_org/base/memory/ |
discardable_memory_android.cc | 146 const int err = ashmem_set_prot_region(fd, PROT_READ | PROT_WRITE); 156 NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); 185 DCHECK_EQ(0, mprotect(address, size, PROT_READ | PROT_WRITE));
|
/external/valgrind/main/memcheck/tests/ |
mempool2.c | 40 p = (pool *)mmap(0, sizeof(pool), PROT_READ|PROT_WRITE|PROT_EXEC, 43 PROT_READ|PROT_WRITE|PROT_EXEC, 62 PROT_READ|PROT_WRITE|PROT_EXEC,
|
/external/chromium_org/chrome/test/pyautolib/ |
asan_stub.c | 50 PROT_READ | PROT_WRITE, 80 PROT_READ | PROT_WRITE,
|
/external/chromium_org/content/shell/android/linker_test_apk/ |
content_linker_test_linker_tests.cc | 114 int ret = ::mprotect(region_start, region_size, PROT_READ | PROT_WRITE); 124 ::mprotect(region_start, region_size, PROT_READ);
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
vsnprintf.c | 100 PROT_READ|PROT_WRITE|PROT_EXEC) == -1) 102 PROT_READ|PROT_WRITE);
|
/external/jpeg/ |
jmem-ashmem.c | 129 int err = ashmem_set_prot_region(fd, PROT_READ | PROT_WRITE); 133 info->addr = mmap(NULL, total_bytes_needed, PROT_READ | PROT_WRITE, MAP_PRIVATE, fd, 0);
|
/external/mesa3d/src/mesa/main/ |
vsnprintf.c | 100 PROT_READ|PROT_WRITE|PROT_EXEC) == -1) 102 PROT_READ|PROT_WRITE);
|
/external/qemu/distrib/jpeg-6b/ |
jmem-ashmem.c | 128 int err = ashmem_set_prot_region(fd, PROT_READ | PROT_WRITE); 132 info->addr = mmap(NULL, total_bytes_needed, PROT_READ | PROT_WRITE, MAP_PRIVATE, fd, 0);
|
/system/extras/kexec_tools/ |
kexecload.c | 134 atag_buffer = (char *) mmap(NULL, atag_size, PROT_READ, MAP_POPULATE | MAP_PRIVATE, atag_file, 0); 135 zimage_buffer = (char *) mmap(NULL, zimage_size, PROT_READ, MAP_POPULATE | MAP_PRIVATE, zimage_file, 0);
|
/bionic/libc/bionic/ |
libc_init_static.cpp | 82 mprotect(reinterpret_cast<void*>(seg_page_start), seg_page_end - seg_page_start, PROT_READ);
|