Home
last modified time | relevance | path

Searched refs:call_count (Results 1 – 25 of 46) sorted by relevance

12

/third_party/boost/libs/asio/test/execution/
Dset_done.cpp24 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 …]
Dstart.cpp24 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 …]
Dset_value.cpp24 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 …]
Dbulk_execute.cpp24 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 …]
Dset_error.cpp24 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 …]
Dsubmit.cpp24 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 …]
Dconnect.cpp24 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/
Dcomma.cpp63 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/
Dgmock-cardinalities.h75 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/
Dgmock-cardinalities.cc76 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/
Dattr_function.cpp108 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/
Dtest_script_helper.py48 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/
Dtest_reference_double_free.c15 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/
Dtest_squeezer.py153 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,
Dtest_colorizer.py363 eq(mock_recmain.call_count, 1)
373 eq(mock_recmain.call_count, 2)
Dtest_config.py320 self.assertEqual(m.call_count, len(conf.userCfg))
332 eq(_warn.call_count, 4)
/third_party/grpc/src/core/ext/filters/max_age/
Dmax_age_filter.cc94 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/
Dtestwith.py136 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/
Dtest_callback.py313 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/
Dmock.py226 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/
Dtest_threads.py66 self.assertEqual(func.call_count, 10)
Dtest_transports.py36 self.assertEqual(1, writer.call_count)
Dtest_locks.py208 call_count = 0
212 nonlocal call_count
213 call_count += 1
238 self.assertEqual(call_count, 3)
/third_party/googletest/googlemock/test/
Dgmock-cardinalities_test.cc400 bool IsSatisfiedByCallCount(int call_count) const override { in IsSatisfiedByCallCount()
401 return (call_count % 2 == 0); in IsSatisfiedByCallCount()
/third_party/python/Lib/sqlite3/test/
Duserfunctions.py317 self.assertEqual(mock.call_count, 2)
328 self.assertEqual(mock.call_count, 1)

12