/external/chromium_org/net/spdy/ |
spdy_priority_forest_test.cc | 216 int counts[8] = {0}; local 221 ++counts[node_id]; 226 EXPECT_GE(counts[1], 800); EXPECT_LE(counts[1], 1200); 227 EXPECT_GE(counts[7], 1600); EXPECT_LE(counts[7], 2400); 228 EXPECT_GE(counts[5], 3200); EXPECT_LE(counts[5], 4800); 257 int counts[8] = {0}; local 262 ++counts[node_id] [all...] |
hpack_huffman_aggregator_test.cc | 33 std::vector<size_t>* counts() { function in class:net::test::HpackHuffmanAggregatorPeer 142 (*peer_.counts())[0] = 1; 143 (*peer_.counts())[255] = 10; 144 (*peer_.counts())[128] = 101; 149 // Internal counts were reset after being published. 150 EXPECT_THAT(*peer_.counts(), Each(Eq(0u))); 153 // Verify histogram counts match the expectation. 164 // Publish a second round of counts; 165 (*peer_.counts())[1] = 32; 166 (*peer_.counts())[128] = 5 [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/apps/calculator/tests/ |
manual.js | 22 var counts = {passed: 0, failed: 0}; 31 counts.passed += run.tests[i].success ? 1 : 0; 32 counts.failed += run.tests[i].success ? 0 : 1; 49 passed.textContent = counts.passed; 50 passed.setAttribute('class', counts.passed ? 'passed' : 'passed none'); 51 failed.textContent = counts.failed; 52 failed.setAttribute('class', counts.failed ? 'failed' : 'failed none');
|
/external/chromium_org/third_party/brotli/src/brotli/enc/ |
entropy_encode.h | 29 // The (data,length) contains the population counts. 41 // Change the population counts in a way that the consequent 46 // counts contains the population counts. 47 int OptimizeHuffmanCountsForRle(int length, int* counts); 90 int counts[kSize]; local 91 memcpy(counts, &histogram.data_[0], sizeof(counts[0]) * kSize); 92 OptimizeHuffmanCountsForRle(alphabet_size, counts); 93 CreateHuffmanTree(counts, alphabet_size, tree_limit, &code->depth_[0]) [all...] |
literal_cost.cc | 42 int counts[3] = { 0 }; local 49 ++counts[utf8_pos]; 52 if (counts[2] < 500) { 55 if (counts[1] + counts[2] < 25) {
|
/external/chromium_org/third_party/skia/debugger/ |
SkDebugger.cpp | 76 SkTDArray<int> counts; local 77 counts.setCount(LAST_DRAWTYPE_ENUM+1); 79 counts[i] = 0; 83 counts[commands[i]->getType()]++; 92 if (0 == counts[i]) { 100 overview->appendS32(counts[i]); 115 total += counts[i];
|
/external/chromium_org/cc/surfaces/ |
surface_factory_unittest.cc | 217 int counts[] = {1, 1, 1}; local 218 UnrefResources(ids_to_unref, counts, arraysize(ids_to_unref)); 223 UnrefResources(ids_to_unref, counts, arraysize(ids_to_unref)); 238 int counts[] = {1, 1}; local 239 UnrefResources(ids_to_unref, counts, arraysize(ids_to_unref)); 253 int counts[] = {2}; local 254 UnrefResources(ids_to_unref, counts, arraysize(ids_to_unref)); 291 // and 3 will have counts of 2, since they were used in both frames, and 323 int counts[] = {1, 1, 1, 1}; local 324 UnrefResources(ids_to_unref, counts, arraysize(ids_to_unref)) 338 int counts[] = {1, 1}; local [all...] |
/external/chromium_org/extensions/renderer/ |
event_bindings.cc | 39 // A map of extension IDs to listener counts for that extension. 50 // A map of extension IDs to filtered listener counts for that extension. 93 FilteredEventListenerCounts& counts = local 95 FilteredEventListenerCounts::iterator it = counts.find(event_name); 96 if (it == counts.end()) 97 counts[event_name].reset(new ValueCounter); 99 int result = counts[event_name]->Add(*filter); 108 FilteredEventListenerCounts& counts = local 110 FilteredEventListenerCounts::iterator it = counts.find(event_name); 111 if (it == counts.end() [all...] |
/external/chromium_org/media/base/ |
demuxer_perftest.cc | 68 const std::vector<int>& counts() { return counts_; } function in class:media::StreamReader
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/ |
vp9_entropymode.c | 345 const vp9_prob *pre_probs, const unsigned int *counts, 347 vp9_tree_merge_probs(tree, pre_probs, counts, COUNT_SAT, MAX_UPDATE_FACTOR, 355 const FRAME_COUNTS *counts = &cm->counts; local 359 counts->intra_inter[i]); 362 counts->comp_inter[i]); 365 counts->comp_ref[i]); 369 counts->single_ref[i][j]); 373 counts->inter_mode[i], fc->inter_mode_probs[i]); 377 counts->y_mode[i], fc->y_mode_prob[i]) [all...] |
vp9_entropymv.c | 171 void vp9_inc_mv(const MV *mv, nmv_context_counts *counts) { 172 if (counts != NULL) { 174 ++counts->joints[j]; 177 inc_mv_component(mv->row, &counts->comps[0], 1, 1); 181 inc_mv_component(mv->col, &counts->comps[1], 1, 1); 191 const unsigned int *counts, vp9_prob *probs) { 192 vp9_tree_merge_probs(tree, pre_probs, counts, MV_COUNT_SAT, 201 const nmv_context_counts *counts = &cm->counts.mv; local 203 adapt_probs(vp9_mv_joint_tree, pre_fc->joints, counts->joints, fc->joints) [all...] |
vp9_entropy.c | 770 vp9_coeff_count_model *counts = cm->counts.coef[tx_size]; local [all...] |
/external/chromium_org/third_party/libwebp/dsp/ |
lossless.h | 153 int counts[2]; // index: 0=zero steak, 1=non-zero streak member in struct:__anon17886
|
/external/deqp/modules/gles2/stress/ |
es2sVertexArrayTests.cpp | 74 int counts[] = {1, 256}; local 80 for (int countNdx = 0; countNdx < DE_LENGTH_OF_ARRAY(counts); countNdx++) 102 spec.drawCount = counts[countNdx]; 140 // Test strides with different input types, component counts and storage, Usage(?) 143 int counts[] = {1, 256}; local 152 for (int countNdx = 0; countNdx < DE_LENGTH_OF_ARRAY(counts); countNdx++) 172 spec.drawCount = counts[countNdx]; 210 // Test strides with different input types, component counts and storage, Usage(?) 212 int counts[] = {5, 256}; local 221 for (int countNdx = 0; countNdx < DE_LENGTH_OF_ARRAY(counts); countNdx++ 283 int counts[] = {1, 256}; local [all...] |
/external/libvpx/libvpx/vp9/common/ |
vp9_entropy.c | 742 vp9_coeff_count_model *counts = cm->counts.coef[tx_size]; local 744 cm->counts.eob_branch[tx_size]; 751 const int n0 = counts[i][j][k][l][ZERO_TOKEN]; 752 const int n1 = counts[i][j][k][l][ONE_TOKEN]; 753 const int n2 = counts[i][j][k][l][TWO_TOKEN]; 754 const int neob = counts[i][j][k][l][EOB_MODEL_TOKEN]; [all...] |
vp9_entropymode.c | 345 const vp9_prob *pre_probs, const unsigned int *counts, 347 vp9_tree_merge_probs(tree, pre_probs, counts, COUNT_SAT, MAX_UPDATE_FACTOR, 355 const FRAME_COUNTS *counts = &cm->counts; local 359 counts->intra_inter[i]); 362 counts->comp_inter[i]); 365 counts->comp_ref[i]); 369 counts->single_ref[i][j]); 373 counts->inter_mode[i], fc->inter_mode_probs[i]); 377 counts->y_mode[i], fc->y_mode_prob[i]) [all...] |
vp9_entropymv.c | 171 void vp9_inc_mv(const MV *mv, nmv_context_counts *counts) { 172 if (counts != NULL) { 174 ++counts->joints[j]; 177 inc_mv_component(mv->row, &counts->comps[0], 1, 1); 181 inc_mv_component(mv->col, &counts->comps[1], 1, 1); 191 const unsigned int *counts, vp9_prob *probs) { 192 vp9_tree_merge_probs(tree, pre_probs, counts, MV_COUNT_SAT, 201 const nmv_context_counts *counts = &cm->counts.mv; local 203 adapt_probs(vp9_mv_joint_tree, pre_fc->joints, counts->joints, fc->joints) [all...] |
/external/oprofile/libpp/ |
format_output.h | 90 counts(c), extra(extra), diff(d) {} 94 counts_t & counts; member in struct:format_output::formatter::field_datum 155 /// total counts 156 counts_t counts; member in class:format_output::formatter
|
profile_container.cpp | 95 symb_entry.sample.counts[pclass] = count; 145 sample.counts[pclass] = it.count(); 180 op_ratio(it->sample.counts[0], total_count[0]); 220 count_array_t counts = samples_count(*it); local 222 double const ratio = op_ratio(counts[0], total_count[0]);
|
symbol.h | 29 /// for storing sample counts 57 count_array_t counts; member in struct:sample_entry 101 * the sample counts replaced with the relevant arc counts, whilst 142 bool has_sample_counts(count_array_t const & counts, size_t lo, size_t hi);
|
/art/runtime/base/ |
timing_logger.cc | 236 size_t counts[2] = { 0 }; local 241 ++counts[timings_[i].IsStartTiming() ? 0 : 1]; 243 CHECK_EQ(counts[0], counts[1]) << "Number of StartTiming and EndTiming doesn't match";
|
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsContract_ContactCountsTest.java | 89 final int counts[] = extras.getIntArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_COUNTS); local 90 assertTrue(Arrays.equals(expectedCounts, counts));
|
/external/chromium_org/chrome/browser/profiles/ |
profile_metrics.cc | 119 ProfileCounts* counts) { 122 counts->total = number_of_profiles; 134 counts->unused++; 137 counts->supervised++; 139 counts->signedin++; 141 counts->gaia_icon++; 150 ProfileCounts counts; local 151 if (CountProfileInformation(manager, &counts)) { 152 int limited_total = counts.total; 153 int limited_signedin = counts.signedin 165 ProfileCounts counts; local [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-php/lib/lightopenid/ |
openid.php | 338 $counts = array(); variable 345 if (empty($counts[$alias])) $counts[$alias] = 0; 346 $counts[$alias] += 1; 353 foreach ($counts as $alias => $count) {
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/decoder/ |
vp9_detokenize.c | 62 FRAME_COUNTS *const counts = &cm->counts; local 69 counts->coef[tx_size][type][ref]; 71 counts->eob_branch[tx_size][type][ref];
|