Branch Coverage

t/typemap/typemap_xsgen.cc
Criterion Covered Total %
branch 587 1470 39.9


line true false branch
171 0 111 if (items != 0)
184 111 0 RETVALSV = RETVAL ? newRV_noinc((SV*)RETVAL) : &PL_sv_undef;
190 111 0 }); }
200 0 3 if (items != 1)
204 3 0 dXSTARG;
0 0 dXSTARG;
205 3 0 int8_t val = (int8_t)SvIV(ST(0))
0 0 int8_t val = (int8_t)SvIV(ST(0))
210 0 3 XSprePUSH; PUSHi((IV)RETVAL);
3 0 XSprePUSH; PUSHi((IV)RETVAL);
213 3 0 }); }
220 0 3 if (items != 1)
224 3 0 dXSTARG;
0 0 dXSTARG;
225 3 0 int16_t val = (int16_t)SvIV(ST(0))
0 0 int16_t val = (int16_t)SvIV(ST(0))
230 0 3 XSprePUSH; PUSHi((IV)RETVAL);
3 0 XSprePUSH; PUSHi((IV)RETVAL);
233 3 0 }); }
240 0 3 if (items != 1)
244 3 0 dXSTARG;
0 0 dXSTARG;
245 3 0 int32_t val = (int32_t)SvIV(ST(0))
0 0 int32_t val = (int32_t)SvIV(ST(0))
250 0 3 XSprePUSH; PUSHi((IV)RETVAL);
3 0 XSprePUSH; PUSHi((IV)RETVAL);
253 3 0 }); }
260 0 3 if (items != 1)
264 3 0 dXSTARG;
0 0 dXSTARG;
265 3 0 int64_t val = (int64_t)SvIV(ST(0))
0 0 int64_t val = (int64_t)SvIV(ST(0))
270 0 3 XSprePUSH; PUSHi((IV)RETVAL);
3 0 XSprePUSH; PUSHi((IV)RETVAL);
273 3 0 }); }
280 0 4 if (items != 1)
284 4 0 dXSTARG;
0 0 dXSTARG;
285 0 4 uint8_t val = (uint8_t)SvUV(ST(0))
4 0 uint8_t val = (uint8_t)SvUV(ST(0))
290 0 4 XSprePUSH; PUSHu((UV)RETVAL);
4 0 XSprePUSH; PUSHu((UV)RETVAL);
293 4 0 }); }
300 0 4 if (items != 1)
304 4 0 dXSTARG;
0 0 dXSTARG;
305 0 4 uint16_t val = (uint16_t)SvUV(ST(0))
4 0 uint16_t val = (uint16_t)SvUV(ST(0))
310 0 4 XSprePUSH; PUSHu((UV)RETVAL);
4 0 XSprePUSH; PUSHu((UV)RETVAL);
313 4 0 }); }
320 0 3 if (items != 1)
324 3 0 dXSTARG;
0 0 dXSTARG;
325 0 3 uint32_t val = (uint32_t)SvUV(ST(0))
3 0 uint32_t val = (uint32_t)SvUV(ST(0))
330 0 3 XSprePUSH; PUSHu((UV)RETVAL);
3 0 XSprePUSH; PUSHu((UV)RETVAL);
333 3 0 }); }
340 0 3 if (items != 1)
344 3 0 dXSTARG;
0 0 dXSTARG;
345 1 2 uint64_t val = (uint64_t)SvUV(ST(0))
2 0 uint64_t val = (uint64_t)SvUV(ST(0))
350 0 3 XSprePUSH; PUSHu((UV)RETVAL);
3 0 XSprePUSH; PUSHu((UV)RETVAL);
353 3 0 }); }
360 0 2 if (items != 1)
364 2 0 dXSTARG;
0 0 dXSTARG;
365 2 0 time_t val = (time_t)SvIV(ST(0))
0 0 time_t val = (time_t)SvIV(ST(0))
370 0 2 XSprePUSH; PUSHi((IV)RETVAL);
2 0 XSprePUSH; PUSHi((IV)RETVAL);
373 2 0 }); }
386 2 0 if (items < 0 || items > 1)
0 2 if (items < 0 || items > 1)
392 1 1 if (items < 1)
395 1 0 not_null = (bool)SvTRUE(ST(0))
0 1 not_null = (bool)SvTRUE(ST(0))
0 0 not_null = (bool)SvTRUE(ST(0))
0 1 not_null = (bool)SvTRUE(ST(0))
0 0 not_null = (bool)SvTRUE(ST(0))
0 0 not_null = (bool)SvTRUE(ST(0))
0 1 not_null = (bool)SvTRUE(ST(0))
0 0 not_null = (bool)SvTRUE(ST(0))
0 0 not_null = (bool)SvTRUE(ST(0))
0 0 not_null = (bool)SvTRUE(ST(0))
0 0 not_null = (bool)SvTRUE(ST(0))
1 0 not_null = (bool)SvTRUE(ST(0))
1 0 not_null = (bool)SvTRUE(ST(0))
0 1 not_null = (bool)SvTRUE(ST(0))
0 0 not_null = (bool)SvTRUE(ST(0))
0 0 not_null = (bool)SvTRUE(ST(0))
0 0 not_null = (bool)SvTRUE(ST(0))
403 1 1 RETVALSV = RETVAL ? newRV_noinc((SV*)RETVAL) : &PL_sv_undef;
409 2 0 }); }
416 0 11 if (items != 1)
420 11 0 dXSTARG;
0 0 dXSTARG;
423 5 6 if (SvROK(ST(0)) && SvTYPE(SvRV(ST(0))) == SVt_PVAV) val = (AV*)SvRV(ST(0));
1 4 if (SvROK(ST(0)) && SvTYPE(SvRV(ST(0))) == SVt_PVAV) val = (AV*)SvRV(ST(0));
424 1 9 else if (SvOK(ST(0))) throw "MyTest::av_in() -- val is not an ARRAY reference";
1 0 else if (SvOK(ST(0))) throw "MyTest::av_in() -- val is not an ARRAY reference";
0 1 else if (SvOK(ST(0))) throw "MyTest::av_in() -- val is not an ARRAY reference";
430 2 0 XSprePUSH; PUSHu((UV)RETVAL);
0 0 XSprePUSH; PUSHu((UV)RETVAL);
433 2 0 }); }
440 2 0 if (items < 0 || items > 1)
0 2 if (items < 0 || items > 1)
446 1 1 if (items < 1)
449 1 0 not_null = (bool)SvTRUE(ST(0))
0 1 not_null = (bool)SvTRUE(ST(0))
0 0 not_null = (bool)SvTRUE(ST(0))
0 1 not_null = (bool)SvTRUE(ST(0))
0 0 not_null = (bool)SvTRUE(ST(0))
0 0 not_null = (bool)SvTRUE(ST(0))
0 1 not_null = (bool)SvTRUE(ST(0))
0 0 not_null = (bool)SvTRUE(ST(0))
0 0 not_null = (bool)SvTRUE(ST(0))
0 0 not_null = (bool)SvTRUE(ST(0))
0 0 not_null = (bool)SvTRUE(ST(0))
1 0 not_null = (bool)SvTRUE(ST(0))
1 0 not_null = (bool)SvTRUE(ST(0))
0 1 not_null = (bool)SvTRUE(ST(0))
0 0 not_null = (bool)SvTRUE(ST(0))
0 0 not_null = (bool)SvTRUE(ST(0))
0 0 not_null = (bool)SvTRUE(ST(0))
457 1 1 RETVALSV = RETVAL ? newRV_noinc((SV*)RETVAL) : &PL_sv_undef;
463 2 0 }); }
470 0 11 if (items != 1)
474 11 0 dXSTARG;
0 0 dXSTARG;
477 5 6 if (SvROK(ST(0)) && SvTYPE(SvRV(ST(0))) == SVt_PVHV) val = (HV*)SvRV(ST(0));
1 4 if (SvROK(ST(0)) && SvTYPE(SvRV(ST(0))) == SVt_PVHV) val = (HV*)SvRV(ST(0));
478 1 9 else if (SvOK(ST(0))) throw "MyTest::hv_in() -- val is not a HASH reference";
1 0 else if (SvOK(ST(0))) throw "MyTest::hv_in() -- val is not a HASH reference";
0 1 else if (SvOK(ST(0))) throw "MyTest::hv_in() -- val is not a HASH reference";
484 2 0 XSprePUSH; PUSHu((UV)RETVAL);
0 0 XSprePUSH; PUSHu((UV)RETVAL);
487 2 0 }); }
494 2 0 if (items < 0 || items > 1)
0 2 if (items < 0 || items > 1)
500 1 1 if (items < 1)
503 1 0 not_null = (bool)SvTRUE(ST(0))
0 1 not_null = (bool)SvTRUE(ST(0))
0 0 not_null = (bool)SvTRUE(ST(0))
0 1 not_null = (bool)SvTRUE(ST(0))
0 0 not_null = (bool)SvTRUE(ST(0))
0 0 not_null = (bool)SvTRUE(ST(0))
0 1 not_null = (bool)SvTRUE(ST(0))
0 0 not_null = (bool)SvTRUE(ST(0))
0 0 not_null = (bool)SvTRUE(ST(0))
0 0 not_null = (bool)SvTRUE(ST(0))
0 0 not_null = (bool)SvTRUE(ST(0))
1 0 not_null = (bool)SvTRUE(ST(0))
1 0 not_null = (bool)SvTRUE(ST(0))
0 1 not_null = (bool)SvTRUE(ST(0))
0 0 not_null = (bool)SvTRUE(ST(0))
0 0 not_null = (bool)SvTRUE(ST(0))
0 0 not_null = (bool)SvTRUE(ST(0))
515 1 1 RETVALSV = RETVAL ? newRV_noinc((SV*)RETVAL) : &PL_sv_undef;
521 2 0 }); }
528 0 11 if (items != 1)
532 11 0 dXSTARG;
0 0 dXSTARG;
535 5 6 if (SvROK(ST(0)) && SvTYPE(SvRV(ST(0))) == SVt_PVIO) val = (IO*)SvRV(ST(0));
1 4 if (SvROK(ST(0)) && SvTYPE(SvRV(ST(0))) == SVt_PVIO) val = (IO*)SvRV(ST(0));
536 4 6 else if (SvROK(ST(0)) && SvTYPE(SvRV(ST(0))) == SVt_PVGV && (val = GvIO(SvRV(ST(0))))) {}
0 4 else if (SvROK(ST(0)) && SvTYPE(SvRV(ST(0))) == SVt_PVGV && (val = GvIO(SvRV(ST(0))))) {}
0 0 else if (SvROK(ST(0)) && SvTYPE(SvRV(ST(0))) == SVt_PVGV && (val = GvIO(SvRV(ST(0))))) {}
0 0 else if (SvROK(ST(0)) && SvTYPE(SvRV(ST(0))) == SVt_PVGV && (val = GvIO(SvRV(ST(0))))) {}
0 0 else if (SvROK(ST(0)) && SvTYPE(SvRV(ST(0))) == SVt_PVGV && (val = GvIO(SvRV(ST(0))))) {}
0 0 else if (SvROK(ST(0)) && SvTYPE(SvRV(ST(0))) == SVt_PVGV && (val = GvIO(SvRV(ST(0))))) {}
0 0 else if (SvROK(ST(0)) && SvTYPE(SvRV(ST(0))) == SVt_PVGV && (val = GvIO(SvRV(ST(0))))) {}
10 0 else if (SvROK(ST(0)) && SvTYPE(SvRV(ST(0))) == SVt_PVGV && (val = GvIO(SvRV(ST(0))))) {}
537 1 9 else if (SvOK(ST(0))) throw "MyTest::io_in() -- val is not an IO reference";
1 0 else if (SvOK(ST(0))) throw "MyTest::io_in() -- val is not an IO reference";
0 1 else if (SvOK(ST(0))) throw "MyTest::io_in() -- val is not an IO reference";
543 2 0 XSprePUSH; PUSHu((UV)RETVAL);
0 0 XSprePUSH; PUSHu((UV)RETVAL);
546 2 0 }); }
553 2 0 if (items < 0 || items > 1)
0 2 if (items < 0 || items > 1)
559 1 1 if (items < 1)
562 1 0 not_null = (bool)SvTRUE(ST(0))
0 1 not_null = (bool)SvTRUE(ST(0))
0 0 not_null = (bool)SvTRUE(ST(0))
0 1 not_null = (bool)SvTRUE(ST(0))
0 0 not_null = (bool)SvTRUE(ST(0))
0 0 not_null = (bool)SvTRUE(ST(0))
0 1 not_null = (bool)SvTRUE(ST(0))
0 0 not_null = (bool)SvTRUE(ST(0))
0 0 not_null = (bool)SvTRUE(ST(0))
0 0 not_null = (bool)SvTRUE(ST(0))
0 0 not_null = (bool)SvTRUE(ST(0))
1 0 not_null = (bool)SvTRUE(ST(0))
1 0 not_null = (bool)SvTRUE(ST(0))
0 1 not_null = (bool)SvTRUE(ST(0))
0 0 not_null = (bool)SvTRUE(ST(0))
0 0 not_null = (bool)SvTRUE(ST(0))
0 0 not_null = (bool)SvTRUE(ST(0))
570 1 1 RETVALSV = RETVAL ? newRV_noinc((SV*)RETVAL) : &PL_sv_undef;
576 2 0 }); }
583 0 11 if (items != 1)
587 11 0 dXSTARG;
0 0 dXSTARG;
590 5 6 if (SvROK(ST(0)) && SvTYPE(SvRV(ST(0))) == SVt_PVCV) val = (CV*)SvRV(ST(0));
1 4 if (SvROK(ST(0)) && SvTYPE(SvRV(ST(0))) == SVt_PVCV) val = (CV*)SvRV(ST(0));
591 1 9 else if (SvOK(ST(0))) throw "MyTest::cv_in() -- val is not a CODE reference";
1 0 else if (SvOK(ST(0))) throw "MyTest::cv_in() -- val is not a CODE reference";
0 1 else if (SvOK(ST(0))) throw "MyTest::cv_in() -- val is not a CODE reference";
597 0 2 XSprePUSH; PUSHu((UV)RETVAL);
2 0 XSprePUSH; PUSHu((UV)RETVAL);
600 2 0 }); }
607 2 0 if (items < 0 || items > 1)
0 2 if (items < 0 || items > 1)
613 1 1 if (items < 1)
616 1 0 not_null = (bool)SvTRUE(ST(0))
0 1 not_null = (bool)SvTRUE(ST(0))
0 0 not_null = (bool)SvTRUE(ST(0))
0 1 not_null = (bool)SvTRUE(ST(0))
0 0 not_null = (bool)SvTRUE(ST(0))
0 0 not_null = (bool)SvTRUE(ST(0))
0 1 not_null = (bool)SvTRUE(ST(0))
0 0 not_null = (bool)SvTRUE(ST(0))
0 0 not_null = (bool)SvTRUE(ST(0))
0 0 not_null = (bool)SvTRUE(ST(0))
0 0 not_null = (bool)SvTRUE(ST(0))
1 0 not_null = (bool)SvTRUE(ST(0))
1 0 not_null = (bool)SvTRUE(ST(0))
0 1 not_null = (bool)SvTRUE(ST(0))
0 0 not_null = (bool)SvTRUE(ST(0))
0 0 not_null = (bool)SvTRUE(ST(0))
0 0 not_null = (bool)SvTRUE(ST(0))
624 1 1 RETVALSV = RETVAL ? (SV*)RETVAL : &PL_sv_undef;
630 2 0 }); }
637 0 11 if (items != 1)
641 11 0 dXSTARG;
0 0 dXSTARG;
644 1 10 if (SvTYPE(ST(0)) == SVt_PVGV) val = (GV*)ST(0);
645 1 9 else if (SvOK(ST(0))) throw "MyTest::gv_in() -- val is not a GLOB";
1 0 else if (SvOK(ST(0))) throw "MyTest::gv_in() -- val is not a GLOB";
0 1 else if (SvOK(ST(0))) throw "MyTest::gv_in() -- val is not a GLOB";
651 2 0 XSprePUSH; PUSHu((UV)RETVAL);
0 0 XSprePUSH; PUSHu((UV)RETVAL);
654 2 0 }); }
668 0 2 virtual ~_MyConst () { dcnt.c++; }
0 3 virtual ~_MyConst () { dcnt.c++; }
674 2 0 static std::string package () { return "MyTest::MyConst"; }
2 0 static std::string package () { return "MyTest::MyConst"; }
678 2 0 static std::string package () { return "MyTest::MyConst2"; }
685 2 0 static std::string package () { return "MyTest::MyConst2"; }
693 0 1 if (items != 2)
697 1 0 int arg = (int)SvIV(ST(1))
0 0 int arg = (int)SvIV(ST(1))
705 1 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
706 1 0 RETVALSV = sv_2mortal(RETVALSV);
711 1 0 }); }
718 0 2 if (items != 2)
722 2 0 int arg = (int)SvIV(ST(1))
0 0 int arg = (int)SvIV(ST(1))
730 2 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
731 2 0 RETVALSV = sv_2mortal(RETVALSV);
736 2 0 }); }
743 0 6 if (items != 1)
747 6 0 dXSTARG;
0 0 dXSTARG;
748 6 0 const MyConst* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 6 const MyConst* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const MyConst* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const MyConst* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
753 0 6 XSprePUSH; PUSHi((IV)RETVAL);
6 0 XSprePUSH; PUSHi((IV)RETVAL);
756 6 0 }); }
763 0 3 if (items != 2)
768 2 1 MyConst* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 2 MyConst* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyConst* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyConst* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
778 2 0 }); }
785 0 1 if (items != 2)
790 0 1 MyConst* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyConst* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyConst* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
800 1 0 }); }
807 0 3 if (items != 1)
812 3 0 const MyConst* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 3 const MyConst* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const MyConst* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const MyConst* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
821 3 0 }); }
828 0 1 if (items != 2)
832 1 0 int arg = (int)SvIV(ST(1))
0 0 int arg = (int)SvIV(ST(1))
840 1 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
841 1 0 RETVALSV = sv_2mortal(RETVALSV);
846 1 0 }); }
853 0 1 if (items != 2)
857 1 0 int arg = (int)SvIV(ST(1))
0 0 int arg = (int)SvIV(ST(1))
865 1 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
866 1 0 RETVALSV = sv_2mortal(RETVALSV);
871 1 0 }); }
878 0 2 if (items != 1)
882 2 0 dXSTARG;
0 0 dXSTARG;
883 2 0 const MyConst2* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 2 const MyConst2* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const MyConst2* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const MyConst2* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
888 0 2 XSprePUSH; PUSHi((IV)RETVAL);
2 0 XSprePUSH; PUSHi((IV)RETVAL);
891 2 0 }); }
898 0 0 if (items != 2)
903 0 0 MyConst2* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyConst2* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyConst2* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyConst2* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
913 0 0 }); }
920 0 0 if (items != 2)
925 0 0 MyConst2* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyConst2* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyConst2* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
935 0 0 }); }
942 0 2 if (items != 1)
947 2 0 const MyConst2* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 2 const MyConst2* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const MyConst2* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const MyConst2* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
956 2 0 }); }
973 0 1 if (items != 1)
977 1 0 std::vector val = xs::in>(ST(0));
985 1 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
986 1 0 RETVALSV = sv_2mortal(RETVALSV);
991 1 0 }); }
998 0 1 if (items != 1)
1002 1 0 MapStringInt val = xs::in(ST(0));
1010 1 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
1011 1 0 RETVALSV = sv_2mortal(RETVALSV);
1016 1 0 }); }
1023 0 1 if (items != 1)
1027 1 0 MapIntBool val = xs::in(ST(0));
1035 1 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
1036 1 0 RETVALSV = sv_2mortal(RETVALSV);
1041 1 0 }); }
1049 0 3 struct TestNN : panda::Refcnt {
1062 0 3 if (items != 2)
1068 3 0 int arg = (int)SvIV(ST(1))
0 0 int arg = (int)SvIV(ST(1))
1077 3 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
1078 3 0 RETVALSV = sv_2mortal(RETVALSV);
1083 3 0 }); }
1090 0 2 if (items != 1)
1094 2 0 dXSTARG;
0 0 dXSTARG;
1095 2 0 TestNN* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 2 TestNN* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 TestNN* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 TestNN* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1100 0 2 XSprePUSH; PUSHi((IV)RETVAL);
2 0 XSprePUSH; PUSHi((IV)RETVAL);
1103 2 0 }); }
1110 0 2 if (items != 2)
1115 2 0 TestNN* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 2 TestNN* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 TestNN* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 TestNN* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1117 1 1 xs::nn other = xs::in>(ST(1));
1125 1 0 }); }
1132 0 2 if (items != 2)
1137 2 0 TestNN* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 2 TestNN* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 TestNN* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 TestNN* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1139 1 1 xs::nn other = xs::in>(ST(1));
1 0 xs::nn other = xs::in>(ST(1));
1147 1 0 }); }
1154 0 3 if (items != 1)
1159 3 0 TestNN* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 3 TestNN* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 TestNN* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 TestNN* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1167 3 0 }); }
1180 17 0 if (items < 0 || items > 2)
0 17 if (items < 0 || items > 2)
1187 1 16 if (items < 1)
1194 15 2 if (items < 2)
1197 2 0 deref = (bool)SvTRUE(ST(1))
0 2 deref = (bool)SvTRUE(ST(1))
0 0 deref = (bool)SvTRUE(ST(1))
0 0 deref = (bool)SvTRUE(ST(1))
0 2 deref = (bool)SvTRUE(ST(1))
0 0 deref = (bool)SvTRUE(ST(1))
0 0 deref = (bool)SvTRUE(ST(1))
0 2 deref = (bool)SvTRUE(ST(1))
0 0 deref = (bool)SvTRUE(ST(1))
0 0 deref = (bool)SvTRUE(ST(1))
0 0 deref = (bool)SvTRUE(ST(1))
0 0 deref = (bool)SvTRUE(ST(1))
2 0 deref = (bool)SvTRUE(ST(1))
2 0 deref = (bool)SvTRUE(ST(1))
0 2 deref = (bool)SvTRUE(ST(1))
0 0 deref = (bool)SvTRUE(ST(1))
0 0 deref = (bool)SvTRUE(ST(1))
0 0 deref = (bool)SvTRUE(ST(1))
0 0 deref = (bool)SvTRUE(ST(1))
1207 1 16 if (!RETVAL) XSRETURN_UNDEF;
1208 16 0 if (RETVAL.is_scalar()) RETVALSV = RETVAL.detach();
14 2 if (RETVAL.is_scalar()) RETVALSV = RETVAL.detach();
1210 1 0 case SVt_PVAV: XSRETURN(xs::Array(RETVAL.get()).push_on_stack(MARK));
1 0 case SVt_PVAV: XSRETURN(xs::Array(RETVAL.get()).push_on_stack(MARK));
1211 1 0 case SVt_PVHV: XSRETURN(xs::Hash(RETVAL.get()).push_on_stack(MARK));
1 0 case SVt_PVHV: XSRETURN(xs::Hash(RETVAL.get()).push_on_stack(MARK));
1214 0 0 RETVALSV = newRV_noinc(RETVAL.detach());
1218 14 0 RETVALSV = sv_2mortal(RETVALSV);
1219 14 3 ST(0) = RETVALSV;
1223 17 0 }); }
1230 0 15 if (items != 1)
1234 15 0 dXSTARG;
0 0 dXSTARG;
1235 15 0 Scalar val = ST(0);
1236 0 15 if (!val && SvOK(ST(0))) throw "arg is not a 'Scalar' value"
0 0 if (!val && SvOK(ST(0))) throw "arg is not a 'Scalar' value"
0 0 if (!val && SvOK(ST(0))) throw "arg is not a 'Scalar' value"
0 0 if (!val && SvOK(ST(0))) throw "arg is not a 'Scalar' value"
0 15 if (!val && SvOK(ST(0))) throw "arg is not a 'Scalar' value"
1241 13 2 XSprePUSH; PUSHu((UV)RETVAL);
2 0 XSprePUSH; PUSHu((UV)RETVAL);
1244 15 0 }); }
1251 2 0 if (items < 0 || items > 1)
0 2 if (items < 0 || items > 1)
1257 1 1 if (items < 1)
1269 1 1 if (!RETVAL) XSRETURN_UNDEF;
1271 1 0 RETVALSV = sv_2mortal(RETVALSV);
1272 1 1 ST(0) = RETVALSV;
1276 2 0 }); }
1283 0 15 if (items != 1)
1287 15 0 dXSTARG;
0 0 dXSTARG;
1288 5 10 Simple val = ST(0);
1289 0 5 if (!val && SvOK(ST(0))) throw "arg is not a 'Simple' value"
0 0 if (!val && SvOK(ST(0))) throw "arg is not a 'Simple' value"
0 0 if (!val && SvOK(ST(0))) throw "arg is not a 'Simple' value"
0 0 if (!val && SvOK(ST(0))) throw "arg is not a 'Simple' value"
0 5 if (!val && SvOK(ST(0))) throw "arg is not a 'Simple' value"
1294 3 2 XSprePUSH; PUSHu((UV)RETVAL);
2 0 XSprePUSH; PUSHu((UV)RETVAL);
1297 5 0 }); }
1304 2 0 if (items < 0 || items > 1)
0 2 if (items < 0 || items > 1)
1310 1 1 if (items < 1)
1322 1 1 if (!RETVAL) XSRETURN_UNDEF;
1324 1 0 RETVALSV = sv_2mortal(RETVALSV);
1325 1 1 ST(0) = RETVALSV;
1329 2 0 }); }
1336 0 15 if (items != 1)
1340 15 0 dXSTARG;
0 0 dXSTARG;
1341 10 5 Ref val = ST(0);
1342 1 9 if (!val && SvOK(ST(0))) throw "arg is not a 'Ref' value"
1 0 if (!val && SvOK(ST(0))) throw "arg is not a 'Ref' value"
1 0 if (!val && SvOK(ST(0))) throw "arg is not a 'Ref' value"
0 1 if (!val && SvOK(ST(0))) throw "arg is not a 'Ref' value"
0 10 if (!val && SvOK(ST(0))) throw "arg is not a 'Ref' value"
1347 8 2 XSprePUSH; PUSHu((UV)RETVAL);
2 0 XSprePUSH; PUSHu((UV)RETVAL);
1350 10 0 }); }
1357 2 0 if (items < 0 || items > 1)
0 2 if (items < 0 || items > 1)
1363 1 1 if (items < 1)
1375 1 1 if (!RETVAL) XSRETURN_UNDEF;
1377 1 0 RETVALSV = sv_2mortal(RETVALSV);
1378 1 1 ST(0) = RETVALSV;
1382 2 0 }); }
1389 0 15 if (items != 1)
1393 15 0 dXSTARG;
0 0 dXSTARG;
1394 2 13 Glob val = ST(0);
1395 1 1 if (!val && SvOK(ST(0))) throw "arg is not a 'Glob' value"
1 0 if (!val && SvOK(ST(0))) throw "arg is not a 'Glob' value"
1 0 if (!val && SvOK(ST(0))) throw "arg is not a 'Glob' value"
0 1 if (!val && SvOK(ST(0))) throw "arg is not a 'Glob' value"
0 2 if (!val && SvOK(ST(0))) throw "arg is not a 'Glob' value"
1400 0 2 XSprePUSH; PUSHu((UV)RETVAL);
2 0 XSprePUSH; PUSHu((UV)RETVAL);
1403 2 0 }); }
1410 2 0 if (items < 0 || items > 1)
0 2 if (items < 0 || items > 1)
1416 1 1 if (items < 1)
1428 1 1 if (!RETVAL) XSRETURN_UNDEF;
1430 1 0 RETVALSV = sv_2mortal(RETVALSV);
1431 1 1 ST(0) = RETVALSV;
1435 2 0 }); }
1442 0 15 if (items != 1)
1446 15 0 dXSTARG;
0 0 dXSTARG;
1447 2 13 Sub val = ST(0);
1448 1 1 if (!val && SvOK(ST(0))) throw "arg is not a 'Sub' reference"
1 0 if (!val && SvOK(ST(0))) throw "arg is not a 'Sub' reference"
1 0 if (!val && SvOK(ST(0))) throw "arg is not a 'Sub' reference"
0 1 if (!val && SvOK(ST(0))) throw "arg is not a 'Sub' reference"
0 2 if (!val && SvOK(ST(0))) throw "arg is not a 'Sub' reference"
1453 0 2 XSprePUSH; PUSHu((UV)RETVAL);
2 0 XSprePUSH; PUSHu((UV)RETVAL);
1456 2 0 }); }
1463 2 0 if (items < 0 || items > 1)
0 2 if (items < 0 || items > 1)
1469 1 1 if (items < 1)
1481 1 1 if (!RETVAL) XSRETURN_UNDEF;
1482 1 0 RETVALSV = newRV_noinc(RETVAL.detach());
1483 1 0 RETVALSV = sv_2mortal(RETVALSV);
1484 1 1 ST(0) = RETVALSV;
1488 2 0 }); }
1495 0 15 if (items != 1)
1499 15 0 dXSTARG;
0 0 dXSTARG;
1500 3 12 Array val = ST(0);
1501 1 2 if (!val && SvOK(ST(0))) throw "arg is not a 'Array' reference"
1 0 if (!val && SvOK(ST(0))) throw "arg is not a 'Array' reference"
1 0 if (!val && SvOK(ST(0))) throw "arg is not a 'Array' reference"
0 1 if (!val && SvOK(ST(0))) throw "arg is not a 'Array' reference"
0 3 if (!val && SvOK(ST(0))) throw "arg is not a 'Array' reference"
1506 1 2 XSprePUSH; PUSHu((UV)RETVAL);
2 0 XSprePUSH; PUSHu((UV)RETVAL);
1509 3 0 }); }
1516 2 0 if (items < 0 || items > 1)
0 2 if (items < 0 || items > 1)
1522 1 1 if (items < 1)
1534 1 1 if (!RETVAL) XSRETURN_UNDEF;
1535 1 0 RETVALSV = newRV_noinc(RETVAL.detach());
1536 1 0 RETVALSV = sv_2mortal(RETVALSV);
1537 1 1 ST(0) = RETVALSV;
1541 2 0 }); }
1548 0 14 if (items != 1)
1552 14 0 dXSTARG;
0 0 dXSTARG;
1553 4 10 Hash val = ST(0);
1554 1 3 if (!val && SvOK(ST(0))) throw "arg is not a 'Hash' reference"
1 0 if (!val && SvOK(ST(0))) throw "arg is not a 'Hash' reference"
1 0 if (!val && SvOK(ST(0))) throw "arg is not a 'Hash' reference"
0 1 if (!val && SvOK(ST(0))) throw "arg is not a 'Hash' reference"
0 4 if (!val && SvOK(ST(0))) throw "arg is not a 'Hash' reference"
1559 2 2 XSprePUSH; PUSHu((UV)RETVAL);
2 0 XSprePUSH; PUSHu((UV)RETVAL);
1562 4 0 }); }
1569 2 0 if (items < 0 || items > 1)
0 2 if (items < 0 || items > 1)
1575 1 1 if (items < 1)
1587 1 1 if (!RETVAL) XSRETURN_UNDEF;
1588 1 0 RETVALSV = newRV_noinc(RETVAL.detach());
1589 1 0 RETVALSV = sv_2mortal(RETVALSV);
1590 1 1 ST(0) = RETVALSV;
1594 2 0 }); }
1601 0 14 if (items != 1)
1605 14 0 dXSTARG;
0 0 dXSTARG;
1606 2 12 Stash val = ST(0);
1607 1 1 if (!val && SvOK(ST(0))) throw "arg is not a 'Stash' reference"
1 0 if (!val && SvOK(ST(0))) throw "arg is not a 'Stash' reference"
1 0 if (!val && SvOK(ST(0))) throw "arg is not a 'Stash' reference"
0 1 if (!val && SvOK(ST(0))) throw "arg is not a 'Stash' reference"
0 2 if (!val && SvOK(ST(0))) throw "arg is not a 'Stash' reference"
1612 0 2 XSprePUSH; PUSHu((UV)RETVAL);
2 0 XSprePUSH; PUSHu((UV)RETVAL);
1615 2 0 }); }
1622 2 0 if (items < 0 || items > 1)
0 2 if (items < 0 || items > 1)
1628 1 1 if (items < 1)
1640 1 1 if (!RETVAL) XSRETURN_UNDEF;
1641 1 0 RETVALSV = newRV_noinc(RETVAL.detach());
1642 1 0 RETVALSV = sv_2mortal(RETVALSV);
1643 1 1 ST(0) = RETVALSV;
1647 2 0 }); }
1654 0 15 if (items != 1)
1658 15 0 dXSTARG;
0 0 dXSTARG;
1659 3 12 Object val = ST(0);
1660 1 2 if (!val && SvOK(ST(0))) throw "arg is not a blessed reference"
1 0 if (!val && SvOK(ST(0))) throw "arg is not a blessed reference"
1 0 if (!val && SvOK(ST(0))) throw "arg is not a blessed reference"
0 1 if (!val && SvOK(ST(0))) throw "arg is not a blessed reference"
0 3 if (!val && SvOK(ST(0))) throw "arg is not a blessed reference"
1665 1 2 XSprePUSH; PUSHu((UV)RETVAL);
2 0 XSprePUSH; PUSHu((UV)RETVAL);
1668 3 0 }); }
1675 2 0 if (items < 0 || items > 1)
0 2 if (items < 0 || items > 1)
1681 1 1 if (items < 1)
1693 1 1 if (!RETVAL) XSRETURN_UNDEF;
1694 1 0 RETVALSV = SvREFCNT_inc_NN(RETVAL.ref().get());
1695 1 0 RETVALSV = sv_2mortal(RETVALSV);
1696 1 1 ST(0) = RETVALSV;
1700 2 0 }); }
1724 0 1 if (items != 1)
1729 1 0 vv_fn fn = xs::in(ST(0));
1737 1 0 }); }
1744 0 1 if (items != 2)
1749 1 0 vi_fn fn = xs::in(ST(0));
1751 1 0 int val = (int)SvIV(ST(1))
0 0 int val = (int)SvIV(ST(1))
1759 1 0 }); }
1766 0 1 if (items != 2)
1771 1 0 Sub sub = ST(0);
1772 0 1 if (!sub && SvOK(ST(0))) throw "arg is not a 'Sub' reference"
0 0 if (!sub && SvOK(ST(0))) throw "arg is not a 'Sub' reference"
0 0 if (!sub && SvOK(ST(0))) throw "arg is not a 'Sub' reference"
0 0 if (!sub && SvOK(ST(0))) throw "arg is not a 'Sub' reference"
0 1 if (!sub && SvOK(ST(0))) throw "arg is not a 'Sub' reference"
1774 1 0 int val = (int)SvIV(ST(1))
0 0 int val = (int)SvIV(ST(1))
1783 1 0 }); }
1790 0 1 if (items != 3)
1794 1 0 dXSTARG;
0 0 dXSTARG;
1797 1 0 int i = (int)SvIV(ST(1))
0 0 int i = (int)SvIV(ST(1))
1802 1 0 const char* __d_buf = SvPV(ST(2), __d_len);
0 0 const char* __d_buf = SvPV(ST(2), __d_len);
1809 0 1 XSprePUSH; PUSHi((IV)RETVAL);
1 0 XSprePUSH; PUSHi((IV)RETVAL);
1812 1 0 }); }
1819 0 1 if (items != 3)
1823 1 0 dXSTARG;
0 0 dXSTARG;
1824 1 0 Sub sub = ST(0);
1825 0 1 if (!sub && SvOK(ST(0))) throw "arg is not a 'Sub' reference"
0 0 if (!sub && SvOK(ST(0))) throw "arg is not a 'Sub' reference"
0 0 if (!sub && SvOK(ST(0))) throw "arg is not a 'Sub' reference"
0 0 if (!sub && SvOK(ST(0))) throw "arg is not a 'Sub' reference"
0 1 if (!sub && SvOK(ST(0))) throw "arg is not a 'Sub' reference"
1827 1 0 int i = (int)SvIV(ST(1))
0 0 int i = (int)SvIV(ST(1))
1832 1 0 const char* __d_buf = SvPV(ST(2), __d_len);
0 0 const char* __d_buf = SvPV(ST(2), __d_len);
1843 0 1 XSprePUSH; PUSHi((IV)RETVAL);
1 0 XSprePUSH; PUSHi((IV)RETVAL);
1846 1 0 }); }
1853 0 1 if (items != 1)
1856 1 0 vi_fn RETVAL;
1857 1 0 vi_fn fn = xs::in(ST(0));
1865 1 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
1866 1 0 RETVALSV = sv_2mortal(RETVALSV);
1871 1 0 }); }
1878 0 1 if (items != 2)
1882 1 0 dXSTARG;
0 0 dXSTARG;
1883 1 0 Sub sub = ST(0);
1884 0 1 if (!sub && SvOK(ST(0))) throw "arg is not a 'Sub' reference"
0 0 if (!sub && SvOK(ST(0))) throw "arg is not a 'Sub' reference"
0 0 if (!sub && SvOK(ST(0))) throw "arg is not a 'Sub' reference"
0 0 if (!sub && SvOK(ST(0))) throw "arg is not a 'Sub' reference"
0 1 if (!sub && SvOK(ST(0))) throw "arg is not a 'Sub' reference"
1886 1 0 int i = (int)SvIV(ST(1))
0 0 int i = (int)SvIV(ST(1))
1898 0 1 XSprePUSH; PUSHi((IV)RETVAL);
1 0 XSprePUSH; PUSHi((IV)RETVAL);
1901 1 0 }); }
1908 0 0 if (items != 2)
1912 0 0 dXSTARG;
0 0 dXSTARG;
1913 0 0 Sub sub = ST(0);
1914 0 0 if (!sub && SvOK(ST(0))) throw "arg is not a 'Sub' reference"
0 0 if (!sub && SvOK(ST(0))) throw "arg is not a 'Sub' reference"
0 0 if (!sub && SvOK(ST(0))) throw "arg is not a 'Sub' reference"
0 0 if (!sub && SvOK(ST(0))) throw "arg is not a 'Sub' reference"
0 0 if (!sub && SvOK(ST(0))) throw "arg is not a 'Sub' reference"
1916 0 0 int cnt = (int)SvIV(ST(1))
0 0 int cnt = (int)SvIV(ST(1))
1924 0 0 XSprePUSH; PUSHu((UV)RETVAL);
0 0 XSprePUSH; PUSHu((UV)RETVAL);
1927 0 0 }); }
1934 0 0 if (items != 2)
1938 0 0 dXSTARG;
0 0 dXSTARG;
1939 0 0 Sub sub = ST(0);
1940 0 0 if (!sub && SvOK(ST(0))) throw "arg is not a 'Sub' reference"
0 0 if (!sub && SvOK(ST(0))) throw "arg is not a 'Sub' reference"
0 0 if (!sub && SvOK(ST(0))) throw "arg is not a 'Sub' reference"
0 0 if (!sub && SvOK(ST(0))) throw "arg is not a 'Sub' reference"
0 0 if (!sub && SvOK(ST(0))) throw "arg is not a 'Sub' reference"
1942 0 0 int cnt = (int)SvIV(ST(1))
0 0 int cnt = (int)SvIV(ST(1))
1950 0 0 XSprePUSH; PUSHu((UV)RETVAL);
0 0 XSprePUSH; PUSHu((UV)RETVAL);
1953 0 0 }); }
1960 0 0 if (items != 2)
1964 0 0 dXSTARG;
0 0 dXSTARG;
1965 0 0 Sub sub = ST(0);
1966 0 0 if (!sub && SvOK(ST(0))) throw "arg is not a 'Sub' reference"
0 0 if (!sub && SvOK(ST(0))) throw "arg is not a 'Sub' reference"
0 0 if (!sub && SvOK(ST(0))) throw "arg is not a 'Sub' reference"
0 0 if (!sub && SvOK(ST(0))) throw "arg is not a 'Sub' reference"
0 0 if (!sub && SvOK(ST(0))) throw "arg is not a 'Sub' reference"
1968 0 0 int cnt = (int)SvIV(ST(1))
0 0 int cnt = (int)SvIV(ST(1))
1976 0 0 XSprePUSH; PUSHu((UV)RETVAL);
0 0 XSprePUSH; PUSHu((UV)RETVAL);
1979 0 0 }); }
1986 0 0 if (items != 1)
1990 0 0 dXSTARG;
0 0 dXSTARG;
1991 0 0 int cnt = (int)SvIV(ST(0))
0 0 int cnt = (int)SvIV(ST(0))
2000 0 0 XSprePUSH; PUSHu((UV)RETVAL);
0 0 XSprePUSH; PUSHu((UV)RETVAL);
2003 0 0 }); }
2010 0 0 if (items != 1)
2014 0 0 dXSTARG;
0 0 dXSTARG;
2015 0 0 int cnt = (int)SvIV(ST(0))
0 0 int cnt = (int)SvIV(ST(0))
2024 0 0 XSprePUSH; PUSHu((UV)RETVAL);
0 0 XSprePUSH; PUSHu((UV)RETVAL);
2027 0 0 }); }
2034 0 0 if (items != 1)
2038 0 0 dXSTARG;
0 0 dXSTARG;
2039 0 0 int cnt = (int)SvIV(ST(0))
0 0 int cnt = (int)SvIV(ST(0))
2048 0 0 XSprePUSH; PUSHu((UV)RETVAL);
0 0 XSprePUSH; PUSHu((UV)RETVAL);
2051 0 0 }); }
2064 0 1 if (items != 0)
2074 1 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
2075 1 0 RETVALSV = sv_2mortal(RETVALSV);
2080 1 0 }); }
2087 0 4 if (items != 0)
2098 4 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
2099 4 0 RETVALSV = sv_2mortal(RETVALSV);
2104 4 0 }); }
2118 0 34 dVAR; dXSBOOTARGSXSAPIVERCHK;
0 34 dVAR; dXSBOOTARGSXSAPIVERCHK;
2233 34 0 }); }