/ndk/sources/android/crazy_linker/src/ |
D | crazy_linker_proc_maps_unittest.cpp | 76 {0x4000b000, true, PROT_READ}, in TEST() 77 {0x4000bfff, true, PROT_READ}, in TEST() 80 {0x4005c000, true, PROT_READ | PROT_EXEC}, in TEST() 81 {0x40067832, true, PROT_READ | PROT_EXEC}, in TEST() 82 {0x40082000, true, PROT_READ}, in TEST() 83 {0x40083000, true, PROT_READ | PROT_WRITE}, in TEST() 84 {0x40084000, true, PROT_READ | PROT_WRITE}, }; in TEST() 157 {0x4000b000, 0x4000c000, PROT_READ, 0, NULL}, in TEST() 158 {0x4005c000, 0x40081000, PROT_READ | PROT_EXEC, 0, "/system/bin/mksh"}, in TEST() 159 {0x40082000, 0x40083000, PROT_READ, in TEST() [all …]
|
D | crazy_linker_memory_mapping.h | 20 CAN_READ = PROT_READ, 22 CAN_READ_WRITE = PROT_READ | PROT_WRITE
|
D | crazy_linker_ashmem_unittest.cpp | 24 PROT_READ | PROT_WRITE, in TEST()
|
D | crazy_linker_elf_relro.cpp | 45 PROT_READ, in SwapPagesFromFd() 144 if (!ashmem_.SetProtectionFlags(PROT_READ)) { in ForceReadOnly()
|
D | crazy_linker_rdebug.cpp | 173 (page_prot_ & (PROT_READ | PROT_WRITE)) == (PROT_READ | PROT_WRITE)) { in MapReadWrite() 179 int new_page_prot = page_prot_ | PROT_READ | PROT_WRITE; in MapReadWrite()
|
D | linker_phdr.cpp | 128 MAYBE_MAP_FLAG((x), PF_R, PROT_READ) | \ 322 return mprotect((void*)relro_start, relro_size, PROT_READ); in phdr_table_protect_gnu_relro()
|
D | crazy_linker_elf_loader.cpp | 21 MAYBE_MAP_FLAG((x), PF_R, PROT_READ) | \ 168 NULL, phdr_size_, PROT_READ, MAP_PRIVATE, page_min + file_offset_); in ReadProgramHeader()
|
D | crazy_linker_proc_maps.cpp | 96 flags |= PROT_READ; in ParseProcMapsLine()
|
D | crazy_linker_api.cpp | 249 !region.SetProtectionFlags(PROT_READ) || in crazy_system_can_share_relro()
|
/ndk/tests/abcc/jni/mman-win32/ |
D | test.c | 16 void* map = mmap(NULL, 1024, PROT_READ | PROT_WRITE, in test_anon_map_readwrite() 36 void* map = mmap(NULL, 1024, PROT_READ, in test_anon_map_readonly() 76 void* map = mmap(NULL, 1024, PROT_READ, in test_anon_map_readonly_nowrite() 101 void* map = mmap(NULL, 1024, PROT_READ | PROT_WRITE, MAP_PRIVATE, o, 0); in test_file_map_readwrite() 136 void* map = mmap(NULL, map_size, PROT_READ | PROT_WRITE, MAP_PRIVATE, o, 0); in test_file_map_mlock_munlock() 186 void* map = mmap(NULL, map_size, PROT_READ | PROT_WRITE, MAP_PRIVATE, o, 0); in test_file_map_msync()
|
D | mman.h | 25 #define PROT_READ 1 macro
|
D | mman.c | 49 if ((prot & PROT_READ) != 0) in __map_mmap_prot_file()
|
/ndk/sources/host-tools/ndk-stack/elff/ |
D | elf_mapped_section.cc | 38 mapped_at_ = mapfile_map(handle, offset, size, PROT_READ, in map()
|
D | mapfile.h | 29 #define PROT_READ 0x1 macro
|
D | mapfile.c | 226 mmap(0, map_size, PROT_READ, MAP_SHARED, (int)(ptrdiff_t)handle, map_offset); in mapfile_map()
|
/ndk/sources/host-tools/sed-4.2.1/m4/ |
D | memchr.m4 | 56 (char *) mmap (NULL, 2 * pagesize, PROT_READ | PROT_WRITE,
|
/ndk/sources/cxx-stl/stlport/src/details/ |
D | fstream_unistd.cpp | 320 base = MMAP(0, len, PROT_READ, MAP_PRIVATE, _M_file_id, offset); in _M_mmap()
|
/ndk/sources/cxx-stl/gabi++/src/ |
D | cxxabi.cc | 155 void* new_slab = mmap(NULL, kSlabSize, PROT_READ|PROT_WRITE, in AllocateSlab()
|
/ndk/tests/abcc/jni/ |
D | Abcc.cpp | 79 buf = (unsigned char *) mmap (NULL, st.st_size, PROT_READ, MAP_PRIVATE, fd, 0); in readWrapper()
|
/ndk/sources/android/crazy_linker/tests/ |
D | test_util.h | 352 (void*)vma_start, vma_end - vma_start, PROT_READ | PROT_WRITE); in CheckRelroMaps()
|
/ndk/sources/third_party/googletest/googletest/src/ |
D | gtest-death-test.cc | 1057 void* const stack = mmap(NULL, stack_size, PROT_READ | PROT_WRITE, in ExecDeathTestSpawnChild()
|
/ndk/sources/host-tools/sed-4.2.1/ |
D | configure | 10619 (char *) mmap (NULL, 2 * pagesize, PROT_READ | PROT_WRITE,
|