Lines Matching full:allocated
17 std::vector<std::pair<void *, size_t>> Allocated; in TEST_F() local
19 Allocated.push_back({GPA.allocate(size), size}); in TEST_F()
28 std::sort(Allocated.begin(), Allocated.end()); in TEST_F()
31 void *Base = Allocated[0].first; in TEST_F()
32 size_t Size = reinterpret_cast<size_t>(Allocated.back().first) - in TEST_F()
45 EXPECT_EQ(Allocated, Found); in TEST_F()
49 Size = reinterpret_cast<size_t>(Allocated.back().first) - in TEST_F()
50 reinterpret_cast<size_t>(Base); // Allocated.back() is out of range. in TEST_F()
64 GPA.deallocate(Allocated.back().first); in TEST_F()
65 Allocated.pop_back(); in TEST_F()
66 EXPECT_EQ(Allocated, Found); in TEST_F()
68 for (auto PS : Allocated) in TEST_F()