Home
last modified time | relevance | path

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

/external/lzma/CPP/Common/
DNewHandler.cpp100 static int numAllocs = 0; variable
103 numAllocs++; in operator new()
112 printf("Alloc %6d, size = %8u\n", numAllocs, (unsigned)size); in operator new()
143 numAllocs--; in operator delete()
144 printf("Free %d\n", numAllocs); in operator delete()
/external/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/
DF.pass.cpp126 const int numAllocs = 0xFFF - throw_one; in test_throwing_new_during_thread_creation() local
128 for (int i=0; i <= numAllocs; ++i) { in test_throwing_new_during_thread_creation()
134 assert(i == numAllocs); // Only final iteration will not throw. in test_throwing_new_during_thread_creation()
138 assert(i < numAllocs); in test_throwing_new_during_thread_creation()
/external/jemalloc/msvc/projects/vc2015/test_threads/
Dtest_threads.cpp49 const int numAllocs = numAllocsMax - sizeDist(rnd); in test_threads() local
50 for (int j = 0; j < numAllocs; j += 64) { in test_threads()
62 for (int j = 0; j < numAllocs; j += 64) { in test_threads()