Home
last modified time | relevance | path

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

12345678

/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 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/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()
Doptional_U.pass.cpp100 assert(T::destroyed == 0); in test_with_test_type()
116 assert(T::destroyed == 0); in test_with_test_type()
131 assert(T::destroyed == 1); in test_with_test_type()
144 assert(T::destroyed == 0); in test_with_test_type()
/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/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.c98 _Bool destroyed = 0; in TEST() local
111 wl_resource_set_implementation(res, NULL, &destroyed, res_destroy_func); in TEST()
119 assert(destroyed); in TEST()
125 destroyed = 0; in TEST()
128 wl_resource_set_user_data(res, &destroyed); in TEST()
132 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()
Dtcp_client_uv_test.cc188 grpc_closure destroyed; in main() local
198 GRPC_CLOSURE_INIT(&destroyed, destroy_pollset, g_pollset, in main()
200 grpc_pollset_shutdown(g_pollset, &destroyed); in main()
Dtcp_client_posix_test.cc193 grpc_closure destroyed; in main() local
208 GRPC_CLOSURE_INIT(&destroyed, destroy_pollset, g_pollset, in main()
210 grpc_pollset_shutdown(g_pollset, &destroyed); in main()
/external/webrtc/webrtc/base/
Dwin32window_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/python/cpython3/Lib/idlelib/idle_test/
Dtest_query.py39 self.destroyed = False
43 self.destroyed = True
48 self.assertEqual((dialog.result, dialog.destroyed), (None, False))
55 Equal((dialog.result, dialog.destroyed), (None, False))
64 self.assertEqual((dialog.result, dialog.destroyed), (None, False))
69 self.assertEqual((dialog.result, dialog.destroyed), ('good', True))
74 self.assertEqual((dialog.result, dialog.destroyed), (None, True))
/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()
333 if (destroyed) { in run()
/external/mesa3d/src/gallium/winsys/svga/drm/
Dpb_buffer_simple_fenced.c336 boolean destroyed; in fenced_buffer_finish_locked() local
338 destroyed = fenced_buffer_remove_locked(fenced_mgr, fenced_buf); in fenced_buffer_finish_locked()
342 assert(!destroyed); in fenced_buffer_finish_locked()
343 (void) destroyed; in fenced_buffer_finish_locked()
662 boolean destroyed; in fenced_buffer_fence() local
663 destroyed = fenced_buffer_remove_locked(fenced_mgr, fenced_buf); in fenced_buffer_fence()
664 assert(!destroyed); in fenced_buffer_fence()
665 (void) destroyed; in fenced_buffer_fence()
/external/libchrome/mojo/public/cpp/bindings/tests/
Dinterface_ptr_unittest.cc499 StrongMathCalculatorImpl(bool* destroyed) : destroyed_(destroyed) {} in StrongMathCalculatorImpl() argument
524 bool destroyed = false; in TEST() local
529 MakeStrongBinding(std::make_unique<StrongMathCalculatorImpl>(&destroyed), in TEST()
547 EXPECT_FALSE(destroyed); in TEST()
555 EXPECT_TRUE(destroyed); in TEST()
562 bool* destroyed, in WeakMathCalculatorImpl() argument
565 destroyed_(destroyed), in WeakMathCalculatorImpl()
598 bool destroyed = false; in TEST() local
602 &error_received, &destroyed, in TEST()
621 EXPECT_FALSE(destroyed); in TEST()
[all …]
/external/grpc-grpc/test/core/http/
Dhttpcli_test.cc151 grpc_closure destroyed; in main() local
207 GRPC_CLOSURE_INIT(&destroyed, destroy_pops, &g_pops, in main()
209 grpc_pollset_shutdown(grpc_polling_entity_pollset(&g_pops), &destroyed); in main()
/external/python/cpython3/Lib/test/
Dtest_module.py106 destroyed = []
108 m.destroyed = destroyed
118 self.assertEqual(destroyed, [1])

12345678