Lines Matching refs:Cap
26 ARO::Capacity Cap = ARO::Capacity::get(0); in TEST() local
27 EXPECT_LT(0u, Cap.getSize()); in TEST()
29 size_t PrevSize = Cap.getSize(); in TEST()
31 Cap = ARO::Capacity::get(N); in TEST()
32 EXPECT_LE(N, Cap.getSize()); in TEST()
34 EXPECT_EQ(PrevSize, Cap.getSize()); in TEST()
36 EXPECT_LT(PrevSize, Cap.getSize()); in TEST()
37 PrevSize = Cap.getSize(); in TEST()
41 Cap = ARO::Capacity::get(0); in TEST()
42 PrevSize = Cap.getSize(); in TEST()
44 Cap = Cap.getNext(); in TEST()
45 EXPECT_LT(PrevSize, Cap.getSize()); in TEST()
46 PrevSize = Cap.getSize(); in TEST()
54 ARO::Capacity Cap = ARO::Capacity::get(8); in TEST() local
55 Object *A1 = DUT.allocate(Cap, Allocator); in TEST()
59 Object *A2 = DUT.allocate(Cap, Allocator); in TEST()
63 Object *A3 = DUT.allocate(Cap, Allocator); in TEST()
74 DUT.deallocate(Cap, A2); in TEST()
83 Object *A2x = DUT.allocate(Cap, Allocator); in TEST()
86 DUT.deallocate(Cap, A2x); in TEST()
87 DUT.deallocate(Cap, A1); in TEST()
88 DUT.deallocate(Cap, A3); in TEST()
92 Object *A3x = DUT.allocate(Cap, Allocator); in TEST()
94 Object *A1x = DUT.allocate(Cap, Allocator); in TEST()
96 Object *A2y = DUT.allocate(Cap, Allocator); in TEST()
100 Object *A4 = DUT.allocate(Cap, Allocator); in TEST()