Searched refs:gBenchPool (Results 1 – 1 of 1) sorted by relevance
25 void* operator new (size_t size) { return gBenchPool.allocate(size); } in operator new()26 void operator delete (void* mem) { if (mem) { return gBenchPool.release(mem); } } in operator delete()28 static GrMemoryPool gBenchPool; member30 GrMemoryPool A::gBenchPool(10 * (1 << 10), 10 * (1 << 10)); member in A87 void* operator new (size_t size) { return gBenchPool.allocate(size); } in operator new()88 void operator delete (void* mem) { if (mem) { return gBenchPool.release(mem); } } in operator delete()90 static GrMemoryPool gBenchPool; member92 GrMemoryPool B::gBenchPool(10 * (1 << 10), 10 * (1 << 10)); member in B132 void* operator new (size_t size) { return gBenchPool.allocate(size); } in operator new()133 void operator delete (void* mem) { if (mem) { return gBenchPool.release(mem); } } in operator delete()[all …]