Home
last modified time | relevance | path

Searched refs:alloc_count (Results 1 – 25 of 27) sorted by relevance

12

/external/libcxx/test/std/thread/futures/futures.promise/
Dswap.pass.cpp28 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 …]
Dmove_assign.pass.cpp27 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 …]
Dmove_ctor.pass.cpp27 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 …]
Dalloc_ctor.pass.cpp28 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/
Ddtor.pass.cpp27 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/
Ddtor.pass.cpp27 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/
Dctor_func_alloc.pass.cpp51 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/
Diterate.c7 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/
Dmove_alloc.pass.cpp53 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/
Dreset_pointer_deleter_allocator.pass.cpp60 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/
Dstring_alloc.pass.cpp60 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/
Dallocate.pass.cpp64 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/
Dallocate_shared.pass.cpp53 assert(test_allocator<A>::alloc_count == 1); in main()
59 assert(test_allocator<A>::alloc_count == 0); in main()
Dallocate_shared_cxx03.pass.cpp107 assert(test_allocator<Two>::alloc_count == 1); in main()
112 assert(test_allocator<Two>::alloc_count == 0); in main()
/external/libcxx/test/support/
Dtest_allocator.h38 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()
Dmin_allocator.h84 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/
Dnullptr_t_deleter_allocator.pass.cpp44 assert(test_allocator<A>::alloc_count == 1); in main()
50 assert(test_allocator<A>::alloc_count == 0); in main()
Dpointer_deleter_allocator.pass.cpp46 assert(test_allocator<A>::alloc_count == 1); in main()
52 assert(test_allocator<A>::alloc_count == 0); in main()
Dnullptr_t_deleter_allocator_throw.pass.cpp45 assert(test_allocator<A>::alloc_count == 0); in main()
Dpointer_deleter_allocator_throw.pass.cpp46 assert(test_allocator<A>::alloc_count == 0); in main()
/external/libcxx/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.mem/
Ddo_allocate_and_deallocate.pass.cpp49 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/
Dftdbgmem.c121 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/
Dftdbgmem.c121 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/
Darena_test_util.cc44 EXPECT_EQ(0, capture_alloc.alloc_count()); in ~NoHeapChecker()
Darena_test_util.h51 int alloc_count() { return 0; } in alloc_count() function

12