Home
last modified time | relevance | path

Searched refs:Protect (Results 1 – 13 of 13) sorted by relevance

/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()
/art/runtime/gc/collector/
Dsemi_space.cc277 from_space_->GetMemMap()->Protect(PROT_NONE); in MarkingPhase()
283 from_space_->GetMemMap()->Protect(PROT_READ); in MarkingPhase()
811 from_space_->GetMemMap()->Protect(PROT_NONE); in FinishPhase()
/art/libdexfile/dex/
Dart_dex_file_loader.cc62 return mem_map_.Protect(PROT_READ | PROT_WRITE); in EnableWrite()
71 return mem_map_.Protect(PROT_READ); in DisableWrite()
/art/libartbase/base/
Dmem_map.h232 bool Protect(int prot);
Dmem_map.cc443 if (!source->Protect(GetProtect())) { in ReplaceWith()
458 source->Protect(old_prot); in ReplaceWith()
841 bool MemMap::Protect(int prot) { in Protect() function in art::MemMap
/art/build/
DAndroid.bp26 "bugprone-unused-raii", // Protect scoped things like MutexLock.
/art/runtime/gc/
Dheap.cc2078 to_space->GetMemMap()->Protect(PROT_READ | PROT_WRITE); in PerformHomogeneousSpaceCompact()
2177 mem_map.Protect(PROT_READ | PROT_WRITE); in TransitionCollector()
2212 mem_map.Protect(PROT_READ | PROT_WRITE); in TransitionCollector()
2226 mem_map.Protect(PROT_READ | PROT_WRITE); in TransitionCollector()
2236 main_space_backup_->GetMemMap()->Protect(PROT_NONE); in TransitionCollector()
2456 non_moving_space_->GetMemMap()->Protect(PROT_READ | PROT_WRITE); in PreZygoteFork()
2487 main_space_->GetMemMap()->Protect(PROT_READ | PROT_WRITE); in PreZygoteFork()
2500 region_space_->GetMemMap()->Protect(PROT_READ | PROT_WRITE); in PreZygoteFork()
2504 bump_pointer_space_->GetMemMap()->Protect(PROT_READ | PROT_WRITE); in PreZygoteFork()
2772 temp_space_->GetMemMap()->Protect(PROT_READ | PROT_WRITE); in CollectGarbageInternal()
/art/openjdkjvmti/
Dti_class_definition.cc73 CHECK(dex_data_mmap_.Protect(PROT_READ)); in InitializeMemory()
Dti_redefine.cc369 map.Protect(PROT_READ); in MoveDataToMemMap()
/art/runtime/gc/space/
Dregion_space.cc146 Protect(); in RegionSpace()
770 void RegionSpace::Protect() { in Protect() function in art::gc::space::RegionSpace
Dregion_space.h122 void Protect();
/art/tools/
Dart559 # Protect additional arguments in quotes to preserve whitespaces (used by
/art/dex2oat/
Ddex2oat.cc1676 if (!map.Protect(PROT_READ | PROT_WRITE)) { in Setup()