Home
last modified time | relevance | path

Searched refs:method (Results 1 – 25 of 1100) sorted by relevance

12345678910>>...44

/openbsd/gnu/usr.bin/perl/cpan/Math-BigInt/t/
H A Dround.t52 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)");
62 is($x->copy->$method(undef, $P), $result, "$method(undef, $P)");
74 is($x->copy->$method($cy, $A), $result, "$method($cy, $A)");
75 is($x->copy->$method($cy, $A.'.1'), $result, "$method($cy, ${A}.1)");
76 is($x->copy->$method($cy, $A.'.5'), $result, "$method($cy, ${A}.5)");
77 is($x->copy->$method($cy, $A.'.6'), $result, "$method($cy, ${A}.6)");
[all …]
H A Dbigfltpm.t19 # 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/gnu/usr.bin/perl/cpan/version/t/
H A Dcoretests.pm28 $version = $CLASS->$method(5.005_03);
30 $version = $CLASS->$method(1.23);
34 $version = $CLASS->$method(23);
40 $version = $CLASS->$method("v1.23");
334 $version = $CLASS->$method(1.2.3);
336 $version = $CLASS->$method(1.0.0);
489 my $v2 = $CLASS->$method($v1);
533 my $v = $CLASS->$method("420");
535 $v = $CLASS->$method(4.2.0);
545 ok $CLASS->$method(1.2.3) < $CLASS->$method(1.2.3.1), 'Compare 3 and 4 digit v-strings' ;
[all …]
/openbsd/regress/lib/libssl/unit/
H A Dssl_methods.c31 .method = SSLv23_method,
50 .method = TLSv1_method,
56 .method = TLSv1_server_method,
69 .method = TLSv1_1_method,
88 .method = TLSv1_2_method,
107 .method = TLS_method,
113 .method = TLS_server_method,
119 .method = TLS_client_method,
126 .method = DTLSv1_method,
145 .method = DTLSv1_2_method,
[all …]
/openbsd/gnu/usr.bin/perl/t/op/
H A Dconst-optree.t47 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 Dmethod.t159 my $method = $BB::AUTOLOAD;
160 my $msg = "B: In $method, $c";
161 eval "sub $method { \$msg }";
162 goto &$method;
166 my $method = $C::AUTOLOAD;
168 eval "sub $method { \$msg }";
169 goto &$method;
191 my $method = $::AUTOLOAD;
262 @ret = Saab->SUPER::method;
428 sub method { 1 }
[all …]
/openbsd/gnu/usr.bin/perl/cpan/Test-Harness/lib/App/Prove/State/Result/
H A DTest.pm32 name => { method => 'name' },
33 elapsed => { method => 'elapsed', default => 0 },
34 gen => { method => 'generation', default => 1 },
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 => 'sequence', default => 1 },
42 total_passes => { method => 'total_passes', default => 0 },
44 parser => { method => 'parser' },
[all …]
/openbsd/gnu/usr.bin/perl/t/class/
H A Dfield.t22 method incr { return ++$f; }
40 method x { return $x; }
57 method setup {
63 method test {
78 method make_incrsub {
100 method make_incrmeth {
121 method m { return "unit-$x" }
125 method m { return "unit-$x" }
163 method x { return $x; }
166 method y { return @y; }
[all …]
/openbsd/lib/libcrypto/ui/
H A Dui_lib.c562 ui->meth = method; in UI_set_method()
581 return method; in UI_create_method()
593 if (method == NULL) in UI_destroy_method()
596 free(method->name); in UI_destroy_method()
597 free(method); in UI_destroy_method()
604 if (method == NULL) in UI_method_set_opener()
616 if (method == NULL) in UI_method_set_writer()
628 if (method == NULL) in UI_method_set_flusher()
640 if (method == NULL) in UI_method_set_reader()
652 if (method == NULL) in UI_method_set_closer()
[all …]
H A Dui.h86 UI *UI_new_method(const UI_METHOD *method);
326 int UI_method_set_opener(UI_METHOD *method, int (*opener)(UI *ui));
327 int UI_method_set_writer(UI_METHOD *method,
329 int UI_method_set_flusher(UI_METHOD *method, int (*flusher)(UI *ui));
330 int UI_method_set_reader(UI_METHOD *method,
332 int UI_method_set_closer(UI_METHOD *method, int (*closer)(UI *ui));
333 int UI_method_set_prompt_constructor(UI_METHOD *method,
336 int (*UI_method_get_opener(const UI_METHOD *method))(UI *);
337 int (*UI_method_get_writer(const UI_METHOD *method))(UI *, UI_STRING *);
338 int (*UI_method_get_flusher(const UI_METHOD *method))(UI *);
[all …]
/openbsd/lib/libcrypto/x509/
H A Dx509_prn.c112 const X509V3_EXT_METHOD *method; in X509V3_EXT_print() local
119 if (method->it) in X509V3_EXT_print()
121 method->it); 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()
141 } else if (method->i2r) { in X509V3_EXT_print()
142 if (!method->i2r(method, ext_str, out, indent)) in X509V3_EXT_print()
150 if (method->it) in X509V3_EXT_print()
[all …]
/openbsd/gnu/usr.bin/binutils/gdb/testsuite/gdb.cp/
H A Dvirtfunc.exp55 { 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();" }
121 { method public "int fd();" }
[all …]
H A Dderivation.exp76 { 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/gnu/usr.bin/perl/cpan/Test-Simple/t/Legacy/Builder/
H A Dreset_outputs.t24 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/usr.bin/ssh/
H A Dauth2.c341 free(method); in input_userauth_request()
351 const char *method = packet_method; in userauth_finish() local
365 method = m->name; in userauth_finish()
370 !auth_root_allowed(ssh, method)) in userauth_finish()
494 Authmethod *method; in authmethod_lookup() local
499 if (method->enabled == NULL || *(method->enabled) == 0) { in authmethod_lookup()
508 return method; in authmethod_lookup()
539 method, _methods); in auth2_methods_valid()
548 method); in auth2_methods_valid()
608 size_t l = strlen(method); in list_starts_with()
[all …]
/openbsd/gnu/usr.bin/perl/cpan/Math-BigRat/t/
H A Dbigrat.t33 $x = $mbr->$method(1234);
36 $x = $mbr->$method("1234/1");
39 $x = $mbr->$method("1234/2");
48 $x = $mbr->$method("0.1/10");
57 $x = $mbr->$method("5/1e2");
63 $x = $mbr->$method("1 / 3");
69 $x = $mbr->$method("NaN");
72 $x = $mbr->$method("inf");
75 $x = $mbr->$method("-inf");
78 $x = $mbr->$method("1/");
[all …]
/openbsd/gnu/usr.bin/perl/cpan/NEXT/t/
H A Dnext.t10 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();
84 *C::method = *C::method;
85 eval { $obj->method(); } && print "not ";
[all …]
/openbsd/gnu/usr.bin/cvs/src/
H A Droot.c310 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;
409 newroot->method = server_method;
411 newroot->method = ext_method;
413 newroot->method = fork_method;
442 && (newroot->method != fork_method))
590 switch (newroot->method)
[all …]
/openbsd/gnu/usr.bin/perl/ext/mro/
H A Dmro.pm29 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;
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.law/
H A Dcasts2.C7 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/gnu/usr.bin/perl/ext/B/
H A DB.pm168 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, $level + 1);
264 walkoptree_exec($replstart, $method, $level + 1);
272 my ($symref, $method, $recurse, $prefix) = @_;
[all …]
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/objc/execute/
H A Dclass_self-1.m4 /* 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/gnu/usr.bin/perl/ext/XS-APItest/t/
H A Dgv_autoload4.t10 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/usr.bin/compress/
H A Dmain.c174 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()
257 method = M_DEFLATE; in main()
284 method = M_DEFLATE; in main()
304 method = M_COMPRESS; in main()
652 const struct compressor *method; in check_method() local
657 for (method = &c_table[0]; method->name != NULL; method++) { in check_method()
[all …]
/openbsd/lib/libcrypto/bio/
H A Dbio_cb.c93 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()

12345678910>>...44