/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.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.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/tensorflow/tensorflow/core/common_runtime/gpu/ |
D | pool_allocator_test.cc | 129 int alloc_count = 0; in TEST() local 132 [&alloc_count, &alloc_size](void* ptr, int numa_node, int64 size) { in TEST() 133 ++alloc_count; in TEST() 151 EXPECT_EQ(0, alloc_count); in TEST() 162 EXPECT_EQ(1, alloc_count); // Underlying suballoc of 16 bytes in TEST() 165 EXPECT_EQ(16 + (alloc_count * kChunkPrefixSize), alloc_size); in TEST() 176 EXPECT_EQ(1, alloc_count); // Underlying suballoc of 16 bytes in TEST() 177 EXPECT_EQ(16 + (alloc_count * kChunkPrefixSize), alloc_size); in TEST() 191 EXPECT_EQ(3, alloc_count); in TEST() 192 EXPECT_EQ(16 + 4 + 2 + (alloc_count * kChunkPrefixSize), alloc_size); in TEST() [all …]
|
/external/grpc-grpc/third_party/nanopb/tests/common/ |
D | malloc_wrappers.c | 6 static size_t alloc_count = 0; variable 36 alloc_count++; in counting_realloc() 45 assert(alloc_count > 0); in counting_free() 46 alloc_count--; in counting_free() 53 return alloc_count; in get_alloc_count()
|
/external/nanopb-c/tests/common/ |
D | malloc_wrappers.c | 6 static size_t alloc_count = 0; variable 36 alloc_count++; in counting_realloc() 45 assert(alloc_count > 0); in counting_free() 46 alloc_count--; in counting_free() 53 return alloc_count; in get_alloc_count()
|
/external/libcxx/test/std/thread/futures/futures.task/futures.task.members/ |
D | ctor_func_alloc.pass.cpp | 53 assert(test_alloc_base::alloc_count > 0); in main() 61 assert(test_alloc_base::alloc_count == 0); in main() 68 assert(test_alloc_base::alloc_count > 0); in main() 76 assert(test_alloc_base::alloc_count == 0); in main() 82 assert(test_alloc_base::alloc_count > 0); in main() 88 assert(test_alloc_base::alloc_count == 0); in main() 94 assert(test_alloc_base::alloc_count > 0); in main() 100 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/mesa3d/src/freedreno/ir3/ |
D | ir3_ra.c | 346 ctx->alloc_count += n; in ra_block_name_instructions() 549 ctx->alloc_count += ctx->class_alloc_count[total_class_count]; in ra_init() 552 ctx->r0_xyz_nodes = ctx->alloc_count; in ra_init() 553 ctx->alloc_count += 3; in ra_init() 554 ctx->hr0_xyz_nodes = ctx->alloc_count; in ra_init() 555 ctx->alloc_count += 3; in ra_init() 558 ctx->prefetch_exclude_node = ctx->alloc_count++; in ra_init() 581 ctx->g = ra_alloc_interference_graph(ctx->set->regs, ctx->alloc_count); in ra_init() 583 ctx->def = rzalloc_array(ctx->g, unsigned, ctx->alloc_count); in ra_init() 584 ctx->use = rzalloc_array(ctx->g, unsigned, ctx->alloc_count); in ra_init() [all …]
|
/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/perfetto/src/trace_processor/dynamic/ |
D | experimental_flamegraph_generator.cc | 138 int64_t alloc_count; member 164 cumulatives.alloc_count += in->alloc_count()[i]; in FocusTable() 173 parent_cumulatives.alloc_count += cumulatives.alloc_count; in FocusTable() 201 alloc_row.alloc_count = in->alloc_count()[i]; in FocusTable() 207 alloc_row.cumulative_alloc_count = cumulative.alloc_count; in FocusTable()
|
/external/libcxx/test/std/input.output/filesystems/class.path/path.member/path.native.obs/ |
D | string_alloc.pass.cpp | 59 assert(MAlloc::alloc_count == 0); in doShortStringTest() 72 assert(MAlloc::alloc_count == 0); in doShortStringTest() 100 assert(MAlloc::alloc_count > 0); in doLongStringTest() 113 assert(MAlloc::alloc_count > 0); in doLongStringTest()
|
/external/perfetto/test/trace_processor/ |
D | stack_profile_tracker_empty_callstack.textproto | 36 alloc_count: 1 41 alloc_count: 1
|
D | heap_profile_tracker_new_stack.textproto | 45 alloc_count: 1 70 alloc_count: 1
|
D | heap_profile_jit.textproto | 68 alloc_count: 2 75 alloc_count: 10
|
/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/support/ |
D | test_allocator.h | 38 static int alloc_count; variable 51 alloc_count = 0; in clear() 65 int test_alloc_base::alloc_count = 0; 136 ++alloc_count; 140 {assert(data_ >= 0); --alloc_count; ::operator delete((void*)p);} in deallocate() 200 ++alloc_count; 204 {assert(data_ >= 0); --alloc_count; ::operator delete((void*)p); } in deallocate()
|
D | min_allocator.h | 85 static size_t alloc_count; member 90 assert(alloc_count >= dealloc_count); in outstanding_alloc() 91 return (alloc_count - dealloc_count); in outstanding_alloc() 97 alloc_count = 0; in reset() 103 size_t malloc_allocator_base::alloc_count = 0; 121 ++alloc_count; in allocate()
|
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/ |
D | allocate_shared.pass.cpp | 61 assert(test_allocator<A>::alloc_count == 1); in main() 67 assert(test_allocator<A>::alloc_count == 0); in main()
|
/external/perfetto/test/metrics/ |
D | heap_profile.textproto | 108 alloc_count: 2 115 alloc_count: 10
|
/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()
|