/external/chromium_org/base/ |
D | callback_list_unittest.cc | 23 int total() const { return total_; } in total() function in base::__anon8cc1b65a0111::Listener 43 int total() const { return total_; } in total() function in base::__anon8cc1b65a0111::Remover 69 int total() const { return total_; } in total() function in base::__anon8cc1b65a0111::Adder 164 EXPECT_EQ(1, a.total()); in TEST() 165 EXPECT_EQ(1, b.total()); in TEST() 174 EXPECT_EQ(2, a.total()); in TEST() 175 EXPECT_EQ(1, b.total()); in TEST() 176 EXPECT_EQ(1, c.total()); in TEST() 199 EXPECT_EQ(10, a.total()); in TEST() 200 EXPECT_EQ(-10, b.total()); in TEST() [all …]
|
D | observer_list_unittest.cc | 28 explicit Adder(int scaler) : total(0), scaler_(scaler) {} in Adder() 30 total += x * scaler_; in Observe() 33 int total; member in base::__anon77e68f950111::Adder 203 EXPECT_EQ(20, a.total); in TEST() 204 EXPECT_EQ(-20, b.total); in TEST() 205 EXPECT_EQ(0, c.total); in TEST() 206 EXPECT_EQ(-10, d.total); in TEST() 207 EXPECT_EQ(0, e.total); in TEST() 234 EXPECT_EQ(20, a.total); in TEST() 235 EXPECT_EQ(-20, b.total); in TEST() [all …]
|
/external/skia/src/views/animated/ |
D | SkScrollBarView.cpp | 53 void SkScrollBarView::setTotal(unsigned total) in setTotal() argument 55 if ((int)total < 0) in setTotal() 56 total = 0; in setTotal() 58 if (fTotalLength != total) in setTotal() 60 fTotalLength = total; in setTotal() 122 int total = fTotalLength; in adjust() local 127 if (total <= 0 || shown <= 0 || shown >= total) // no bar to show in adjust() 129 total = 1; // avoid divide-by-zero. should be done by skin/script in adjust() 134 if (start + shown > total) in adjust() 135 start = total - shown; in adjust() [all …]
|
/external/chromium_org/third_party/skia/src/views/animated/ |
D | SkScrollBarView.cpp | 53 void SkScrollBarView::setTotal(unsigned total) in setTotal() argument 55 if ((int)total < 0) in setTotal() 56 total = 0; in setTotal() 58 if (fTotalLength != total) in setTotal() 60 fTotalLength = total; in setTotal() 122 int total = fTotalLength; in adjust() local 127 if (total <= 0 || shown <= 0 || shown >= total) // no bar to show in adjust() 129 total = 1; // avoid divide-by-zero. should be done by skin/script in adjust() 134 if (start + shown > total) in adjust() 135 start = total - shown; in adjust() [all …]
|
/external/oauth/core/src/main/java/net/oauth/client/ |
D | ExcerptInputStream.java | 22 int total = 0; in ExcerptInputStream() local 24 while ((read = read(excerpt, total, LIMIT - total)) != -1 && ((total += read) < LIMIT)); in ExcerptInputStream() 25 if (total == LIMIT) { in ExcerptInputStream() 27 System.arraycopy(ELLIPSIS, 0, excerpt, total, ELLIPSIS.length); in ExcerptInputStream() 29 byte[] tmp = new byte[total]; in ExcerptInputStream() 30 System.arraycopy(excerpt, 0, tmp, 0, total); in ExcerptInputStream()
|
/external/linux-tools-perf/ |
D | builtin-stat.c | 513 static void print_noise_pct(double total, double avg) in print_noise_pct() argument 518 pct = 100.0*total/avg; in print_noise_pct() 559 double total, ratio = 0.0; in print_stalled_cycles_frontend() local 562 total = avg_stats(&runtime_cycles_stats[cpu]); in print_stalled_cycles_frontend() 564 if (total) in print_stalled_cycles_frontend() 565 ratio = avg / total * 100.0; in print_stalled_cycles_frontend() 582 double total, ratio = 0.0; in print_stalled_cycles_backend() local 585 total = avg_stats(&runtime_cycles_stats[cpu]); in print_stalled_cycles_backend() 587 if (total) in print_stalled_cycles_backend() 588 ratio = avg / total * 100.0; in print_stalled_cycles_backend() [all …]
|
/external/chromium_org/third_party/lcov/example/methods/ |
D | iterate.c | 21 int i, total; in iterate_get_sum() local 23 total = 0; in iterate_get_sum() 33 if (total + i < total) in iterate_get_sum() 41 total += i; in iterate_get_sum() 44 return total; in iterate_get_sum()
|
/external/chromium_org/base/process/ |
D | process_metrics_unittest.cc | 146 EXPECT_TRUE(meminfo.total == 3981504); in TEST_F() 162 EXPECT_TRUE(meminfo.total == 255908); in TEST_F() 279 EXPECT_GT(info.total, 0); in TEST() 289 EXPECT_LT(info.free, info.total); in TEST() 290 EXPECT_LT(info.buffers, info.total); in TEST() 291 EXPECT_LT(info.cached, info.total); in TEST() 292 EXPECT_LT(info.active_anon, info.total); in TEST() 293 EXPECT_LT(info.inactive_anon, info.total); in TEST() 294 EXPECT_LT(info.active_file, info.total); in TEST() 295 EXPECT_LT(info.inactive_file, info.total); in TEST() [all …]
|
/external/opencv/cxcore/src/ |
D | cxdatastructs.cpp | 530 int count, total = seq->total; in cvGetSeqElem() local 532 if( (unsigned)index >= (unsigned)total ) in cvGetSeqElem() 534 index += index < 0 ? total : 0; in cvGetSeqElem() 535 index -= index >= total ? total : 0; in cvGetSeqElem() 536 if( (unsigned)index >= (unsigned)total ) in cvGetSeqElem() 541 if( index + index <= total ) in cvGetSeqElem() 554 total -= block->count; in cvGetSeqElem() 556 while( index < total ); in cvGetSeqElem() 557 index -= total; in cvGetSeqElem() 611 int total = seq->total; in cvSliceLength() local [all …]
|
/external/doclava/src/com/google/doclava/ |
D | TodoFile.java | 58 public int total; field in TodoFile.PackageStats 85 int total = 1; in writeTodoFile() local 95 total++; in writeTodoFile() 109 total++; in writeTodoFile() 124 total++; in writeTodoFile() 138 total++; in writeTodoFile() 153 data.setValue(classBase + ".totalCount", "" + total); in writeTodoFile() 154 data.setValue(classBase + ".percentGood", percent(errors, total)); in writeTodoFile() 165 ps.total += total; in writeTodoFile() 178 data.setValue("packages." + i + ".totalCount", "" + ps.total); in writeTodoFile() [all …]
|
/external/qemu/ |
D | qemu-io.c | 103 int count, int total, int cnt, int Cflag) in print_report() argument 109 cvtstr((double)total, s1, sizeof(s1)); in print_report() 110 cvtstr(tdiv((double)total, *t), s2, sizeof(s2)); in print_report() 112 op, total, count, offset); in print_report() 117 total, cnt, ts, in print_report() 118 tdiv((double)total, *t), in print_report() 176 static int do_read(char *buf, int64_t offset, int count, int *total) in do_read() argument 183 *total = count; in do_read() 187 static int do_write(char *buf, int64_t offset, int count, int *total) in do_write() argument 194 *total = count; in do_write() [all …]
|
/external/smack/src/org/apache/harmony/javax/security/auth/login/ |
D | LoginContext.java | 264 int[] total = new int[4]; in loginImpl() local 273 ++total[module.getFlag()]; in loginImpl() 290 ++total[REQUIRED]; in loginImpl() 293 ++total[module.getFlag()]; in loginImpl() 316 if (logged[REQUIRED] != total[REQUIRED] || logged[REQUISITE] != total[REQUISITE]) { in loginImpl() 319 if (total[REQUIRED] == 0 && total[REQUISITE] == 0) { in loginImpl() 333 total[0] = total[1] = total[2] = total[3] = 0; in loginImpl() 339 ++total[module.getFlag()]; in loginImpl() 354 if (commited[REQUIRED] != total[REQUIRED] || commited[REQUISITE] != total[REQUISITE]) { in loginImpl() 357 if (total[REQUIRED] == 0 && total[REQUISITE] == 0) { in loginImpl() [all …]
|
/external/openssl/crypto/lhash/ |
D | lh_stats.c | 117 unsigned long total=0,n_used=0; in lh_node_usage_stats() local 126 total+=num; in lh_node_usage_stats() 130 fprintf(out,"%lu items\n",total); in lh_node_usage_stats() 133 (int)(total/lh->num_nodes), in lh_node_usage_stats() 134 (int)((total%lh->num_nodes)*100/lh->num_nodes), in lh_node_usage_stats() 135 (int)(total/n_used), in lh_node_usage_stats() 136 (int)((total%n_used)*100/n_used)); in lh_node_usage_stats() 226 unsigned long total=0,n_used=0; in lh_node_usage_stats_bio() local 235 total+=num; in lh_node_usage_stats_bio() 239 BIO_printf(out,"%lu items\n",total); in lh_node_usage_stats_bio() [all …]
|
/external/chromium_org/third_party/openssl/openssl/crypto/lhash/ |
D | lh_stats.c | 117 unsigned long total=0,n_used=0; in lh_node_usage_stats() local 126 total+=num; in lh_node_usage_stats() 130 fprintf(out,"%lu items\n",total); in lh_node_usage_stats() 133 (int)(total/lh->num_nodes), in lh_node_usage_stats() 134 (int)((total%lh->num_nodes)*100/lh->num_nodes), in lh_node_usage_stats() 135 (int)(total/n_used), in lh_node_usage_stats() 136 (int)((total%n_used)*100/n_used)); in lh_node_usage_stats() 226 unsigned long total=0,n_used=0; in lh_node_usage_stats_bio() local 235 total+=num; in lh_node_usage_stats_bio() 239 BIO_printf(out,"%lu items\n",total); in lh_node_usage_stats_bio() [all …]
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/coverage/ |
D | summary.py | 52 total = Numbers() 65 total += nums 73 if total.n_files > 1: 75 args = ("TOTAL", total.n_statements, total.n_missing) 77 args += (total.n_branches, total.n_missing_branches) 78 args += (total.pc_covered_str,)
|
/external/mesa3d/src/glsl/tests/ |
D | optimization-test | 3 total=0 10 total=$((total+1)) 21 echo "$pass/$total tests returned correct results" 24 if [[ $pass == $total ]]; then
|
/external/chromium_org/third_party/mesa/src/src/glsl/tests/ |
D | optimization-test | 3 total=0 10 total=$((total+1)) 21 echo "$pass/$total tests returned correct results" 24 if [[ $pass == $total ]]; then
|
/external/sqlite/android/ |
D | PhoneNumberUtilsTest.cpp | 34 #define EXPECT(function, input1, input2, expected, total, error) \ argument 38 (total)++; \ 53 (total), (error)) 58 (total), (error)) 64 (total)++; \ 77 int total = 0; in main() local 189 printf("total: %d, error: %d\n\n", total, error); in main()
|
/external/bison/lib/ |
D | timevar.c | 452 struct timevar_time_def *total = &timevars[TV_TOTAL].elapsed; local 504 (total->user == 0 ? 0 : tv->elapsed.user / total->user) * 100); 511 (total->sys == 0 ? 0 : tv->elapsed.sys / total->sys) * 100); 518 (total->wall == 0 ? 0 : tv->elapsed.wall / total->wall) * 100); 527 fprintf (fp, "%7.2f ", total->user); 530 fprintf (fp, "%7.2f ", total->sys); 533 fprintf (fp, "%7.2f\n", total->wall); 555 print_time (str, total) in print_time() argument 557 long total; 562 str, total / 1000000, total % 1000000, [all …]
|
/external/apache-http/src/org/apache/http/impl/io/ |
D | ContentLengthOutputStream.java | 62 private long total = 0; field in ContentLengthOutputStream 108 if (this.total < this.contentLength) { in write() 109 long max = this.contentLength - this.total; in write() 114 this.total += len; in write() 126 if (this.total < this.contentLength) { in write() 128 this.total++; in write()
|
/external/v8/test/mjsunit/compiler/ |
D | regress-8.js | 53 LA+(a.Un+(zE+(Fp+(LA+(a.Im+(zE+(AE+(LA+(a.total+Gob))))))))), 58 if(a.total>=2E6) { 63 if(a.total>=2E5) { 68 if(a.total>=2E4) { 73 if(a.total>=2E3) { 78 if(a.total>=200) { 85 LA+(a.Un+(zE+(Fp+(LA+(a.Im+(zE+(Mob+(LA+(a.total+zE))))))))), 101 LA+(a.Un+(zE+(Fp+(LA+(a.Im+(zE+(AE+(LA+(a.total+zE))))))))), 109 Nob(2, { Un: "" , Im: "" , total: 42}); property
|
/external/chromium_org/v8/test/mjsunit/compiler/ |
D | regress-8.js | 53 LA+(a.Un+(zE+(Fp+(LA+(a.Im+(zE+(AE+(LA+(a.total+Gob))))))))), 58 if(a.total>=2E6) { 63 if(a.total>=2E5) { 68 if(a.total>=2E4) { 73 if(a.total>=2E3) { 78 if(a.total>=200) { 85 LA+(a.Un+(zE+(Fp+(LA+(a.Im+(zE+(Mob+(LA+(a.total+zE))))))))), 101 LA+(a.Un+(zE+(Fp+(LA+(a.Im+(zE+(AE+(LA+(a.total+zE))))))))), 109 Nob(2, { Un: "" , Im: "" , total: 42}); property
|
D | load-elimination-global.js | 95 var total = v; 98 total = a.x; 101 return total; 107 var total = v; 110 total = a.x; // a.x not affected by loop 115 total = a.x; // a.x not affected by loop 119 total = a.x; 124 total = a.x; // a.x not affected by loop 128 return total;
|
/external/e2fsprogs/contrib/ |
D | make-sparse.c | 25 int got, total = 0; in full_read() local 33 return total ? total : -1; in full_read() 37 return total; in full_read() 42 total += got; in full_read() 45 return total; in full_read()
|
/external/chromium/base/ |
D | observer_list_unittest.cc | 28 explicit Adder(int scaler) : total(0), scaler_(scaler) {} in Adder() 30 total += x * scaler_; in Observe() 33 int total; member in __anond5d299ae0111::Adder 192 EXPECT_EQ(a.total, 20); in TEST() 193 EXPECT_EQ(b.total, -20); in TEST() 194 EXPECT_EQ(c.total, 0); in TEST() 195 EXPECT_EQ(d.total, -10); in TEST() 222 EXPECT_EQ(a.total, 20); in TEST() 223 EXPECT_EQ(b.total, -20); in TEST() 224 EXPECT_EQ(c.total, 0); in TEST() [all …]
|