/art/runtime/gc/collector/ |
D | immune_spaces_test.cc | 196 MemMap reservation = MemMap::MapAnonymous("reserve", in TEST_F() local 201 ASSERT_TRUE(reservation.IsValid()) << "Failed to allocate memory region " << error_str; in TEST_F() 202 MemMap image_reservation = reservation.TakeReservedMemory(kImageSize); in TEST_F() 204 ASSERT_TRUE(reservation.IsValid()); in TEST_F() 209 &reservation)); in TEST_F() 212 ASSERT_TRUE(reservation.IsValid()); in TEST_F() 259 MemMap reservation = MemMap::MapAnonymous("reserve", in TEST_F() local 264 ASSERT_TRUE(reservation.IsValid()) << "Failed to allocate memory region " << error_str; in TEST_F() 265 MemMap image_reservation = reservation.TakeReservedMemory(kImage1Size + kImage2Size); in TEST_F() 267 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 | 137 /*inout*/MemMap* reservation, 158 MemMap* reservation, in MapAnonymous() argument 161 /*addr=*/ (reservation != nullptr) ? reservation->Begin() : nullptr, in MapAnonymous() 166 reservation, in MapAnonymous() 222 /*inout*/MemMap* reservation, 375 const MemMap& reservation,
|
D | mem_map_test.cc | 612 MemMap reservation = MemMap::MapAnonymous("MapAnonymous0", in TEST_F() local 617 ASSERT_TRUE(reservation.IsValid()) << error_msg; in TEST_F() 620 uint8_t* map_base = reinterpret_cast<uint8_t*>(reservation.BaseBegin()); in TEST_F() 627 &reservation, in TEST_F() 636 &reservation, in TEST_F() 645 &reservation, in TEST_F() 650 ASSERT_FALSE(reservation.IsValid()); // The entire reservation was used. in TEST_F() 780 MemMap reservation = MemMap::MapAnonymous("Test reservation", in TEST_F() local 785 ASSERT_TRUE(reservation.IsValid()); in TEST_F() 791 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 | 115 /*inout*/MemMap* reservation, // Where to load if not null. 128 /*inout*/MemMap* reservation, // Where to load if not null. 154 /*inout*/MemMap* reservation, // Where to load if not null. 161 /*inout*/MemMap* reservation, // Where to load if not null. 203 /*inout*/MemMap* reservation, in OpenOatFile() argument 213 reservation, in OpenOatFile() 245 /*inout*/MemMap* reservation, in OpenOatFile() argument 253 reservation, in OpenOatFile() 997 /*inout*/MemMap* reservation, // Where to load if not null. 1004 /*inout*/MemMap* reservation ATTRIBUTE_UNUSED, in Load() [all …]
|
D | elf_file.h | 60 /*inout*/MemMap* reservation,
|
D | oat_file.h | 111 /*inout*/MemMap* reservation, // Where to load if not null. 157 /*inout*/MemMap* reservation, // Where to load if not null.
|
D | elf_file_impl.h | 119 /*inout*/MemMap* reservation,
|
D | elf_file.cc | 1097 /*inout*/MemMap* reservation, in Load() argument 1153 (reservation != nullptr) ? reservation->Begin() : nullptr, in Load() 1158 reservation, in Load() 1805 /*inout*/MemMap* reservation, in Load() argument 1807 DELEGATE_TO_IMPL(Load, file, executable, low_4gb, reservation, error_msg); in Load()
|
/art/dex2oat/ |
D | dex2oat_image_test.cc | 254 MemMap reservation = ReserveCoreImageAddressSpace(&error_msg); in TEST_F() local 255 ASSERT_TRUE(reservation.IsValid()) << error_msg; in TEST_F() 412 reservation = MemMap::Invalid(); // Free the reserved memory for loading images. in TEST_F()
|