Home
last modified time | relevance | path

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

123456789

/external/libcxx/test/std/language.support/support.exception/propagation/
Dcurrent_exception.pass.cpp20 static int constructed; member
22 A() {++constructed;} in A()
23 ~A() {--constructed;} in ~A()
24 A(const A&) {++constructed;} in A()
27 int A::constructed = 0; member in A
38 assert(A::constructed == 0); in main()
44 assert(A::constructed == 1); in main()
46 assert(A::constructed == 0); in main()
48 assert(A::constructed == 0); in main()
53 assert(A::constructed == 0); in main()
[all …]
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
49 assert(A::constructed == 1); in main()
54 assert(A::constructed == 1); in main()
56 assert(A::constructed == 0); in main()
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
41 assert(A::constructed == 1); in main()
46 assert(A::constructed == 1); in main()
48 assert(A::constructed == 0); in main()
/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/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/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/libcxx/test/std/utilities/utility/pairs/pairs.pair/
Dassign_tuple.pass.cpp30 static int constructed; member
37 constructed = copy_constructed = move_constructed = 0; in reset()
40 CountingType() : value(0) { ++constructed; } in CountingType()
41 CountingType(int v) : value(v) { ++constructed; } in CountingType()
42 CountingType(CountingType const& o) : value(o.value) { ++constructed; ++copy_constructed; } in CountingType()
43 …CountingType(CountingType&& o) : value(o.value) { ++constructed; ++move_constructed; o.value = -1;} in CountingType()
60 int CountingType::constructed; member in CountingType
77 assert(C::constructed == 0); in main()
91 assert(C::constructed == 0); in main()
105 assert(C::constructed == 0); in main()
[all …]
/external/libchrome/base/
Dlazy_instance_unittest.cc34 ++constructed; in SlowConstructor()
39 static int constructed; member in __anonad88c6450111::SlowConstructor
44 int SlowConstructor::constructed = 0; member in __anonad88c6450111::SlowConstructor
92 EXPECT_EQ(0, SlowConstructor::constructed); in TEST()
96 EXPECT_EQ(0, SlowConstructor::constructed); in TEST()
100 EXPECT_EQ(1, SlowConstructor::constructed); in TEST()
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/
Demplace.pass.cpp114 assert(T::constructed == 1); in test_on_test_type()
124 assert(T::constructed == 1); in test_on_test_type()
134 assert(T::constructed == 1); in test_on_test_type()
144 assert(T::constructed == 1); in test_on_test_type()
154 assert(T::constructed == 1); in test_on_test_type()
164 assert(T::constructed == 1); in test_on_test_type()
174 assert(T::constructed == 1); in test_on_test_type()
Dassign_value.pass.cpp93 assert(T::constructed == 1); in test_with_test_type()
105 assert(T::constructed == 0); in test_with_test_type()
117 assert(T::constructed == 2); in test_with_test_type()
130 assert(T::constructed == 1); in test_with_test_type()
143 assert(T::constructed == 2); in test_with_test_type()
157 assert(T::constructed == 0); in test_with_test_type()
Dconst_optional_U.pass.cpp93 assert(T::constructed == 1); in test_with_test_type()
109 assert(T::constructed == 0); in test_with_test_type()
125 assert(T::constructed == 0); in test_with_test_type()
138 assert(T::constructed == 0); in test_with_test_type()
/external/libcxx/test/support/
Darchetypes.hpp28 static int constructed; member
46 constructed = value_constructed = default_constructed = in reset_constructors()
52 ++alive; ++constructed; ++default_constructed; in TestBase()
56 ++alive; ++constructed; ++value_constructed; in TestBase()
60 ++alive; ++constructed; ++value_constructed; in TestBase()
64 ++alive; ++constructed; ++value_constructed; in TestBase()
68 ++alive; ++constructed; ++value_constructed; in TestBase()
73 ++alive; ++constructed; ++value_constructed; in TestBase()
77 ++alive; ++constructed; ++value_constructed; in TestBase()
91 ++alive; ++constructed; ++copy_constructed; in TestBase()
[all …]
/external/libcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/
Dconstruct_pair.pass.cpp30 int constructed = 0; variable
34 default_constructible() : x(42) { ++constructed; } in default_constructible()
48 assert(constructed == 2); in main()
/external/swiftshader/third_party/LLVM/test/Archive/
DREADME.txt10 GNU.a - constructed on Linux with GNU ar
11 MacOSX.a - constructed on Mac OS X with its native BSD4.4 ar
12 SVR4.a - constructed on Solaris with /usr/ccs/bin/ar
13 xpg4.a - constructed on Solaris with /usr/xpg4/bin/ar
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DASN1StreamParser.java58 ASN1Encodable readImplicit(boolean constructed, int tag) throws IOException in readImplicit() argument
62 if (!constructed) in readImplicit()
70 if (constructed) in readImplicit()
98 ASN1Primitive readTaggedObject(boolean constructed, int tag) throws IOException in readTaggedObject() argument
100 if (!constructed) in readTaggedObject()
DDERApplicationSpecific.java56 boolean constructed, in DERApplicationSpecific() argument
61 …super(constructed || object.toASN1Primitive().isConstructed(), tag, getEncoding(constructed, objec… in DERApplicationSpecific()
DBERApplicationSpecific.java42 boolean constructed, in BERApplicationSpecific() argument
47 …super(constructed || object.toASN1Primitive().isConstructed(), tag, getEncoding(constructed, objec… in BERApplicationSpecific()
DBERTaggedObjectParser.java16 boolean constructed, in BERTaggedObjectParser() argument
20 _constructed = constructed; in BERTaggedObjectParser()
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/
Dmove.pass.cpp81 assert(T::constructed == 0); in test_reference_extension()
95 assert(T::constructed == 0); in test_reference_extension()
107 assert(T::constructed == 0); in test_reference_extension()
121 assert(T::constructed == 0); in test_reference_extension()
/external/boringssl/src/crypto/asn1/
Dasn1_lib.c218 void ASN1_put_object(unsigned char **pp, int constructed, int length, int tag, in ASN1_put_object() argument
224 i = (constructed) ? V_ASN1_CONSTRUCTED : 0; in ASN1_put_object()
241 if (constructed == 2) in ASN1_put_object()
278 int ASN1_object_size(int constructed, int length, int tag) in ASN1_object_size() argument
289 if (constructed == 2) { in ASN1_object_size()

123456789