/art/runtime/gc/collector/ |
D | immune_spaces_test.cc | 193 MemMap reservation = MemMap::MapAnonymous("reserve", in TEST_F() local 198 ASSERT_TRUE(reservation.IsValid()) << "Failed to allocate memory region " << error_str; in TEST_F() 199 MemMap image_reservation = reservation.TakeReservedMemory(kImageSize); in TEST_F() 201 ASSERT_TRUE(reservation.IsValid()); in TEST_F() 206 &reservation)); in TEST_F() 209 ASSERT_TRUE(reservation.IsValid()); in TEST_F() 256 MemMap reservation = MemMap::MapAnonymous("reserve", in TEST_F() local 261 ASSERT_TRUE(reservation.IsValid()) << "Failed to allocate memory region " << error_str; in TEST_F() 262 MemMap image_reservation = reservation.TakeReservedMemory(kImage1Size + kImage2Size); in TEST_F() 264 ASSERT_TRUE(reservation.IsValid()); in TEST_F() [all …]
|
/art/dex2oat/linker/ |
D | elf_writer_test.cc | 103 MemMap reservation = MemMap::MapAnonymous("ElfWriterTest#dlsym reservation", in TEST_F() local 108 CHECK(reservation.IsValid()) << error_msg; in TEST_F() 109 uint8_t* base = reservation.Begin(); in TEST_F() 111 ef->Load(file.get(), /*executable=*/ false, /*low_4gb=*/ false, &reservation, &error_msg); in TEST_F() 113 CHECK(!reservation.IsValid()); in TEST_F()
|
/art/libartbase/base/ |
D | mem_map.h | 138 /*inout*/MemMap* reservation, 159 MemMap* reservation, in MapAnonymous() argument 162 /*addr=*/ (reservation != nullptr) ? reservation->Begin() : nullptr, in MapAnonymous() 167 reservation, in MapAnonymous() 223 /*inout*/MemMap* reservation, 371 const MemMap& reservation,
|
D | mem_map_test.cc | 616 MemMap reservation = MemMap::MapAnonymous("MapAnonymous0", in TEST_F() local 621 ASSERT_TRUE(reservation.IsValid()) << error_msg; in TEST_F() 624 uint8_t* map_base = reinterpret_cast<uint8_t*>(reservation.BaseBegin()); in TEST_F() 631 &reservation, in TEST_F() 640 &reservation, in TEST_F() 649 &reservation, in TEST_F() 654 ASSERT_FALSE(reservation.IsValid()); // The entire reservation was used. in TEST_F() 784 MemMap reservation = MemMap::MapAnonymous("Test reservation", in TEST_F() local 789 ASSERT_TRUE(reservation.IsValid()); in TEST_F() 795 uint8_t* addr1 = reservation.Begin(); in TEST_F() [all …]
|
D | mem_map.cc | 233 const MemMap& reservation, in CheckReservation() argument 235 if (!reservation.IsValid()) { in CheckReservation() 239 DCHECK_ALIGNED(reservation.Begin(), kPageSize); in CheckReservation() 240 if (reservation.Begin() != expected_ptr) { in CheckReservation() 243 reservation.Begin(), in CheckReservation() 247 if (byte_count > reservation.Size()) { in CheckReservation() 250 reservation.Size()); in CheckReservation() 310 /*inout*/MemMap* reservation, in MapAnonymous() argument 327 DCHECK(reservation == nullptr); in MapAnonymous() 331 } else if (reservation != nullptr) { in MapAnonymous() [all …]
|
/art/runtime/ |
D | oat_file.cc | 114 /*inout*/MemMap* reservation, // Where to load if not null. 127 /*inout*/MemMap* reservation, // Where to load if not null. 153 /*inout*/MemMap* reservation, // Where to load if not null. 160 /*inout*/MemMap* reservation, // Where to load if not null. 197 /*inout*/MemMap* reservation, in OpenOatFile() argument 207 reservation, in OpenOatFile() 239 /*inout*/MemMap* reservation, in OpenOatFile() argument 247 reservation, in OpenOatFile() 916 /*inout*/MemMap* reservation, // Where to load if not null. 923 /*inout*/MemMap* reservation ATTRIBUTE_UNUSED, in Load() [all …]
|
D | elf_file.h | 60 /*inout*/MemMap* reservation,
|
D | oat_file.h | 95 /*inout*/MemMap* reservation, // Where to load if not null. 108 /*inout*/MemMap* reservation, // Where to load if not null.
|
D | elf_file_impl.h | 119 /*inout*/MemMap* reservation,
|
D | elf_file.cc | 1106 /*inout*/MemMap* reservation, in Load() argument 1162 (reservation != nullptr) ? reservation->Begin() : nullptr, in Load() 1167 reservation, in Load() 1814 /*inout*/MemMap* reservation, in Load() argument 1816 DELEGATE_TO_IMPL(Load, file, executable, low_4gb, reservation, error_msg); in Load()
|