Home
last modified time | relevance | path

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

12

/art/libartbase/base/
Dmem_map_test.cc57 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 …]
Dmem_map_windows.cc24 #ifdef PROT_READ
25 #undef PROT_READ
52 if ((prot != PROT_READ) && (prot != (PROT_READ | PROT_WRITE))) { in TargetMMap()
Dsafe_copy_test.cc37 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()
Dmman.h24 #define PROT_READ 0x1 macro
Dzip_archive.cc79 PROT_READ | PROT_WRITE, in ExtractToMemMap()
136 PROT_READ | PROT_WRITE, in MapDirectlyFromFile()
Dmem_map_fuchsia.cc77 if ((prot & PROT_READ) != 0) { in TargetMMap()
/art/test/305-other-fault-handler/
Dfault_handler.cc63 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/
Dimmune_spaces_test.cc90 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/
Dmalloc_space.cc112 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()
Dlarge_object_space.cc141 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()
Dbump_pointer_space.cc32 PROT_READ | PROT_WRITE, in Create()
/art/libdexfile/dex/
Dart_dex_file_loader.cc54 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/
Dti_class_definition.cc56 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/
Dcard_table.cc69 PROT_READ | PROT_WRITE, in Create()
Dbitmap.cc53 PROT_READ | PROT_WRITE, in AllocateMemMap()
Dread_barrier_table.h44 PROT_READ | PROT_WRITE, in ReadBarrierTable()
Dspace_bitmap.cc89 PROT_READ | PROT_WRITE, in Create()
Datomic_stack.h257 PROT_READ | PROT_WRITE, in Init()
/art/runtime/gc/
Dheap_test.cc40 PROT_READ, in SetUp()
/art/runtime/base/
Dmem_map_arena_pool.cc62 PROT_READ | PROT_WRITE, in Allocate()
/art/runtime/
Dindirect_reference_table.cc84 PROT_READ | PROT_WRITE, in IndirectReferenceTable()
226 PROT_READ | PROT_WRITE, in Resize()
Dvdex_file.cc159 (writable || unquicken) ? PROT_READ | PROT_WRITE : PROT_READ, in OpenAtAddress()
Dthread_pool.cc52 PROT_READ | PROT_WRITE, in ThreadPoolWorker()
/art/compiler/jit/
Djit_logger.cc214 marker_address_ = mmap(nullptr, kPageSize, PROT_READ | PROT_EXEC, MAP_PRIVATE, fd, 0); in OpenMarkerFile()
/art/compiler/utils/
Dswap_space.cc155 mmap(nullptr, next_part, PROT_READ | PROT_WRITE, MAP_SHARED, fd_, size_)); in NewFileChunk()

12