Searched refs:Counted (Results 1 - 10 of 10) sorted by relevance

/external/libcxx/test/std/utilities/memory/specialized.algorithms/specialized.destroy/
H A Ddestroy_n.pass.cpp24 struct Counted { struct
27 Counted() { ++count; } function in struct:Counted
28 Counted(Counted const&) { ++count; } function in struct:Counted
29 ~Counted() { --count; }
30 friend void operator&(Counted) = delete;
32 int Counted::count = 0;
36 using It = forward_iterator<Counted*>;
38 alignas(Counted) char pool[sizeof(Counted)*
[all...]
H A Ddestroy.pass.cpp24 struct Counted { struct
27 Counted() { ++count; } function in struct:Counted
28 Counted(Counted const&) { ++count; } function in struct:Counted
29 ~Counted() { --count; }
30 friend void operator&(Counted) = delete;
32 int Counted::count = 0;
36 using It = forward_iterator<Counted*>;
38 alignas(Counted) char pool[sizeof(Counted)*
[all...]
H A Ddestroy_at.pass.cpp21 struct Counted { struct
24 Counted() { ++count; } function in struct:Counted
25 Counted(Counted const&) { ++count; } function in struct:Counted
26 ~Counted() { --count; }
27 friend void operator&(Counted) = delete;
29 int Counted::count = 0;
48 void* mem1 = std::malloc(sizeof(Counted));
49 void* mem2 = std::malloc(sizeof(Counted));
51 assert(Counted
[all...]
/external/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.default/
H A Duninitialized_default_construct.pass.cpp24 struct Counted { struct
28 explicit Counted() { ++count; ++constructed; } function in struct:Counted
29 Counted(Counted const&) { assert(false); } function in struct:Counted
30 ~Counted() { --count; }
31 friend void operator&(Counted) = delete;
33 int Counted::count = 0;
34 int Counted::constructed = 0;
77 using It = forward_iterator<Counted*>;
79 alignas(Counted) cha
[all...]
H A Duninitialized_default_construct_n.pass.cpp24 struct Counted { struct
28 explicit Counted() { ++count; ++constructed; } function in struct:Counted
29 Counted(Counted const&) { assert(false); } function in struct:Counted
30 ~Counted() { assert(count > 0); --count; }
31 friend void operator&(Counted) = delete;
33 int Counted::count = 0;
34 int Counted::constructed = 0;
76 using It = forward_iterator<Counted*>;
78 alignas(Counted) cha
[all...]
/external/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.value/
H A Duninitialized_value_construct.pass.cpp24 struct Counted { struct
28 explicit Counted() { ++count; ++constructed; } function in struct:Counted
29 Counted(Counted const&) { assert(false); } function in struct:Counted
30 ~Counted() { assert(count > 0); --count; }
31 friend void operator&(Counted) = delete;
33 int Counted::count = 0;
34 int Counted::constructed = 0;
76 using It = forward_iterator<Counted*>;
78 alignas(Counted) cha
[all...]
H A Duninitialized_value_construct_n.pass.cpp24 struct Counted { struct
28 explicit Counted() { ++count; ++constructed; } function in struct:Counted
29 Counted(Counted const&) { assert(false); } function in struct:Counted
30 ~Counted() { --count; }
31 friend void operator&(Counted) = delete;
33 int Counted::count = 0;
34 int Counted::constructed = 0;
77 using It = forward_iterator<Counted*>;
79 alignas(Counted) cha
[all...]
/external/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.move/
H A Duninitialized_move.pass.cpp24 struct Counted { struct
28 explicit Counted(int&& x) : value(x) { x = 0; ++count; ++constructed; } function in struct:Counted
29 Counted(Counted const&) { assert(false); } function in struct:Counted
30 ~Counted() { assert(count > 0); --count; }
31 friend void operator&(Counted) = delete;
34 int Counted::count = 0;
35 int Counted::constructed = 0;
84 using FIt = forward_iterator<Counted*>;
87 alignas(Counted) cha
[all...]
H A Duninitialized_move_n.pass.cpp24 struct Counted { struct
28 explicit Counted(int&& x) : value(x) { x = 0; ++count; ++constructed; } function in struct:Counted
29 Counted(Counted const&) { assert(false); } function in struct:Counted
30 ~Counted() { assert(count > 0); --count; }
31 friend void operator&(Counted) = delete;
34 int Counted::count = 0;
35 int Counted::constructed = 0;
84 using FIt = forward_iterator<Counted*>;
87 alignas(Counted) cha
[all...]
/external/valgrind/lackey/tests/
H A Dtrue.stderr.exp3 Counted ... calls to main()

Completed in 159 milliseconds