/external/libcxx/test/std/thread/futures/futures.promise/ |
D | swap.pass.cpp | 28 assert(test_alloc_base::alloc_count == 0); in main() 32 assert(test_alloc_base::alloc_count == 2); in main() 34 assert(test_alloc_base::alloc_count == 2); in main() 36 assert(test_alloc_base::alloc_count == 2); in main() 40 assert(test_alloc_base::alloc_count == 2); in main() 42 assert(test_alloc_base::alloc_count == 0); in main() 46 assert(test_alloc_base::alloc_count == 2); in main() 48 assert(test_alloc_base::alloc_count == 2); in main() 50 assert(test_alloc_base::alloc_count == 2); in main() 54 assert(test_alloc_base::alloc_count == 2); in main() [all …]
|
D | move_assign.pass.cpp | 27 assert(test_alloc_base::alloc_count == 0); in main() 31 assert(test_alloc_base::alloc_count == 2); in main() 33 assert(test_alloc_base::alloc_count == 1); in main() 35 assert(test_alloc_base::alloc_count == 1); in main() 48 assert(test_alloc_base::alloc_count == 1); in main() 50 assert(test_alloc_base::alloc_count == 0); in main() 54 assert(test_alloc_base::alloc_count == 2); in main() 56 assert(test_alloc_base::alloc_count == 1); in main() 58 assert(test_alloc_base::alloc_count == 1); in main() 71 assert(test_alloc_base::alloc_count == 1); in main() [all …]
|
D | move_ctor.pass.cpp | 27 assert(test_alloc_base::alloc_count == 0); in main() 31 assert(test_alloc_base::alloc_count == 1); in main() 33 assert(test_alloc_base::alloc_count == 1); in main() 45 assert(test_alloc_base::alloc_count == 1); in main() 48 assert(test_alloc_base::alloc_count == 0); in main() 52 assert(test_alloc_base::alloc_count == 1); in main() 54 assert(test_alloc_base::alloc_count == 1); in main() 66 assert(test_alloc_base::alloc_count == 1); in main() 69 assert(test_alloc_base::alloc_count == 0); in main() 73 assert(test_alloc_base::alloc_count == 1); in main() [all …]
|
D | alloc_ctor.pass.cpp | 28 assert(test_alloc_base::alloc_count == 0); in main() 31 assert(test_alloc_base::alloc_count == 1); in main() 33 assert(test_alloc_base::alloc_count == 1); in main() 36 assert(test_alloc_base::alloc_count == 0); in main() 39 assert(test_alloc_base::alloc_count == 1); in main() 41 assert(test_alloc_base::alloc_count == 1); in main() 44 assert(test_alloc_base::alloc_count == 0); in main() 47 assert(test_alloc_base::alloc_count == 1); in main() 49 assert(test_alloc_base::alloc_count == 1); in main() 52 assert(test_alloc_base::alloc_count == 0); in main()
|
/external/libcxx/test/std/thread/futures/futures.unique_future/ |
D | dtor.pass.cpp | 27 assert(test_alloc_base::alloc_count == 0); in main() 33 assert(test_alloc_base::alloc_count == 1); in main() 35 assert(test_alloc_base::alloc_count == 1); in main() 38 assert(test_alloc_base::alloc_count == 1); in main() 41 assert(test_alloc_base::alloc_count == 0); in main() 47 assert(test_alloc_base::alloc_count == 1); in main() 49 assert(test_alloc_base::alloc_count == 1); in main() 52 assert(test_alloc_base::alloc_count == 1); in main() 55 assert(test_alloc_base::alloc_count == 0); in main() 61 assert(test_alloc_base::alloc_count == 1); in main() [all …]
|
/external/libcxx/test/std/thread/futures/futures.shared_future/ |
D | dtor.pass.cpp | 27 assert(test_alloc_base::alloc_count == 0); in main() 33 assert(test_alloc_base::alloc_count == 1); in main() 35 assert(test_alloc_base::alloc_count == 1); in main() 38 assert(test_alloc_base::alloc_count == 1); in main() 41 assert(test_alloc_base::alloc_count == 0); in main() 47 assert(test_alloc_base::alloc_count == 1); in main() 49 assert(test_alloc_base::alloc_count == 1); in main() 52 assert(test_alloc_base::alloc_count == 1); in main() 55 assert(test_alloc_base::alloc_count == 0); in main() 61 assert(test_alloc_base::alloc_count == 1); in main() [all …]
|
/external/libcxx/test/std/thread/futures/futures.task/futures.task.members/ |
D | ctor_func_alloc.pass.cpp | 51 assert(test_alloc_base::alloc_count > 0); in main() 59 assert(test_alloc_base::alloc_count == 0); in main() 66 assert(test_alloc_base::alloc_count > 0); in main() 74 assert(test_alloc_base::alloc_count == 0); in main() 80 assert(test_alloc_base::alloc_count > 0); in main() 86 assert(test_alloc_base::alloc_count == 0); in main() 92 assert(test_alloc_base::alloc_count > 0); in main() 98 assert(test_alloc_base::alloc_count == 0); in main()
|
/external/jemalloc/test/integration/ |
D | iterate.c | 7 static size_t alloc_count; variable 14 alloc_count++; in callback() 33 alloc_count = 0; in TEST_BEGIN() 63 alloc_count = 0; in TEST_BEGIN() 95 alloc_count = 0; in TEST_BEGIN()
|
/external/libcxx/test/std/strings/basic.string/string.cons/ |
D | move_alloc.pass.cpp | 53 int alloc_count = test_alloc_base::alloc_count; in main() local 65 assert ( test_alloc_base::alloc_count == alloc_count ); in main()
|
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.mod/ |
D | reset_pointer_deleter_allocator.pass.cpp | 60 assert(test_allocator<A>::alloc_count == 1); in main() 66 assert(test_allocator<A>::alloc_count == 0); in main() 81 assert(test_allocator<A>::alloc_count == 1); in main() 87 assert(test_allocator<A>::alloc_count == 0); in main()
|
/external/libcxx/test/std/experimental/filesystem/class.path/path.member/path.native.obs/ |
D | string_alloc.pass.cpp | 60 assert(MAlloc::alloc_count == 0); in doShortStringTest() 73 assert(MAlloc::alloc_count == 0); in doShortStringTest() 101 assert(MAlloc::alloc_count > 0); in doLongStringTest() 114 assert(MAlloc::alloc_count > 0); in doLongStringTest()
|
/external/libcxx/test/std/experimental/memory/memory.resource/memory.resource.public/ |
D | allocate.pass.cpp | 64 assert(P.alloc_count == 1); in main() 70 assert(P.alloc_count == 2); in main()
|
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/ |
D | allocate_shared.pass.cpp | 53 assert(test_allocator<A>::alloc_count == 1); in main() 59 assert(test_allocator<A>::alloc_count == 0); in main()
|
D | allocate_shared_cxx03.pass.cpp | 107 assert(test_allocator<Two>::alloc_count == 1); in main() 112 assert(test_allocator<Two>::alloc_count == 0); in main()
|
/external/libcxx/test/support/ |
D | test_allocator.h | 38 static int alloc_count; variable 43 int test_alloc_base::alloc_count = 0; 89 ++alloc_count; 93 {assert(data_ >= 0); --alloc_count; ::operator delete((void*)p);} in deallocate() 153 ++alloc_count; 157 {assert(data_ >= 0); --alloc_count; ::operator delete((void*)p); } in deallocate()
|
D | min_allocator.h | 84 static size_t alloc_count; member 89 assert(alloc_count >= dealloc_count); in outstanding_alloc() 90 return (alloc_count - dealloc_count); in outstanding_alloc() 96 alloc_count = 0; in reset() 102 size_t malloc_allocator_base::alloc_count = 0; 120 ++alloc_count; in allocate()
|
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/ |
D | nullptr_t_deleter_allocator.pass.cpp | 44 assert(test_allocator<A>::alloc_count == 1); in main() 50 assert(test_allocator<A>::alloc_count == 0); in main()
|
D | pointer_deleter_allocator.pass.cpp | 46 assert(test_allocator<A>::alloc_count == 1); in main() 52 assert(test_allocator<A>::alloc_count == 0); in main()
|
D | nullptr_t_deleter_allocator_throw.pass.cpp | 45 assert(test_allocator<A>::alloc_count == 0); in main()
|
D | pointer_deleter_allocator_throw.pass.cpp | 46 assert(test_allocator<A>::alloc_count == 0); in main()
|
/external/libcxx/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.mem/ |
D | do_allocate_and_deallocate.pass.cpp | 49 assert(P.alloc_count == 1); in check_allocate_deallocate() 76 assert(P.alloc_count == 1); in check_alloc_max_size()
|
/external/pdfium/third_party/freetype/src/base/ |
D | ftdbgmem.c | 121 FT_Long alloc_count; member 689 table->alloc_count >= table->alloc_count_max ) in ft_mem_debug_alloc() 702 table->alloc_count++; in ft_mem_debug_alloc() 729 table->alloc_count--; in ft_mem_debug_free() 789 table->alloc_count >= table->alloc_count_max ) in ft_mem_debug_realloc() 966 table->alloc_total, table->alloc_count ); in FT_DumpMemory()
|
/external/freetype/src/base/ |
D | ftdbgmem.c | 121 FT_Long alloc_count; member 690 table->alloc_count >= table->alloc_count_max ) in ft_mem_debug_alloc() 703 table->alloc_count++; in ft_mem_debug_alloc() 730 table->alloc_count--; in ft_mem_debug_free() 790 table->alloc_count >= table->alloc_count_max ) in ft_mem_debug_realloc() 967 table->alloc_total, table->alloc_count ); in FT_DumpMemory()
|
/external/protobuf/src/google/protobuf/ |
D | arena_test_util.cc | 44 EXPECT_EQ(0, capture_alloc.alloc_count()); in ~NoHeapChecker()
|
D | arena_test_util.h | 51 int alloc_count() { return 0; } in alloc_count() function
|