Home | History | Annotate | Download | only in tests

Lines Matching refs:arena

63 // Make sure the arena can successfully allocate from more than one
68 RefPtr<PODArena> arena = PODArena::create(allocator);
71 arena->allocateObject<TestClass1>();
75 // Make sure the arena frees all allocated regions during destruction.
80 RefPtr<PODArena> arena = PODArena::create(allocator);
82 arena->allocateObject<TestClass1>();
88 // Make sure the arena runs constructors of the objects allocated within.
91 RefPtr<PODArena> arena = PODArena::create();
93 TestClass1* tc1 = arena->allocateObject<TestClass1>();
98 TestClass2* tc2 = arena->allocateObject<TestClass2>();