/third_party/googletest/googlemock/include/gmock/ |
D | gmock-cardinalities.h | 77 virtual bool IsSatisfiedByCallCount(int call_count) const = 0; 81 virtual bool IsSaturatedByCallCount(int call_count) const = 0; 107 bool IsSatisfiedByCallCount(int call_count) const { in IsSatisfiedByCallCount() argument 108 return impl_->IsSatisfiedByCallCount(call_count); in IsSatisfiedByCallCount() 113 bool IsSaturatedByCallCount(int call_count) const { in IsSaturatedByCallCount() argument 114 return impl_->IsSaturatedByCallCount(call_count); in IsSaturatedByCallCount() 119 bool IsOverSaturatedByCallCount(int call_count) const { in IsOverSaturatedByCallCount() argument 120 return impl_->IsSaturatedByCallCount(call_count) && in IsOverSaturatedByCallCount() 121 !impl_->IsSatisfiedByCallCount(call_count); in IsOverSaturatedByCallCount()
|
D | gmock-spec-builders.h | 814 int call_count() const GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex) { in call_count() function 1182 const int count = call_count(); in GetCurrentAction()
|
/third_party/googletest/googlemock/src/ |
D | gmock-cardinalities.cc | 75 bool IsSatisfiedByCallCount(int call_count) const override { in IsSatisfiedByCallCount() 76 return min_ <= call_count && call_count <= max_; in IsSatisfiedByCallCount() 79 bool IsSaturatedByCallCount(int call_count) const override { in IsSaturatedByCallCount() 80 return call_count >= max_; in IsSaturatedByCallCount()
|
D | gmock-spec-builders.cc | 197 Cardinality::DescribeActualCallCountTo(call_count(), os); in DescribeCallCountTo()
|
/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)
|
D | test_dataclasses.py | 1228 self.assertEqual(factory.call_count, 1) 1230 self.assertEqual(factory.call_count, 2) 1243 self.assertEqual(factory.call_count, 1) 1245 self.assertEqual(factory.call_count, 1) 1247 self.assertEqual(factory.call_count, 2) 2977 self.assertEqual(d.__set_name__.call_count, 0) 2990 self.assertEqual(D.__set_name__.call_count, 1)
|
/third_party/node/deps/v8/src/compiler/ |
D | wasm-inlining.h | 69 int call_count; member 76 if (c1.call_count > c2.call_count) return false; in operator() 77 if (c2.call_count > c1.call_count) return true; in operator()
|
D | wasm-inlining.cc | 113 int call_count = GetCallCount(call); in ReduceCall() local 119 CandidateInfo candidate{call, inlinee_index, call_count, in ReduceCall() 140 candidate.call_count, candidate.wire_byte_size, decision); in Trace() 156 if (candidate.call_count < min_count_for_inlining) { in Finalize()
|
/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/node/test/js-native-api/test_reference_double_free/ |
D | test_reference_double_free.c | 16 size_t* call_count = hint; in NoDeleteDestructor() local 19 if ((*call_count) > 0) abort(); in NoDeleteDestructor() 20 *call_count = ((*call_count) + 1); in NoDeleteDestructor()
|
/third_party/node/deps/v8/tools/testrunner/testproc/ |
D | variant_test.py | 127 load_results, call_count = self._simulate_proc(variants) 130 self.assertEqual(call_count, 3) 140 loaded_tests, call_count = self._simulate_proc(variants) 143 self.assertEqual(call_count, 1)
|
/third_party/node/deps/v8/src/objects/ |
D | feedback-vector.cc | 959 Object call_count = GetFeedbackExtra()->cast<Object>(); in GetCallCount() local 960 CHECK(call_count.IsSmi()); in GetCallCount() 961 uint32_t value = static_cast<uint32_t>(Smi::ToInt(call_count)); in GetCallCount() 968 Object call_count = GetFeedbackExtra()->cast<Object>(); in SetSpeculationMode() local 969 CHECK(call_count.IsSmi()); in SetSpeculationMode() 970 uint32_t count = static_cast<uint32_t>(Smi::ToInt(call_count)); in SetSpeculationMode() 982 Object call_count = GetFeedbackExtra()->cast<Object>(); in GetSpeculationMode() local 983 CHECK(call_count.IsSmi()); in GetSpeculationMode() 984 uint32_t value = static_cast<uint32_t>(Smi::ToInt(call_count)); in GetSpeculationMode() 991 Object call_count = GetFeedbackExtra()->cast<Object>(); in GetCallFeedbackContent() local [all …]
|
/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)
|
D | testmock.py | 63 self.assertEqual(mock.call_count, 0, 251 self.assertEqual(mock.call_count, 0, "call_count not reset") 294 self.assertEqual(mock.call_count, 1, "call_count incorrect") 309 self.assertEqual(mock.call_count, 2, "call_count incorrect") 2204 self.assertEqual(obj.obj_with_bool_func.__bool__.call_count, 0)
|
/third_party/vulkan-loader/tests/ |
D | loader_alloc_callback_tests.cpp | 58 size_t call_count = 0; member in MemoryTracker 80 …if (settings.should_fail_after_set_number_of_calls && call_count == settings.fail_after_calls) ret… in allocate() 81 call_count++; in allocate() 102 …if (size >= original_size && settings.should_fail_after_set_number_of_calls && call_count == setti… in reallocate() 104 call_count++; in reallocate() 175 size_t current_call_count() const noexcept { return call_count; } in current_call_count()
|
/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/googletest/googlemock/test/ |
D | gmock-cardinalities_test.cc | 393 bool IsSatisfiedByCallCount(int call_count) const override { in IsSatisfiedByCallCount() 394 return (call_count % 2 == 0); in IsSatisfiedByCallCount()
|
/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/python/Lib/sqlite3/test/ |
D | userfunctions.py | 317 self.assertEqual(mock.call_count, 2) 328 self.assertEqual(mock.call_count, 1)
|
/third_party/node/doc/api/ |
D | addons.md | 197 call_count(0) { 203 int call_count; 214 data->call_count++; 215 info.GetReturnValue().Set((double)data->call_count);
|
/third_party/mesa3d/src/gallium/drivers/r600/sb/ |
D | sb_bc.h | 453 unsigned call_count:6; member
|