/art/libartbase/base/ |
D | mem_map_test.cc | 57 PROT_READ, in GetValidMapAddress() 71 PROT_READ | PROT_WRITE, in RemapAtEndTest() 86 PROT_READ | PROT_WRITE, in RemapAtEndTest() 117 PROT_READ | PROT_WRITE, in RemapAtEndTest() 167 PROT_READ, in TEST_F() 173 PROT_WRITE | PROT_READ, in TEST_F() 204 PROT_READ, in TEST_F() 210 PROT_WRITE | PROT_READ, in TEST_F() 244 PROT_READ, in TEST_F() 250 PROT_WRITE | PROT_READ, in TEST_F() [all …]
|
D | mem_map_windows.cc | 24 #ifdef PROT_READ 25 #undef PROT_READ 52 if ((prot != PROT_READ) && (prot != (PROT_READ | PROT_WRITE))) { in TargetMMap()
|
D | safe_copy_test.cc | 37 void* map = mmap(nullptr, kPageSize * 4, PROT_READ | PROT_WRITE, in TEST() 85 void* src_map = mmap(nullptr, kPageSize * 3, PROT_READ | PROT_WRITE, in TEST() 90 void* dst_map = mmap(nullptr, kPageSize * 4, PROT_READ | PROT_WRITE, in TEST()
|
D | mman.h | 24 #define PROT_READ 0x1 macro
|
D | zip_archive.cc | 79 PROT_READ | PROT_WRITE, in ExtractToMemMap() 136 PROT_READ | PROT_WRITE, in MapDirectlyFromFile()
|
D | mem_map_fuchsia.cc | 77 if ((prot & PROT_READ) != 0) { in TargetMMap()
|
/art/test/305-other-fault-handler/ |
D | fault_handler.cc | 63 CHECK(target_map_.Protect(PROT_READ | PROT_WRITE)) << "Failed to mprotect R/W"; in Action() 67 CHECK(target_map_.Protect(PROT_READ)) << "Failed to mprotect R-only"; in Action() 82 CHECK_EQ(target_map_.GetProtect(), PROT_READ); in CauseSegfault()
|
/art/runtime/gc/collector/ |
D | immune_spaces_test.cc | 90 PROT_READ | PROT_WRITE, in CreateImageSpace() 103 PROT_READ | PROT_WRITE, in CreateImageSpace() 195 PROT_READ | PROT_WRITE, in TEST_F() 258 PROT_READ | PROT_WRITE, in TEST_F() 332 PROT_READ | PROT_WRITE, in TEST_F() 371 PROT_READ | PROT_WRITE, in TEST_F()
|
/art/runtime/gc/space/ |
D | malloc_space.cc | 112 PROT_READ | PROT_WRITE, in CreateMemMap() 161 CheckedCall(mprotect, GetName(), original_end, increment, PROT_READ | PROT_WRITE); in MoreCore() 214 End(), alloc_space_name, PROT_READ | PROT_WRITE, &error_msg); in CreateZygoteSpace()
|
D | large_object_space.cc | 141 PROT_READ | PROT_WRITE, in Alloc() 360 PROT_READ | PROT_WRITE, in Create() 381 PROT_READ | PROT_WRITE, in FreeListSpace() 476 CheckedCall(mprotect, __FUNCTION__, obj, allocation_size, PROT_READ); in Free() 542 CheckedCall(mprotect, __FUNCTION__, obj, allocation_size, PROT_READ | PROT_WRITE); in Alloc()
|
D | bump_pointer_space.cc | 32 PROT_READ | PROT_WRITE, in Create()
|
/art/libdexfile/dex/ |
D | art_dex_file_loader.cc | 54 return GetPermissions() == PROT_READ; in IsReadOnly() 62 return mem_map_.Protect(PROT_READ | PROT_WRITE); in EnableWrite() 71 return mem_map_.Protect(PROT_READ); in DisableWrite() 334 PROT_READ, in OpenFile()
|
/art/openjdkjvmti/ |
D | ti_class_definition.cc | 56 CHECK_EQ(temp_mmap_.GetProtect(), PROT_READ | PROT_WRITE); in InitializeMemory() 73 CHECK(dex_data_mmap_.Protect(PROT_READ)); in InitializeMemory() 257 PROT_READ | PROT_WRITE, in InitWithDex()
|
/art/runtime/gc/accounting/ |
D | card_table.cc | 69 PROT_READ | PROT_WRITE, in Create()
|
D | bitmap.cc | 53 PROT_READ | PROT_WRITE, in AllocateMemMap()
|
D | read_barrier_table.h | 44 PROT_READ | PROT_WRITE, in ReadBarrierTable()
|
D | space_bitmap.cc | 89 PROT_READ | PROT_WRITE, in Create()
|
D | atomic_stack.h | 257 PROT_READ | PROT_WRITE, in Init()
|
/art/runtime/gc/ |
D | heap_test.cc | 40 PROT_READ, in SetUp()
|
/art/runtime/base/ |
D | mem_map_arena_pool.cc | 62 PROT_READ | PROT_WRITE, in Allocate()
|
/art/runtime/ |
D | indirect_reference_table.cc | 84 PROT_READ | PROT_WRITE, in IndirectReferenceTable() 226 PROT_READ | PROT_WRITE, in Resize()
|
D | vdex_file.cc | 159 (writable || unquicken) ? PROT_READ | PROT_WRITE : PROT_READ, in OpenAtAddress()
|
D | thread_pool.cc | 52 PROT_READ | PROT_WRITE, in ThreadPoolWorker()
|
/art/compiler/jit/ |
D | jit_logger.cc | 214 marker_address_ = mmap(nullptr, kPageSize, PROT_READ | PROT_EXEC, MAP_PRIVATE, fd, 0); in OpenMarkerFile()
|
/art/compiler/utils/ |
D | swap_space.cc | 155 mmap(nullptr, next_part, PROT_READ | PROT_WRITE, MAP_SHARED, fd_, size_)); in NewFileChunk()
|