Lines Matching refs:allocator
42 Allocator<char[100]> allocator(heap); in TEST_F() local
43 void* ptr = allocator.allocate(); in TEST_F()
45 allocator.deallocate(ptr); in TEST_F()
49 Allocator<char[100]> allocator(heap); in TEST_F() local
50 void* ptr1 = allocator.allocate(); in TEST_F()
52 void* ptr2 = allocator.allocate(); in TEST_F()
55 allocator.deallocate(ptr1); in TEST_F()
56 void* ptr3 = allocator.allocate(); in TEST_F()
58 allocator.deallocate(ptr3); in TEST_F()
59 allocator.deallocate(ptr2); in TEST_F()
65 Allocator<char[size]> allocator(heap); in TEST_F() local
68 ptr[i] = allocator.allocate(); in TEST_F()
83 allocator.deallocate(ptr[i]); in TEST_F()
89 Allocator<char[size]> allocator(heap); in TEST_F() local
90 void* ptr = allocator.allocate(); in TEST_F()
92 allocator.deallocate(ptr); in TEST_F()
98 Allocator<char[size]> allocator(heap); in TEST_F() local
101 ptr[i] = allocator.allocate(); in TEST_F()
108 allocator.deallocate(ptr[i]); in TEST_F()
136 auto v = allocator::vector<int>(Allocator<int>(heap)); in TEST_F()
147 auto v = allocator::list<int>(Allocator<int>(heap)); in TEST_F()
159 Allocator<int> allocator(heap); in TEST_F() local
161 Allocator<int>::shared_ptr ptr = allocator.make_shared(0); in TEST_F()
169 Allocator<int> allocator(heap); in TEST_F() local
171 Allocator<int>::unique_ptr ptr = allocator.make_unique(0); in TEST_F()