/external/webrtc/webrtc/base/ |
D | bind_unittest.cc | 23 void NullaryVoid() { ++call_count; } in NullaryVoid() 24 int NullaryInt() { ++call_count; return 1; } in NullaryInt() 25 int NullaryConst() const { ++call_count; return 2; } in NullaryConst() 26 void UnaryVoid(int dummy) { ++call_count; } in UnaryVoid() 27 template <class T> T Identity(T value) { ++call_count; return value; } in Identity() 29 ++call_count; in UnaryByPointer() 33 ++call_count; in UnaryByRef() 36 int Multiply(int a, int b) const { ++call_count; return a * b; } in Multiply() 41 mutable int call_count; member 121 EXPECT_EQ(0, object.call_count); in TEST() [all …]
|
/external/google-breakpad/src/testing/include/gmock/ |
D | gmock-cardinalities.h | 69 virtual bool IsSatisfiedByCallCount(int call_count) const = 0; 72 virtual bool IsSaturatedByCallCount(int call_count) const = 0; 98 bool IsSatisfiedByCallCount(int call_count) const { in IsSatisfiedByCallCount() argument 99 return impl_->IsSatisfiedByCallCount(call_count); in IsSatisfiedByCallCount() 103 bool IsSaturatedByCallCount(int call_count) const { in IsSaturatedByCallCount() argument 104 return impl_->IsSaturatedByCallCount(call_count); in IsSaturatedByCallCount() 109 bool IsOverSaturatedByCallCount(int call_count) const { in IsOverSaturatedByCallCount() argument 110 return impl_->IsSaturatedByCallCount(call_count) && in IsOverSaturatedByCallCount() 111 !impl_->IsSatisfiedByCallCount(call_count); in IsOverSaturatedByCallCount()
|
/external/gmock/include/gmock/ |
D | gmock-cardinalities.h | 69 virtual bool IsSatisfiedByCallCount(int call_count) const = 0; 72 virtual bool IsSaturatedByCallCount(int call_count) const = 0; 98 bool IsSatisfiedByCallCount(int call_count) const { in IsSatisfiedByCallCount() argument 99 return impl_->IsSatisfiedByCallCount(call_count); in IsSatisfiedByCallCount() 103 bool IsSaturatedByCallCount(int call_count) const { in IsSaturatedByCallCount() argument 104 return impl_->IsSaturatedByCallCount(call_count); in IsSaturatedByCallCount() 109 bool IsOverSaturatedByCallCount(int call_count) const { in IsOverSaturatedByCallCount() argument 110 return impl_->IsSaturatedByCallCount(call_count) && in IsOverSaturatedByCallCount() 111 !impl_->IsSatisfiedByCallCount(call_count); in IsOverSaturatedByCallCount()
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/scripts/ |
D | oauth2l_test.py | 83 self.assertEqual(1, mock_credentials.call_count) 92 self.assertEqual(1, mock_credentials.call_count) 101 self.assertEqual(1, mock_credentials.call_count) 115 self.assertEqual(1, mock_credentials.call_count) 130 self.assertEqual(1, mock_credentials.call_count) 141 self.assertEqual(1, mock_credentials.call_count) 178 self.assertEqual(1, mock_fetch.call_count) 181 self.assertEqual(1, mock_get_scopes.call_count) 198 self.assertEqual(1, mock_fetch.call_count) 199 self.assertEqual(1, mock_validate.call_count) [all …]
|
/external/chromium-trace/catapult/dashboard/dashboard/ |
D | issue_tracker_service_test.py | 22 self.assertEqual(1, service._MakeCommentRequest.call_count) 38 self.assertEqual(1, service._MakeCommentRequest.call_count) 54 self.assertEqual(1, service._MakeCommentRequest.call_count) 70 self.assertEqual(1, service._ExecuteRequest.call_count) 71 self.assertEqual(1, mock_logging_error.call_count) 77 self.assertEqual(1, service._ExecuteRequest.call_count) 84 self.assertEqual(1, service._ExecuteRequest.call_count) 112 self.assertEqual(2, service._ExecuteRequest.call_count) 124 self.assertEqual(1, service._ExecuteRequest.call_count)
|
D | utils_test.py | 221 self.assertEqual(1, mock_logging_error.call_count) 248 self.assertEqual(1, mock_logging_error.call_count) 255 self.assertEqual(1, mock_logging_error.call_count)
|
D | auto_bisect_test.py | 203 self.assertEqual(0, mock_tick.call_count) 215 self.assertEqual(0, mock_tick.call_count) 226 self.assertEqual(1, mock_perform_bisect.call_count)
|
D | update_bug_with_results_test.py | 250 self.assertEqual(2, mock_logging_error.call_count) 443 self.assertEqual(0, mock_logging_error.call_count) 451 self.assertEqual(0, mock_log.call_count)
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome_inspector/ |
D | memory_backend_unittest.py | 30 self.assertEqual(1, mock_method.call_count) 49 self.assertEqual(1, mock_method.call_count) 79 self.assertEqual(1, response_handler.call_count) 83 self.assertEqual(2, response_handler.call_count) 100 self.assertEqual(1, response_handler.call_count) 119 self.assertEqual(1, response_handler.call_count) 124 self.assertEqual(2, response_handler.call_count) 142 self.assertEqual(1, response_handler.call_count)
|
/external/libbrillo/brillo/streams/ |
D | fake_stream_unittest.cc | 238 int call_count = 0; in TEST_F() local 239 auto callback = [&call_count](Stream::AccessMode mode) { in TEST_F() 240 call_count++; in TEST_F() 247 EXPECT_EQ(1, call_count); in TEST_F() 253 EXPECT_EQ(2, call_count); in TEST_F() 263 EXPECT_EQ(3, call_count); in TEST_F() 393 int call_count = 0; in TEST_F() local 394 auto callback = [&call_count](Stream::AccessMode mode) { in TEST_F() 395 call_count++; in TEST_F() 402 EXPECT_EQ(1, call_count); in TEST_F() [all …]
|
/external/gmock/src/ |
D | gmock-cardinalities.cc | 77 virtual bool IsSatisfiedByCallCount(int call_count) const { in IsSatisfiedByCallCount() 78 return min_ <= call_count && call_count <= max_; in IsSatisfiedByCallCount() 81 virtual bool IsSaturatedByCallCount(int call_count) const { in IsSaturatedByCallCount() 82 return call_count >= max_; in IsSaturatedByCallCount()
|
/external/google-breakpad/src/testing/src/ |
D | gmock-cardinalities.cc | 77 virtual bool IsSatisfiedByCallCount(int call_count) const { in IsSatisfiedByCallCount() 78 return min_ <= call_count && call_count <= max_; in IsSatisfiedByCallCount() 81 virtual bool IsSaturatedByCallCount(int call_count) const { in IsSaturatedByCallCount() 82 return call_count >= max_; in IsSaturatedByCallCount()
|
/external/chromium-trace/catapult/dashboard/dashboard/models/ |
D | internal_only_model_test.py | 57 self.assertEqual(0, mock_create_callback.call_count) 60 self.assertEqual(1, mock_create_callback.call_count) 62 self.assertEqual(2, mock_create_callback.call_count) 65 self.assertEqual(2, mock_create_callback.call_count)
|
/external/autotest/scheduler/ |
D | scheduler_lib_unittest.py | 45 connection_manager.open_connection.call_count == 0) 64 database_connection._DjangoBackend.execute.call_count == 2) 85 readonly_connection.set_globally_disabled.call_count == 0) 87 setup_django_environment.enable_autocommit.call_count == 0)
|
D | drone_utility.py | 526 call_count = {} 528 call_count.setdefault(call._method, 0) 529 call_count[call._method] += 1 531 for method, count in call_count.iteritems())
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/util/ |
D | binary_manager_unittest.py | 37 self.assertEqual(2, base_config_mock.call_count) 83 self.assertEqual(2, base_config_mock.call_count) 107 self.assertEqual(2, base_config_mock.call_count)
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/ |
D | batch_test.py | 129 self.assertEqual(1, mock_request.call_count) 175 self.assertEqual(1, mock_request.call_count) 238 self.assertEqual(2, mock_request.call_count) 511 self.assertEqual(len(test_requests), global_callback.call_count)
|
D | transfer_test.py | 103 self.assertEqual(1, make_request.call_count) 129 self.assertEqual(1, make_request.call_count) 179 self.assertEqual(2, make_request.call_count)
|
D | credentials_lib_test.py | 57 self.assertEqual(3, opener_mock.call_count)
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/dynamodb2/ |
D | test_table.py | 2127 self.assertEqual(mock_batch.call_count, 0) 2132 self.assertEqual(mock_batch.call_count, 1) 2137 self.assertEqual(mock_batch.call_count, 2) 2588 self.assertEqual(mock_query.call_count, 1) 2611 self.assertEqual(mock_query_2.call_count, 1) 2644 self.assertEqual(mock_query.call_count, 1) 2679 self.assertEqual(mock_scan.call_count, 1) 2702 self.assertEqual(mock_scan_2.call_count, 1) 2734 self.assertEqual(mock_query.call_count, 1) 2797 self.assertEqual(mock_query.call_count, 1) [all …]
|
/external/v8/src/ |
D | type-feedback-vector.cc | 465 Object* call_count = GetFeedbackExtra(); in ExtractCallCount() local 466 if (call_count->IsSmi()) { in ExtractCallCount() 467 int value = Smi::cast(call_count)->value() / 2; in ExtractCallCount() 500 void CallICNexus::ConfigureMegamorphic(int call_count) { in ConfigureMegamorphic() argument 503 SetFeedbackExtra(Smi::FromInt(call_count * kCallCountIncrement), in ConfigureMegamorphic()
|
/external/v8/test/cctest/ |
D | test-thread-termination.cc | 208 int call_count = 0; variable 212 if (++call_count == 10) { in TerminateOrReturnObject() 269 call_count = 0; in TEST() 275 call_count = 0; in TEST()
|
/external/gmock/test/ |
D | gmock-cardinalities_test.cc | 400 virtual bool IsSatisfiedByCallCount(int call_count) const { in IsSatisfiedByCallCount() 401 return (call_count % 2 == 0); in IsSatisfiedByCallCount()
|
/external/google-breakpad/src/testing/test/ |
D | gmock-cardinalities_test.cc | 400 virtual bool IsSatisfiedByCallCount(int call_count) const { in IsSatisfiedByCallCount() 401 return (call_count % 2 == 0); in IsSatisfiedByCallCount()
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/dynamodb/ |
D | test_layer2.py | 71 self.assertEqual(self.api.describe_table.call_count, 0)
|