/external/libcxx/test/std/language.support/support.exception/propagation/ |
current_exception.pass.cpp | 24 static int constructed; member in struct:A 26 A() {++constructed;} 27 ~A() {--constructed;} 28 A(const A&) {++constructed;} 31 int A::constructed = 0; member in class:A 42 assert(A::constructed == 0); 48 assert(A::constructed == 1); 50 assert(A::constructed == 0); 52 assert(A::constructed == 0); 57 assert(A::constructed == 0) [all...] |
make_exception_ptr.pass.cpp | 20 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 42 assert(A::constructed == 1); 45 assert(A::constructed == 2); 51 assert(A::constructed == 1); 53 assert(A::constructed == 0); 55 assert(A::constructed == 0) [all...] |
rethrow_exception.pass.cpp | 20 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 50 assert(A::constructed == 1); 53 assert(A::constructed == 2); 59 assert(A::constructed == 1); 61 assert(A::constructed == 0); 63 assert(A::constructed == 0) [all...] |
/external/libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.members/ |
destroy.pass.cpp | 27 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...] |
construct.pass.cpp | 27 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/google-fruit/tests/ |
test_eager_injection.py | 23 Assert(!constructed); 24 constructed = true; 27 static bool constructed; 30 bool X::constructed = false; 34 Assert(!constructed); 35 constructed = true; 38 static bool constructed; 41 bool Y::constructed = false; 45 Assert(!constructed); 46 constructed = true [all...] |
/external/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.default/ |
uninitialized_default_construct.pass.cpp | 26 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 == 1) [all...] |
uninitialized_default_construct_n.pass.cpp | 26 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 == 1) [all...] |
/external/libcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/ |
construct_pair.pass.cpp | 30 int constructed = 0; variable 34 default_constructible() : x(42) { ++constructed; } 48 assert(constructed == 2);
|
/external/libcxx/test/std/utilities/memory/default.allocator/allocator.members/ |
allocate.pass.cpp | 42 static int constructed; variable 43 AlignedType() { ++constructed; } 44 AlignedType(AlignedType const&) { ++constructed; } 45 ~AlignedType() { --constructed; } 48 int AlignedType<Align>::constructed = 0; member in class:AlignedType 54 T::constructed = 0; member in class:T 61 assert(T::constructed == 0); 71 assert(T::constructed == 0); 78 assert(T::constructed == 0); 91 assert(T::constructed == 0) [all...] |
/external/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.value/ |
uninitialized_value_construct.pass.cpp | 26 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 == 1) [all...] |
uninitialized_value_construct_n.pass.cpp | 26 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 == 1) [all...] |
/external/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.move/ |
uninitialized_move.pass.cpp | 26 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 == 1) [all...] |
uninitialized_move_n.pass.cpp | 26 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 == 1) [all...] |
/external/grpc-grpc/src/core/ext/filters/client_channel/ |
subchannel_index.h | 42 Takes ownership of \a constructed. 44 \a constructed in the case of a registration race. */ 46 grpc_subchannel* constructed); 48 /** Remove \a constructed as the registered subchannel for \a key. */ 50 grpc_subchannel* constructed);
|
/device/generic/goldfish-opengl/android-emu/android/base/ |
Optional.h | 31 // Optional<Foo> foo(Foo(10)); // |foo| contains a copy-constructed value. 60 // foo.emplace(20); // |foo| now contains a value constructed as Foo(20) 63 // // that is constructed in-place as 91 // - Optional<Foo> can be constructed from anything that constructs a Foo. 108 void setConstructed(bool constructed) { mConstructed = constructed; } 109 constexpr bool constructed() const { return mConstructed; } function in class:android::base::details::OptionalFlagBase 110 constexpr operator bool() const { return constructed(); } 111 bool hasValue() const { return constructed(); } 113 constexpr OptionalFlagBase(bool constructed = false [all...] |
/external/tensorflow/tensorflow/core/lib/core/ |
refcount_test.cc | 24 static int constructed = 0; member in namespace:tensorflow::core::__anon45570 29 MyRef() { constructed++; } 36 constructed = 0; 43 ASSERT_EQ(1, constructed); 46 ASSERT_EQ(1, constructed); 52 ASSERT_EQ(1, constructed); 78 ASSERT_EQ(1, constructed);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
BERTaggedObjectParser.java | 16 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)");
|
BERApplicationSpecific.java | 21 * 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 105 classBits |= BERTags.CONSTRUCTED;
|
DERApplicationSpecific.java | 22 * 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 119 classBits |= BERTags.CONSTRUCTED; [all...] |
DLApplicationSpecific.java | 22 * 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 119 classBits |= BERTags.CONSTRUCTED; [all...] |
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/ |
BERTaggedObjectParser.java | 18 boolean constructed, 22 _constructed = constructed; 28 * Return true if this tagged object is marked as constructed. 30 * @return true if constructed, false otherwise. 64 throw new IOException("Explicit tags must be constructed (see X.690 8.14.2)");
|
DERApplicationSpecific.java | 24 * the data does not represent a constructed object. 37 * Create an application specific object with a tagging of explicit/constructed. 51 * Create an application specific object with the tagging style given by the value of constructed. 53 * @param constructed true if the object is constructed. 58 boolean constructed, 63 super(constructed || object.toASN1Primitive().isConstructed(), tag, getEncoding(constructed, object)); 85 * Create an application specific object which is marked as constructed 121 classBits |= BERTags.CONSTRUCTED; [all...] |
DLApplicationSpecific.java | 24 * the data does not represent a constructed object. 37 * Create an application specific object with a tagging of explicit/constructed. 51 * Create an application specific object with the tagging style given by the value of constructed. 53 * @param constructed true if the object is constructed. 58 boolean constructed, 63 super(constructed || object.toASN1Primitive().isConstructed(), tag, getEncoding(constructed, object)); 85 * Create an application specific object which is marked as constructed 121 classBits |= BERTags.CONSTRUCTED; [all...] |
/external/libcxx/test/libcxx/utilities/utility/pairs/pairs.pair/ |
assign_tuple_like.pass.cpp | 41 assert(C::constructed == 0); 55 assert(C::constructed == 0); 69 assert(C::constructed == 0); 83 assert(C::constructed == 0); 97 assert(C::constructed == 0);
|