/third_party/boost/libs/asio/test/execution/ |
D | set_done.cpp | 24 static int call_count = 0; variable 34 ++call_count; in set_done() 62 ++call_count; in set_done() 90 ++call_count; in set_done() 118 ++call_count; in set_done() 192 call_count = 0; in test_set_done() 195 BOOST_ASIO_CHECK(call_count == 1); in test_set_done() 197 call_count = 0; in test_set_done() 200 BOOST_ASIO_CHECK(call_count == 1); in test_set_done() 202 call_count = 0; in test_set_done() [all …]
|
D | start.cpp | 24 static int call_count = 0; variable 34 ++call_count; in start() 62 ++call_count; in start() 90 ++call_count; in start() 118 ++call_count; in start() 192 call_count = 0; in test_start() 195 BOOST_ASIO_CHECK(call_count == 1); in test_start() 197 call_count = 0; in test_start() 200 BOOST_ASIO_CHECK(call_count == 1); in test_start() 202 call_count = 0; in test_start() [all …]
|
D | set_value.cpp | 24 static int call_count = 0; variable 34 ++call_count; in set_value() 65 ++call_count; in set_value() 98 ++call_count; in set_value() 126 ++call_count; in set_value() 158 ++call_count; in set_value() 192 ++call_count; in set_value() 220 ++call_count; in set_value() 251 ++call_count; in set_value() 284 ++call_count; in set_value() [all …]
|
D | bulk_execute.cpp | 24 int call_count = 0; variable 100 ++call_count; in bulk_execute() 135 ++call_count; in bulk_execute() 266 ++call_count; in counting_handler() 271 ++call_count; in completion_handler() 276 call_count = 0; in test_bulk_execute() 279 BOOST_ASIO_CHECK(call_count == 1); in test_bulk_execute() 281 call_count = 0; in test_bulk_execute() 284 BOOST_ASIO_CHECK(call_count == 1); in test_bulk_execute() 286 call_count = 0; in test_bulk_execute() [all …]
|
D | set_error.cpp | 24 static int call_count = 0; variable 37 ++call_count; in set_error() 69 ++call_count; in set_error() 100 ++call_count; in set_error() 132 ++call_count; in set_error() 208 call_count = 0; in test_set_error() 211 BOOST_ASIO_CHECK(call_count == 1); in test_set_error() 213 call_count = 0; in test_set_error() 216 BOOST_ASIO_CHECK(call_count == 1); in test_set_error() 218 call_count = 0; in test_set_error() [all …]
|
D | submit.cpp | 24 static int call_count = 0; variable 107 ++call_count; in submit() 162 ++call_count; in submit() 215 ++call_count; in submit() 270 ++call_count; in submit() 384 ++call_count; in execute() 504 call_count = 0; in test_submit() 507 BOOST_ASIO_CHECK(call_count == 1); in test_submit() 509 call_count = 0; in test_submit() 512 BOOST_ASIO_CHECK(call_count == 1); in test_submit() [all …]
|
D | connect.cpp | 24 static int call_count = 0; variable 101 ++call_count; in connect() 137 ++call_count; in connect() 168 ++call_count; in connect() 204 ++call_count; in connect() 426 call_count = 0; in test_connect() 429 BOOST_ASIO_CHECK(call_count == 1); in test_connect() 432 call_count = 0; in test_connect() 435 BOOST_ASIO_CHECK(call_count == 1); in test_connect() 438 call_count = 0; in test_connect() [all …]
|
/third_party/boost/libs/yap/test/ |
D | comma.cpp | 63 int call_count = 0; in test_main() local 68 (term<int_callable>{{&call_count, &int_called}}(), in test_main() 69 term<double_callable>{{&call_count, &double_called}}()); in test_main() 77 int call_count = 0; in test_main() local 82 (term<double_callable>{{&call_count, &double_called}}(), in test_main() 83 term<int_callable>{{&call_count, &int_called}}()); in test_main() 93 int call_count = 0; in test_main() local 98 (term<void_callable>{{&call_count, &void_called}}(), in test_main() 99 term<int_callable>{{&call_count, &int_called}}()); in test_main() 107 int call_count = 0; in test_main() local [all …]
|
/third_party/googletest/googlemock/include/gmock/ |
D | gmock-cardinalities.h | 75 virtual bool IsSatisfiedByCallCount(int call_count) const = 0; 79 virtual bool IsSaturatedByCallCount(int call_count) const = 0; 105 bool IsSatisfiedByCallCount(int call_count) const { in IsSatisfiedByCallCount() argument 106 return impl_->IsSatisfiedByCallCount(call_count); in IsSatisfiedByCallCount() 111 bool IsSaturatedByCallCount(int call_count) const { in IsSaturatedByCallCount() argument 112 return impl_->IsSaturatedByCallCount(call_count); in IsSaturatedByCallCount() 117 bool IsOverSaturatedByCallCount(int call_count) const { in IsOverSaturatedByCallCount() argument 118 return impl_->IsSaturatedByCallCount(call_count) && in IsOverSaturatedByCallCount() 119 !impl_->IsSatisfiedByCallCount(call_count); in IsOverSaturatedByCallCount()
|
/third_party/googletest/googlemock/src/ |
D | gmock-cardinalities.cc | 76 bool IsSatisfiedByCallCount(int call_count) const override { in IsSatisfiedByCallCount() 77 return min_ <= call_count && call_count <= max_; in IsSatisfiedByCallCount() 80 bool IsSaturatedByCallCount(int call_count) const override { in IsSaturatedByCallCount() 81 return call_count >= max_; in IsSaturatedByCallCount()
|
/third_party/boost/libs/log/test/run/ |
D | attr_function.cpp | 108 unsigned int call_count = 0; in BOOST_AUTO_TEST_CASE() local 120 attrs::make_function(attr_value_generator(call_count)); in BOOST_AUTO_TEST_CASE() 122 attrs::make_function< std::string >(attr_value_generator(call_count)); in BOOST_AUTO_TEST_CASE() 127 BOOST_CHECK_EQUAL(call_count, 1u); in BOOST_AUTO_TEST_CASE() 129 BOOST_CHECK_EQUAL(call_count, 2u); in BOOST_AUTO_TEST_CASE()
|
/third_party/python/Lib/test/ |
D | test_script_helper.py | 48 self.assertEqual(1, mock_popen.call_count) 49 self.assertEqual(1, mock_ire_func.call_count) 92 self.assertEqual(1, mock_check_call.call_count) 101 self.assertEqual(1, mock_check_call.call_count) 110 self.assertEqual(1, mock_check_call.call_count) 121 self.assertEqual(0, mock_check_call.call_count)
|
/third_party/node/test/js-native-api/test_reference_double_free/ |
D | test_reference_double_free.c | 15 size_t* call_count = hint; in NoDeleteDestructor() local 18 if ((*call_count) > 0) abort(); in NoDeleteDestructor() 19 *call_count = ((*call_count) + 1); in NoDeleteDestructor()
|
/third_party/python/Lib/idlelib/idle_test/ |
D | test_squeezer.py | 153 self.assertEqual(orig_write.call_count, 1) 167 self.assertEqual(orig_write.call_count, 1) 182 self.assertEqual(orig_write.call_count, 1) 192 self.assertEqual(orig_write.call_count, 0) 342 self.assertEqual(MockHovertip.call_count, 1) 373 self.assertEqual(squeezer.expandingbuttons.remove.call_count, 1) 427 self.assertEqual(expandingbutton.clipboard_clear.call_count, 1) 428 self.assertEqual(expandingbutton.clipboard_append.call_count, 1) 443 self.assertEqual(mock_view_text.call_count, 1) 459 self.assertEqual(mock_menu.add_command.call_count,
|
D | test_colorizer.py | 363 eq(mock_recmain.call_count, 1) 373 eq(mock_recmain.call_count, 2)
|
D | test_config.py | 320 self.assertEqual(m.call_count, len(conf.userCfg)) 332 eq(_warn.call_count, 4)
|
/third_party/grpc/src/core/ext/filters/max_age/ |
D | max_age_filter.cc | 94 gpr_atm call_count; member 154 if (gpr_atm_full_fetch_add(&chand->call_count, 1) == 0) { in increase_call_count() 180 if (gpr_atm_full_fetch_add(&chand->call_count, -1) == 1) { in decrease_call_count() 300 gpr_atm_no_barrier_fetch_add(&chand->call_count, 1); in close_max_idle_channel() 505 gpr_atm_rel_store(&chand->call_count, 1); in max_age_init_channel_elem()
|
/third_party/python/Lib/unittest/test/testmock/ |
D | testwith.py | 136 self.assertEqual(patch2.call_count, 1) 137 self.assertEqual(patch1.call_count, 0) 139 self.assertEqual(patch1.call_count, 1)
|
/third_party/mindspore/tests/ut/python/utils/ |
D | test_callback.py | 313 assert mock_exit.call_count == 2 324 assert mock_exit.call_count == 2 335 assert mock_begin.call_count == 2
|
/third_party/python/Lib/unittest/ |
D | mock.py | 226 funcopy.call_count = 0 549 call_count = _delegating_property('call_count') variable in NonCallableMock 587 self.call_count = 0 875 if self.call_count != 0: 878 self.call_count, 885 if self.call_count == 0: 893 if not self.call_count == 1: 896 self.call_count, 925 if not self.call_count == 1: 928 self.call_count, [all …]
|
/third_party/python/Lib/test/test_asyncio/ |
D | test_threads.py | 66 self.assertEqual(func.call_count, 10)
|
D | test_transports.py | 36 self.assertEqual(1, writer.call_count)
|
D | test_locks.py | 208 call_count = 0 212 nonlocal call_count 213 call_count += 1 238 self.assertEqual(call_count, 3)
|
/third_party/googletest/googlemock/test/ |
D | gmock-cardinalities_test.cc | 400 bool IsSatisfiedByCallCount(int call_count) const override { in IsSatisfiedByCallCount() 401 return (call_count % 2 == 0); in IsSatisfiedByCallCount()
|
/third_party/python/Lib/sqlite3/test/ |
D | userfunctions.py | 317 self.assertEqual(mock.call_count, 2) 328 self.assertEqual(mock.call_count, 1)
|