/external/tensorflow/tensorflow/core/lib/core/ |
D | refcount_test.cc | 25 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/ |
D | ArenaAllocTest.cpp | 19 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/ |
D | ArenaAllocTest.cpp | 19 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/ |
D | nullopt_t.pass.cpp | 44 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()
|
D | emplace.pass.cpp | 131 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()
|
D | assign_value.pass.cpp | 96 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()
|
D | const_optional_U.pass.cpp | 96 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()
|
D | optional_U.pass.cpp | 100 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/ |
D | test_config_name.py | 17 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/ |
D | move.pass.cpp | 103 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()
|
D | copy.pass.cpp | 92 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/ |
D | resources-test.c | 98 _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/ |
D | test_module.py | 69 destroyed = [] 71 m.destroyed = destroyed 79 self.assertEqual(destroyed, [1])
|
/external/libchrome/mojo/public/cpp/bindings/lib/ |
D | sync_handle_watcher.cc | 46 auto destroyed = destroyed_; in SyncWatch() local 47 const bool* should_stop_array[] = {should_stop, &destroyed->data}; in SyncWatch() 51 if (destroyed->data) in SyncWatch()
|
D | sync_event_watcher.cc | 44 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/ |
D | endpoint_pair_test.cc | 62 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()
|
D | tcp_client_uv_test.cc | 188 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()
|
D | tcp_client_posix_test.cc | 193 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/ |
D | win32window_unittest.cc | 22 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/ |
D | test_query.py | 39 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/ |
D | Command.java | 57 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/ |
D | pb_buffer_simple_fenced.c | 336 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/ |
D | interface_ptr_unittest.cc | 499 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/ |
D | httpcli_test.cc | 151 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/ |
D | test_module.py | 106 destroyed = [] 108 m.destroyed = destroyed 118 self.assertEqual(destroyed, [1])
|