Home
last modified time | relevance | path

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

1234

/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/llvm-project/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.cpp26 assert(test_alloc_base::alloc_count == 0); in main()
30 assert(test_alloc_base::alloc_count == 2); in main()
32 assert(test_alloc_base::alloc_count == 1); in main()
34 assert(test_alloc_base::alloc_count == 1); in main()
47 assert(test_alloc_base::alloc_count == 1); in main()
49 assert(test_alloc_base::alloc_count == 0); in main()
53 assert(test_alloc_base::alloc_count == 2); in main()
55 assert(test_alloc_base::alloc_count == 1); in main()
57 assert(test_alloc_base::alloc_count == 1); in main()
70 assert(test_alloc_base::alloc_count == 1); in main()
[all …]
Dmove_ctor.pass.cpp26 assert(test_alloc_base::alloc_count == 0); in main()
30 assert(test_alloc_base::alloc_count == 1); in main()
32 assert(test_alloc_base::alloc_count == 1); in main()
44 assert(test_alloc_base::alloc_count == 1); in main()
47 assert(test_alloc_base::alloc_count == 0); in main()
51 assert(test_alloc_base::alloc_count == 1); in main()
53 assert(test_alloc_base::alloc_count == 1); in main()
65 assert(test_alloc_base::alloc_count == 1); in main()
68 assert(test_alloc_base::alloc_count == 0); in main()
72 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/llvm-project/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/llvm-project/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/tensorflow/tensorflow/core/common_runtime/gpu/
Dpool_allocator_test.cc132 int alloc_count = 0; in TEST() local
135 [&alloc_count, &alloc_size](void* ptr, int numa_node, int64 size) { in TEST()
136 ++alloc_count; in TEST()
155 EXPECT_EQ(0, alloc_count); in TEST()
166 EXPECT_EQ(1, alloc_count); // Underlying suballoc of 16 bytes in TEST()
169 EXPECT_EQ(16 + (alloc_count * kChunkPrefixSize), alloc_size); in TEST()
180 EXPECT_EQ(1, alloc_count); // Underlying suballoc of 16 bytes in TEST()
181 EXPECT_EQ(16 + (alloc_count * kChunkPrefixSize), alloc_size); in TEST()
195 EXPECT_EQ(3, alloc_count); in TEST()
196 EXPECT_EQ(16 + 4 + 2 + (alloc_count * kChunkPrefixSize), alloc_size); in TEST()
[all …]
/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/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/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/llvm-project/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/llvm-project/libcxx/test/std/containers/associative/map/map.cons/
Dassign_initializer_list.pass.cpp79 LIBCPP_ASSERT(test_alloc_base::alloc_count == 0); in duplicate_keys_test()
81 LIBCPP_ASSERT(test_alloc_base::alloc_count == 3); in duplicate_keys_test()
83 LIBCPP_ASSERT(test_alloc_base::alloc_count == 1); in duplicate_keys_test()
87 LIBCPP_ASSERT(test_alloc_base::alloc_count == 0); in duplicate_keys_test()
/external/llvm-project/libcxx/test/std/containers/associative/set/set.cons/
Dassign_initializer_list.pass.cpp60 LIBCPP_ASSERT(test_alloc_base::alloc_count == 0); in duplicate_keys_test()
62 LIBCPP_ASSERT(test_alloc_base::alloc_count == 3); in duplicate_keys_test()
64 LIBCPP_ASSERT(test_alloc_base::alloc_count == 1); in duplicate_keys_test()
68 LIBCPP_ASSERT(test_alloc_base::alloc_count == 0); in duplicate_keys_test()
/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/llvm-project/libcxx/test/std/strings/basic.string/string.cons/
Dmove_alloc.pass.cpp52 int alloc_count = test_alloc_base::alloc_count; in main() local
64 assert ( test_alloc_base::alloc_count == alloc_count ); in main()
/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/llvm-project/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.mod/
Dreset_pointer_deleter_allocator.pass.cpp62 assert(test_allocator<A>::alloc_count == 1); in main()
68 assert(test_allocator<A>::alloc_count == 0); in main()
85 assert(test_allocator<A>::alloc_count == 1); in main()
91 assert(test_allocator<A>::alloc_count == 0); 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()

1234