| /openbsd-src/gnu/usr.bin/perl/cpan/Math-BigInt/t/ |
| H A D | round.t | 50 my ($x, $method, $A, $result) = @_; 52 is($x->copy->$method($A), $result, "$method($A)"); 53 is($x->copy->$method($A.'.1'), $result, "$method(${A}.1)"); 54 is($x->copy->$method($A.'.5'), $result, "$method(${A}.5)"); 55 is($x->copy->$method($A.'.6'), $result, "$method(${A}.6)"); 56 is($x->copy->$method($A.'.9'), $result, "$method(${A}.9)"); 60 my ($x, $method, $P, $result) = @_; 62 is($x->copy->$method(undef, $P), $result, "$method(undef, $P)"); 63 is($x->copy->$method(undef, $P.'.1'), $result, "$method(undef, ${P}.1)"); 64 is($x->copy->$method(undef, $P.'.5'), $result, "$method(undef.${P}.5)"); [all …]
|
| H A D | bigfltpm.t | 19 # bug #17447: Can't call method Math::BigFloat->bsub, not a valid method 34 # bgcd() as function, class method and instance method. 41 isa_ok($gcd1, "Math::BigFloat", "bgcd() as class method"); 42 is($gcd1, 3, "bgcd() as class method"); 46 isa_ok($gcd2, "Math::BigFloat", "bgcd() as instance method"); 47 is($gcd2, 3, "bgcd() as instance method"); 51 # blcm() as function, class method and instance method. 58 isa_ok($lcm1, "Math::BigFloat", "blcm() as class method"); 59 is($lcm1, 108, "blcm() as class method"); 63 isa_ok($lcm2, "Math::BigFloat", "blcm() as instance method"); [all …]
|
| /openbsd-src/gnu/usr.bin/perl/cpan/version/t/ |
| H A D | coretests.pm | 20 my ($CLASS, $method, $qv_declare) = @_; 28 $version = $CLASS->$method(5.005_03); 30 $version = $CLASS->$method(1.23); 34 $version = $CLASS->$method(23); 38 $version = $CLASS->$method("5.005_03"); 40 $version = $CLASS->$method("v1.23"); 44 $version = $CLASS->$method("5.005"); 46 $version = $CLASS->$method("5.006.001"); 49 $version = $CLASS->$method("v1.2.3_4"); 53 eval {my $version = $CLASS->$method("1. [all...] |
| /openbsd-src/regress/lib/libssl/unit/ |
| H A D | ssl_methods.c | 23 const SSL_METHOD *(*method)(void); member 31 .method = SSLv23_method, 37 .method = SSLv23_server_method, 43 .method = SSLv23_client_method, 50 .method = TLSv1_method, 56 .method = TLSv1_server_method, 62 .method = TLSv1_client_method, 69 .method = TLSv1_1_method, 75 .method = TLSv1_1_server_method, 81 .method = TLSv1_1_client_method, [all …]
|
| /openbsd-src/gnu/usr.bin/perl/t/op/ |
| H A D | const-optree.t | 47 method => 0, 65 method => 0, 75 method => 0, 85 method => 0, 95 method => 0, 105 method => 0, 116 method => 0, 127 method => 0, 146 method => 0, 161 method => 0, [all …]
|
| H A D | method.t | 159 my $method = $BB::AUTOLOAD; 160 my $msg = "B: In $method, $c"; 161 eval "sub $method { \$msg }"; 162 goto &$method; 166 my $method = $C::AUTOLOAD; 167 my $msg = "C: In $method, $c"; 168 eval "sub $method { \$msg }"; 169 goto &$method; 191 my $method = $::AUTOLOAD; 193 *$::AUTOLOAD = sub { "new B: In $method, $c" }; [all …]
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Test-Harness/lib/App/Prove/State/Result/ |
| H A D | Test.pm | 32 name => { method => 'name' }, 33 elapsed => { method => 'elapsed', default => 0 }, 34 gen => { method => 'generation', default => 1 }, 35 last_pass_time => { method => 'last_pass_time', default => undef }, 36 last_fail_time => { method => 'last_fail_time', default => undef }, 37 last_result => { method => 'result', default => 0 }, 38 last_run_time => { method => 'run_time', default => undef }, 39 last_todo => { method => 'num_todo', default => 0 }, 40 mtime => { method => 'mtime', default => undef }, 41 seq => { method [all...] |
| /openbsd-src/gnu/usr.bin/perl/t/class/ |
| H A D | field.t | 14 # We can't test fields in isolation without having at least one method to 15 # use them from. We'll try to keep most of the heavy testing of method 16 # abilities to t/class/method.t 18 # field in method 22 method incr { return ++$f; } 39 method setpos { $x = $_[0]; $y = $_[1] } 40 method x { return $x; } 41 method y { return $y; } 57 method setup { 63 method tes [all...] |
| /openbsd-src/lib/libcrypto/ui/ |
| H A D | ui_lib.c | 79 UI_new_method(const UI_METHOD *method) in UI_new_method() argument 87 if ((ret->meth = method) == NULL) in UI_new_method() 536 UI_set_default_method(const UI_METHOD *method) in UI_set_default_method() argument 538 default_UI_meth = method; in UI_set_default_method() 560 UI_set_method(UI *ui, const UI_METHOD *method) in UI_set_method() argument 562 ui->meth = method; in UI_set_method() 571 UI_METHOD *method = NULL; in UI_create_method() local 573 if ((method = calloc(1, sizeof(UI_METHOD))) == NULL) in UI_create_method() 577 if ((method->name = strdup(name)) == NULL) in UI_create_method() 581 return method; in UI_create_method() [all …]
|
| H A D | ui.h | 86 UI *UI_new_method(const UI_METHOD *method); 166 * UI won't look at those, but will pass them on to the method routines. They 206 * Note that the UI_OpenSSL() method completely ignores the user data. 255 /* The method with all the built-in thingies */ 261 * ---------- For method writers ---------- 262 * A method contains a number of functions that implement the low level 299 * All method functions take a UI as argument. Additionally, the writer and 312 * This is only needed by method authors. 326 int UI_method_set_opener(UI_METHOD *method, int (*opener)(UI *ui)); 327 int UI_method_set_writer(UI_METHOD *method, [all...] |
| /openbsd-src/lib/libcrypto/x509/ |
| H A D | x509_prn.c | 112 const X509V3_EXT_METHOD *method; in X509V3_EXT_print() local 116 if (!(method = X509V3_EXT_get(ext))) in X509V3_EXT_print() 119 if (method->it) in X509V3_EXT_print() 121 method->it); in X509V3_EXT_print() 123 ext_str = method->d2i(NULL, &p, ext->value->length); in X509V3_EXT_print() 128 if (method->i2s) { in X509V3_EXT_print() 129 if (!(value = method->i2s(method, ext_str))) { in X509V3_EXT_print() 134 } else if (method->i2v) { in X509V3_EXT_print() 135 if (!(nval = method->i2v(method, ext_str, NULL))) { in X509V3_EXT_print() 140 method->ext_flags & X509V3_EXT_MULTILINE); in X509V3_EXT_print() [all …]
|
| /openbsd-src/gnu/usr.bin/binutils/gdb/testsuite/gdb.cp/ |
| H A D | virtfunc.exp | 55 { method public "int fvb();" } 56 { method public "virtual int vvb();" } 67 { method public "int f();" } 68 { method public "virtual int vv();" } 79 { method public "virtual int f();" } 89 { method public "virtual int f();" } 107 { method public "virtual int vg();" } 118 { method public "static void s();" } 119 { method public "virtual int vg();" } 120 { method public "virtual int vd();" } [all …]
|
| H A D | derivation.exp | 76 { method public "A();" } 77 { method public "int afoo();" } 78 { method public "int foo();" } 97 { method public "D();" } 98 { method public "int dfoo();" } 99 { method public "int foo();" } 122 { method public "E();" } 123 { method public "int efoo();" } 124 { method public "int foo();" } 147 { method public "F();" } [all …]
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Test-Simple/t/Legacy/Builder/ |
| H A D | reset_outputs.t | 24 for my $method (qw(output failure_output todo_output)) { 25 $original_outputs{$method} = $tb->$method(); 26 $tb->$method($fh); 27 is $tb->$method(), $fh; 32 for my $method (qw(output failure_output todo_output)) { 33 is $tb->$method(), $original_outputs{$method}, "reset_outputs() resets $method";
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Math-BigRat/t/ |
| H A D | bigrat.t | |
| /openbsd-src/usr.bin/ssh/ |
| H A D | auth2.c | 96 #define MATCH_NONE 0 /* method or submethod mismatch */ 97 #define MATCH_METHOD 1 /* method matches (no submethod specified) */ 98 #define MATCH_BOTH 2 /* method and submethod match */ 99 #define MATCH_PARTIAL 3 /* method matches, submethod can't be checked */ 263 char *user = NULL, *service = NULL, *method = NULL, *style = NULL; in input_userauth_request() local 272 (r = sshpkt_get_cstring(ssh, &method, NULL)) != 0) in input_userauth_request() 274 debug("userauth-request for user %s service %s method %s", user, service, method); in input_userauth_request() 326 m = authmethod_lookup(authctxt, method); in input_userauth_request() 328 debug2("input_userauth_request: try method in input_userauth_request() 349 const char *method = packet_method; userauth_finish() local 425 auth2_method_allowed(Authctxt * authctxt,const char * method,const char * submethod) auth2_method_allowed() argument 492 Authmethod *method; authmethod_lookup() local 556 list_starts_with(const char * methods,const char * method,const char * submethod) list_starts_with() argument 588 remove_method(char ** methods,const char * method,const char * submethod) remove_method() argument 614 auth2_update_methods_lists(Authctxt * authctxt,const char * method,const char * submethod) auth2_update_methods_lists() argument 724 auth2_update_session_info(Authctxt * authctxt,const char * method,const char * submethod) auth2_update_session_info() argument [all...] |
| /openbsd-src/gnu/usr.bin/perl/cpan/NEXT/t/ |
| H A D | next.t | 10 sub A::method { return ( 3, $_[0]->NEXT::method() ) } 26 sub D::method { return ( 2, $_[0]->NEXT::method() ) } 29 sub D::oops { $_[0]->NEXT::method() } 34 sub E::method { return ( 4, $_[0]->NEXT::method(), $_[0]->NEXT::method() ) } 40 sub F::method { return ( 5 ) } 45 sub G::method { return ( 6 ) } 56 @vals = $obj->method(); 60 @vals = $obj->method(); 75 local *C::AUTOLOAD = sub { $_[0]->NEXT::method() }; 83 *C::method = sub{ $_[0]->NEXT::AUTOLOAD() }; [all …]
|
| /openbsd-src/gnu/usr.bin/cvs/src/ |
| H A D | root.c | 310 newroot->method = null_method; in new_cvsroot_t() 378 char *method = ++cvsroot_copy; local 389 if (! (p = strchr (method, ':'))) 400 if (strcmp (method, "local") == 0) 401 newroot->method = local_method; 402 else if (strcmp (method, "pserver") == 0) 403 newroot->method = pserver_method; 404 else if (strcmp (method, "kserver") == 0) 405 newroot->method = kserver_method; 406 else if (strcmp (method, "gserver") == 0) [all …]
|
| /openbsd-src/gnu/usr.bin/perl/ext/mro/ |
| H A D | mro.pm | 29 sub method { subroutine 30 my $method = mro::_nextcan($_[0], 1); 31 goto &$method; 37 sub method { subroutine 38 my $method = mro::_nextcan($_[0], 0); 39 goto &$method if defined $method; 53 use mro; # enables next::method and friends globally 61 with method resolution order and method cachin [all...] |
| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.law/ |
| H A D | casts2.C | 7 typedef boolean (VObject::*method)(); typedef 11 #define methodOf(o,m) (method)(&o::m) 16 boolean perform(method ); 17 boolean perform(method , long); 18 void affectMethod(method ); 23 boolean VObject::perform(method m) in perform() 30 boolean VObject::perform(method m, long param) in perform() 36 void VObject::affectMethod(method m) in affectMethod()
|
| /openbsd-src/gnu/usr.bin/perl/ext/B/ |
| H A D | B.pm | 14 return unless scalar @_ > 1; # Called as a method call. 168 my($op, $method, $level) = @_; 172 $op->$method($level) if $op->can($method); 177 walkoptree_slow($kid, $method, $level + 1); 187 walkoptree_slow($op->pmreplroot, $method, $level + 1); 221 my ($op, $method, $level) = @_; 232 $op->$method($level); 238 walkoptree_exec($op->other, $method, $level + 1); 244 walkoptree_exec($pmreplstart, $method, [all...] |
| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/objc/execute/ |
| H A D | class_self-1.m | 4 /* Test calling a class method when there is an instance method 8 method might get picked up and used instead of the class method of 19 - (struct d) method; method 23 - (struct d) method 38 + (int) method; class 44 if ([self method] != 4) 50 + (int) method
|
| /openbsd-src/gnu/usr.bin/perl/ext/XS-APItest/t/ |
| H A D | gv_autoload4.t | 10 my $method = 0; 21 ok my $glob = XS::APItest::gv_autoload_type(\%::, $sub, 1, $method); 26 …is $glob = XS::APItest::gv_autoload_type(\%::, $sub, $type, $method), "*main::AUTOLOAD", "*main::A… 32 ok $glob = XS::APItest::gv_autoload_type(\%::, $sub, 0, $method); 35 ok $glob = XS::APItest::gv_autoload_type(\%::, $sub, 1, $method); 38 ok $glob = XS::APItest::gv_autoload_type(\%::, $sub, 2, $method); 41 ok $glob = XS::APItest::gv_autoload_type(\%::, $sub, 3, $method); 57 ::ok $glob = XS::APItest::gv_autoload_type(\%main::, $sub = "method", $type, $method); 59 ::ok $glob = XS::APItest::gv_autoload_type(\%main::, $sub = "method", $type, $method);
|
| /openbsd-src/usr.bin/compress/ |
| H A D | main.c | 174 const struct compressor *method; in main() local 187 method = M_DEFLATE; in main() 192 method = M_DEFLATE; in main() 194 method = M_COMPRESS; in main() 197 optstr = method->opts; in main() 217 strlcpy(suffix, method->suffix, sizeof(suffix)); in main() 219 if (method == M_DEFLATE && (p = getenv("GZIP")) != NULL) { in main() 257 method = M_DEFLATE; in main() 258 strlcpy(suffix, method->suffix, sizeof(suffix)); in main() 284 method = M_DEFLATE; in main() [all …]
|
| /openbsd-src/lib/libcrypto/bio/ |
| H A D | bio_cb.c | 93 snprintf(p, p_maxlen, "Free - %s\n", bio->method->name); in BIO_debug_callback() 96 if (bio->method->type & BIO_TYPE_DESCRIPTOR) in BIO_debug_callback() 100 bio->method->name, bio->num); in BIO_debug_callback() 103 bio->num, (unsigned long)argi, bio->method->name); in BIO_debug_callback() 106 if (bio->method->type & BIO_TYPE_DESCRIPTOR) in BIO_debug_callback() 110 bio->method->name, bio->num); in BIO_debug_callback() 113 bio->num, (unsigned long)argi, bio->method->name); in BIO_debug_callback() 117 "puts() - %s\n", bio->method->name); in BIO_debug_callback() 121 (unsigned long)argi, bio->method->name); in BIO_debug_callback() 125 (unsigned long)argi, bio->method->name); in BIO_debug_callback()
|