Home
last modified time | relevance | path

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

/external/libcxx/test/support/
Dcount_new.hpp351 inline MemCounter* getGlobalMemCounter() { in getGlobalMemCounter() function
356 MemCounter &globalMemCounter = *getGlobalMemCounter();
361 getGlobalMemCounter()->newCalled(s); in operator new()
370 getGlobalMemCounter()->deleteCalled(p); in operator delete()
376 getGlobalMemCounter()->newArrayCalled(s); in operator new[]()
382 getGlobalMemCounter()->deleteArrayCalled(p); in operator delete[]()
394 getGlobalMemCounter()->alignedNewCalled(s, a); in operator new()
408 getGlobalMemCounter()->alignedDeleteCalled(p, a); in operator delete()
420 getGlobalMemCounter()->alignedNewArrayCalled(s, a); in operator new[]()
426 getGlobalMemCounter()->alignedDeleteArrayCalled(p, a); in operator delete[]()
/external/llvm-project/libcxx/test/support/
Dcount_new.h354 inline MemCounter* getGlobalMemCounter() { in getGlobalMemCounter() function
362 MemCounter &globalMemCounter = *getGlobalMemCounter();
367 getGlobalMemCounter()->newCalled(s); in new()
376 getGlobalMemCounter()->deleteCalled(p); in delete()
382 getGlobalMemCounter()->newArrayCalled(s); in TEST_THROW_SPEC()
388 getGlobalMemCounter()->deleteArrayCalled(p);
400 getGlobalMemCounter()->alignedNewCalled(s, a); in new()
414 getGlobalMemCounter()->alignedDeleteCalled(p, a); in delete()
426 getGlobalMemCounter()->alignedNewArrayCalled(s, a); in TEST_THROW_SPEC()
432 getGlobalMemCounter()->alignedDeleteArrayCalled(p, a);