Home
last modified time | relevance | path

Searched refs:dtor_called (Results 1 – 7 of 7) sorted by relevance

/external/libcxx/test/utilities/optional/optional.specalg/
Dswap.pass.cpp27 static unsigned dtor_called; member in X
31 ~X() {++dtor_called;} in ~X()
36 unsigned X::dtor_called = 0; member in X
42 static unsigned dtor_called; member in Y
45 ~Y() {++dtor_called;} in ~Y()
51 unsigned Y::dtor_called = 0; member in Y
127 assert(X::dtor_called == 0); in main()
136 X::dtor_called = 0; in main()
138 assert(X::dtor_called == 1); in main()
150 X::dtor_called = 0; in main()
[all …]
/external/libcxx/test/utilities/optional/optional.object/optional.object.swap/
Dswap.pass.cpp28 static unsigned dtor_called; member in X
32 ~X() {++dtor_called;} in ~X()
37 unsigned X::dtor_called = 0; member in X
43 static unsigned dtor_called; member in Y
46 ~Y() {++dtor_called;} in ~Y()
52 unsigned Y::dtor_called = 0; member in Y
128 assert(X::dtor_called == 0); in main()
137 X::dtor_called = 0; in main()
139 assert(X::dtor_called == 1); in main()
151 X::dtor_called = 0; in main()
[all …]
/external/libcxx/test/utilities/optional/optional.object/optional.object.assign/
Demplace_initializer_list.pass.cpp29 static bool dtor_called; member in X
33 ~X() {dtor_called = true;} in ~X()
39 bool X::dtor_called = false; member in X
59 static bool dtor_called; member in Z
64 ~Z() {dtor_called = true;} in ~Z()
70 bool Z::dtor_called = false; member in Z
81 assert(X::dtor_called == false); in main()
83 assert(X::dtor_called == true); in main()
105 assert(Z::dtor_called == false); in main()
112 assert(Z::dtor_called == true); in main()
Demplace.pass.cpp39 static bool dtor_called; member in Y
41 ~Y() {dtor_called = true;} in ~Y()
44 bool Y::dtor_called = false; member in Y
49 static bool dtor_called; member in Z
52 ~Z() {dtor_called = true;} in ~Z()
55 bool Z::dtor_called = false; member in Z
126 assert(Y::dtor_called == false); in main()
128 assert(Y::dtor_called == true); in main()
137 assert(Z::dtor_called == false); in main()
144 assert(Z::dtor_called == true); in main()
Dnullopt_t.pass.cpp26 static bool dtor_called; member
27 ~X() {dtor_called = true;} in ~X()
30 bool X::dtor_called = false; member in X
51 assert(X::dtor_called == false); in main()
53 assert(X::dtor_called == false); in main()
60 assert(X::dtor_called == false); in main()
62 assert(X::dtor_called == true); in main()
/external/libcxx/test/utilities/optional/optional.object/optional.object.dtor/
Ddtor.pass.cpp25 static bool dtor_called; member in X
27 ~X() {dtor_called = true;} in ~X()
30 bool X::dtor_called = false; member in X
54 assert(X::dtor_called == false); in main()
56 assert(X::dtor_called == true); in main()
/external/chromium_org/cc/trees/
Dlayer_tree_host_unittest.cc4418 dtor_called(false), in TestSwapPromiseResult()
4423 bool dtor_called; member
4434 result_->dtor_called = true; in ~TestSwapPromise()
4502 EXPECT_TRUE(swap_promise_result_[0].dtor_called); in AfterTest()
4511 EXPECT_TRUE(swap_promise_result_[1].dtor_called); in AfterTest()
4521 EXPECT_TRUE(swap_promise_result_[2].dtor_called); in AfterTest()
4561 EXPECT_TRUE(swap_promise_result_.dtor_called); in AfterTest()
4612 EXPECT_TRUE(swap_promise_result_.dtor_called); in AfterTest()