counts 114 base/metrics/sample_vector.cc SampleVectorIterator::SampleVectorIterator(const vector<Count>* counts, counts 116 base/metrics/sample_vector.cc : counts_(counts), counts 59 base/metrics/sample_vector.h SampleVectorIterator(const std::vector<HistogramBase::AtomicCount>* counts, counts 182 base/metrics/sample_vector_unittest.cc vector<HistogramBase::Count> counts(3); counts 183 base/metrics/sample_vector_unittest.cc counts[0] = 1; counts 184 base/metrics/sample_vector_unittest.cc counts[1] = 0; // Iterator will bypass this empty bucket. counts 185 base/metrics/sample_vector_unittest.cc counts[2] = 2; counts 188 base/metrics/sample_vector_unittest.cc SampleVectorIterator it(&counts, &ranges); counts 19 chrome/browser/metrics/metrics_service_android.cc void IncrementListValue(base::ListValue* counts, int index) { counts 21 chrome/browser/metrics/metrics_service_android.cc counts->GetInteger(index, ¤t_count); counts 22 chrome/browser/metrics/metrics_service_android.cc counts->Set(index, new base::FundamentalValue(current_count + 1)); counts 55 chrome/browser/profiles/profile_metrics.cc bool CountProfileInformation(ProfileManager* manager, ProfileCounts* counts) { counts 58 chrome/browser/profiles/profile_metrics.cc counts->total = number_of_profiles; counts 70 chrome/browser/profiles/profile_metrics.cc counts->unused++; counts 73 chrome/browser/profiles/profile_metrics.cc counts->managed++; counts 75 chrome/browser/profiles/profile_metrics.cc counts->signedin++; counts 116 chrome/browser/profiles/profile_metrics.cc ProfileCounts counts; counts 117 chrome/browser/profiles/profile_metrics.cc if (CountProfileInformation(manager, &counts)) { counts 118 chrome/browser/profiles/profile_metrics.cc int limited_total = counts.total; counts 119 chrome/browser/profiles/profile_metrics.cc int limited_signedin = counts.signedin; counts 123 chrome/browser/profiles/profile_metrics.cc (int)((float)(counts.signedin * limited_total) counts 124 chrome/browser/profiles/profile_metrics.cc / counts.total + 0.5); counts 131 chrome/browser/profiles/profile_metrics.cc ProfileCounts counts; counts 132 chrome/browser/profiles/profile_metrics.cc bool success = CountProfileInformation(manager, &counts); counts 133 chrome/browser/profiles/profile_metrics.cc UMA_HISTOGRAM_COUNTS_100("Profile.NumberOfProfiles", counts.total); counts 138 chrome/browser/profiles/profile_metrics.cc counts.managed); counts 140 chrome/browser/profiles/profile_metrics.cc 100 * counts.managed / counts.total); counts 142 chrome/browser/profiles/profile_metrics.cc counts.signedin); counts 144 chrome/browser/profiles/profile_metrics.cc counts.unused); counts 146 chrome/browser/profiles/profile_metrics.cc UpdateReportedOSProfileStatistics(counts.total, counts.signedin); counts 338 chrome/common/extensions/docs/examples/apps/hello-php/lib/lightopenid/openid.php $counts = array(); counts 345 chrome/common/extensions/docs/examples/apps/hello-php/lib/lightopenid/openid.php if (empty($counts[$alias])) $counts[$alias] = 0; counts 346 chrome/common/extensions/docs/examples/apps/hello-php/lib/lightopenid/openid.php $counts[$alias] += 1; counts 353 chrome/common/extensions/docs/examples/apps/hello-php/lib/lightopenid/openid.php foreach ($counts as $alias => $count) { counts 209 chrome/renderer/extensions/event_bindings.cc FilteredEventListenerCounts& counts = counts 211 chrome/renderer/extensions/event_bindings.cc FilteredEventListenerCounts::iterator it = counts.find(event_name); counts 212 chrome/renderer/extensions/event_bindings.cc if (it == counts.end()) counts 213 chrome/renderer/extensions/event_bindings.cc counts[event_name].reset(new ValueCounter); counts 215 chrome/renderer/extensions/event_bindings.cc int result = counts[event_name]->Add(*filter); counts 224 chrome/renderer/extensions/event_bindings.cc FilteredEventListenerCounts& counts = counts 226 chrome/renderer/extensions/event_bindings.cc FilteredEventListenerCounts::iterator it = counts.find(event_name); counts 227 chrome/renderer/extensions/event_bindings.cc if (it == counts.end()) counts 216 net/spdy/spdy_priority_forest_test.cc int counts[8] = {0}; counts 221 net/spdy/spdy_priority_forest_test.cc ++counts[node_id]; counts 226 net/spdy/spdy_priority_forest_test.cc EXPECT_GE(counts[1], 800); EXPECT_LE(counts[1], 1200); counts 227 net/spdy/spdy_priority_forest_test.cc EXPECT_GE(counts[7], 1600); EXPECT_LE(counts[7], 2400); counts 228 net/spdy/spdy_priority_forest_test.cc EXPECT_GE(counts[5], 3200); EXPECT_LE(counts[5], 4800); counts 257 net/spdy/spdy_priority_forest_test.cc int counts[8] = {0}; counts 262 net/spdy/spdy_priority_forest_test.cc ++counts[node_id]; counts 267 net/spdy/spdy_priority_forest_test.cc EXPECT_GE(counts[2], 1600); EXPECT_LE(counts[2], 2400); counts 268 net/spdy/spdy_priority_forest_test.cc EXPECT_GE(counts[4], 1600); EXPECT_LE(counts[4], 2400); counts 269 net/spdy/spdy_priority_forest_test.cc EXPECT_GE(counts[6], 1600); EXPECT_LE(counts[6], 2400); counts 515 third_party/libwebp/dsp/lossless.c static float PredictionCostSpatial(const int* counts, counts 519 third_party/libwebp/dsp/lossless.c double bits = weight_0 * counts[0]; counts 522 third_party/libwebp/dsp/lossless.c bits += exp_val * (counts[i] + counts[256 - i]); counts 877 third_party/libwebp/dsp/lossless.c const int counts[256]) { counts 881 third_party/libwebp/dsp/lossless.c return CombinedShannonEntropy(counts, accumulated, 256) + counts 882 third_party/libwebp/dsp/lossless.c PredictionCostSpatial(counts, 3, kExpValue); counts 31 third_party/libwebp/utils/huffman_encode.c static int OptimizeHuffmanForRle(int length, int* const counts) { counts 39 third_party/libwebp/utils/huffman_encode.c if (counts[length - 1] != 0) { counts 54 third_party/libwebp/utils/huffman_encode.c int symbol = counts[0]; counts 57 third_party/libwebp/utils/huffman_encode.c if (i == length || counts[i] != symbol) { counts 67 third_party/libwebp/utils/huffman_encode.c symbol = counts[i]; counts 77 third_party/libwebp/utils/huffman_encode.c int limit = counts[0]; counts 82 third_party/libwebp/utils/huffman_encode.c !ValuesShouldBeCollapsedToStrideAverage(counts[i], limit)) { counts 97 third_party/libwebp/utils/huffman_encode.c counts[i - k - 1] = count; counts 105 third_party/libwebp/utils/huffman_encode.c limit = (counts[i] + counts[i + 1] + counts 106 third_party/libwebp/utils/huffman_encode.c counts[i + 2] + counts[i + 3] + 2) / 4; counts 108 third_party/libwebp/utils/huffman_encode.c limit = counts[i]; counts 115 third_party/libwebp/utils/huffman_encode.c sum += counts[i]; counts 295 third_party/libxml/src/xmlregexp.c int *counts; /* save the automata state if it has some */ counts 327 third_party/libxml/src/xmlregexp.c int *counts; counts 3123 third_party/libxml/src/xmlregexp.c if (exec->rollbacks[exec->nbRollbacks].counts == NULL) { counts 3124 third_party/libxml/src/xmlregexp.c exec->rollbacks[exec->nbRollbacks].counts = (int *) counts 3126 third_party/libxml/src/xmlregexp.c if (exec->rollbacks[exec->nbRollbacks].counts == NULL) { counts 3132 third_party/libxml/src/xmlregexp.c memcpy(exec->rollbacks[exec->nbRollbacks].counts, exec->counts, counts 3152 third_party/libxml/src/xmlregexp.c if (exec->rollbacks[exec->nbRollbacks].counts == NULL) { counts 3157 third_party/libxml/src/xmlregexp.c memcpy(exec->counts, exec->rollbacks[exec->nbRollbacks].counts, counts 3194 third_party/libxml/src/xmlregexp.c exec->counts = (int *) xmlMalloc(comp->nbCounters * sizeof(int)); counts 3195 third_party/libxml/src/xmlregexp.c if (exec->counts == NULL) { counts 3199 third_party/libxml/src/xmlregexp.c memset(exec->counts, 0, comp->nbCounters * sizeof(int)); counts 3201 third_party/libxml/src/xmlregexp.c exec->counts = NULL; counts 3217 third_party/libxml/src/xmlregexp.c if ((exec->inputString[exec->index] == 0) && (exec->counts == NULL)) { counts 3245 third_party/libxml/src/xmlregexp.c if (exec->counts == NULL) { counts 3253 third_party/libxml/src/xmlregexp.c count = exec->counts[trans->count]; counts 3282 third_party/libxml/src/xmlregexp.c if ((exec->counts == NULL) || counts 3289 third_party/libxml/src/xmlregexp.c if (exec->counts[trans->counter] >= counter->max) counts 3295 third_party/libxml/src/xmlregexp.c exec->counts[trans->counter]++; counts 3347 third_party/libxml/src/xmlregexp.c if (exec->counts == NULL) { counts 3354 third_party/libxml/src/xmlregexp.c exec->counts[trans->counter]--; counts 3390 third_party/libxml/src/xmlregexp.c if ((exec->counts == NULL) || counts 3397 third_party/libxml/src/xmlregexp.c if (exec->counts[trans->counter] >= counter->max) counts 3402 third_party/libxml/src/xmlregexp.c exec->counts[trans->counter]++; counts 3406 third_party/libxml/src/xmlregexp.c if (exec->counts == NULL) { counts 3414 third_party/libxml/src/xmlregexp.c exec->counts[trans->count] = 0; counts 3447 third_party/libxml/src/xmlregexp.c if (exec->counts != NULL) { counts 3451 third_party/libxml/src/xmlregexp.c if (exec->rollbacks[i].counts != NULL) counts 3452 third_party/libxml/src/xmlregexp.c xmlFree(exec->rollbacks[i].counts); counts 3456 third_party/libxml/src/xmlregexp.c if (exec->counts != NULL) counts 3457 third_party/libxml/src/xmlregexp.c xmlFree(exec->counts); counts 3521 third_party/libxml/src/xmlregexp.c exec->counts = (int *) xmlMalloc(comp->nbCounters * sizeof(int) counts 3523 third_party/libxml/src/xmlregexp.c if (exec->counts == NULL) { counts 3528 third_party/libxml/src/xmlregexp.c memset(exec->counts, 0, comp->nbCounters * sizeof(int) * 2); counts 3529 third_party/libxml/src/xmlregexp.c exec->errCounts = &exec->counts[comp->nbCounters]; counts 3531 third_party/libxml/src/xmlregexp.c exec->counts = NULL; counts 3555 third_party/libxml/src/xmlregexp.c if (exec->counts != NULL) { counts 3559 third_party/libxml/src/xmlregexp.c if (exec->rollbacks[i].counts != NULL) counts 3560 third_party/libxml/src/xmlregexp.c xmlFree(exec->rollbacks[i].counts); counts 3564 third_party/libxml/src/xmlregexp.c if (exec->counts != NULL) counts 3565 third_party/libxml/src/xmlregexp.c xmlFree(exec->counts); counts 3811 third_party/libxml/src/xmlregexp.c if ((value == NULL) && (exec->counts == NULL)) counts 3843 third_party/libxml/src/xmlregexp.c count = exec->counts[t->counter]; counts 3878 third_party/libxml/src/xmlregexp.c count = exec->counts[t->counter]; counts 3892 third_party/libxml/src/xmlregexp.c count = exec->counts[trans->count]; counts 3914 third_party/libxml/src/xmlregexp.c count = exec->counts[trans->counter]; counts 4003 third_party/libxml/src/xmlregexp.c exec->counts[trans->counter]++; counts 4011 third_party/libxml/src/xmlregexp.c exec->counts[trans->count] = 0; counts 4027 third_party/libxml/src/xmlregexp.c memcpy(exec->errCounts, exec->counts, counts 4075 third_party/libxml/src/xmlregexp.c memcpy(exec->errCounts, exec->counts, counts 4288 third_party/libxml/src/xmlregexp.c count = exec->counts[trans->counter]; counts 4430 third_party/libxml/src/xmlregexp.c if ((exec->inputString[exec->index] == 0) && (exec->counts == NULL)) counts 4448 third_party/libxml/src/xmlregexp.c count = exec->counts[trans->count]; counts 4530 third_party/libxml/src/xmlregexp.c exec->counts[trans->count] = 0; counts 4536 third_party/libxml/src/xmlregexp.c exec->counts[trans->counter]++; counts 178 tools/telemetry/telemetry/core/bitmaptools.cc int counts[kLength] = {}; counts 186 tools/telemetry/telemetry/core/bitmaptools.cc ++(counts[256 * 0 + pixel[0]]); counts 187 tools/telemetry/telemetry/core/bitmaptools.cc ++(counts[256 * 1 + pixel[1]]); counts 188 tools/telemetry/telemetry/core/bitmaptools.cc ++(counts[256 * 2 + pixel[2]]); counts 192 tools/telemetry/telemetry/core/bitmaptools.cc WriteResponse(counts, sizeof(counts));