Searched refs:gBenchPool (Results 1 – 1 of 1) sorted by relevance
24 void* operator new (size_t size) { return gBenchPool.allocate(size); } in operator new()25 void operator delete (void* mem) { if (mem) { return gBenchPool.release(mem); } } in operator delete()27 static GrMemoryPool gBenchPool; member29 GrMemoryPool A::gBenchPool(10 * (1 << 10), 10 * (1 << 10)); member in A86 void* operator new (size_t size) { return gBenchPool.allocate(size); } in operator new()87 void operator delete (void* mem) { if (mem) { return gBenchPool.release(mem); } } in operator delete()89 static GrMemoryPool gBenchPool; member91 GrMemoryPool B::gBenchPool(10 * (1 << 10), 10 * (1 << 10)); member in B131 void* operator new (size_t size) { return gBenchPool.allocate(size); } in operator new()132 void operator delete (void* mem) { if (mem) { return gBenchPool.release(mem); } } in operator delete()[all …]