Home
last modified time | relevance | path

Searched refs:gBenchPool (Results 1 – 1 of 1) sorted by relevance

/external/skia/bench/
DGrMemoryPoolBench.cpp25 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; member
30 GrMemoryPool A::gBenchPool(10 * (1 << 10), 10 * (1 << 10)); member in A
87 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; member
92 GrMemoryPool B::gBenchPool(10 * (1 << 10), 10 * (1 << 10)); member in B
132 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 …]