Home
last modified time | relevance | path

Searched refs:numAllocs (Results 1 – 6 of 6) 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/llvm-project/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/
DF.pass.cpp122 int numAllocs; variable
131 numAllocs = 0xFFF - throw_one; in test_throwing_new_during_thread_creation()
133 for (int i=0; i <= numAllocs; ++i) { in test_throwing_new_during_thread_creation()
139 assert(i == numAllocs); // Only final iteration will not throw. in test_throwing_new_during_thread_creation()
143 assert(i < numAllocs); in test_throwing_new_during_thread_creation()
177 LIBCPP_ASSERT(numAllocs > 0); // libc++ should call new. in main()
178 if (numAllocs > 0) { in main()
/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_new/msvc/test_threads/
Dtest_threads.cpp48 const int numAllocs = numAllocsMax - sizeDist(rnd); in test_threads() local
49 for (int j = 0; j < numAllocs; j += 64) { in test_threads()
61 for (int j = 0; j < numAllocs; j += 64) { in test_threads()
/external/swiftshader/src/Vulkan/
DVkDescriptorPool.cpp121 VkResult DescriptorPool::allocateSets(size_t *sizes, uint32_t numAllocs, VkDescriptorSet *pDescript… in allocateSets() argument
124 for(uint32_t i = 0; i < numAllocs; i++) in allocateSets()
139 for(uint32_t i = 0; i < numAllocs; i++) in allocateSets()
151 for(uint32_t i = 0; i < numAllocs; i++) in allocateSets()
DVkDescriptorPool.hpp36 VkResult allocateSets(size_t *sizes, uint32_t numAllocs, VkDescriptorSet *pDescriptorSets);