Searched defs:constructed (Results 1 - 25 of 42) sorted by relevance

12

/external/libcxx/test/std/language.support/support.exception/propagation/
H A Dcurrent_exception.pass.cpp20 static int constructed; member in struct:A
22 A() {++constructed;}
23 ~A() {--constructed;}
24 A(const A&) {++constructed;}
27 int A::constructed = 0; member in class:A
38 assert(A::constructed == 0);
44 assert(A::constructed == 1);
46 assert(A::constructed == 0);
48 assert(A::constructed == 0);
53 assert(A::constructed
[all...]
H A Dmake_exception_ptr.pass.cpp20 static int constructed; member in struct:A
23 A(int data = 0) : data_(data) {++constructed;}
24 ~A() {--constructed;}
25 A(const A& a) : data_(a.data_) {++constructed;}
28 int A::constructed = 0; member in class:A
41 assert(A::constructed == 1);
46 assert(A::constructed == 1);
48 assert(A::constructed == 0);
H A Drethrow_exception.pass.cpp20 static int constructed; member in struct:A
23 A(int data = 0) : data_(data) {++constructed;}
24 ~A() {--constructed;}
25 A(const A& a) : data_(a.data_) {++constructed;}
28 int A::constructed = 0; member in class:A
49 assert(A::constructed == 1);
54 assert(A::constructed == 1);
56 assert(A::constructed == 0);
/external/libcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/
H A Dconstruct_pair.pass.cpp30 int constructed = 0; variable
34 default_constructible() : x(42) { ++constructed; }
48 assert(constructed == 2);
H A Dconstruct_types.pass.cpp38 bool constructed; member in struct:PMATest
40 PMATest() : A(&R), ptr(A.allocate(1)), constructed(false) {}
45 constructed = true;
49 if (constructed) A.destroy(ptr);
/external/libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.members/
H A Ddestroy.pass.cpp27 static bool constructed; member in struct:B
29 B() {constructed = true;}
30 ~B() {constructed = false;}
33 bool B::constructed = false; member in class:B
43 assert(!S::constructed);
45 assert(S::constructed);
47 assert(!S::constructed);
56 assert(!S::constructed);
57 assert(!A3<S>::constructed);
60 assert(S::constructed);
[all...]
H A Dconstruct.pass.cpp27 static bool constructed; member in struct:B
35 constructed = true;
39 bool B::constructed = false; member in class:B
43 static bool constructed; member in struct:C
51 constructed = true;
55 bool C::constructed = false; member in class:C
59 static bool constructed; member in struct:D
68 constructed = true;
72 bool D::constructed = false; member in class:D
76 static bool constructed; member in struct:E
89 bool E::constructed = false; member in class:E
93 static bool constructed; member in struct:F
112 bool F::constructed = false; member in class:F
168 A3<E>::constructed = false; member in class:A3
182 A3<F>::constructed = false; member in class:A3
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
H A DBERApplicationSpecific.java21 * Create an application specific object with a tagging of explicit/constructed.
35 * Create an application specific object with the tagging style given by the value of constructed.
37 * @param constructed true if the object is constructed.
42 boolean constructed,
47 super(constructed || object.toASN1Primitive().isConstructed(), tag, getEncoding(constructed, object));
69 * Create an application specific object which is marked as constructed
41 BERApplicationSpecific( boolean constructed, int tag, ASN1Encodable object) argument
H A DDERApplicationSpecific.java22 * the data does not represent a constructed object.
35 * Create an application specific object with a tagging of explicit/constructed.
49 * Create an application specific object with the tagging style given by the value of constructed.
51 * @param constructed true if the object is constructed.
56 boolean constructed,
61 super(constructed || object.toASN1Primitive().isConstructed(), tag, getEncoding(constructed, object));
83 * Create an application specific object which is marked as constructed
55 DERApplicationSpecific( boolean constructed, int tag, ASN1Encodable object) argument
H A DASN1StreamParser.java42 // TODO There are other tags that may be constructed (e.g. BIT_STRING)
58 ASN1Encodable readImplicit(boolean constructed, int tag) throws IOException argument
62 if (!constructed)
70 if (constructed)
87 throw new ASN1Exception("sequences must use constructed encoding (see X.690 8.9.1/8.10.1)");
89 throw new ASN1Exception("sets must use constructed encoding (see X.690 8.11.1/8.12.1)");
98 ASN1Primitive readTaggedObject(boolean constructed, int tag) throws IOException argument
100 if (!constructed)
185 // TODO There are other tags that may be constructed (e.g. BIT_STRING)
H A DBERTaggedObjectParser.java16 boolean constructed,
20 _constructed = constructed;
26 * Return true if this tagged object is marked as constructed.
28 * @return true if constructed, false otherwise.
62 throw new IOException("Explicit tags must be constructed (see X.690 8.14.2)");
15 BERTaggedObjectParser( boolean constructed, int tagNumber, ASN1StreamParser parser) argument
/external/libcxx/test/std/utilities/utility/pairs/pairs.pair/
H A Dassign_tuple.pass.cpp30 static int constructed; member in struct:CountingType
37 constructed = copy_constructed = move_constructed = 0;
40 CountingType() : value(0) { ++constructed; }
41 CountingType(int v) : value(v) { ++constructed; }
42 CountingType(CountingType const& o) : value(o.value) { ++constructed; ++copy_constructed; }
43 CountingType(CountingType&& o) : value(o.value) { ++constructed; ++move_constructed; o.value = -1;}
60 int CountingType::constructed; member in class:CountingType
77 assert(C::constructed == 0);
91 assert(C::constructed == 0);
105 assert(C::constructed
[all...]
/external/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.default/
H A Duninitialized_default_construct.pass.cpp26 static int constructed; member in struct:Counted
27 static void reset() { count = constructed = 0; }
28 explicit Counted() { ++count; ++constructed; }
34 int Counted::constructed = 0; member in class:Counted
39 static int constructed; member in struct:ThrowsCounted
41 static void reset() { throw_after = count = constructed = 0; }
43 ++constructed;
54 int ThrowsCounted::constructed = 0; member in class:ThrowsCounted
71 assert(ThrowsCounted::constructed == 4); // forth construction throws
83 assert(Counted::constructed
[all...]
H A Duninitialized_default_construct_n.pass.cpp26 static int constructed; member in struct:Counted
27 static void reset() { count = constructed = 0; }
28 explicit Counted() { ++count; ++constructed; }
34 int Counted::constructed = 0; member in class:Counted
39 static int constructed; member in struct:ThrowsCounted
41 static void reset() { throw_after = count = constructed = 0; }
43 ++constructed;
54 int ThrowsCounted::constructed = 0; member in class:ThrowsCounted
70 assert(ThrowsCounted::constructed == 4); // forth construction throws
83 assert(Counted::constructed
[all...]
/external/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.value/
H A Duninitialized_value_construct.pass.cpp26 static int constructed; member in struct:Counted
27 static void reset() { count = constructed = 0; }
28 explicit Counted() { ++count; ++constructed; }
34 int Counted::constructed = 0; member in class:Counted
39 static int constructed; member in struct:ThrowsCounted
41 static void reset() { throw_after = count = constructed = 0; }
43 ++constructed;
54 int ThrowsCounted::constructed = 0; member in class:ThrowsCounted
70 assert(ThrowsCounted::constructed == 4); // forth construction throws
82 assert(Counted::constructed
[all...]
H A Duninitialized_value_construct_n.pass.cpp26 static int constructed; member in struct:Counted
27 static void reset() { count = constructed = 0; }
28 explicit Counted() { ++count; ++constructed; }
34 int Counted::constructed = 0; member in class:Counted
38 static int constructed; member in struct:ThrowsCounted
40 static void reset() { throw_after = count = constructed = 0; }
42 ++constructed;
53 int ThrowsCounted::constructed = 0; member in class:ThrowsCounted
69 assert(ThrowsCounted::constructed == 4); // forth construction throws
84 assert(Counted::constructed
[all...]
/external/libcxx/test/libcxx/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/
H A Dconstruct_piecewise_pair.pass.cpp58 bool constructed = false; member in struct:TestHarness
66 constructed = true;
70 if (constructed) A.destroy(ptr);
/external/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.move/
H A Duninitialized_move.pass.cpp26 static int constructed; member in struct:Counted
27 static void reset() { count = constructed = 0; }
28 explicit Counted(int&& x) : value(x) { x = 0; ++count; ++constructed; }
35 int Counted::constructed = 0; member in class:Counted
39 static int constructed; member in struct:ThrowsCounted
41 static void reset() { throw_after = count = constructed = 0; }
43 ++constructed;
55 int ThrowsCounted::constructed = 0; member in class:ThrowsCounted
72 assert(ThrowsCounted::constructed == 4); // forth construction throws
91 assert(Counted::constructed
[all...]
H A Duninitialized_move_n.pass.cpp26 static int constructed; member in struct:Counted
27 static void reset() { count = constructed = 0; }
28 explicit Counted(int&& x) : value(x) { x = 0; ++count; ++constructed; }
35 int Counted::constructed = 0; member in class:Counted
39 static int constructed; member in struct:ThrowsCounted
41 static void reset() { throw_after = count = constructed = 0; }
43 ++constructed;
55 int ThrowsCounted::constructed = 0; member in class:ThrowsCounted
72 assert(ThrowsCounted::constructed == 4); // forth construction throws
92 assert(Counted::constructed
[all...]
/external/libchrome/base/
H A Dlazy_instance_unittest.cc34 ++constructed;
39 static int constructed; member in class:__anon9878::SlowConstructor
44 int SlowConstructor::constructed = 0; member in class:__anon9878::SlowConstructor
92 EXPECT_EQ(0, SlowConstructor::constructed);
96 EXPECT_EQ(0, SlowConstructor::constructed);
100 EXPECT_EQ(1, SlowConstructor::constructed);
/external/libcxx/test/support/
H A Dallocators.h145 static bool constructed; member in class:A3
157 constructed = true;
172 template <class T> bool A3<T>::constructed = false; member in class:A3
H A Darchetypes.hpp28 static int constructed; member in struct:ArchetypeBases::TestBase
46 constructed = value_constructed = default_constructed =
52 ++alive; ++constructed; ++default_constructed; member in struct:ArchetypeBases::TestBase
56 ++alive; ++constructed; ++value_constructed;
60 ++alive; ++constructed; ++value_constructed;
64 ++alive; ++constructed; ++value_constructed;
68 ++alive; ++constructed; ++value_constructed;
73 ++alive; ++constructed; ++value_constructed;
77 ++alive; ++constructed; ++value_constructed;
91 ++alive; ++constructed;
116 template <class D, bool E> int TestBase<D, E>::constructed = 0; member in class:TestBase
[all...]
/external/boringssl/src/crypto/asn1/
H A Dasn1_lib.c240 * class 0 is constructed constructed == 2 for indefinite length constructed
242 void ASN1_put_object(unsigned char **pp, int constructed, int length, int tag, argument
248 i = (constructed) ? V_ASN1_CONSTRUCTED : 0;
265 if (constructed == 2)
302 int ASN1_object_size(int constructed, int length, int tag) argument
313 if (constructed == 2) {
/external/curl/lib/
H A Dx509asn1.h85 bool constructed; /* Element is constructed. */ member in struct:__anon3642
/external/wpa_supplicant_8/hostapd/src/tls/
H A Dasn1.h26 #define ASN1_TAG_SEQUENCE 0x10 /* shall be constructed */
50 u8 identifier, class, constructed; member in struct:asn1_hdr

Completed in 792 milliseconds

12