Home
last modified time | relevance | path

Searched refs:alloc_count (Results 1 – 25 of 49) 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.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.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/tensorflow/tensorflow/core/common_runtime/gpu/
Dpool_allocator_test.cc129 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/
Dmalloc_wrappers.c6 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/
Dmalloc_wrappers.c6 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/
Dctor_func_alloc.pass.cpp53 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/
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/mesa3d/src/freedreno/ir3/
Dir3_ra.c346 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/
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/perfetto/src/trace_processor/dynamic/
Dexperimental_flamegraph_generator.cc138 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/
Dstring_alloc.pass.cpp59 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/
Dstack_profile_tracker_empty_callstack.textproto36 alloc_count: 1
41 alloc_count: 1
Dheap_profile_tracker_new_stack.textproto45 alloc_count: 1
70 alloc_count: 1
Dheap_profile_jit.textproto68 alloc_count: 2
75 alloc_count: 10
/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/support/
Dtest_allocator.h38 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()
Dmin_allocator.h85 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/
Dallocate_shared.pass.cpp61 assert(test_allocator<A>::alloc_count == 1); in main()
67 assert(test_allocator<A>::alloc_count == 0); in main()
/external/perfetto/test/metrics/
Dheap_profile.textproto108 alloc_count: 2
115 alloc_count: 10
/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()

12