Home
last modified time | relevance | path

Searched refs:destroyed (Results 1 – 25 of 296) sorted by relevance

12345678910>>...12

/external/tensorflow/tensorflow/core/lib/core/
Drefcount_test.cc25 static int destroyed = 0; variable
30 ~MyRef() override { destroyed++; } in ~MyRef()
37 destroyed = 0; in RefTest()
44 ASSERT_EQ(0, destroyed); in TEST_F()
47 ASSERT_EQ(1, destroyed); in TEST_F()
53 ASSERT_EQ(0, destroyed); in TEST_F()
55 ASSERT_EQ(0, destroyed); in TEST_F()
57 ASSERT_EQ(0, destroyed); in TEST_F()
59 ASSERT_EQ(1, destroyed); in TEST_F()
79 ASSERT_EQ(0, destroyed); in TEST_F()
[all …]
/external/skqp/tests/
DArenaAllocTest.cpp19 static int created, destroyed; variable
24 ~Foo() { destroyed++; } in ~Foo()
38 destroyed++; in ~Node()
58 ~FooRefCnt() { destroyed++; } in ~FooRefCnt()
74 destroyed = 0; in DEF_TEST()
82 REPORTER_ASSERT(r, destroyed == 0); in DEF_TEST()
92 REPORTER_ASSERT(r, destroyed == 0); in DEF_TEST()
96 REPORTER_ASSERT(r, destroyed == 11); in DEF_TEST()
100 destroyed = 0; in DEF_TEST()
108 REPORTER_ASSERT(r, destroyed == 0); in DEF_TEST()
[all …]
/external/skia/tests/
DArenaAllocTest.cpp19 destroyed = 0; in DEF_TEST() local
24 ~Foo() { destroyed++; } in DEF_TEST()
34 destroyed = 0; in DEF_TEST()
42 REPORTER_ASSERT(r, destroyed == 0); in DEF_TEST()
52 REPORTER_ASSERT(r, destroyed == 0); in DEF_TEST()
56 REPORTER_ASSERT(r, destroyed == 11); in DEF_TEST()
59 destroyed = 0; in DEF_TEST()
67 REPORTER_ASSERT(r, destroyed == 0); in DEF_TEST()
77 REPORTER_ASSERT(r, destroyed == 0); in DEF_TEST()
81 REPORTER_ASSERT(r, destroyed == 11); in DEF_TEST()
[all …]
DGrTextBlobTest.cpp218 static int destroyed = 0; in DEF_TEST() local
222 ~Foo() { destroyed++; } in DEF_TEST()
233 destroyed = 0; in DEF_TEST()
245 REPORTER_ASSERT(r, destroyed == 0); in DEF_TEST()
253 REPORTER_ASSERT(r, destroyed == 0); in DEF_TEST()
258 REPORTER_ASSERT(r, destroyed == 11); in DEF_TEST()
283 destroyed = 0; in DEF_TEST()
289 ~Node() { destroyed++; } in DEF_TEST()
298 REPORTER_ASSERT(r, destroyed == 0); in DEF_TEST()
301 REPORTER_ASSERT(r, destroyed == 128); in DEF_TEST()
/external/llvm-project/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/
Dnullopt_t.pass.cpp43 assert(TT::destroyed == 0); in main()
47 assert(TT::destroyed == 0); in main()
51 assert(TT::destroyed == 0); in main()
55 assert(TT::destroyed == 0); in main()
60 assert(TT::destroyed == 1); in main()
64 assert(TT::destroyed == 1); in main()
Demplace.pass.cpp130 assert(T::destroyed == 0); in test_on_test_type()
142 assert(T::destroyed == 1); in test_on_test_type()
154 assert(T::destroyed == 1); in test_on_test_type()
166 assert(T::destroyed == 1); in test_on_test_type()
178 assert(T::destroyed == 1); in test_on_test_type()
190 assert(T::destroyed == 1); in test_on_test_type()
202 assert(T::destroyed == 1); in test_on_test_type()
Dassign_value.pass.cpp95 assert(T::destroyed == 0); in test_with_test_type()
107 assert(T::destroyed == 0); in test_with_test_type()
120 assert(T::destroyed == 1); in test_with_test_type()
133 assert(T::destroyed == 1); in test_with_test_type()
146 assert(T::destroyed == 1); in test_with_test_type()
158 assert(T::destroyed == 1); in test_with_test_type()
Dconst_optional_U.pass.cpp95 assert(T::destroyed == 0); in test_with_test_type()
111 assert(T::destroyed == 0); in test_with_test_type()
126 assert(T::destroyed == 1); in test_with_test_type()
139 assert(T::destroyed == 0); in test_with_test_type()
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/
Dnullopt_t.pass.cpp44 assert(TT::destroyed == 0); in main()
48 assert(TT::destroyed == 0); in main()
52 assert(TT::destroyed == 0); in main()
56 assert(TT::destroyed == 0); in main()
61 assert(TT::destroyed == 1); in main()
65 assert(TT::destroyed == 1); in main()
Demplace.pass.cpp131 assert(T::destroyed == 0); in test_on_test_type()
143 assert(T::destroyed == 1); in test_on_test_type()
155 assert(T::destroyed == 1); in test_on_test_type()
167 assert(T::destroyed == 1); in test_on_test_type()
179 assert(T::destroyed == 1); in test_on_test_type()
191 assert(T::destroyed == 1); in test_on_test_type()
203 assert(T::destroyed == 1); in test_on_test_type()
Dassign_value.pass.cpp96 assert(T::destroyed == 0); in test_with_test_type()
108 assert(T::destroyed == 0); in test_with_test_type()
121 assert(T::destroyed == 1); in test_with_test_type()
134 assert(T::destroyed == 1); in test_with_test_type()
147 assert(T::destroyed == 1); in test_with_test_type()
159 assert(T::destroyed == 1); in test_with_test_type()
Dconst_optional_U.pass.cpp96 assert(T::destroyed == 0); in test_with_test_type()
112 assert(T::destroyed == 0); in test_with_test_type()
127 assert(T::destroyed == 1); in test_with_test_type()
140 assert(T::destroyed == 0); in test_with_test_type()
/external/pigweed/pw_containers/
Dvector_test.cc61 static int destroyed; member
64 static void Reset() { created = destroyed = moved = 0; } in Reset()
77 ~Counter() { destroyed += 1; } in ~Counter()
83 int Counter::destroyed = 0; member in pw::__anoneff72c3d0111::Counter
163 { Vector<Counter, 0> destroyed; } in TEST() local
165 EXPECT_EQ(Counter::destroyed, 0); in TEST()
171 { Vector<Counter, 128> destroyed; } in TEST() local
173 EXPECT_EQ(Counter::destroyed, 0); in TEST()
180 { Vector<Counter, 128> destroyed(100, value); } in TEST() local
183 EXPECT_EQ(Counter::destroyed, 100); in TEST()
[all …]
/external/python/cpython2/Lib/idlelib/idle_test/
Dtest_config_name.py17 destroyed = False variable in Dummy_name_dialog
21 self.destroyed = True
63 self.dialog.destroyed = False
67 self.assertTrue(self.dialog.destroyed)
70 self.dialog.destroyed = False
73 self.assertTrue(self.dialog.destroyed)
/external/llvm-project/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/
Dmove.pass.cpp100 assert(T::destroyed == 0); in test_reference_extension()
102 assert(T::destroyed == 1); in test_reference_extension()
114 assert(T::destroyed == 0); in test_reference_extension()
117 assert(T::destroyed == 1); in test_reference_extension()
126 assert(T::destroyed == 0); in test_reference_extension()
129 assert(T::destroyed == 1); in test_reference_extension()
140 assert(T::destroyed == 0); in test_reference_extension()
143 assert(T::destroyed == 1); in test_reference_extension()
Dcopy.pass.cpp91 assert(T::destroyed == 0); in test_reference_extension()
93 assert(T::destroyed == 1); in test_reference_extension()
105 assert(T::destroyed == 0); in test_reference_extension()
108 assert(T::destroyed == 1); in test_reference_extension()
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/
Dmove.pass.cpp103 assert(T::destroyed == 0); in test_reference_extension()
105 assert(T::destroyed == 1); in test_reference_extension()
117 assert(T::destroyed == 0); in test_reference_extension()
120 assert(T::destroyed == 1); in test_reference_extension()
129 assert(T::destroyed == 0); in test_reference_extension()
132 assert(T::destroyed == 1); in test_reference_extension()
143 assert(T::destroyed == 0); in test_reference_extension()
146 assert(T::destroyed == 1); in test_reference_extension()
Dcopy.pass.cpp92 assert(T::destroyed == 0); in test_reference_extension()
94 assert(T::destroyed == 1); in test_reference_extension()
106 assert(T::destroyed == 0); in test_reference_extension()
109 assert(T::destroyed == 1); in test_reference_extension()
/external/wayland/tests/
Dresources-test.c109 _Bool destroyed = 0; in TEST() local
122 wl_resource_set_implementation(res, NULL, &destroyed, res_destroy_func); in TEST()
130 assert(destroyed); in TEST()
138 destroyed = 0; in TEST()
141 wl_resource_set_user_data(res, &destroyed); in TEST()
145 assert(destroyed); in TEST()
/external/python/cpython2/Lib/test/
Dtest_module.py69 destroyed = []
71 m.destroyed = destroyed
79 self.assertEqual(destroyed, [1])
/external/libchrome/mojo/public/cpp/bindings/lib/
Dsync_handle_watcher.cc46 auto destroyed = destroyed_; in SyncWatch() local
47 const bool* should_stop_array[] = {should_stop, &destroyed->data}; in SyncWatch()
51 if (destroyed->data) in SyncWatch()
Dsync_event_watcher.cc44 auto destroyed = destroyed_; in SyncWatch() local
48 should_stop_array.container().push_back(&destroyed->data); in SyncWatch()
55 if (destroyed->data) in SyncWatch()
/external/grpc-grpc/test/core/iomgr/
Dendpoint_pair_test.cc62 grpc_closure destroyed; in main() local
70 GRPC_CLOSURE_INIT(&destroyed, destroy_pollset, g_pollset, in main()
72 grpc_pollset_shutdown(g_pollset, &destroyed); in main()
/external/webrtc/rtc_base/
Dwin32_window_unittest.cc22 bool destroyed() const { return destroyed_; } in destroyed() function in TestWindow
44 EXPECT_FALSE(wnd.destroyed()); in TEST()
53 EXPECT_TRUE(wnd.destroyed()); in TEST()
/external/vogar/src/vogar/commands/
DCommand.java57 private volatile boolean destroyed; field in Command
132 destroyed = true; in gatherOutput()
175 if (destroyed) { in destroy()
179 destroyed = true; in destroy()
319 if (destroyed) { in run()

12345678910>>...12