| /openbsd/src/games/mille/ |
| D | end.c | 46 int temp, tot, num; in finalscore() local 54 for (tot = 5; tot <= 9; tot++) in finalscore() 55 mvaddstr(tot, temp, " 0"); in finalscore() 58 tot = SC_TRIP; in finalscore() 61 tot = SC_TRIP + SC_SAFE; in finalscore() 65 tot += SC_DELAY; in finalscore() 69 tot += SC_EXTENSION; in finalscore() 73 tot += SC_SHUT_OUT; in finalscore() 75 pp->total += tot; in finalscore() 76 pp->hand_tot += tot; in finalscore() [all …]
|
| D | roll.c | 47 int tot; in roll() local 49 tot = 0; in roll() 51 tot += arc4random_uniform(nsides) + 1; in roll() 52 return tot; in roll()
|
| /openbsd/src/games/monop/ |
| D | houses.c | 114 int tot, tot2; in buy_h() local 162 for (tot = tot2 = i = 0; i < mp->num_in; i++) { in buy_h() 166 tot += input[i]; in buy_h() 168 if (tot > nhous) { in buy_h() 171 tot, tot == 1 ? "":"s", nhous); in buy_h() 184 if (tot || tot2) { in buy_h() 185 printf("You asked for %d %s%s for $%d\n", tot ? tot : tot2, in buy_h() 186 tot ? "house" : "hotel", (tot == 1 || tot2 == 1) ? "" : "s", in buy_h() 187 (tot ? tot : tot2) * price); in buy_h() 189 cur_p->money -= (tot ? tot : tot2) * price; in buy_h() [all …]
|
| D | roll.c | 41 int tot; in roll() local 43 tot = 0; in roll() 45 tot += arc4random_uniform(nsides) + 1; in roll() 46 return tot; in roll()
|
| /openbsd/src/gnu/usr.bin/perl/cpan/Test-Harness/t/compat/ |
| D | inc_taint.t | 17 my ($tot) = shift; 18 return $tot->{bad} == 0 19 && ( $tot->{max} || $tot->{skipped} ) ? 1 : 0; 30 my ( $tot, $failed ) 34 ok( _all_ok($tot), 'tests with taint on preserve @INC' );
|
| D | env.t | 35 my ( $tot, $failed ) 37 is $tot->{bad}, 0;
|
| D | subclass.t | 34 my ( $tot, $failed ) 36 is $tot->{bad}, 0;
|
| D | inc-propagation.t | 56 my ( $tot, $failed ) = Test::Harness::execute_tests( tests => [$test] ); 57 is $tot->{bad}, 0;
|
| D | test-harness-compat.t | 845 my ( $tot, $fail, $todo, $harness, $aggregate ) 851 my $bench = delete $tot->{bench}; 861 is_deeply $tot, $result->{totals}, "totals match for $test_key";
|
| /openbsd/src/gnu/usr.bin/perl/cpan/Test-Harness/lib/Test/ |
| D | Harness.pm | 328 my %tot = ( 351 $tot{skipped}++; 361 $tot{bench} = $aggregate->elapsed; 366 $tot{files} = $tot{tests} = scalar @tests; 389 $tot{max} += ( $planned || 0 ); 390 $tot{bonus} += $parser->todo_passed; 391 $tot{ok} += $passed > $actual_passed ? $passed : $actual_passed; 392 $tot{sub_skipped} += $parser->skipped; 393 $tot{todo} += $parser->todo; 396 $tot{bad}++; [all …]
|
| /openbsd/src/lib/libcrypto/bn/asm/ |
| D | co-586.pl | 110 local($tot,$end); 124 $tot=$num+$num-1; 138 for ($i=0; $i<$tot; $i++) 152 $v=2 if (($i+1) == $tot); 201 local($b,$tot,$end,$half); 225 $tot=$num+$num-1; 227 for ($i=0; $i<$tot; $i++) 240 $v=2 if ($i+1) == $tot;
|
| /openbsd/src/lib/libcrypto/asn1/ |
| D | asn1_par.c | 123 const unsigned char *p, *ep, *tot, *op, *opp; in asn1_parse2() local 136 tot = p + length; in asn1_parse2() 142 while ((p < tot) && (op < p)) { in asn1_parse2() 182 r = asn1_parse2(bp, &p, (long)(tot - p), in asn1_parse2() 189 if ((r == 2) || (p >= tot)) { in asn1_parse2() 238 if (len == 1 && p < tot) { in asn1_parse2()
|
| /openbsd/src/gnu/usr.bin/perl/ |
| D | doio.c | 2614 SSize_t tot = 0; in Perl_apply() local 2659 tot = sp - mark; in Perl_apply() 2669 tot--; in Perl_apply() 2671 tot--; in Perl_apply() 2678 tot--; in Perl_apply() 2686 tot--; in Perl_apply() 2700 tot = sp - mark; in Perl_apply() 2710 tot--; in Perl_apply() 2712 tot--; in Perl_apply() 2719 tot--; in Perl_apply() [all …]
|
| /openbsd/src/gnu/llvm/compiler-rt/lib/tsan/ |
| D | analyze_libtsan.sh | 40 tot=$(wc -l < $file) 53 $f $tot $size $rsp $push $pop $call $load $store $sh $mov $lea $cmp;
|
| /openbsd/src/usr.bin/rsync/ |
| D | downloader.c | 81 float frac, tot = dl->total; in log_file() local 92 tot = dl->total / (1024. * 1024. * 1024.); in log_file() 96 tot = dl->total / (1024. * 1024.); in log_file() 100 tot = dl->total / 1024.; in log_file() 106 f->path, prec, tot, unit, frac); in log_file()
|
| /openbsd/src/lib/libssl/ |
| D | ssl_pkt.c | 478 unsigned int tot, n, nw; in ssl3_write_bytes() local 487 tot = s->s3->wnum; in ssl3_write_bytes() 500 if (len < tot) in ssl3_write_bytes() 501 len = tot; in ssl3_write_bytes() 502 n = (len - tot); in ssl3_write_bytes() 509 i = do_ssl3_write(s, type, &(buf[tot]), nw); in ssl3_write_bytes() 511 s->s3->wnum = tot; in ssl3_write_bytes() 524 return tot + i; in ssl3_write_bytes() 528 tot += i; in ssl3_write_bytes()
|
| /openbsd/src/usr.bin/col/ |
| D | col.c | 391 static int *count, save, tot; in flush_line() local 415 for (tot = 0, i = 0; i <= l->l_max_col; i++) { in flush_line() 417 count[i] = tot; in flush_line() 418 tot += save; in flush_line()
|
| /openbsd/src/games/trek/ |
| D | phaser.c | 95 double tot; in phaser() local 223 tot = n * (n + 1) / 2; in phaser() 238 b->units = ((n - i) / tot) * extra; in phaser()
|
| /openbsd/src/gnu/usr.sbin/mkhybrid/src/ |
| D | volume.c | 119 write_fork(hfsfile *hfp, long tot) in write_fork() argument 125 len = tot; in write_fork() 143 hfs_set_drAllocPtr(hfp, start, tot); in write_fork()
|
| /openbsd/src/lib/libcrypto/txt_db/ |
| D | txt_db.c | 251 long i, j,n, nn, l, tot = 0; in TXT_DB_write() local 288 tot += j; in TXT_DB_write() 290 ret = tot; in TXT_DB_write()
|
| /openbsd/src/gnu/usr.bin/perl/dist/Devel-PPPort/ |
| D | soak | 74 my $tot = @GoodPerls*@{$OPT{mmargs}}; 76 $rep->set(tests => $tot); 79 cs(@GoodPerls), cs(@{$OPT{mmargs}}), cs($tot)));
|
| /openbsd/src/gnu/usr.bin/perl/dist/Time-HiRes/ |
| D | HiRes.xs | 1294 int tot; variable 1300 tot = 0; 1333 tot++; 1351 tot++; 1361 RETVAL = tot;
|
| /openbsd/src/gnu/usr.bin/perl/t/ |
| D | TEST | 969 my $tot = sprintf("u=%.2f s=%.2f cu=%.2f cs=%.2f scripts=%d tests=%d", 971 print "$tot\n"; 984 total => $tot,
|
| /openbsd/src/usr.sbin/nsd/ |
| D | nsd.c | 535 size_t off, tot; in print_socket_servers() local 540 off = tot = 0; in print_socket_servers() 569 tot += (size_t)cnt; in print_socket_servers() 570 off = (tot < bufsz) ? tot : bufsz - 1; in print_socket_servers() 583 return tot; in print_socket_servers()
|
| /openbsd/src/gnu/gcc/gcc/ |
| D | ggc-zone.c | 1781 int n, tot; in ggc_collect_1() 1784 tot = 0; in ggc_collect_1() 1789 tot += chunk->size; in ggc_collect_1() 1793 i, n, tot); in ggc_collect_1()
|