Home
last modified time | relevance | path

Searched defs:Counted (Results 1 – 10 of 10) sorted by relevance

/external/libcxx/test/std/utilities/memory/specialized.algorithms/specialized.destroy/
Ddestroy.pass.cpp24 struct Counted { struct
27 Counted() { ++count; } in Counted() argument
28 Counted(Counted const&) { ++count; } in Counted() function
29 ~Counted() { --count; } in ~Counted() argument
Ddestroy_n.pass.cpp24 struct Counted { struct
27 Counted() { ++count; } in Counted() argument
28 Counted(Counted const&) { ++count; } in Counted() function
29 ~Counted() { --count; } in ~Counted() argument
Ddestroy_at.pass.cpp21 struct Counted { struct
24 Counted() { ++count; } in Counted() argument
25 Counted(Counted const&) { ++count; } in Counted() argument
26 ~Counted() { --count; } in ~Counted() argument
/external/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.move/
Duninitialized_move.pass.cpp24 struct Counted { struct
28 explicit Counted(int&& x) : value(x) { x = 0; ++count; ++constructed; } in Counted() argument
29 Counted(Counted const&) { assert(false); } in Counted() argument
30 ~Counted() { assert(count > 0); --count; } in ~Counted() argument
34 int Counted::count = 0; argument
Duninitialized_move_n.pass.cpp24 struct Counted { struct
28 explicit Counted(int&& x) : value(x) { x = 0; ++count; ++constructed; } in Counted() function
29 Counted(Counted const&) { assert(false); } in Counted() argument
30 ~Counted() { assert(count > 0); --count; } in ~Counted() argument
34 int Counted::count = 0; argument
/external/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.default/
Duninitialized_default_construct.pass.cpp24 struct Counted { struct
28 explicit Counted() { ++count; ++constructed; } in Counted() argument
29 Counted(Counted const&) { assert(false); } in Counted() function
30 ~Counted() { --count; } in ~Counted() argument
Duninitialized_default_construct_n.pass.cpp24 struct Counted { struct
28 explicit Counted() { ++count; ++constructed; } in Counted() argument
29 Counted(Counted const&) { assert(false); } in Counted() function
30 ~Counted() { assert(count > 0); --count; } in ~Counted() argument
/external/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.value/
Duninitialized_value_construct.pass.cpp24 struct Counted { struct
28 explicit Counted() { ++count; ++constructed; } in Counted() argument
29 Counted(Counted const&) { assert(false); } in Counted() argument
30 ~Counted() { assert(count > 0); --count; } in ~Counted() argument
Duninitialized_value_construct_n.pass.cpp24 struct Counted { struct
28 explicit Counted() { ++count; ++constructed; } in Counted() argument
29 Counted(Counted const&) { assert(false); } in Counted() function
30 ~Counted() { --count; } in ~Counted() argument
/external/python/cpython2/Lib/test/
Dtest_descr.py1094 class Counted(object): class