Lines Matching refs:reservation
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()
805 &reservation, in TEST_F()
811 ASSERT_TRUE(reservation.IsValid()); in TEST_F()
814 ASSERT_EQ(map1.BaseEnd(), reservation.Begin()); in TEST_F()
818 DCHECK_LT(kChunk2Size, reservation.Size()); // We want to split the reservation. in TEST_F()
819 uint8_t* addr2 = reservation.Begin(); in TEST_F()
826 &reservation, in TEST_F()
833 ASSERT_EQ(map2.BaseEnd(), reservation.Begin()); in TEST_F()
836 const size_t kChunk3Size = reservation.Size() - 1u; in TEST_F()
837 uint8_t* addr3 = reservation.Begin(); in TEST_F()
847 &reservation, in TEST_F()
854 ASSERT_FALSE(reservation.IsValid()); in TEST_F()