/openbsd/gnu/usr.bin/binutils/bfd/ |
H A D | configure.in | 565 tb= 710 cris_aout_vec) tb="$tb aout-cris.lo" ;; 740 ieee_vec) tb="$tb ieee.lo" ;; 750 m88kbcs_vec) tb="$tb coff-m88k.lo" ;; 772 pdp11_aout_vec) tb="$tb pdp11.lo" ;; 774 ppcboot_vec) tb="$tb ppcboot.lo" ;; 784 som_vec) tb="$tb som.lo" ;; 811 versados_vec) tb="$tb versados.lo" ;; 819 srec_vec) tb="$tb srec.lo" ;; 820 symbolsrec_vec) tb="$tb srec.lo" ;; [all …]
|
H A D | configure | 6432 ieee_vec) tb="$tb ieee.lo" ;; 6442 m88kbcs_vec) tb="$tb coff-m88k.lo" ;; 6464 pdp11_aout_vec) tb="$tb pdp11.lo" ;; 6466 ppcboot_vec) tb="$tb ppcboot.lo" ;; 6476 som_vec) tb="$tb som.lo" ;; 6503 versados_vec) tb="$tb versados.lo" ;; 6511 srec_vec) tb="$tb srec.lo" ;; 6512 symbolsrec_vec) tb="$tb srec.lo" ;; 6513 tekhex_vec) tb="$tb tekhex.lo" ;; 6536 for i in $tb ; do [all …]
|
/openbsd/gnu/usr.bin/binutils-2.17/bfd/ |
H A D | configure.in | 556 tb= 722 cris_aout_vec) tb="$tb aout-cris.lo" ;; 752 ieee_vec) tb="$tb ieee.lo" ;; 760 m88kbcs_vec) tb="$tb coff-m88k.lo" ;; 783 pdp11_aout_vec) tb="$tb pdp11.lo" ;; 785 ppcboot_vec) tb="$tb ppcboot.lo" ;; 795 som_vec) tb="$tb som.lo" ;; 822 versados_vec) tb="$tb versados.lo" ;; 831 srec_vec) tb="$tb srec.lo" ;; 832 symbolsrec_vec) tb="$tb srec.lo" ;; [all …]
|
H A D | configure | 13043 tb= 13212 cris_aout_vec) tb="$tb aout-cris.lo" ;; 13242 ieee_vec) tb="$tb ieee.lo" ;; 13250 m88kbcs_vec) tb="$tb coff-m88k.lo" ;; 13273 pdp11_aout_vec) tb="$tb pdp11.lo" ;; 13275 ppcboot_vec) tb="$tb ppcboot.lo" ;; 13285 som_vec) tb="$tb som.lo" ;; 13312 versados_vec) tb="$tb versados.lo" ;; 13321 srec_vec) tb="$tb srec.lo" ;; 13322 symbolsrec_vec) tb="$tb srec.lo" ;; [all …]
|
/openbsd/gnu/usr.bin/perl/cpan/Test-Simple/t/Legacy/Builder/ |
H A D | is_passing.t | 24 $tb->ok(1); 27 $tb->ok(0); 30 $tb->ok(1); 33 $tb->done_testing(3); 42 $tb->ok(1); 45 $tb->ok(1); 56 $tb->ok(1); 59 $tb->ok(1); 62 $tb->_ending; 82 $tb->ok(1); [all …]
|
H A D | reset.t | 28 $tb->output(\$output); 30 $tb->todo_output(\$output); 32 $tb->plan(tests => 14); 33 $tb->level(0); 42 $tb->exported_to('Foofer'); 44 $tb->use_numbers(0); 45 $tb->no_header(1); 46 $tb->no_ending(1); 51 $tb->reset; 76 $tb->level(0); [all …]
|
H A D | output.t | 24 my $tb = Test::Builder->create(); 31 my $out = $tb->output($tmpfile); 49 my $out = $tb->output(\*FOO); 66 my $out = $tb->output(\$scalar); 90 $tb->exported_to(__PACKAGE__); 91 $tb->no_ending(1); 92 $tb->plan(tests => 5); 94 $tb->ok(1, "ok"); 95 $tb->ok(1, "ok\n"); 96 $tb->ok(1, "ok, like\nok"); [all …]
|
H A D | no_plan_at_all.t | 23 my $tb = Test::Builder::NoOutput->create; 26 $tb->level(0); 27 $tb->ok(1, "just a test"); 28 $tb->ok(1, " and another"); 29 $tb->_ending; 32 $Test->is_eq($tb->read, <<'END', "proper behavior when no plan is seen");
|
H A D | try.t | 18 my $tb = Test::Builder->new; 28 is $tb->_try(sub { 2 }), 2; 29 is $tb->_try(sub { return '' }), ''; 31 is $tb->_try(sub { die; }), undef; 33 is_deeply [$tb->_try(sub { die "Foo\n" })], [undef, "Foo\n"]; 40 $tb->_try(sub { die "Died\n" }, die_on_fail => 1);
|
H A D | reset_outputs.t | 17 my $tb = Test::Builder->create(); 25 $original_outputs{$method} = $tb->$method(); 26 $tb->$method($fh); 27 is $tb->$method(), $fh; 30 $tb->reset_outputs; 33 is $tb->$method(), $original_outputs{$method}, "reset_outputs() resets $method";
|
H A D | done_testing.t | 7 my $tb = Test::Builder->new; 8 $tb->level(0); 10 $tb->ok(1, "testing done_testing() with no arguments"); 11 $tb->ok(1, " another test so we're not testing just one"); 12 $tb->done_testing();
|
H A D | done_testing_with_number.t | 7 my $tb = Test::Builder->new; 8 $tb->level(0); 10 $tb->ok(1, "testing done_testing() with no arguments"); 11 $tb->ok(1, " another test so we're not testing just one"); 12 $tb->done_testing(2);
|
H A D | done_testing_with_no_plan.t | 7 my $tb = Test::Builder->new; 8 $tb->plan( "no_plan" ); 9 $tb->ok(1); 10 $tb->ok(1); 11 $tb->done_testing(2);
|
H A D | done_testing_with_plan.t | 7 my $tb = Test::Builder->new; 8 $tb->plan( tests => 2 ); 9 $tb->ok(1); 10 $tb->ok(1); 11 $tb->done_testing(2);
|
/openbsd/gnu/usr.bin/perl/cpan/Test-Simple/t/Legacy/subtest/ |
H A D | basic.t | 32 $tb->$plan( tests => 7 ); 35 $tb->$diag("We ran $_"); 70 $tb->$plan('no_plan'); 93 $tb->_ending; 160 can_ok $tb, 'name'; 163 $child = $tb->child; 184 $tb->$plan( tests => 1 ); 185 my $child = $tb->child; 191 $tb->_ending; 203 my $child = $tb->child; [all …]
|
H A D | args.t | 17 my $tb = Test::Builder->new; 19 $tb->ok( !eval { $tb->subtest() } ); 20 $tb->like( $@, qr/^\Qsubtest()'s second argument must be a code ref/ ); 22 $tb->ok( !eval { $tb->subtest("foo") } ); 23 $tb->like( $@, qr/^\Qsubtest()'s second argument must be a code ref/ ); 26 $tb->subtest('Arg passing', sub { 28 $tb->ok(1); 31 $tb->is_eq($foo, 'foo'); 33 $tb->done_testing();
|
/openbsd/sys/dev/pci/drm/include/drm/ |
H A D | task_barrier.h | 60 tb->n = 0; in task_barrier_init() 61 atomic_set(&tb->count, 0); in task_barrier_init() 71 tb->n++; in task_barrier_add_task() 76 tb->n--; in task_barrier_rem_task() 86 if (atomic_inc_return(&tb->count) == tb->n) in task_barrier_enter() 87 task_barrier_signal_turnstile(&tb->enter_turnstile, tb->n); in task_barrier_enter() 91 down(&tb->enter_turnstile); in task_barrier_enter() 104 task_barrier_signal_turnstile(&tb->exit_turnstile, tb->n); in task_barrier_exit() 108 down(&tb->exit_turnstile); in task_barrier_exit() 115 task_barrier_enter(tb); in task_barrier_full() [all …]
|
/openbsd/gnu/usr.bin/perl/cpan/Test-Simple/lib/Test/ |
H A D | More.pm | 171 return $tb->plan(@_); 249 $tb->done_testing(@_); 410 return $tb->is_eq(@_); 416 return $tb->isnt_eq(@_); 472 return $tb->like(@_); 487 return $tb->unlike(@_); 533 return $tb->cmp_ok(@_); 831 return $tb->subtest(@_); 1137 return $tb->ok(0); 1390 $tb->skip($why); [all …]
|
/openbsd/usr.bin/rcs/ |
H A D | rcstime.c | 48 memcpy(tb, ltb, sizeof(*tb)); in rcs_set_tz() 65 memcpy(tb, &rdp->rd_date, sizeof(*tb)); in rcs_set_tz() 72 tb->tm_hour += tzone; in rcs_set_tz() 73 tb->tm_gmtoff += (tzone * 3600); in rcs_set_tz() 75 tb->tm_hour -= tzone; in rcs_set_tz() 79 if ((tb->tm_hour >= 24) || (tb->tm_hour <= -24)) in rcs_set_tz() 80 tb->tm_hour = 0; in rcs_set_tz() 88 tb->tm_hour++; in rcs_set_tz() 89 tb->tm_min -= (60 - tzone); in rcs_set_tz() 91 tb->tm_min += tzone; in rcs_set_tz() [all …]
|
/openbsd/gnu/usr.bin/perl/cpan/Test-Simple/t/Legacy/ |
H A D | fail.t | 32 my $tb = Test::Builder::NoOutput->create; 33 $tb->$plan( tests => 5 ); 36 $tb->$ok( 1, 'passing' ); 37 $tb->$ok( 2, 'passing still' ); 38 $tb->$ok( 3, 'still passing' ); 39 $tb->$ok( 0, 'oh no!' ); 40 $tb->$ok( 0, 'damnit' ); 41 $tb->_ending; 43 $Test->is_eq($tb->read('out'), <<OUT); 52 $Test->is_eq($tb->read('err'), <<ERR);
|
H A D | plan_bad.t | 13 my $tb = Test::Builder->create; 14 $tb->level(0); 16 ok !eval { $tb->plan( tests => 'no_plan' ); }; 21 ok !eval { $tb->plan( tests => @foo ) }; 24 ok !eval { $tb->plan( tests => 9.99 ) }; 28 ok !eval { $tb->plan( tests => -1 ) }; 32 ok !eval { $tb->plan( tests => '' ) }; 36 ok !eval { $tb->plan( 'wibble' ) };
|
H A D | fail_one.t | 29 my $tb = Test::Builder::NoOutput->create; 31 $tb->$plan( tests => 1 ); 34 $tb->$ok(0); 35 $tb->_ending; 37 $Test->is_eq($tb->read('out'), <<OUT); 42 $Test->is_eq($tb->read('err'), <<ERR);
|
/openbsd/gnu/llvm/lldb/third_party/Python/module/unittest2/unittest2/ |
H A D | result.py | 160 exctype, value, tb = err 162 while tb and self._is_relevant_tb_level(tb): 163 tb = tb.tb_next 166 length = self._count_relevant_tb_levels(tb) 167 msgLines = traceback.format_exception(exctype, value, tb, length) 169 msgLines = traceback.format_exception(exctype, value, tb) 184 def _is_relevant_tb_level(self, tb): argument 185 return '__unittest' in tb.tb_frame.f_globals 187 def _count_relevant_tb_levels(self, tb): argument 189 while tb and not self._is_relevant_tb_level(tb): [all …]
|
/openbsd/sys/dev/ata/ |
H A D | ata.c | 61 char *tb; in ata_get_params() local 87 tb = dma_alloc(ATAPARAMS_SIZE, PR_NOWAIT | PR_ZERO); in ata_get_params() 88 if (tb == NULL) in ata_get_params() 91 wdc_c.data = tb; in ata_get_params() 97 dma_free(tb, ATAPARAMS_SIZE); in ata_get_params() 105 dma_free(tb, ATAPARAMS_SIZE); in ata_get_params() 119 swap16_multi((u_int16_t *)tb, 10); in ata_get_params() 120 swap16_multi((u_int16_t *)tb + 20, 3); in ata_get_params() 124 bcopy(tb, prms, sizeof(struct ataparams)); in ata_get_params() 136 dma_free(tb, ATAPARAMS_SIZE); in ata_get_params() [all …]
|
/openbsd/gnu/llvm/libunwind/src/ |
H A D | Unwind_AIXExtras.cpp | 31 if (!TBTable->tb.name_present) in getFuncNameFromTBTable() 38 if (TBTable->tb.fixedparms || TBTable->tb.floatparms) in getFuncNameFromTBTable() 43 if (TBTable->tb.has_tboff) { in getFuncNameFromTBTable() 51 if (TBTable->tb.int_hndl) in getFuncNameFromTBTable() 55 if (TBTable->tb.has_ctl) { in getFuncNameFromTBTable()
|