Home
last modified time | relevance | path

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

12345678910>>...18

/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/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/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/tensorflow/tensorflow/core/lib/core/
Drefcount_test.cc24 static int constructed = 0; variable
29 MyRef() { constructed++; } in MyRef()
36 constructed = 0; in RefTest()
43 ASSERT_EQ(1, constructed); in TEST_F()
46 ASSERT_EQ(1, constructed); in TEST_F()
52 ASSERT_EQ(1, constructed); in TEST_F()
78 ASSERT_EQ(1, constructed); in TEST_F()
/external/libcxx/test/support/
Darchetypes.hpp31 static int constructed; member
49 constructed = value_constructed = default_constructed = in reset_constructors()
55 ++alive; ++constructed; ++default_constructed; in TestBase()
59 ++alive; ++constructed; ++value_constructed; in TestBase()
63 ++alive; ++constructed; ++value_constructed; in TestBase()
67 ++alive; ++constructed; ++value_constructed; in TestBase()
71 ++alive; ++constructed; ++value_constructed; in TestBase()
76 ++alive; ++constructed; ++value_constructed; in TestBase()
80 ++alive; ++constructed; ++value_constructed; in TestBase()
96 ++alive; ++constructed; ++copy_constructed; in TestBase()
[all …]
/external/libcxx/test/libcxx/utilities/utility/pairs/pairs.pair/
Dassign_tuple_like.pass.cpp41 assert(C::constructed == 0); in main()
55 assert(C::constructed == 0); in main()
69 assert(C::constructed == 0); in main()
83 assert(C::constructed == 0); in main()
97 assert(C::constructed == 0); 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/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/
Demplace.pass.cpp129 assert(T::constructed == 1); in test_on_test_type()
141 assert(T::constructed == 1); in test_on_test_type()
153 assert(T::constructed == 1); in test_on_test_type()
165 assert(T::constructed == 1); in test_on_test_type()
177 assert(T::constructed == 1); in test_on_test_type()
189 assert(T::constructed == 1); in test_on_test_type()
201 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()
/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/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()
/external/grpc-grpc/src/core/ext/filters/client_channel/
Dsubchannel_index.cc162 grpc_subchannel* constructed) { in grpc_subchannel_index_register() argument
190 GRPC_SUBCHANNEL_WEAK_REF(constructed, "index_register"), in grpc_subchannel_index_register()
199 c = constructed; in grpc_subchannel_index_register()
209 GRPC_SUBCHANNEL_UNREF(constructed, "index_register"); in grpc_subchannel_index_register()
216 grpc_subchannel* constructed) { in grpc_subchannel_index_unregister() argument
230 if (c != constructed) { in grpc_subchannel_index_unregister()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/
DASN1StreamParser.java60 ASN1Encodable readImplicit(boolean constructed, int tag) throws IOException in readImplicit() argument
64 if (!constructed) in readImplicit()
72 if (constructed) in readImplicit()
100 ASN1Primitive readTaggedObject(boolean constructed, int tag) throws IOException in readTaggedObject() argument
102 if (!constructed) in readTaggedObject()
/external/libchrome/base/
Dlazy_instance_unittest.cc46 ++constructed; in SlowConstructor()
51 static int constructed; member in __anona5237c660111::SlowConstructor
59 int SlowConstructor::constructed = 0; member in __anona5237c660111::SlowConstructor
114 EXPECT_EQ(0, SlowConstructor::constructed); in TEST()
118 EXPECT_EQ(0, SlowConstructor::constructed); in TEST()
122 EXPECT_EQ(1, SlowConstructor::constructed); in TEST()
/external/boringssl/src/third_party/wycheproof_testvectors/
Daes_gcm_test.txt500 # constructed to test for correct wrapping of the counter.
512 # constructed to test for correct wrapping of the counter.
524 # constructed to test for correct wrapping of the counter.
536 # constructed to test for correct wrapping of the counter.
548 # constructed to test for correct wrapping of the counter.
560 # constructed to test for correct wrapping of the counter.
572 # constructed to test for correct wrapping of the counter.
584 # constructed to test for correct wrapping of the counter.
596 # constructed to test for correct wrapping of the counter.
608 # constructed to test for correct wrapping of the counter.
[all …]
/external/deqp-deps/glslang/Test/baseResults/
Dspv.variableArrayIndex.frag.out34 Name 69 "constructed"
89 69(constructed): 68(ptr) Variable Function
127 Store 69(constructed) 76
130 80: 79(ptr) AccessChain 69(constructed) 78
134 84: 79(ptr) AccessChain 69(constructed) 83

12345678910>>...18