/external/chromium_org/chrome/browser/prerender/ |
prerender_util_unittest.cc | 112 EXPECT_EQ(++num_responses, server_samples->GetCount(0)); 113 EXPECT_EQ( num_mps, server_samples->GetCount(1)); 114 EXPECT_EQ( num_ngx, server_samples->GetCount(2)); 115 EXPECT_EQ( num_pss, server_samples->GetCount(3)); 116 EXPECT_EQ( num_other, server_samples->GetCount(4)); 127 EXPECT_EQ(++num_responses, server_samples->GetCount(0)); 128 EXPECT_EQ(++num_mps, server_samples->GetCount(1)); 129 EXPECT_EQ( num_ngx, server_samples->GetCount(2)); 130 EXPECT_EQ( num_pss, server_samples->GetCount(3)); 131 EXPECT_EQ( num_other, server_samples->GetCount(4)) [all...] |
/external/chromium_org/base/metrics/ |
histogram_delta_serialization_unittest.cc | 38 EXPECT_EQ(1, snapshot->GetCount(1)); 39 EXPECT_EQ(1, snapshot->GetCount(10)); 40 EXPECT_EQ(1, snapshot->GetCount(100)); 41 EXPECT_EQ(1, snapshot->GetCount(1000)); 48 EXPECT_EQ(2, snapshot2->GetCount(1)); 49 EXPECT_EQ(2, snapshot2->GetCount(10)); 50 EXPECT_EQ(2, snapshot2->GetCount(100)); 51 EXPECT_EQ(2, snapshot2->GetCount(1000));
|
sample_map_unittest.cc | 18 EXPECT_EQ(-100, samples.GetCount(1)); 19 EXPECT_EQ(200, samples.GetCount(2)); 39 EXPECT_EQ(300, samples1.GetCount(1)); 40 EXPECT_EQ(300, samples1.GetCount(2)); 41 EXPECT_EQ(100, samples1.GetCount(3)); 42 EXPECT_EQ(200, samples1.GetCount(4)); 48 EXPECT_EQ(100, samples1.GetCount(1)); 49 EXPECT_EQ(100, samples1.GetCount(2)); 50 EXPECT_EQ(100, samples1.GetCount(3)); 51 EXPECT_EQ(0, samples1.GetCount(4)) [all...] |
sparse_histogram_unittest.cc | 56 EXPECT_EQ(1, snapshot1->GetCount(100)); 62 EXPECT_EQ(2, snapshot2->GetCount(100)); 63 EXPECT_EQ(1, snapshot2->GetCount(101)); 83 EXPECT_EQ(2, samples->GetCount(100)); 84 EXPECT_EQ(1, samples->GetCount(200));
|
sample_vector_unittest.cc | 101 EXPECT_EQ(1, samples.GetCount(0)); 102 EXPECT_EQ(2, samples.GetCount(2)); 103 EXPECT_EQ(3, samples.GetCount(65)); 124 EXPECT_EQ(2, samples2.GetCount(1)); 125 EXPECT_EQ(4, samples2.GetCount(5));
|
histogram_samples.h | 27 virtual HistogramBase::Count GetCount(HistogramBase::Sample value) const = 0;
|
/external/chromium_org/chrome/browser/search/ |
most_visited_iframe_source_unittest.cc | 42 EXPECT_EQ(1, samples1->GetCount(0)); 49 EXPECT_EQ(1, samples2->GetCount(1)); 57 EXPECT_EQ(1, samples3->GetCount(5)); 58 EXPECT_EQ(2, samples3->GetCount(1)); 85 EXPECT_EQ(1, samples1->GetCount(0)); 92 EXPECT_EQ(1, samples2->GetCount(1)); 102 EXPECT_EQ(1, samples3->GetCount(5)); 103 EXPECT_EQ(2, samples3->GetCount(1));
|
/external/chromium_org/chrome/browser/spellchecker/ |
spellcheck_host_metrics_unittest.cc | 58 EXPECT_EQ(1, samples->GetCount(0)); 59 EXPECT_EQ(0, samples->GetCount(1)); 70 EXPECT_EQ(0, samples->GetCount(0)); 71 EXPECT_EQ(1, samples->GetCount(1)); 157 EXPECT_EQ(1, samples->GetCount(0)); 158 EXPECT_EQ(0, samples->GetCount(1)); 169 EXPECT_EQ(0, samples->GetCount(0)); 170 EXPECT_EQ(1, samples->GetCount(1));
|
/external/chromium_org/ppapi/thunk/ |
ppb_network_list_api.h | 21 virtual uint32_t GetCount() = 0;
|
ppb_network_list_thunk.cc | 27 uint32_t GetCount(PP_Resource resource) { 28 VLOG(4) << "PPB_NetworkList::GetCount()"; 32 return enter.object()->GetCount(); 87 &GetCount,
|
/external/chromium_org/chrome/browser/policy/cloud/ |
cloud_policy_invalidator_unittest.cc | 147 base::HistogramBase::Count GetCount(MetricPolicyRefresh metric); 370 base::HistogramBase::Count CloudPolicyInvalidatorTest::GetCount( 372 return GetHistogramSamples(kMetricPolicyRefresh)->GetCount(metric) - 373 refresh_samples_->GetCount(metric); 379 return GetHistogramSamples(kMetricPolicyInvalidations)->GetCount(metric) - 380 invalidations_samples_->GetCount(metric); 767 EXPECT_EQ(0, GetCount(METRIC_POLICY_REFRESH_CHANGED)); 768 EXPECT_EQ(0, GetCount(METRIC_POLICY_REFRESH_CHANGED_NO_INVALIDATIONS)); 769 EXPECT_EQ(0, GetCount(METRIC_POLICY_REFRESH_UNCHANGED)); 770 EXPECT_EQ(0, GetCount(METRIC_POLICY_REFRESH_INVALIDATED_CHANGED)) [all...] |
/external/chromium_org/chrome/browser/translate/ |
translate_browser_metrics_unittest.cc | 78 HistogramBase::Count GetCount(HistogramBase::Sample value) { 94 HistogramBase::Count count = samples_->GetCount(value); 97 return count - base_samples_->GetCount(value); 166 EXPECT_EQ(1, recorder.GetCount(ENGLISH)); 176 EXPECT_EQ(1, recorder.GetCount(ENGLISH)); 186 EXPECT_EQ(1, recorder.GetCount(ENGLISH));
|
/external/chromium/chrome/browser/ui/views/tabs/ |
tab_strip_controller.h | 24 virtual int GetCount() const = 0;
|
/external/chromium_org/chrome/browser/extensions/activity_log/ |
uma_policy_browsertest.cc | 90 EXPECT_EQ(3, google_samples->GetCount(1)); 103 EXPECT_EQ(2, cnn_samples->GetCount(1)); 134 EXPECT_EQ(2, google_samples->GetCount(1)); 163 EXPECT_EQ(1, google_samples->GetCount(1)); 199 EXPECT_EQ(1, cnn_samples->GetCount(1)); 275 EXPECT_EQ(1, google_samples->GetCount(1)); 282 EXPECT_EQ(1, cnn_samples->GetCount(1)); 292 EXPECT_EQ(1, google_samples->GetCount(2)); 299 EXPECT_EQ(1, cnn_samples->GetCount(2));
|
/external/chromium_org/net/socket_stream/ |
socket_stream_metrics_unittest.cc | 50 EXPECT_EQ(1, samples->GetCount(SocketStreamMetrics::PROTOCOL_UNKNOWN)); 51 EXPECT_EQ(2, samples->GetCount(SocketStreamMetrics::PROTOCOL_WEBSOCKET)); 53 samples->GetCount(SocketStreamMetrics::PROTOCOL_WEBSOCKET_SECURE)); 85 EXPECT_EQ(1, samples->GetCount(SocketStreamMetrics::ALL_CONNECTIONS)); 86 EXPECT_EQ(2, samples->GetCount(SocketStreamMetrics::TUNNEL_CONNECTION)); 87 EXPECT_EQ(3, samples->GetCount(SocketStreamMetrics::SOCKS_CONNECTION)); 88 EXPECT_EQ(4, samples->GetCount(SocketStreamMetrics::SSL_CONNECTION)); 116 EXPECT_EQ(3, samples->GetCount(SocketStreamMetrics::WIRE_PROTOCOL_WEBSOCKET)); 117 EXPECT_EQ(7, samples->GetCount(SocketStreamMetrics::WIRE_PROTOCOL_SPDY));
|
/external/chromium_org/ppapi/cpp/ |
network_list.h | 29 uint32_t GetCount() const;
|
network_list.cc | 36 uint32_t NetworkList::GetCount() const { 39 return get_interface<PPB_NetworkList_1_0>()->GetCount(pp_resource());
|
/external/chromium_org/components/translate/common/ |
translate_metrics_unittest.cc | 118 HistogramBase::Count GetCount(HistogramBase::Sample value) { 134 HistogramBase::Count count = samples_->GetCount(value); 137 return count - base_samples_->GetCount(value); 265 EXPECT_EQ(0, recorder.GetCount(kTrue)); 266 EXPECT_EQ(0, recorder.GetCount(kFalse)); 268 EXPECT_EQ(1, recorder.GetCount(kTrue)); 269 EXPECT_EQ(0, recorder.GetCount(kFalse)); 271 EXPECT_EQ(1, recorder.GetCount(kTrue)); 272 EXPECT_EQ(1, recorder.GetCount(kFalse));
|
/external/chromium_org/components/precache/core/ |
precache_database_unittest.cc | 112 EXPECT_EQ(1, delta_samples->GetCount(sample)); 357 EXPECT_EQ(1, downloaded_precache_motivated_bytes->GetCount(kSize1)); 358 EXPECT_EQ(2, downloaded_precache_motivated_bytes->GetCount(kSize2)); 359 EXPECT_EQ(1, downloaded_precache_motivated_bytes->GetCount(kSize3)); 360 EXPECT_EQ(1, downloaded_precache_motivated_bytes->GetCount(kSize4)); 365 EXPECT_EQ(2, downloaded_non_precache_bytes->GetCount(kSize2)); 366 EXPECT_EQ(1, downloaded_non_precache_bytes->GetCount(kSize5)); 371 EXPECT_EQ(1, downloaded_non_precache_bytes_cellular->GetCount(kSize2)); 372 EXPECT_EQ(1, downloaded_non_precache_bytes_cellular->GetCount(kSize5)); 377 EXPECT_EQ(1, saved_bytes->GetCount(kSize1)) [all...] |
/external/chromium_org/chrome/browser/component_updater/test/ |
component_updater_ping_manager_unittest.cc | 80 EXPECT_EQ(1, interceptor->GetCount()) << interceptor->GetRequestsAsString(); 97 EXPECT_EQ(1, interceptor->GetCount()) << interceptor->GetRequestsAsString(); 124 EXPECT_EQ(1, interceptor->GetCount()) << interceptor->GetRequestsAsString(); 162 EXPECT_EQ(1, interceptor->GetCount()) << interceptor->GetRequestsAsString();
|
/external/chromium_org/chrome/browser/ui/views/tabs/ |
tab_strip_controller.h | 34 virtual int GetCount() const = 0;
|
/external/chromium_org/ppapi/c/ |
ppb_network_list.h | 103 uint32_t (*GetCount)(PP_Resource resource);
|
/external/chromium_org/ppapi/proxy/ |
network_list_resource.h | 34 virtual uint32_t GetCount() OVERRIDE;
|
/external/chromium_org/ppapi/api/ |
ppb_network_list.idl | 86 uint32_t GetCount([in] PP_Resource resource);
|
/external/chromium_org/sandbox/win/src/ |
restricted_token_unittest.cc | 192 for (unsigned int i = 0; i < sids.GetCount(); i++) { 220 for (unsigned int i = 0; i < sids.GetCount(); i++) { 252 for (unsigned int i = 0; i < sids.GetCount(); i++) { 287 for (unsigned int i = 0; i < sids.GetCount(); ++i) { 325 for (unsigned int i = 0; i < sids.GetCount(); ++i) { 348 ASSERT_EQ(0, privileges.GetCount()); 374 ASSERT_EQ(1, privileges.GetCount()); 376 for (unsigned int i = 0; i < privileges.GetCount(); ++i) { 401 for (unsigned int i = 0; i < privileges.GetCount(); ++i) { 424 ASSERT_EQ(count, atl_groups.GetCount()); [all...] |