Home
last modified time | relevance | path

Searched refs:reservation (Results 1 – 10 of 10) sorted by relevance

/art/runtime/gc/collector/
Dimmune_spaces_test.cc193 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/
Delf_writer_test.cc103 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/runtime/
Doat_file.cc114 /*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 …]
Delf_file.h60 /*inout*/MemMap* reservation,
Doat_file.h95 /*inout*/MemMap* reservation, // Where to load if not null.
108 /*inout*/MemMap* reservation, // Where to load if not null.
Delf_file_impl.h119 /*inout*/MemMap* reservation,
Delf_file.cc1106 /*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()
/art/libartbase/base/
Dmem_map.h138 /*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,
Dmem_map_test.cc616 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 …]
Dmem_map.cc233 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 …]