/openbsd/usr.sbin/iostat/ |
H A D | iostat.c | 92 static int todo = 0; variable 133 todo |= SHOW_CPU; in main() 136 todo |= SHOW_STATS_1; in main() 139 todo |= SHOW_STATS_2; in main() 142 todo |= SHOW_TOTALS; in main() 151 todo |= SHOW_TTY; in main() 233 if (ISSET(todo, SHOW_TTY)) { in header() 250 if (ISSET(todo, SHOW_CPU)) in header() 255 if (ISSET(todo, SHOW_TTY)) { in header() 275 if (ISSET(todo, SHOW_CPU)) in header() [all …]
|
/openbsd/usr.sbin/pkg_add/OpenBSD/ |
H A D | CollisionReport.pm | 26 sub handle_collisions($self, $todo, $pkg, $bypkg) 29 if (defined $todo->{$name}) { 31 delete $todo->{$name}; 39 sub find_collisions($todo, $state) 43 for my $name (keys %$todo) { 47 delete $todo->{$name}; 52 if (!%$todo) { 88 my $bypkg = find_collisions(\%todo, $state); 103 if (%todo) { 105 for my $item (sort keys %todo) { [all …]
|
H A D | PkgDelete.pm | 45 sub todo($self, @list) subroutine 49 $self->{todo}{$pkgname} = $set; 60 delete $self->{todo}{$pkgname}; 72 return $self->{todo}{$pkgname}; 255 my $todo = {}; 270 $todo->{$pkg} = $f; 302 $state->tracker->todo(@$l); 312 if (keys %$todo > 0) { 314 for my $set2 (values %$todo) { 324 $state->build_deptree($set, values %$todo); [all …]
|
/openbsd/gnu/usr.bin/perl/dist/Devel-PPPort/devel/ |
H A D | mktodo.pl | 49 if ($opt{todo}) { 157 my %todo = %{load_todo($todo_file, $todo_version)} if $opt{todo}; 293 @new = grep !$todo{$_->[0]}, @new; 325 $todo{$_->[0]} = $_->[1]; 334 print STDERR __LINE__, ": %todo at end of iteration ", Dumper \%todo 359 my $cur = delete $todo{$sym}; 417 $todo{$sym} = $cur; 423 print STDERR __LINE__, ": %todo at end ", Dumper \%todo if $opt{debug} > 6; 442 %todo = map { $_ => 'T' } @stuff; 635 if (defined $todo{$s} && $todo{$s} eq $absolute_err) { [all …]
|
/openbsd/gnu/usr.bin/perl/t/re/ |
H A D | opt.t | 57 my %todo; 73 if (exists $todo{minlen}) { 76 my $todo = $todo{minlen}; 78 $skip || is($got, $todo, "$comment minlen $got = $todo"); 85 if (exists $todo{minlenret}) { 88 my $todo = $todo{minlenret}; 90 $skip || is($got, $todo, "$comment minlenret $got = $todo"); 109 local $TODO = 1 if exists $todo{anchored}; 204 local $TODO = 1 if exists $todo{"T$_"}; 213 local $TODO = 1 if exists $todo{"T$_"}; [all …]
|
/openbsd/gnu/usr.bin/perl/cpan/Test-Simple/t/regression/ |
H A D | 862-intercept_tb_todo.t | 9 local $TODO = "main-outer-todo"; 14 local $TODO = "foo-outer-todo"; 20 local $main::TODO = "main-inner-todo"; 25 local $Foo::TODO = "foo-inner-todo"; 33 # should still pass because this is todo. If this is not todo we know we 35 main::ok(0, "Verifying todo, this should be a failed todo test"); 46 details => 'main-inner-todo', 55 details => 'foo-inner-todo',
|
/openbsd/regress/lib/libc/sys/ |
H A D | t_pipe.c | 77 ssize_t sz, todo, done; in ATF_TC_BODY() local 90 todo = 2 * 1024 * 1024; in ATF_TC_BODY() 91 REQUIRE_LIBC(f = malloc(todo), NULL); in ATF_TC_BODY() 124 printf("Expected: %#zx\n", (size_t)todo); in ATF_TC_BODY() 126 exit(done != todo); in ATF_TC_BODY() 143 while(todo > 0 && ((sz = write(pp[1], f, todo)) > 0)) in ATF_TC_BODY() 144 todo -= sz; in ATF_TC_BODY()
|
/openbsd/lib/libsndio/ |
H A D | sio.c | 275 ssize_t n, todo; in sio_rdrop() local 295 ssize_t n, todo; in sio_wsil() local 298 todo = hdl->wsil; in sio_wsil() 326 while (todo > 0) { in sio_read() 331 maxread = todo; in sio_read() 341 todo -= n; in sio_read() 344 return len - todo; in sio_read() 363 while (todo > 0) { in sio_write() 369 maxwrite = todo; in sio_write() 379 todo -= n; in sio_write() [all …]
|
H A D | mio.c | 120 size_t todo = len; in mio_read() local 131 while (todo > 0) { in mio_read() 132 n = hdl->ops->read(hdl, data, todo); in mio_read() 136 todo -= n; in mio_read() 142 return len - todo; in mio_read() 150 size_t todo = len; in mio_write() local 161 while (todo > 0) { in mio_write() 162 n = hdl->ops->write(hdl, data, todo); in mio_write() 171 todo -= n; in mio_write() 173 return len - todo; in mio_write()
|
/openbsd/gnu/usr.bin/perl/cpan/Test-Simple/lib/Test2/Event/ |
H A D | Ok.pm | 25 my ($todo) = @_; 26 $self->{+TODO} = $todo; 27 $self->{+EFFECTIVE_PASS} = defined($todo) ? 1 : $self->{+PASS}; 40 my $todo = $self->{+TODO}; 41 if ($todo) { 42 $name .= " (TODO: $todo)"; 44 elsif (defined $todo) {
|
/openbsd/gnu/usr.bin/perl/cpan/Test-Simple/t/Legacy/ |
H A D | todo.t | 27 $is_todo = Test::More->builder->todo; 99 $is_todo = $builder->todo; 114 push @nested_todo => $builder->todo; 118 push @nested_todo => $builder->todo; 122 push @nested_todo => $builder->todo; 124 $is_todo = $builder->todo; 135 my $reason = $builder->todo; 154 $reason = $builder->todo;
|
/openbsd/sys/kern/ |
H A D | kern_physio.c | 67 long done, todo; in physio() local 129 todo = bp->b_bcount; in physio() 130 KASSERTMSG(todo >= 0, "minphys broken"); in physio() 139 error = uvm_vslock_device(p, iovp->iov_base, todo, in physio() 148 vmapbuf(bp, todo); in physio() 179 vunmapbuf(bp, todo); in physio() 180 uvm_vsunlock_device(p, iovp->iov_base, todo, map); in physio() 193 KASSERTMSG(done <= todo, "strategy broken"); in physio() 203 if (error || done < todo) in physio()
|
/openbsd/gnu/usr.bin/perl/dist/Devel-PPPort/ |
H A D | PPPort_pm.PL | 113 my %todo; 119 my @todo_list = reverse sort keys %todo; 254 my @todo; 258 my $todo = "=item perl $ver\n\n"; 259 for (sort dictionary_order @{$todo{$_}}) { 260 $todo .= " $_"; 264 $todo .= "\n"; 266 push @todo, $todo; 272 $todo .= " $_ $undocumented\n"; 274 push @todo, $todo; [all …]
|
/openbsd/gnu/usr.bin/perl/dist/Test/lib/ |
H A D | Test.pm | 14 %todo = (); 164 $k eq 'failok') { for (@$v) { $todo{$_}=1; }; } 171 my @todo = sort { $a <=> $b } keys %todo; 172 if (@todo) { 173 print $TESTOUT "1..$max todo ".join(' ', @todo).";\n"; 426 my $todo = $todo{$ntest}; 427 if ($todo and $ok) { 428 $context .= ' TODO?!' if $todo; 442 'result' => $result, 'todo' => $todo, 463 my $out = $$detail{todo} ? $TESTOUT : $TESTERR; [all …]
|
/openbsd/gnu/usr.bin/perl/dist/Devel-PPPort/parts/ |
H A D | ppptools.pl | 55 my %todo; 56 my $todo; 58 for $todo (all_files_in_dir($dir)) { 59 open TODO, $todo or die "cannot open $todo: $!\n"; 68 /^\w+$/ or die "parse_todo: invalid identifier in $todo: $_\n"; 69 …exists $todo{$_} and die "parse_todo: duplicate identifier in $todo: $_ ($todo{$_} <=> $version)\n… 70 $todo{$_}{'version'} = $version; 71 $todo{$_}{'code'} = $code if $code; 76 return \%todo;
|
/openbsd/gnu/usr.bin/perl/cpan/Test-Simple/t/Test2/behavior/ |
H A D | Subtest_todo.t | 9 todo 'testing todo', sub { 11 'fails in todo', 22 ok($events->[1]->todo, 'testing todo', 'subtest todo is set to expected value');
|
/openbsd/usr.bin/make/ |
H A D | cmd_exec.c | 87 char **todo; in run_command() local 95 todo = shargv; in run_command() 113 todo = av; in run_command() 115 execvp(todo[0], todo); in run_command() 117 fprintf(stderr, "%s: not found\n", todo[0]); in run_command() 119 perror(todo[0]); in run_command()
|
/openbsd/regress/usr.bin/nc/ |
H A D | util.c | 33 task_enqueue(struct task *todo, int ch, const char *msg) in task_enqueue() argument 37 todo->t_type = TEOF; in task_enqueue() 38 todo->t_msg = NULL; in task_enqueue() 41 todo->t_type = TDWN; in task_enqueue() 42 todo->t_msg = NULL; in task_enqueue() 45 todo->t_type = TRCV; in task_enqueue() 46 todo->t_msg = msg; in task_enqueue() 49 todo->t_type = TSND; in task_enqueue() 50 todo->t_msg = msg; in task_enqueue()
|
H A D | client-tcp.c | 50 struct task todo[100]; in main() local 60 if (tlen >= sizeof(todo) / sizeof(todo[0])) in main() 62 task_enqueue(&todo[tlen], ch, optarg); in main() 83 task_run(s, todo, tlen); in main()
|
/openbsd/gnu/usr.bin/perl/cpan/Test-Harness/t/sample-tests/ |
H A D | with_comments | 3 1..5 todo 1 2 4 5; 6 # Failed test 1 in t/todo.t at line 9 *TODO* 7 ok 2 # (t/todo.t at line 10 TODO?!) 10 # Test 4 got: '0' (t/todo.t at line 12 *TODO*) 12 ok 5 # (t/todo.t at line 13 TODO?!)
|
/openbsd/gnu/usr.bin/perl/dist/Test/t/ |
H A D | todo.t | 6 ### seeing the todo tests, otherwise you get people sending in bug reports 9 open F, ">", "todo"; 13 plan tests => $tests, todo => [2..$tests]; 28 open F, "<", "todo"; 31 unlink "todo"; 34 1..5 todo 2 3 4 5;
|
/openbsd/usr.bin/aucat/ |
H A D | dsp.c | 591 log_putu(todo); in enc_do() 612 for (f = todo * p->nch; f > 0; f--) { in enc_do() 649 log_putu(todo); in enc_sil_do() 738 log_putu(todo); in dec_do() 821 log_putu(todo); in dec_do_float() 865 log_putu(todo); in dec_do_ulaw() 872 for (f = todo * p->nch; f > 0; f--) in dec_do_ulaw() 926 log_puti(todo); in cmap_add() 942 for (i = todo; i > 0; i--) { in cmap_add() 972 log_puti(todo); in cmap_copy() [all …]
|
/openbsd/gnu/usr.bin/perl/cpan/Test-Simple/t/lib/Test/Builder/ |
H A D | NoOutput.pm | 63 todo => '', 67 my($out, $err, $todo) = map { gensym() } 1..3; 70 tie *$todo, "Test::Builder::NoOutput::Tee", \$outputs{all}, \$outputs{todo}; 74 $self->todo_output($todo);
|
/openbsd/usr.bin/sndiod/ |
H A D | siofile.c | 298 d->sio.todo = 0; in dev_sio_start() 388 if (d->sio.todo == 0) { in dev_sio_run() 402 d->sio.todo; in dev_sio_run() 404 d->sio.todo -= n; in dev_sio_run() 411 log_putu(d->sio.todo); in dev_sio_run() 417 if (d->sio.todo > 0) in dev_sio_run() 472 if (d->sio.todo == 0) { in dev_sio_run() 481 d->sio.todo; in dev_sio_run() 483 d->sio.todo -= n; in dev_sio_run() 490 log_putu(d->sio.todo); in dev_sio_run() [all …]
|
/openbsd/gnu/usr.bin/perl/cpan/Test-Simple/lib/Test/Tester/ |
H A D | Capture.pm | 53 my $todo = $self->todo(); 59 @$result{ 'ok', 'actual_ok' } = ( ( $todo ? 1 : 0 ), 0 ); 73 if( $todo ) { 74 my $what_todo = $todo; 86 my $msg = $todo ? "Failed (TODO)" : "Failed";
|