Home
last modified time | relevance | path

Searched refs:call_count (Results 1 – 25 of 47) 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.h73 virtual bool IsSatisfiedByCallCount(int call_count) const = 0;
76 virtual bool IsSaturatedByCallCount(int call_count) const = 0;
102 bool IsSatisfiedByCallCount(int call_count) const { in IsSatisfiedByCallCount() argument
103 return impl_->IsSatisfiedByCallCount(call_count); in IsSatisfiedByCallCount()
107 bool IsSaturatedByCallCount(int call_count) const { in IsSaturatedByCallCount() argument
108 return impl_->IsSaturatedByCallCount(call_count); in IsSaturatedByCallCount()
113 bool IsOverSaturatedByCallCount(int call_count) const { in IsOverSaturatedByCallCount() argument
114 return impl_->IsSaturatedByCallCount(call_count) && in IsOverSaturatedByCallCount()
115 !impl_->IsSatisfiedByCallCount(call_count); in IsOverSaturatedByCallCount()
/third_party/googletest/googlemock/src/
Dgmock-cardinalities.cc76 virtual bool IsSatisfiedByCallCount(int call_count) const { in IsSatisfiedByCallCount()
77 return min_ <= call_count && call_count <= max_; in IsSatisfiedByCallCount()
80 virtual bool IsSaturatedByCallCount(int call_count) const { 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/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/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/python/Lib/idlelib/idle_test/
Dtest_squeezer.py154 self.assertEqual(orig_write.call_count, 1)
168 self.assertEqual(orig_write.call_count, 1)
183 self.assertEqual(orig_write.call_count, 1)
193 self.assertEqual(orig_write.call_count, 0)
341 self.assertEqual(MockHovertip.call_count, 1)
377 self.assertEqual(squeezer.expandingbuttons.remove.call_count, 1)
436 self.assertEqual(expandingbutton.clipboard_clear.call_count, 1)
437 self.assertEqual(expandingbutton.clipboard_append.call_count, 1)
452 self.assertEqual(mock_view_text.call_count, 1)
468 self.assertEqual(mock_menu.add_command.call_count,
Dtest_colorizer.py339 eq(mock_recmain.call_count, 1)
349 eq(mock_recmain.call_count, 2)
/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/uboot/u-boot-2020.01/lib/
Dtrace.c21 u64 call_count; /* Total number of tracked function calls */ member
152 hdr->call_count++; in __cyg_profile_func_enter()
219 stats->call_count = calls; in trace_list_functions()
299 print_grouped_ull(hdr->call_count, 10); in trace_print_stats()
/third_party/uboot/u-boot-2020.01/tools/
Dproftool.c33 unsigned long call_count; member
57 int call_count; variable
219 call_count = count; in read_calls()
502 for (i = 0, call = call_list; i < call_count; i++, call++) { in make_ftrace()
/third_party/uboot/u-boot-2020.01/include/
Dtrace.h36 uint32_t call_count; /* Number of times called */ member
/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/python/Lib/test/test_asyncio/
Dtest_threads.py66 self.assertEqual(func.call_count, 10)
Dtest_transports.py36 self.assertEqual(1, writer.call_count)
/third_party/python/Lib/unittest/
Dmock.py222 funcopy.call_count = 0
545 call_count = _delegating_property('call_count') variable in NonCallableMock
583 self.call_count = 0
863 if self.call_count != 0:
866 self.call_count,
873 if self.call_count == 0:
881 if not self.call_count == 1:
884 self.call_count,
913 if not self.call_count == 1:
916 self.call_count,
[all …]
/third_party/googletest/googlemock/test/
Dgmock-cardinalities_test.cc399 virtual bool IsSatisfiedByCallCount(int call_count) const { in IsSatisfiedByCallCount()
400 return (call_count % 2 == 0); in IsSatisfiedByCallCount()
/third_party/python/Lib/sqlite3/test/
Duserfunctions.py292 self.assertEqual(mock.call_count, 2)
303 self.assertEqual(mock.call_count, 1)

12