Home
last modified time | relevance | path

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

12

/external/cronet/tot/third_party/libc++/src/test/std/utilities/memory/specialized.algorithms/
Dcounted.h15 struct Counted { struct
25 explicit Counted() { in Counted() argument
30 explicit Counted(int v) : value(v) { in Counted() function
35 ~Counted() { --current_objects; } in ~Counted() argument
43 Counted(const Counted& rhs) : value(rhs.value) { in Counted() argument
49 Counted(Counted&& rhs) : value(rhs.value) { in Counted() function
65 friend void operator&(Counted) = delete; member
79 int Counted::current_objects = 0; argument
/external/cronet/stable/third_party/libc++/src/test/std/utilities/memory/specialized.algorithms/
Dcounted.h15 struct Counted { struct
25 explicit Counted() { in Counted() argument
30 explicit Counted(int v) : value(v) { in Counted() function
35 ~Counted() { --current_objects; } in ~Counted() argument
43 Counted(const Counted& rhs) : value(rhs.value) { in Counted() argument
49 Counted(Counted&& rhs) : value(rhs.value) { in Counted() argument
65 friend void operator&(Counted) = delete; argument
79 int Counted::current_objects = 0; argument
/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() argument
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() argument
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() function
26 ~Counted() { --count; } in ~Counted() argument
/external/cronet/tot/third_party/libc++/src/test/std/iterators/predef.iterators/counted.iterator/
Dplus.pass.cpp39 using Counted = std::counted_iterator<random_access_iterator<int*>>; in test() typedef
47 using Counted = const std::counted_iterator<random_access_iterator<int*>>; in test() typedef
58 using Counted = std::counted_iterator<random_access_iterator<int*>>; in test() typedef
66 using Counted = const std::counted_iterator<random_access_iterator<int*>>; in test() typedef
77 using Counted = std::counted_iterator<random_access_iterator<int*>>; in test() typedef
85 using Counted = std::counted_iterator<contiguous_iterator<int*>>; in test() typedef
/external/cronet/stable/third_party/libc++/src/test/std/iterators/predef.iterators/counted.iterator/
Dplus.pass.cpp39 using Counted = std::counted_iterator<random_access_iterator<int*>>; in test() typedef
47 using Counted = const std::counted_iterator<random_access_iterator<int*>>; in test() typedef
58 using Counted = std::counted_iterator<random_access_iterator<int*>>; in test() typedef
66 using Counted = const std::counted_iterator<random_access_iterator<int*>>; in test() typedef
77 using Counted = std::counted_iterator<random_access_iterator<int*>>; in test() typedef
85 using Counted = std::counted_iterator<contiguous_iterator<int*>>; in test() typedef
/external/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.move/
Duninitialized_move_n.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() function
30 ~Counted() { assert(count > 0); --count; } in ~Counted() argument
34 int Counted::count = 0; argument
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() function
30 ~Counted() { assert(count > 0); --count; } in ~Counted() argument
34 int Counted::count = 0; argument
/external/cronet/tot/third_party/libc++/src/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.default/
Duninitialized_default_construct_n.pass.cpp23 struct Counted { struct
27 explicit Counted() { ++count; ++constructed; } in Counted() function
28 Counted(Counted const&) { assert(false); } in Counted() function
29 ~Counted() { assert(count > 0); --count; } in ~Counted() argument
Duninitialized_default_construct.pass.cpp23 struct Counted { struct
26 explicit Counted() { ++count; ++constructed; } in Counted() function
27 Counted(Counted const&) { assert(false); } in Counted() argument
28 ~Counted() { --count; } in ~Counted() argument
/external/cronet/stable/third_party/libc++/src/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.default/
Duninitialized_default_construct_n.pass.cpp23 struct Counted { struct
27 explicit Counted() { ++count; ++constructed; } in Counted() argument
28 Counted(Counted const&) { assert(false); } in Counted() argument
29 ~Counted() { assert(count > 0); --count; } in ~Counted() argument
Duninitialized_default_construct.pass.cpp23 struct Counted { struct
26 explicit Counted() { ++count; ++constructed; } in Counted() argument
27 Counted(Counted const&) { assert(false); } in Counted() function
28 ~Counted() { --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() function
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() argument
30 ~Counted() { --count; } in ~Counted() 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() argument
30 ~Counted() { assert(count > 0); --count; } in ~Counted() argument
/external/cronet/tot/third_party/libc++/src/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.value/
Duninitialized_value_construct.pass.cpp23 struct Counted { struct
27 explicit Counted() { ++count; ++constructed; } in Counted() argument
28 Counted(Counted const&) { assert(false); } in Counted() argument
29 ~Counted() { assert(count > 0); --count; } in ~Counted() argument
Duninitialized_value_construct_n.pass.cpp23 struct Counted { struct
27 explicit Counted() { ++count; ++constructed; } in Counted() function
28 Counted(Counted const&) { assert(false); } in Counted() function
29 ~Counted() { --count; } in ~Counted() argument
/external/cronet/stable/third_party/libc++/src/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.value/
Duninitialized_value_construct.pass.cpp23 struct Counted { struct
27 explicit Counted() { ++count; ++constructed; } in Counted() argument
28 Counted(Counted const&) { assert(false); } in Counted() function
29 ~Counted() { assert(count > 0); --count; } in ~Counted() argument
Duninitialized_value_construct_n.pass.cpp23 struct Counted { struct
27 explicit Counted() { ++count; ++constructed; } in Counted() argument
28 Counted(Counted const&) { assert(false); } in Counted() argument
29 ~Counted() { --count; } in ~Counted() argument
/external/cronet/tot/third_party/libc++/src/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() function
29 Counted(Counted const&) { assert(false); } in Counted() function
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() argument
29 Counted(Counted const&) { assert(false); } in Counted() function
30 ~Counted() { assert(count > 0); --count; } in ~Counted() argument
34 int Counted::count = 0; argument
/external/cronet/stable/third_party/libc++/src/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() function
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() argument
29 Counted(Counted const&) { assert(false); } in Counted() function
30 ~Counted() { assert(count > 0); --count; } in ~Counted() argument
34 int Counted::count = 0; argument

12