/openbsd/gnu/usr.bin/perl/ext/XS-APItest/t/ |
H A D | call.t | 71 ok(eq_array( [ call_sv(\&f, $flags, @$args) ], $expected), 74 ok(eq_array( [ call_sv(*f, $flags, @$args) ], $expected), 77 ok(eq_array( [ call_sv('f', $flags, @$args) ], $expected), 103 ok(eq_array( [ call_sv('d', $flags|G_EVAL|$keep, @$args) ], 142 ok(eq_array( [ sub { call_sv('f', $flags|G_NOARGS, "bad") }->(@$args) ], 157 ok(eq_array( [ eval { call_sv('d', $flags, @$args)}, $@ ], 191 call_sv(sub { die $inx if $inx }, G_VOID|G_EVAL); 197 call_sv(sub { die $inx if $inx }, G_VOID|G_EVAL|G_KEEPERR); 208 call_sv(sub { die "aa\n" }, G_VOID|G_EVAL|G_KEEPERR); 216 call_sv(sub { use warnings "misc"; die "aa\n" }, G_VOID|G_EVAL|G_KEEPERR); [all …]
|
/openbsd/gnu/usr.bin/perl/dist/Devel-PPPort/parts/inc/ |
H A D | call | 16 call_sv 28 __UNDEFINED__ call_sv perl_call_sv 72 # ifdef call_sv 73 # undef call_sv 76 # define call_sv(sv, flags) ((flags) & G_METHOD ? perl_call_method((char *) SvPV_nolen_const(sv),… 265 call_sv(sv, flags, ...) 276 i = call_sv(sv, flags); 346 i = call_sv(sv, flags | G_METHOD); 398 ok(eq_array( [ &Devel::PPPort::call_sv(\&f, $flags, @$args) ], $expected)); 399 ok(eq_array( [ &Devel::PPPort::call_sv(*f, $flags, @$args) ], $expected)); [all …]
|
/openbsd/gnu/usr.bin/perl/t/bigmem/ |
H A D | stack.t | 191 my $ret_count = XS::APItest::call_sv(\&arg_count, G_LIST, x()); 198 my $ret_count = ( x(), XS::APItest::call_sv(\&list, G_LIST) )[-1];
|
/openbsd/gnu/usr.bin/perl/pod/ |
H A D | perlcall.pod | 56 I32 call_sv(SV* sv, I32 flags); 75 =item call_sv 81 use of I<call_sv>. 396 I<call_sv>, you should always try to use I<call_sv>. See 397 L</Using call_sv> for details. 1061 =head2 Using call_sv 1067 L<call_sv|perlapi/call_sv>. 1090 This is where I<call_sv> is useful. 1094 I<call_sv> instead of I<call_pv>. 1633 call_sv(*sv, G_DISCARD); [all …]
|
H A D | perldelta.pod | 94 Using C<goto> to tail call, or using the call_sv() and related APIs to call,
|
H A D | perl5122delta.pod | 220 "C<call_sv(code, G_EVAL)>" is called from an XS destructor has been fixed.
|
/openbsd/gnu/usr.bin/perl/ext/DynaLoader/ |
H A D | dlutils.c | 89 call_sv((SV*)sub, G_DISCARD | G_NODEBUG); in dl_unload_all_files()
|
/openbsd/gnu/usr.bin/perl/cpan/Scalar-List-Utils/ |
H A D | ListUtil.xs | 231 call_sv((SV *)randcv, G_SCALAR); in MY_callrand() 609 call_sv((SV*)cv, G_SCALAR); in reduce() 687 call_sv((SV*)cv, G_SCALAR); in first() 753 call_sv((SV*)cv, G_SCALAR); in any() 993 call_sv((SV*)cv, G_SCALAR); in pairfirst() 1079 call_sv((SV*)cv, G_SCALAR); in pairgrep() 1217 count = call_sv((SV*)cv, G_LIST); in pairmap()
|
/openbsd/gnu/usr.bin/perl/ext/XS-APItest/ |
H A D | APItest.xs | 727 call_sv((SV*)cleanup_code_ref, G_VOID|G_DISCARD); in THX_run_cleanup() 2706 retcnt = call_sv((SV*)i_sub, 0); /* try a CV* */ 2711 retcnt = call_sv(miscsv, 0); /* try a PV */ 2717 retcnt = call_sv((SV*)i_gv, 0); /* try a GV* */ 2724 retcnt = call_sv(&PL_sv_yes, G_EVAL); 2731 retcnt = call_sv((SV*)i_sub, 0); /* call again to increase counter */ 2736 retcnt = call_sv(&PL_sv_no, G_EVAL); 2748 retcnt = call_sv(&PL_sv_undef, G_EVAL); 2760 retcnt = call_sv((SV*)hv, G_EVAL); 2773 call_sv(sv, flags, ...) [all …]
|
/openbsd/gnu/usr.bin/perl/ |
H A D | universal.c | 259 call_sv((SV *)isacv, G_SCALAR); in Perl_sv_isa_sv() 333 call_sv(methodname, G_SCALAR | G_METHOD); in Perl_sv_does_sv()
|
H A D | class.c | 189 call_sv((SV *)aux->xhv_class_initfields_cv, G_VOID); in XS() 212 call_sv((SV *)cvp[i], G_VOID); in XS()
|
H A D | pp_ctl.c | 3441 call_sv(MUTABLE_SV(gotocv), G_SCALAR | G_NODEBUG); in PP() 4199 call_sv(MUTABLE_SV(cv), G_DISCARD); in S_doeval_compile() 4499 call_sv(PL_hook__require__before, G_SCALAR); in S_require_file() 4808 count = call_sv(loader, G_LIST|G_EVAL); in S_require_file() 5872 (void)call_sv(e, G_SCALAR); in S_do_smartmatch() 5900 (void)call_sv(e, G_SCALAR); in S_do_smartmatch() 5917 (void)call_sv(e, G_SCALAR); in S_do_smartmatch() 6821 count = call_sv(filter_sub, G_SCALAR|G_EVAL); in S_run_user_filter()
|
H A D | pp_sys.c | 627 call_sv(MUTABLE_SV(GvCV(gv)), 768 ret_args = call_sv(methname, (flags & G_WANT)|G_METHOD_NAMED); in Perl_tied_method() 1194 call_sv(MUTABLE_SV(GvCV(gv)), G_SCALAR); 1244 call_sv(MUTABLE_SV(cv), G_VOID); 1327 call_sv(MUTABLE_SV(GvCV(gv)), G_SCALAR); 1338 call_sv(MUTABLE_SV(GvCV(gv)), G_SCALAR);
|
H A D | mg.c | 2137 call_sv(meth, G_SCALAR|G_DISCARD|G_METHOD_NAMED); in Perl_magic_methcall() 2140 if (call_sv(meth, G_SCALAR|G_METHOD_NAMED)) in Perl_magic_methcall() 3783 call_sv(MUTABLE_SV(cv), G_DISCARD|G_EVAL); in Perl_perly_sighandler()
|
H A D | perl.c | 73 call_sv(MUTABLE_SV((cv)), G_EVAL|G_DISCARD|G_VOID); 3072 return call_sv(MUTABLE_SV(get_cv(sub_name, GV_ADD)), flags); in Perl_call_pv() 3098 return call_sv(sv, flags | G_METHOD); in Perl_call_method()
|
H A D | scope.c | 2007 (void)call_sv(coderef, G_VOID | G_EVAL | G_KEEPERR); in Perl_magic_freedestruct()
|
/openbsd/gnu/usr.bin/perl/cpan/Encode/ |
H A D | Encode.xs | 107 argc = call_sv(fallback_cb, G_SCALAR); in do_fallback_cb() 133 argc = call_sv(fallback_cb, G_SCALAR); in do_bytes_fallback_cb()
|
/openbsd/gnu/usr.bin/perl/ext/PerlIO-via/ |
H A D | via.xs | 116 count = call_sv((SV *) cv, flags); in PerlIOVia_method()
|
/openbsd/gnu/usr.bin/perl/cpan/Term-ReadKey/ |
H A D | ppport.h | 15367 #ifndef call_sv 15368 # define call_sv perl_call_sv macro 15430 # ifdef call_sv 15431 # undef call_sv 15434 # define call_sv(sv, flags) ((flags) & G_METHOD ? perl_call_method((char *) SvPV_nolen_const(sv),… macro 15437 # define call_sv(sv, flags) ((flags) & G_METHOD ? Perl_call_method(aTHX_ (char *) SvPV_nolen_cons… macro
|
/openbsd/gnu/usr.bin/perl/ext/GDBM_File/ |
H A D | GDBM_File.xs | 211 call_sv((SV*)cv, G_DISCARD); in rcvr_errfun()
|
/openbsd/gnu/usr.bin/perl/dist/Storable/ |
H A D | Storable.xs | 2147 count = call_sv(hook, flags); /* Go back to Perl code */ in scalar_call() 2193 count = call_sv(hook, G_LIST); /* Go back to Perl code */ in array_call() 3335 count = call_sv((SV*)cv, G_LIST); in get_regexp() 6729 count = call_sv(cxt->eval, G_SCALAR); in retrieve_code()
|
/openbsd/gnu/usr.bin/perl/dist/Devel-PPPort/parts/todo/ |
H A D | 5003007 | 31 call_sv # T
|
/openbsd/gnu/usr.bin/perl/dist/threads/ |
H A D | threads.xs | 515 *len_p = (int)call_sv(thread->init_function, thread->gimme|G_EVAL); in S_jmpenv_run()
|
/openbsd/gnu/usr.bin/perl/dist/Data-Dumper/ |
H A D | Dumper.xs | 531 count = call_sv((SV*)re_pattern_cv, G_ARRAY); in dump_regexp()
|
/openbsd/gnu/usr.bin/perl/dist/Devel-PPPort/ |
H A D | Changes | 434 * add G_METHOD support to call_sv()
|