/external/chromium_org/chrome/browser/prerender/ |
D | prerender_util_unittest.cc | 112 EXPECT_EQ(++num_responses, server_samples->GetCount(0)); in TEST_F() 113 EXPECT_EQ( num_mps, server_samples->GetCount(1)); in TEST_F() 114 EXPECT_EQ( num_ngx, server_samples->GetCount(2)); in TEST_F() 115 EXPECT_EQ( num_pss, server_samples->GetCount(3)); in TEST_F() 116 EXPECT_EQ( num_other, server_samples->GetCount(4)); in TEST_F() 127 EXPECT_EQ(++num_responses, server_samples->GetCount(0)); in TEST_F() 128 EXPECT_EQ(++num_mps, server_samples->GetCount(1)); in TEST_F() 129 EXPECT_EQ( num_ngx, server_samples->GetCount(2)); in TEST_F() 130 EXPECT_EQ( num_pss, server_samples->GetCount(3)); in TEST_F() 131 EXPECT_EQ( num_other, server_samples->GetCount(4)); in TEST_F() [all …]
|
/external/chromium_org/base/metrics/ |
D | histogram_delta_serialization_unittest.cc | 38 EXPECT_EQ(1, snapshot->GetCount(1)); in TEST() 39 EXPECT_EQ(1, snapshot->GetCount(10)); in TEST() 40 EXPECT_EQ(1, snapshot->GetCount(100)); in TEST() 41 EXPECT_EQ(1, snapshot->GetCount(1000)); in TEST() 48 EXPECT_EQ(2, snapshot2->GetCount(1)); in TEST() 49 EXPECT_EQ(2, snapshot2->GetCount(10)); in TEST() 50 EXPECT_EQ(2, snapshot2->GetCount(100)); in TEST() 51 EXPECT_EQ(2, snapshot2->GetCount(1000)); in TEST()
|
D | sample_map_unittest.cc | 18 EXPECT_EQ(-100, samples.GetCount(1)); in TEST() 19 EXPECT_EQ(200, samples.GetCount(2)); in TEST() 39 EXPECT_EQ(300, samples1.GetCount(1)); in TEST() 40 EXPECT_EQ(300, samples1.GetCount(2)); in TEST() 41 EXPECT_EQ(100, samples1.GetCount(3)); in TEST() 42 EXPECT_EQ(200, samples1.GetCount(4)); in TEST() 48 EXPECT_EQ(100, samples1.GetCount(1)); in TEST() 49 EXPECT_EQ(100, samples1.GetCount(2)); in TEST() 50 EXPECT_EQ(100, samples1.GetCount(3)); in TEST() 51 EXPECT_EQ(0, samples1.GetCount(4)); in TEST()
|
D | sparse_histogram_unittest.cc | 56 EXPECT_EQ(1, snapshot1->GetCount(100)); in TEST_F() 62 EXPECT_EQ(2, snapshot2->GetCount(100)); in TEST_F() 63 EXPECT_EQ(1, snapshot2->GetCount(101)); in TEST_F() 83 EXPECT_EQ(2, samples->GetCount(100)); in TEST_F() 84 EXPECT_EQ(1, samples->GetCount(200)); in TEST_F()
|
D | sample_vector_unittest.cc | 101 EXPECT_EQ(1, samples.GetCount(0)); in TEST() 102 EXPECT_EQ(2, samples.GetCount(2)); in TEST() 103 EXPECT_EQ(3, samples.GetCount(65)); in TEST() 124 EXPECT_EQ(2, samples2.GetCount(1)); in TEST() 125 EXPECT_EQ(4, samples2.GetCount(5)); in TEST()
|
/external/chromium_org/chrome/browser/search/ |
D | most_visited_iframe_source_unittest.cc | 42 EXPECT_EQ(1, samples1->GetCount(0)); in TEST_F() 49 EXPECT_EQ(1, samples2->GetCount(1)); in TEST_F() 57 EXPECT_EQ(1, samples3->GetCount(5)); in TEST_F() 58 EXPECT_EQ(2, samples3->GetCount(1)); in TEST_F() 85 EXPECT_EQ(1, samples1->GetCount(0)); in TEST_F() 92 EXPECT_EQ(1, samples2->GetCount(1)); in TEST_F() 102 EXPECT_EQ(1, samples3->GetCount(5)); in TEST_F() 103 EXPECT_EQ(2, samples3->GetCount(1)); in TEST_F()
|
/external/chromium_org/chrome/browser/policy/cloud/ |
D | cloud_policy_invalidator_unittest.cc | 147 base::HistogramBase::Count GetCount(MetricPolicyRefresh metric); 370 base::HistogramBase::Count CloudPolicyInvalidatorTest::GetCount( in GetCount() function in policy::CloudPolicyInvalidatorTest 372 return GetHistogramSamples(kMetricPolicyRefresh)->GetCount(metric) - in GetCount() 373 refresh_samples_->GetCount(metric); in GetCount() 379 return GetHistogramSamples(kMetricPolicyInvalidations)->GetCount(metric) - in GetInvalidationCount() 380 invalidations_samples_->GetCount(metric); in GetInvalidationCount() 767 EXPECT_EQ(0, GetCount(METRIC_POLICY_REFRESH_CHANGED)); in TEST_F() 768 EXPECT_EQ(0, GetCount(METRIC_POLICY_REFRESH_CHANGED_NO_INVALIDATIONS)); in TEST_F() 769 EXPECT_EQ(0, GetCount(METRIC_POLICY_REFRESH_UNCHANGED)); in TEST_F() 770 EXPECT_EQ(0, GetCount(METRIC_POLICY_REFRESH_INVALIDATED_CHANGED)); in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/spellchecker/ |
D | spellcheck_host_metrics_unittest.cc | 58 EXPECT_EQ(1, samples->GetCount(0)); in TEST_F() 59 EXPECT_EQ(0, samples->GetCount(1)); in TEST_F() 70 EXPECT_EQ(0, samples->GetCount(0)); in TEST_F() 71 EXPECT_EQ(1, samples->GetCount(1)); in TEST_F() 157 EXPECT_EQ(1, samples->GetCount(0)); in TEST_F() 158 EXPECT_EQ(0, samples->GetCount(1)); in TEST_F() 169 EXPECT_EQ(0, samples->GetCount(0)); in TEST_F() 170 EXPECT_EQ(1, samples->GetCount(1)); in TEST_F()
|
/external/chromium_org/net/socket_stream/ |
D | socket_stream_metrics_unittest.cc | 50 EXPECT_EQ(1, samples->GetCount(SocketStreamMetrics::PROTOCOL_UNKNOWN)); in TEST() 51 EXPECT_EQ(2, samples->GetCount(SocketStreamMetrics::PROTOCOL_WEBSOCKET)); in TEST() 53 samples->GetCount(SocketStreamMetrics::PROTOCOL_WEBSOCKET_SECURE)); in TEST() 85 EXPECT_EQ(1, samples->GetCount(SocketStreamMetrics::ALL_CONNECTIONS)); in TEST() 86 EXPECT_EQ(2, samples->GetCount(SocketStreamMetrics::TUNNEL_CONNECTION)); in TEST() 87 EXPECT_EQ(3, samples->GetCount(SocketStreamMetrics::SOCKS_CONNECTION)); in TEST() 88 EXPECT_EQ(4, samples->GetCount(SocketStreamMetrics::SSL_CONNECTION)); in TEST() 116 EXPECT_EQ(3, samples->GetCount(SocketStreamMetrics::WIRE_PROTOCOL_WEBSOCKET)); in TEST() 117 EXPECT_EQ(7, samples->GetCount(SocketStreamMetrics::WIRE_PROTOCOL_SPDY)); in TEST()
|
/external/chromium_org/chrome/browser/ui/cocoa/browser/ |
D | password_generation_bubble_controller_unittest.mm | 118 samples->GetCount(autofill::password_generation::IGNORE_FEATURE)); 121 samples->GetCount(autofill::password_generation::ACCEPT_AFTER_EDITING)); 124 samples->GetCount( 137 samples->GetCount(autofill::password_generation::IGNORE_FEATURE)); 140 samples->GetCount(autofill::password_generation::ACCEPT_AFTER_EDITING)); 143 samples->GetCount( 155 samples->GetCount(autofill::password_generation::IGNORE_FEATURE)); 158 samples->GetCount(autofill::password_generation::ACCEPT_AFTER_EDITING)); 161 samples->GetCount(
|
/external/chromium_org/components/precache/core/ |
D | precache_database_unittest.cc | 112 EXPECT_EQ(1, delta_samples->GetCount(sample)); in ExpectNewSample() 357 EXPECT_EQ(1, downloaded_precache_motivated_bytes->GetCount(kSize1)); in TEST_F() 358 EXPECT_EQ(2, downloaded_precache_motivated_bytes->GetCount(kSize2)); in TEST_F() 359 EXPECT_EQ(1, downloaded_precache_motivated_bytes->GetCount(kSize3)); in TEST_F() 360 EXPECT_EQ(1, downloaded_precache_motivated_bytes->GetCount(kSize4)); in TEST_F() 365 EXPECT_EQ(2, downloaded_non_precache_bytes->GetCount(kSize2)); in TEST_F() 366 EXPECT_EQ(1, downloaded_non_precache_bytes->GetCount(kSize5)); in TEST_F() 371 EXPECT_EQ(1, downloaded_non_precache_bytes_cellular->GetCount(kSize2)); in TEST_F() 372 EXPECT_EQ(1, downloaded_non_precache_bytes_cellular->GetCount(kSize5)); in TEST_F() 377 EXPECT_EQ(1, saved_bytes->GetCount(kSize1)); in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/extensions/activity_log/ |
D | uma_policy_browsertest.cc | 90 EXPECT_EQ(3, google_samples->GetCount(1)); in IN_PROC_BROWSER_TEST_F() 103 EXPECT_EQ(2, cnn_samples->GetCount(1)); in IN_PROC_BROWSER_TEST_F() 134 EXPECT_EQ(2, google_samples->GetCount(1)); in IN_PROC_BROWSER_TEST_F() 163 EXPECT_EQ(1, google_samples->GetCount(1)); in IN_PROC_BROWSER_TEST_F() 199 EXPECT_EQ(1, cnn_samples->GetCount(1)); in IN_PROC_BROWSER_TEST_F() 275 EXPECT_EQ(1, google_samples->GetCount(1)); in IN_PROC_BROWSER_TEST_F() 282 EXPECT_EQ(1, cnn_samples->GetCount(1)); in IN_PROC_BROWSER_TEST_F() 292 EXPECT_EQ(1, google_samples->GetCount(2)); in IN_PROC_BROWSER_TEST_F() 299 EXPECT_EQ(1, cnn_samples->GetCount(2)); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/components/translate/common/ |
D | translate_metrics_unittest.cc | 118 HistogramBase::Count GetCount(HistogramBase::Sample value) { in GetCount() function in __anon2130be160111::MetricsRecorder 134 HistogramBase::Count count = samples_->GetCount(value); in GetCountWithoutSnapshot() 137 return count - base_samples_->GetCount(value); in GetCountWithoutSnapshot() 265 EXPECT_EQ(0, recorder.GetCount(kTrue)); in TEST() 266 EXPECT_EQ(0, recorder.GetCount(kFalse)); in TEST() 268 EXPECT_EQ(1, recorder.GetCount(kTrue)); in TEST() 269 EXPECT_EQ(0, recorder.GetCount(kFalse)); in TEST() 271 EXPECT_EQ(1, recorder.GetCount(kTrue)); in TEST() 272 EXPECT_EQ(1, recorder.GetCount(kFalse)); in TEST()
|
/external/chromium_org/chrome/browser/translate/ |
D | translate_browser_metrics_unittest.cc | 78 HistogramBase::Count GetCount(HistogramBase::Sample value) { in GetCount() function in __anonc973524c0111::MetricsRecorder 94 HistogramBase::Count count = samples_->GetCount(value); in GetCountWithoutSnapshot() 97 return count - base_samples_->GetCount(value); in GetCountWithoutSnapshot() 166 EXPECT_EQ(1, recorder.GetCount(ENGLISH)); in TEST() 176 EXPECT_EQ(1, recorder.GetCount(ENGLISH)); in TEST() 186 EXPECT_EQ(1, recorder.GetCount(ENGLISH)); in TEST()
|
/external/chromium_org/chrome/browser/ |
D | chrome_browser_application_mac_unittest.mm | 82 EXPECT_EQ(4, samples->GetCount(0)); 83 EXPECT_EQ(1, samples->GetCount(1)); 84 EXPECT_EQ(3, samples->GetCount(2)); 85 EXPECT_EQ(2, samples->GetCount(3)); 91 EXPECT_EQ(4, samples->GetCount(kUnknownNSException));
|
/external/chromium_org/sandbox/win/src/ |
D | restricted_token_unittest.cc | 192 for (unsigned int i = 0; i < sids.GetCount(); i++) { in TEST() 220 for (unsigned int i = 0; i < sids.GetCount(); i++) { in TEST() 252 for (unsigned int i = 0; i < sids.GetCount(); i++) { in TEST() 287 for (unsigned int i = 0; i < sids.GetCount(); ++i) { in TEST() 325 for (unsigned int i = 0; i < sids.GetCount(); ++i) { in TEST() 348 ASSERT_EQ(0, privileges.GetCount()); in TEST() 374 ASSERT_EQ(1, privileges.GetCount()); in TEST() 376 for (unsigned int i = 0; i < privileges.GetCount(); ++i) { in TEST() 401 for (unsigned int i = 0; i < privileges.GetCount(); ++i) { in TEST() 424 ASSERT_EQ(count, atl_groups.GetCount()); in CheckRestrictingSid() [all …]
|
/external/chromium_org/ppapi/thunk/ |
D | ppb_network_list_thunk.cc | 27 uint32_t GetCount(PP_Resource resource) { in GetCount() function 32 return enter.object()->GetCount(); in GetCount() 87 &GetCount,
|
D | ppb_network_list_api.h | 21 virtual uint32_t GetCount() = 0;
|
/external/chromium_org/chrome/browser/component_updater/test/ |
D | component_updater_ping_manager_unittest.cc | 80 EXPECT_EQ(1, interceptor->GetCount()) << interceptor->GetRequestsAsString(); in TEST_F() 97 EXPECT_EQ(1, interceptor->GetCount()) << interceptor->GetRequestsAsString(); in TEST_F() 124 EXPECT_EQ(1, interceptor->GetCount()) << interceptor->GetRequestsAsString(); in TEST_F() 162 EXPECT_EQ(1, interceptor->GetCount()) << interceptor->GetRequestsAsString(); in TEST_F()
|
D | component_updater_service_unittest.cc | 307 EXPECT_EQ(2, post_interceptor_->GetCount()) in TEST_F() 347 EXPECT_EQ(2, post_interceptor_->GetCount()) in TEST_F() 448 EXPECT_EQ(3, post_interceptor_->GetCount()) in TEST_F() 526 EXPECT_EQ(1, post_interceptor_->GetCount()) in TEST_F() 621 EXPECT_EQ(1, post_interceptor_->GetCount()) in TEST_F() 646 EXPECT_EQ(2, post_interceptor_->GetCount()) in TEST_F() 720 EXPECT_EQ(1, post_interceptor_->GetCount()) in TEST_F() 764 EXPECT_EQ(1, post_interceptor_->GetCount()) in TEST_F() 923 EXPECT_EQ(1, post_interceptor_->GetCount()) in TEST_F() 975 EXPECT_EQ(5, post_interceptor_->GetCount()) in TEST_F() [all …]
|
/external/chromium_org/ppapi/cpp/ |
D | network_list.cc | 36 uint32_t NetworkList::GetCount() const { in GetCount() function in pp::NetworkList 39 return get_interface<PPB_NetworkList_1_0>()->GetCount(pp_resource()); in GetCount()
|
D | network_list.h | 29 uint32_t GetCount() const;
|
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/ |
D | Antlr.Runtime.Tools.pas | 133 function GetCount: Integer; 180 property Count: Integer read GetCount write SetCount; 191 function GetCount: Integer; 206 property Count: Integer read GetCount; 222 function GetCount: Integer; 294 function GetCount: Integer; 465 InsertRange(GetCount, List); 473 function TList<T>.GetCount: Integer; in GetCount() function 626 function TDictionary<TKey, TValue>.GetCount: Integer; in GetCount() function
|
D | Antlr.Runtime.Collections.pas | 106 function GetCount: Integer; in GetCount() function 222 function THashList<TKey, TValue>.GetCount: Integer; in THashList() function 316 Result := GetItem(GetCount - 1); 323 I := GetCount - 1;
|
/external/chromium_org/chrome/browser/history/ |
D | most_visited_tiles_experiment_unittest.cc | 104 previous_metrics_count_[state] = samples->GetCount(state); in SetUp() 120 samples->GetCount(state)); in ValidateMetrics() 122 EXPECT_EQ(previous_metrics_count_[state], samples->GetCount(state)); in ValidateMetrics()
|