| /openbsd-src/usr.sbin/ldapd/ |
| H A D | filter.c | 28 static int ldap_filt_eq(struct ber_element *root, struct plan *plan); 29 static int ldap_filt_subs(struct ber_element *root, struct plan *plan); 30 static int ldap_filt_and(struct ber_element *root, struct plan *plan); 31 static int ldap_filt_or(struct ber_element *root, struct plan *plan); 32 static int ldap_filt_not(struct ber_element *root, struct plan *plan); 35 ldap_filt_eq(struct ber_element *root, struct plan *plan) in ldap_filt_eq() argument 40 if (plan->undefined) in ldap_filt_eq() 42 else if (plan->adesc != NULL) in ldap_filt_eq() 43 a = ldap_get_attribute(root, plan->adesc); in ldap_filt_eq() 45 a = ldap_find_attribute(root, plan->at); in ldap_filt_eq() [all …]
|
| H A D | search.c | 34 void filter_free(struct plan *filter); 196 filter_free(search->plan); in search_close() 250 if (ldap_matches_filter(elm, search->plan) != 0) { in check_search_entry() 309 if (search->plan->indexed) in conn_search() 322 if (search->plan->indexed) { in conn_search() 323 search->cindx = TAILQ_FIRST(&search->plan->indices); in conn_search() 345 if (rc == BT_SUCCESS && search->plan->indexed) { in conn_search() 360 search->plan->indexed > 1) { in conn_search() 384 if (search->plan->indexed) { in conn_search() 407 if (search->plan->indexed > 1 && is_dup(search, &key)) { in conn_search() [all …]
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Test-Simple/t/Test2/modules/Event/ |
| H A D | Plan.t | 8 my $plan = Test2::Event::Plan->new( 13 is($plan->summary, "Plan is 100 assertions", "simple summary"); 14 is_deeply( [$plan->sets_plan], [100, '', undef], "Got plan details"); 16 ok(!$plan->global, "regular plan is not a global event"); 17 is($plan->terminate, undef, "No terminate for normal plan"); 19 $plan->set_max(0); 20 $plan->set_directive('SKIP'); 21 $plan->set_reason('foo'); 22 is($plan->terminate, 0, "Terminate 0 on skip_all"); 24 is($plan->summary, "Plan is 'SKIP', foo", "skip summary"); [all …]
|
| /openbsd-src/usr.bin/find/ |
| H A D | function.c | 58 switch (plan->flags) { \ 71 static long long find_parsenum(PLAN *plan, char *option, char *vp, char *endch); 72 static void run_f_exec(PLAN *plan); 122 find_parsenum(PLAN *plan, char *option, char *vp, char *endch) in find_parsenum() argument 132 plan->flags = F_GREATER; in find_parsenum() 136 plan->flags = F_LESSTHAN; in find_parsenum() 139 plan->flags = F_EQUAL; in find_parsenum() 175 f_amin(PLAN *plan, FTSENT *entry) in f_amin() argument 180 60 - 1) / 60, plan->sec_data); in f_amin() 203 f_atime(PLAN *plan, FTSENT *entry) in f_atime() argument [all …]
|
| H A D | find.c | 59 PLAN *plan, *tail, *new; in find_formplan() local 77 for (plan = tail = NULL; *argv;) { in find_formplan() 80 if (plan == NULL) in find_formplan() 81 tail = plan = new; in find_formplan() 95 if (plan == NULL) { in find_formplan() 97 tail = plan = new; in find_formplan() 100 new->next = plan; in find_formplan() 101 plan = new; in find_formplan() 134 plan = paren_squish(plan); /* ()'s */ in find_formplan() 135 plan = not_squish(plan); /* !'s */ in find_formplan() [all …]
|
| H A D | operator.c | 122 paren_squish(PLAN *plan) /* plan with ( ) nodes */ in paren_squish() argument 134 while ((expr = yankexpr(&plan)) != NULL) { in paren_squish() 159 not_squish(PLAN *plan) /* plan to process */ in not_squish() argument 168 while ((next = yanknode(&plan)) != NULL) { in not_squish() 184 node = yanknode(&plan); in not_squish() 187 node = yanknode(&plan); in not_squish() 218 or_squish(PLAN *plan) /* plan with ors to be squished */ in or_squish() argument 226 while ((next = yanknode(&plan)) != NULL) { in or_squish() 247 next->p_data[1] = or_squish(plan); in or_squish()
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Test-Harness/t/ |
| H A D | grammar.t | 80 my $plan = '1..1'; 81 like $plan, $syntax_for{'plan'}, 'A basic plan should match its syntax'; 84 $plan =~ $syntax_for{'plan'}; 85 ok my $plan_token = $grammar->$method($plan), 100 $iterator->put($plan); 108 $plan = '1..0 # SKIP why not?'; 109 like $plan, $syntax_for{'plan'}, 'a basic plan should match its syntax'; 111 $plan =~ $syntax_for{'plan'}; 112 ok $plan_token = $grammar->$method($plan), 126 $iterator->put($plan); [all …]
|
| H A D | callbacks.t | 34 plan => sub { 35 my $plan = shift; 36 $plan_output = $plan->as_string; 66 plan => sub { 67 my $plan = shift; 68 $plan_output = $plan->as_string; 101 plan => sub { },
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Test-Simple/lib/Test2/ |
| H A D | Hub.pm | 357 if (my $plan = $f->{plan}) { 358 if ($plan->{skip}) { 359 $self->plan('SKIP'); 360 $self->set_skip_reason($plan->{details} || 1); 363 elsif ($plan->{none}) { 364 $self->plan('NO PLAN'); 367 $self->plan($plan->{count}); 414 my $plan 496 sub plan { global() subroutine [all...] |
| H A D | Event.pm | 38 'plan' => 'Test2::EventFacet::Plan', 188 if (my @plan = $self->sets_plan) { 189 $out->{plan} = {}; 191 $out->{plan}->{count} = $plan[0] if defined $plan[0]; 192 $out->{plan}->{details} = $plan[2] if defined $plan[2]; 194 if ($plan[ [all...] |
| /openbsd-src/gnu/usr.bin/perl/cpan/Test-Simple/t/Legacy/subtest/ |
| H A D | basic.t | 22 my $plan = sub { shift->plan(@_) }; 32 $tb->$plan( tests => 7 ); 39 $indented->$plan('no_plan'); 70 $tb->$plan('no_plan'); 77 $indented->$plan('no_plan'); 81 $indented2->$plan( tests => 2 ); 116 $child->$plan( tests => 3 ); 125 $child->$plan( tests => 3 ); 172 eval { $child->$plan( skip_all => 'cuz I said so' ) }; 175 plan skip_all => 'subtest with skip_all'; [all …]
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Math-BigInt/t/ |
| H A D | downgrade.t | |
| /openbsd-src/gnu/usr.bin/perl/cpan/ExtUtils-MakeMaker/t/ |
| H A D | 03-xsstatic.t | 19 plan skip_all => "ExtUtils::CBuilder not installed or couldn't find a compiler" 21 plan skip_all => 'Shared perl library' if $Config{useshrplib} eq 'true'; 22 plan skip_all => $^O if $^O =~ m!^(MSWin32|cygwin|haiku|darwin)$!; 23 plan skip_all => 'Skipped when not PERL_CORE nor in git repo' unless $ENV{PERL_CORE} or $release; 24 plan skip_all => 'Skipped as perl.exp is not in scope' if -s '../../../perl.exp' && $ENV{PERL_CORE}; 26 plan skip_all => "No tests" unless @tests; 27 plan tests => 6 * @tests;
|
| /openbsd-src/gnu/llvm/lldb/source/API/ |
| H A D | SBThreadPlan.cpp | 239 SBThreadPlan plan = SBThreadPlan( in QueueThreadPlanForStepOverRange() local 246 plan.GetSP()->SetPrivate(true); in QueueThreadPlanForStepOverRange() 248 return plan; in QueueThreadPlanForStepOverRange() 279 SBThreadPlan plan = in QueueThreadPlanForStepInRange() local 286 plan.GetSP()->SetPrivate(true); in QueueThreadPlanForStepInRange() 288 return plan; in QueueThreadPlanForStepInRange() 314 SBThreadPlan plan = in QueueThreadPlanForStepOut() local 322 plan.GetSP()->SetPrivate(true); in QueueThreadPlanForStepOut() 324 return plan; in QueueThreadPlanForStepOut() 348 SBThreadPlan plan = in QueueThreadPlanForRunToAddress() local [all …]
|
| /openbsd-src/gnu/usr.bin/perl/cpan/autodie/t/ |
| H A D | mkdir.t | 13 mkdir TMPDIR or plan skip_all => "Failed to make test directory"; 16 -d TMPDIR or plan skip_all => "Failed to make test directory"; 19 if(mkdir TMPDIR) { plan skip_all => "Attempt to remake a directory succeeded";} 22 rmdir TMPDIR or plan skip_all => "Failed to remove directory"; 25 if(-d TMPDIR) { plan skip_all => "Failed to delete test directory"; } 28 if(rmdir TMPDIR) { plan skip_all => "Able to rmdir directory twice"; } 30 plan tests => 18;
|
| H A D | flock.t | 12 || plan skip_all => "EWOULDBLOCK not defined on this system"; 27 plan skip_all => "Cannot lock this test on this system."; 33 plan skip_all => "flock on my own test not supported on this system."; 39 plan skip_all => "this test requires locking a file twice with ". 46 plan skip_all => "Odd, I can't unlock a file with flock on this system."; 51 plan 'no_plan';
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Test-Simple/lib/Test/ |
| H A D | Builder.pm | 298 my $plan = $chub->plan || 0; 303 my $num_extra = $plan =~ m/\D/ ? 0 : $count - $plan; 305 my $s = $plan == 1 ? '' : 's'; 307 Looks like you planned $plan test$s but ran $count. 330 my $plan = $chub->plan; 331 if ( $plan && $plan e 493 sub plan { global() subroutine [all...] |
| /openbsd-src/gnu/usr.bin/perl/cpan/Test-Harness/lib/TAP/ |
| H A D | Parser.pm | 55 plan 209 plan => \&plan_callback, 375 plan => '', # the test plan (e.g., 1..3) 392 plan 565 Indicates whether or not this is the test plan line. 603 =head2 C<plan> methods 610 =head3 C<plan> 613 print $result->plan; 622 If a SKIP directive is included with the plan, thi [all...] |
| /openbsd-src/gnu/usr.bin/perl/cpan/Test-Simple/t/Legacy/ |
| H A D | plan_bad.t | 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 | no_plan.t | 19 my $plan = sub { shift->plan(@_) }; 23 ok !eval { $tb->$plan(tests => undef) }; 27 ok !eval { $tb->$plan(tests => 0) }; 35 ok $tb->$plan(no_plan => 1);
|
| /openbsd-src/gnu/usr.bin/perl/cpan/libnet/t/ |
| H A D | smtp_ipv6.t | 12 plan skip_all => "no Socket"; 15 plan skip_all => "EBCDIC but no Convert::EBCDIC"; 26 plan skip_all => "no IPv6 support found in Net::SMTP" if ! $inet6class; 28 plan skip_all => "fork not supported on this platform" 38 plan skip_all => "cannot create listener on ::1: $!" if ! $srv; 42 plan tests => 1;
|
| H A D | pop3_ipv6.t | 12 plan skip_all => "no Socket"; 15 plan skip_all => "EBCDIC but no Convert::EBCDIC"; 26 plan skip_all => "no IPv6 support found in Net::POP3" if ! $inet6class; 28 plan skip_all => "fork not supported on this platform" 38 plan skip_all => "cannot create listener on ::1: $!" if ! $srv; 42 plan tests => 1;
|
| H A D | nntp_ipv6.t | 12 plan skip_all => "no Socket"; 15 plan skip_all => "EBCDIC but no Convert::EBCDIC"; 26 plan skip_all => "no IPv6 support found in Net::NNTP" if ! $inet6class; 28 plan skip_all => "fork not supported on this platform" 38 plan skip_all => "cannot create listener on ::1: $!" if ! $srv; 43 plan tests => 1;
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Test-Simple/lib/Test2/Hub/ |
| H A D | Subtest.pm | 40 my $plan = $f->{plan} or return $out; 41 return $out unless $plan->{skip}; 60 if(my $plan = $f->{plan}) { 62 return if $plan->{skip} 96 Normally a skip-all plan event will cause a subtest to stop executing. This is
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Test-Simple/lib/Test2/Util/ |
| H A D | Facets2Legacy.pm | 83 my $plan = $facet_data->{plan} or return; 84 my @out = ($plan->{count} || 0); 86 if ($plan->{skip}) { 88 push @out => $plan->{details} if defined $plan->{details}; 90 elsif ($plan->{none}) { 236 Check if the event or facets set a plan, and return the plan details.
|