Home
last modified time | relevance | path

Searched refs:constructed (Results 1 – 25 of 581) sorted by relevance

12345678910>>...24

/external/llvm-project/libcxx/test/std/language.support/support.exception/propagation/
Dcurrent_exception.pass.cpp25 static int constructed; member
27 A() {++constructed;} in A()
28 ~A() {--constructed;} in ~A()
29 A(const A&) {++constructed;} in A()
32 int A::constructed = 0; member in A
43 assert(A::constructed == 0); in main()
49 assert(A::constructed == 1); in main()
51 assert(A::constructed == 0); in main()
53 assert(A::constructed == 0); in main()
58 assert(A::constructed == 0); in main()
[all …]
Dmake_exception_ptr.pass.cpp21 static int constructed; member
24 A(int data = 0) : data_(data) {++constructed;} in A()
25 ~A() {--constructed;} in ~A()
26 A(const A& a) : data_(a.data_) {++constructed;} in A()
29 int A::constructed = 0; member in A
43 assert(A::constructed == 1); in main()
46 assert(A::constructed == 2); in main()
52 assert(A::constructed == 1); in main()
54 assert(A::constructed == 0); in main()
56 assert(A::constructed == 0); in main()
Drethrow_exception.pass.cpp21 static int constructed; member
24 A(int data = 0) : data_(data) {++constructed;} in A()
25 ~A() {--constructed;} in ~A()
26 A(const A& a) : data_(a.data_) {++constructed;} in A()
29 int A::constructed = 0; member in A
51 assert(A::constructed == 1); in main()
54 assert(A::constructed == 2); in main()
60 assert(A::constructed == 1); in main()
62 assert(A::constructed == 0); in main()
64 assert(A::constructed == 0); in main()
/external/libcxx/test/std/language.support/support.exception/propagation/
Dcurrent_exception.pass.cpp24 static int constructed; member
26 A() {++constructed;} in A()
27 ~A() {--constructed;} in ~A()
28 A(const A&) {++constructed;} in A()
31 int A::constructed = 0; member in A
42 assert(A::constructed == 0); in main()
48 assert(A::constructed == 1); in main()
50 assert(A::constructed == 0); in main()
52 assert(A::constructed == 0); in main()
57 assert(A::constructed == 0); in main()
[all …]
Dmake_exception_ptr.pass.cpp20 static int constructed; member
23 A(int data = 0) : data_(data) {++constructed;} in A()
24 ~A() {--constructed;} in ~A()
25 A(const A& a) : data_(a.data_) {++constructed;} in A()
28 int A::constructed = 0; member in A
42 assert(A::constructed == 1); in main()
45 assert(A::constructed == 2); in main()
51 assert(A::constructed == 1); in main()
53 assert(A::constructed == 0); in main()
55 assert(A::constructed == 0); in main()
Drethrow_exception.pass.cpp20 static int constructed; member
23 A(int data = 0) : data_(data) {++constructed;} in A()
24 ~A() {--constructed;} in ~A()
25 A(const A& a) : data_(a.data_) {++constructed;} in A()
28 int A::constructed = 0; member in A
50 assert(A::constructed == 1); in main()
53 assert(A::constructed == 2); in main()
59 assert(A::constructed == 1); in main()
61 assert(A::constructed == 0); in main()
63 assert(A::constructed == 0); in main()
/external/llvm-project/libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.members/
Dconstruct.pass.cpp27 static bool constructed; member
35 constructed = true; in B()
39 bool B::constructed = false; member in B
43 static bool constructed; member
51 constructed = true; in C()
55 bool C::constructed = false; member in C
59 static bool constructed; member
68 constructed = true; in D()
72 bool D::constructed = false; member in D
76 static bool constructed; member
[all …]
Ddestroy.pass.cpp27 static bool constructed; member
29 B() {constructed = true;} in B()
30 ~B() {constructed = false;} in ~B()
33 bool B::constructed = false; member in B
43 assert(!S::constructed); in main()
45 assert(S::constructed); in main()
47 assert(!S::constructed); in main()
56 assert(!S::constructed); in main()
57 assert(!A3<S>::constructed); in main()
60 assert(S::constructed); in main()
[all …]
/external/libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.members/
Dconstruct.pass.cpp27 static bool constructed; member
35 constructed = true; in B()
39 bool B::constructed = false; member in B
43 static bool constructed; member
51 constructed = true; in C()
55 bool C::constructed = false; member in C
59 static bool constructed; member
68 constructed = true; in D()
72 bool D::constructed = false; member in D
76 static bool constructed; member
[all …]
Ddestroy.pass.cpp27 static bool constructed; member
29 B() {constructed = true;} in B()
30 ~B() {constructed = false;} in ~B()
33 bool B::constructed = false; member in B
43 assert(!S::constructed); in main()
45 assert(S::constructed); in main()
47 assert(!S::constructed); in main()
56 assert(!S::constructed); in main()
57 assert(!A3<S>::constructed); in main()
60 assert(S::constructed); in main()
[all …]
/external/llvm-project/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.default/
Duninitialized_default_construct.pass.cpp25 static int constructed; member
26 static void reset() { count = constructed = 0; } in reset()
27 explicit Counted() { ++count; ++constructed; } in Counted()
33 int Counted::constructed = 0; member in Counted
38 static int constructed; member
40 static void reset() { throw_after = count = constructed = 0; } in reset()
42 ++constructed; in ThrowsCounted()
53 int ThrowsCounted::constructed = 0; member in ThrowsCounted
70 assert(ThrowsCounted::constructed == 4); // forth construction throws in test_ctor_throws()
82 assert(Counted::constructed == 1); in test_counted()
[all …]
Duninitialized_default_construct_n.pass.cpp25 static int constructed; member
26 static void reset() { count = constructed = 0; } in reset()
27 explicit Counted() { ++count; ++constructed; } in Counted()
33 int Counted::constructed = 0; member in Counted
38 static int constructed; member
40 static void reset() { throw_after = count = constructed = 0; } in reset()
42 ++constructed; in ThrowsCounted()
53 int ThrowsCounted::constructed = 0; member in ThrowsCounted
69 assert(ThrowsCounted::constructed == 4); // forth construction throws in test_ctor_throws()
82 assert(Counted::constructed == 1); in test_counted()
[all …]
/external/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.default/
Duninitialized_default_construct.pass.cpp26 static int constructed; member
27 static void reset() { count = constructed = 0; } in reset()
28 explicit Counted() { ++count; ++constructed; } in Counted()
34 int Counted::constructed = 0; member in Counted
39 static int constructed; member
41 static void reset() { throw_after = count = constructed = 0; } in reset()
43 ++constructed; in ThrowsCounted()
54 int ThrowsCounted::constructed = 0; member in ThrowsCounted
71 assert(ThrowsCounted::constructed == 4); // forth construction throws in test_ctor_throws()
83 assert(Counted::constructed == 1); in test_counted()
[all …]
Duninitialized_default_construct_n.pass.cpp26 static int constructed; member
27 static void reset() { count = constructed = 0; } in reset()
28 explicit Counted() { ++count; ++constructed; } in Counted()
34 int Counted::constructed = 0; member in Counted
39 static int constructed; member
41 static void reset() { throw_after = count = constructed = 0; } in reset()
43 ++constructed; in ThrowsCounted()
54 int ThrowsCounted::constructed = 0; member in ThrowsCounted
70 assert(ThrowsCounted::constructed == 4); // forth construction throws in test_ctor_throws()
83 assert(Counted::constructed == 1); in test_counted()
[all …]
/external/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.value/
Duninitialized_value_construct.pass.cpp26 static int constructed; member
27 static void reset() { count = constructed = 0; } in reset()
28 explicit Counted() { ++count; ++constructed; } in Counted()
34 int Counted::constructed = 0; member in Counted
39 static int constructed; member
41 static void reset() { throw_after = count = constructed = 0; } in reset()
43 ++constructed; in ThrowsCounted()
54 int ThrowsCounted::constructed = 0; member in ThrowsCounted
70 assert(ThrowsCounted::constructed == 4); // forth construction throws in test_ctor_throws()
82 assert(Counted::constructed == 1); in test_counted()
[all …]
Duninitialized_value_construct_n.pass.cpp26 static int constructed; member
27 static void reset() { count = constructed = 0; } in reset()
28 explicit Counted() { ++count; ++constructed; } in Counted()
34 int Counted::constructed = 0; member in Counted
38 static int constructed; member
40 static void reset() { throw_after = count = constructed = 0; } in reset()
42 ++constructed; in ThrowsCounted()
53 int ThrowsCounted::constructed = 0; member in ThrowsCounted
69 assert(ThrowsCounted::constructed == 4); // forth construction throws in test_ctor_throws()
84 assert(Counted::constructed == 1); in test_counted()
[all …]
/external/llvm-project/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.value/
Duninitialized_value_construct.pass.cpp25 static int constructed; member
26 static void reset() { count = constructed = 0; } in reset()
27 explicit Counted() { ++count; ++constructed; } in Counted()
33 int Counted::constructed = 0; member in Counted
38 static int constructed; member
40 static void reset() { throw_after = count = constructed = 0; } in reset()
42 ++constructed; in ThrowsCounted()
53 int ThrowsCounted::constructed = 0; member in ThrowsCounted
69 assert(ThrowsCounted::constructed == 4); // forth construction throws in test_ctor_throws()
81 assert(Counted::constructed == 1); in test_counted()
[all …]
Duninitialized_value_construct_n.pass.cpp25 static int constructed; member
26 static void reset() { count = constructed = 0; } in reset()
27 explicit Counted() { ++count; ++constructed; } in Counted()
33 int Counted::constructed = 0; member in Counted
37 static int constructed; member
39 static void reset() { throw_after = count = constructed = 0; } in reset()
41 ++constructed; in ThrowsCounted()
52 int ThrowsCounted::constructed = 0; member in ThrowsCounted
68 assert(ThrowsCounted::constructed == 4); // forth construction throws in test_ctor_throws()
83 assert(Counted::constructed == 1); in test_counted()
[all …]
/external/libcxx/test/std/utilities/memory/default.allocator/allocator.members/
Dallocate.pass.cpp42 static int constructed; in TEST_ALIGNAS() local
43 AlignedType() { ++constructed; } in TEST_ALIGNAS()
44 AlignedType(AlignedType const&) { ++constructed; } in TEST_ALIGNAS()
45 ~AlignedType() { --constructed; } in TEST_ALIGNAS()
48 int AlignedType<Align>::constructed = 0; member in AlignedType<Align>
54 T::constructed = 0; in test_aligned()
61 assert(T::constructed == 0); in test_aligned()
71 assert(T::constructed == 0); in test_aligned()
78 assert(T::constructed == 0); in test_aligned()
91 assert(T::constructed == 0); in test_aligned()
[all …]
/external/llvm-project/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.move/
Duninitialized_move.pass.cpp25 static int constructed; member
26 static void reset() { count = constructed = 0; } in reset()
27 explicit Counted(int&& x) : value(x) { x = 0; ++count; ++constructed; } in Counted()
34 int Counted::constructed = 0; member in Counted
38 static int constructed; member
40 static void reset() { throw_after = count = constructed = 0; } in reset()
42 ++constructed; in ThrowsCounted()
54 int ThrowsCounted::constructed = 0; member in ThrowsCounted
71 assert(ThrowsCounted::constructed == 4); // forth construction throws in test_ctor_throws()
90 assert(Counted::constructed == 1); in test_counted()
[all …]
Duninitialized_move_n.pass.cpp25 static int constructed; member
26 static void reset() { count = constructed = 0; } in reset()
27 explicit Counted(int&& x) : value(x) { x = 0; ++count; ++constructed; } in Counted()
34 int Counted::constructed = 0; member in Counted
38 static int constructed; member
40 static void reset() { throw_after = count = constructed = 0; } in reset()
42 ++constructed; in ThrowsCounted()
54 int ThrowsCounted::constructed = 0; member in ThrowsCounted
71 assert(ThrowsCounted::constructed == 4); // forth construction throws in test_ctor_throws()
91 assert(Counted::constructed == 1); in test_counted()
[all …]
/external/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.move/
Duninitialized_move.pass.cpp26 static int constructed; member
27 static void reset() { count = constructed = 0; } in reset()
28 explicit Counted(int&& x) : value(x) { x = 0; ++count; ++constructed; } in Counted()
35 int Counted::constructed = 0; member in Counted
39 static int constructed; member
41 static void reset() { throw_after = count = constructed = 0; } in reset()
43 ++constructed; in ThrowsCounted()
55 int ThrowsCounted::constructed = 0; member in ThrowsCounted
72 assert(ThrowsCounted::constructed == 4); // forth construction throws in test_ctor_throws()
91 assert(Counted::constructed == 1); in test_counted()
[all …]
Duninitialized_move_n.pass.cpp26 static int constructed; member
27 static void reset() { count = constructed = 0; } in reset()
28 explicit Counted(int&& x) : value(x) { x = 0; ++count; ++constructed; } in Counted()
35 int Counted::constructed = 0; member in Counted
39 static int constructed; member
41 static void reset() { throw_after = count = constructed = 0; } in reset()
43 ++constructed; in ThrowsCounted()
55 int ThrowsCounted::constructed = 0; member in ThrowsCounted
72 assert(ThrowsCounted::constructed == 4); // forth construction throws in test_ctor_throws()
92 assert(Counted::constructed == 1); in test_counted()
[all …]
/external/llvm-project/libcxx/test/libcxx/depr/depr.default.allocator/allocator.members/
Dallocate.cxx2a.pass.cpp43 static int constructed; in TEST_ALIGNAS() local
44 AlignedType() { ++constructed; } in TEST_ALIGNAS()
45 AlignedType(AlignedType const&) { ++constructed; } in TEST_ALIGNAS()
46 ~AlignedType() { --constructed; } in TEST_ALIGNAS()
49 int AlignedType<Align>::constructed = 0; member in AlignedType<Align>
55 T::constructed = 0; in test_aligned()
70 assert(T::constructed == 0); in test_aligned()
78 assert(T::constructed == 0); in test_aligned()
/external/llvm-project/libcxx/test/std/utilities/memory/default.allocator/allocator.members/
Dallocate.pass.cpp43 static int constructed; in TEST_ALIGNAS() local
44 AlignedType() { ++constructed; } in TEST_ALIGNAS()
45 AlignedType(AlignedType const&) { ++constructed; } in TEST_ALIGNAS()
46 ~AlignedType() { --constructed; } in TEST_ALIGNAS()
49 int AlignedType<Align>::constructed = 0; member in AlignedType<Align>
55 T::constructed = 0; in test_aligned()
62 assert(T::constructed == 0); in test_aligned()
72 assert(T::constructed == 0); in test_aligned()
79 assert(T::constructed == 0); in test_aligned()

12345678910>>...24