Branch Coverage

xs/main_xsgen.cc
Criterion Covered Total %
branch 408 1110 36.7


line true false branch
171 0 5 if (items != 1)
182 5 0 }); }
189 0 1 if (items != 1)
200 1 0 }); }
207 7 388 return till ? DateRel(sv2date(arg), sv2date(till)) : sv2daterel(arg);
7 0 return till ? DateRel(sv2date(arg), sv2date(till)) : sv2daterel(arg);
7 0 return till ? DateRel(sv2date(arg), sv2date(till)) : sv2daterel(arg);
7 0 return till ? DateRel(sv2date(arg), sv2date(till)) : sv2daterel(arg);
385 3 return till ? DateRel(sv2date(arg), sv2date(till)) : sv2daterel(arg);
385 7 return till ? DateRel(sv2date(arg), sv2date(till)) : sv2daterel(arg);
7 385 return till ? DateRel(sv2date(arg), sv2date(till)) : sv2daterel(arg);
7 385 return till ? DateRel(sv2date(arg), sv2date(till)) : sv2daterel(arg);
7 385 return till ? DateRel(sv2date(arg), sv2date(till)) : sv2daterel(arg);
7 385 return till ? DateRel(sv2date(arg), sv2date(till)) : sv2daterel(arg);
7 385 return till ? DateRel(sv2date(arg), sv2date(till)) : sv2daterel(arg);
7 385 return till ? DateRel(sv2date(arg), sv2date(till)) : sv2daterel(arg);
3 0 return till ? DateRel(sv2date(arg), sv2date(till)) : sv2daterel(arg);
0 3 return till ? DateRel(sv2date(arg), sv2date(till)) : sv2daterel(arg);
0 3 return till ? DateRel(sv2date(arg), sv2date(till)) : sv2daterel(arg);
0 3 return till ? DateRel(sv2date(arg), sv2date(till)) : sv2daterel(arg);
0 3 return till ? DateRel(sv2date(arg), sv2date(till)) : sv2daterel(arg);
0 3 return till ? DateRel(sv2date(arg), sv2date(till)) : sv2daterel(arg);
0 3 return till ? DateRel(sv2date(arg), sv2date(till)) : sv2daterel(arg);
211 10 0 list2vals(args, items, vals);
212 10 0 return DateRel(vals[0], vals[1], vals[2], vals[3], vals[4], vals[5]);
219 36 0 if (items < 0 || items > 2)
0 36 if (items < 0 || items > 2)
226 4 32 if (items < 1)
233 29 7 if (items < 2)
245 35 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
246 35 0 RETVALSV = sv_2mortal(RETVALSV);
251 35 0 }); }
267 4 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
268 4 0 RETVALSV = sv_2mortal(RETVALSV);
273 4 0 }); }
280 330 0 if (items < 0 || items > 2)
0 330 if (items < 0 || items > 2)
287 0 330 if (items < 1)
294 330 0 if (items < 2)
306 330 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
307 330 0 RETVALSV = sv_2mortal(RETVALSV);
312 330 0 }); }
328 0 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
329 0 0 RETVALSV = sv_2mortal(RETVALSV);
334 0 0 }); }
341 25 0 if (items < 1 || items > 3)
0 25 if (items < 1 || items > 3)
348 2 23 if (items < 2)
355 25 0 if (items < 3)
367 24 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
368 24 0 RETVALSV = sv_2mortal(RETVALSV);
373 24 0 }); }
389 4 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
390 4 0 RETVALSV = sv_2mortal(RETVALSV);
395 4 0 }); }
402 36 0 if (items < 2 || items > 3)
0 36 if (items < 2 || items > 3)
407 0 4 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
413 4 0 if (items < 3)
425 3 0 }); }
432 0 2 if (items < 1)
437 0 2 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
445 2 0 }); }
452 0 1 if (items != 1)
456 1 0 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 1 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
464 1 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
465 1 0 RETVALSV = sv_2mortal(RETVALSV);
470 1 0 }); }
477 21 0 if (items < 1 || items > 2)
0 21 if (items < 1 || items > 2)
481 13 8 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 13 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
485 13 0 if (items < 2)
500 13 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
501 13 0 RETVALSV = sv_2mortal(RETVALSV);
506 13 0 }); }
513 21 0 if (items < 1 || items > 2)
0 21 if (items < 1 || items > 2)
517 13 8 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 13 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
521 13 0 if (items < 2)
534 13 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
535 13 0 RETVALSV = sv_2mortal(RETVALSV);
540 13 0 }); }
547 21 0 if (items < 1 || items > 2)
0 21 if (items < 1 || items > 2)
551 13 8 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 13 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
555 13 0 if (items < 2)
570 13 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
571 13 0 RETVALSV = sv_2mortal(RETVALSV);
576 13 0 }); }
583 18 0 if (items < 1 || items > 2)
0 18 if (items < 1 || items > 2)
587 10 8 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 10 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
591 10 0 if (items < 2)
606 10 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
607 10 0 RETVALSV = sv_2mortal(RETVALSV);
612 10 0 }); }
619 19 0 if (items < 1 || items > 2)
0 19 if (items < 1 || items > 2)
623 11 8 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 11 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
627 11 0 if (items < 2)
642 11 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
643 11 0 RETVALSV = sv_2mortal(RETVALSV);
648 11 0 }); }
655 20 0 if (items < 1 || items > 2)
0 20 if (items < 1 || items > 2)
659 12 8 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 12 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
663 11 1 if (items < 2)
678 12 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
679 12 0 RETVALSV = sv_2mortal(RETVALSV);
684 12 0 }); }
691 6 0 if (items < 1 || items > 2)
0 6 if (items < 1 || items > 2)
695 6 0 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 6 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
699 4 2 if (items < 2)
716 4 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
717 4 0 RETVALSV = sv_2mortal(RETVALSV);
718 4 2 ST(0) = RETVALSV;
722 6 0 }); }
729 0 2 if (items != 1)
733 2 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 2 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
743 2 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
744 2 0 RETVALSV = sv_2mortal(RETVALSV);
745 2 0 ST(0) = RETVALSV;
749 2 0 }); }
757 0 21 if (items != 1)
761 21 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 21 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
770 21 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
771 21 0 RETVALSV = sv_2mortal(RETVALSV);
776 21 0 }); }
783 0 4 if (items != 1)
787 4 0 dXSTARG;
0 0 dXSTARG;
788 4 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 4 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
793 0 4 XSprePUSH; PUSHn((double)RETVAL);
4 0 XSprePUSH; PUSHn((double)RETVAL);
796 4 0 }); }
803 0 2 if (items != 1)
807 2 0 dXSTARG;
0 0 dXSTARG;
808 2 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 2 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
813 0 2 XSprePUSH; PUSHn((double)RETVAL);
2 0 XSprePUSH; PUSHn((double)RETVAL);
816 2 0 }); }
823 0 2 if (items != 1)
827 2 0 dXSTARG;
0 0 dXSTARG;
828 2 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 2 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
833 0 2 XSprePUSH; PUSHn((double)RETVAL);
2 0 XSprePUSH; PUSHn((double)RETVAL);
836 2 0 }); }
843 0 2 if (items != 1)
847 2 0 dXSTARG;
0 0 dXSTARG;
848 2 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 2 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
853 0 2 XSprePUSH; PUSHn((double)RETVAL);
2 0 XSprePUSH; PUSHn((double)RETVAL);
856 2 0 }); }
863 0 2 if (items != 1)
867 2 0 dXSTARG;
0 0 dXSTARG;
868 2 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 2 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
873 0 2 XSprePUSH; PUSHn((double)RETVAL);
2 0 XSprePUSH; PUSHn((double)RETVAL);
876 2 0 }); }
883 53 0 if (items < 1 || items > 2)
0 53 if (items < 1 || items > 2)
887 53 0 dXSTARG;
0 0 dXSTARG;
888 53 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 53 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
892 29 24 if (items < 2)
895 0 0 format = (int)SvIV(ST(1))
896 24 0 ;
901 53 0 XSprePUSH; PUSHp(RETVAL.data(), RETVAL.length());
0 53 XSprePUSH; PUSHp(RETVAL.data(), RETVAL.length());
0 0 XSprePUSH; PUSHp(RETVAL.data(), RETVAL.length());
904 53 0 }); }
911 0 5 if (items < 1)
915 0 5 dXSTARG;
5 0 dXSTARG;
916 5 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 5 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
921 5 0 XSprePUSH; PUSHp(RETVAL.data(), RETVAL.length());
0 5 XSprePUSH; PUSHp(RETVAL.data(), RETVAL.length());
0 0 XSprePUSH; PUSHp(RETVAL.data(), RETVAL.length());
924 5 0 }); }
931 0 0 if (items < 1)
935 0 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
940 0 0 ST(0) = boolSV(RETVAL);
943 0 0 }); }
950 0 3 if (items < 1)
954 3 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 3 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
962 3 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
963 3 0 RETVALSV = sv_2mortal(RETVALSV);
968 3 0 }); }
975 0 20 if (items < 2)
979 20 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 20 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
981 20 0 Sv arg = ST(1)
994 0 20 if (!RETVAL) XSRETURN_UNDEF;
995 20 0 if (RETVAL.is_scalar()) RETVALSV = RETVAL.detach();
20 0 if (RETVAL.is_scalar()) RETVALSV = RETVAL.detach();
997 0 0 case SVt_PVAV: XSRETURN(xs::Array(RETVAL.get()).push_on_stack(MARK));
0 0 case SVt_PVAV: XSRETURN(xs::Array(RETVAL.get()).push_on_stack(MARK));
998 0 0 case SVt_PVHV: XSRETURN(xs::Hash(RETVAL.get()).push_on_stack(MARK));
0 0 case SVt_PVHV: XSRETURN(xs::Hash(RETVAL.get()).push_on_stack(MARK));
1001 0 0 RETVALSV = newRV_noinc(RETVAL.detach());
1005 20 0 RETVALSV = sv_2mortal(RETVALSV);
1006 20 0 ST(0) = RETVALSV;
1010 20 0 }); }
1017 0 13 if (items < 2)
1021 5 8 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 5 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1033 4 0 }); }
1040 12 0 if (items < 2 || items > 3)
0 12 if (items < 2 || items > 3)
1044 12 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 12 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1050 0 12 if (items < 3)
1053 12 0 reverse = (bool)SvTRUE(ST(2))
0 12 reverse = (bool)SvTRUE(ST(2))
0 0 reverse = (bool)SvTRUE(ST(2))
0 0 reverse = (bool)SvTRUE(ST(2))
0 12 reverse = (bool)SvTRUE(ST(2))
0 0 reverse = (bool)SvTRUE(ST(2))
0 0 reverse = (bool)SvTRUE(ST(2))
12 0 reverse = (bool)SvTRUE(ST(2))
12 0 reverse = (bool)SvTRUE(ST(2))
12 0 reverse = (bool)SvTRUE(ST(2))
5 7 reverse = (bool)SvTRUE(ST(2))
5 0 reverse = (bool)SvTRUE(ST(2))
0 0 reverse = (bool)SvTRUE(ST(2))
0 0 reverse = (bool)SvTRUE(ST(2))
0 0 reverse = (bool)SvTRUE(ST(2))
0 0 reverse = (bool)SvTRUE(ST(2))
0 0 reverse = (bool)SvTRUE(ST(2))
0 0 reverse = (bool)SvTRUE(ST(2))
0 0 reverse = (bool)SvTRUE(ST(2))
1064 10 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
1065 10 0 RETVALSV = sv_2mortal(RETVALSV);
1070 10 0 }); }
1077 0 16 if (items < 2)
1081 8 8 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 8 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1093 6 0 }); }
1100 0 23 if (items < 2)
1104 23 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 23 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1115 23 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
1116 23 0 RETVALSV = sv_2mortal(RETVALSV);
1121 23 0 }); }
1128 0 10 if (items < 2)
1132 2 8 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 2 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1144 2 0 }); }
1151 15 0 if (items < 2 || items > 3)
0 15 if (items < 2 || items > 3)
1155 15 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 15 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1161 0 15 if (items < 3)
1164 15 0 reverse = (bool)SvTRUE(ST(2))
0 15 reverse = (bool)SvTRUE(ST(2))
0 0 reverse = (bool)SvTRUE(ST(2))
0 0 reverse = (bool)SvTRUE(ST(2))
0 15 reverse = (bool)SvTRUE(ST(2))
0 0 reverse = (bool)SvTRUE(ST(2))
0 0 reverse = (bool)SvTRUE(ST(2))
15 0 reverse = (bool)SvTRUE(ST(2))
15 0 reverse = (bool)SvTRUE(ST(2))
15 0 reverse = (bool)SvTRUE(ST(2))
6 9 reverse = (bool)SvTRUE(ST(2))
6 0 reverse = (bool)SvTRUE(ST(2))
0 0 reverse = (bool)SvTRUE(ST(2))
0 0 reverse = (bool)SvTRUE(ST(2))
0 0 reverse = (bool)SvTRUE(ST(2))
0 0 reverse = (bool)SvTRUE(ST(2))
0 0 reverse = (bool)SvTRUE(ST(2))
0 0 reverse = (bool)SvTRUE(ST(2))
0 0 reverse = (bool)SvTRUE(ST(2))
1175 9 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
1176 9 0 RETVALSV = sv_2mortal(RETVALSV);
1181 9 0 }); }
1188 10 0 if (items < 2 || items > 3)
0 10 if (items < 2 || items > 3)
1192 2 8 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 2 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1198 0 2 if (items < 3)
1201 2 0 reverse = (bool)SvTRUE(ST(2))
0 2 reverse = (bool)SvTRUE(ST(2))
0 0 reverse = (bool)SvTRUE(ST(2))
0 0 reverse = (bool)SvTRUE(ST(2))
2 0 reverse = (bool)SvTRUE(ST(2))
2 0 reverse = (bool)SvTRUE(ST(2))
0 2 reverse = (bool)SvTRUE(ST(2))
0 0 reverse = (bool)SvTRUE(ST(2))
0 0 reverse = (bool)SvTRUE(ST(2))
0 0 reverse = (bool)SvTRUE(ST(2))
0 0 reverse = (bool)SvTRUE(ST(2))
0 0 reverse = (bool)SvTRUE(ST(2))
0 0 reverse = (bool)SvTRUE(ST(2))
0 0 reverse = (bool)SvTRUE(ST(2))
0 0 reverse = (bool)SvTRUE(ST(2))
0 0 reverse = (bool)SvTRUE(ST(2))
0 0 reverse = (bool)SvTRUE(ST(2))
0 0 reverse = (bool)SvTRUE(ST(2))
0 0 reverse = (bool)SvTRUE(ST(2))
1213 2 0 }); }
1220 0 2 if (items < 1)
1224 2 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 2 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1233 2 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
1234 2 0 RETVALSV = sv_2mortal(RETVALSV);
1239 2 0 }); }
1246 0 8 if (items != 1)
1250 0 0 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1260 0 0 }); }
1267 0 26 if (items != 3)
1271 0 26 dXSTARG;
26 0 dXSTARG;
1272 26 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 26 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1276 26 0 bool reverse = (bool)SvTRUE(ST(2))
0 26 bool reverse = (bool)SvTRUE(ST(2))
0 0 bool reverse = (bool)SvTRUE(ST(2))
0 0 bool reverse = (bool)SvTRUE(ST(2))
0 26 bool reverse = (bool)SvTRUE(ST(2))
0 0 bool reverse = (bool)SvTRUE(ST(2))
0 0 bool reverse = (bool)SvTRUE(ST(2))
26 0 bool reverse = (bool)SvTRUE(ST(2))
26 0 bool reverse = (bool)SvTRUE(ST(2))
26 0 bool reverse = (bool)SvTRUE(ST(2))
2 24 bool reverse = (bool)SvTRUE(ST(2))
2 0 bool reverse = (bool)SvTRUE(ST(2))
0 0 bool reverse = (bool)SvTRUE(ST(2))
0 0 bool reverse = (bool)SvTRUE(ST(2))
0 0 bool reverse = (bool)SvTRUE(ST(2))
0 0 bool reverse = (bool)SvTRUE(ST(2))
0 0 bool reverse = (bool)SvTRUE(ST(2))
0 0 bool reverse = (bool)SvTRUE(ST(2))
0 0 bool reverse = (bool)SvTRUE(ST(2))
1284 0 25 XSprePUSH; PUSHi((IV)RETVAL);
25 0 XSprePUSH; PUSHi((IV)RETVAL);
1287 25 0 }); }
1294 0 92 if (items < 2)
1298 92 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 92 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1305 91 0 ST(0) = boolSV(RETVAL);
1308 91 0 }); }
1315 0 6 if (items != 2)
1319 6 0 dXSTARG;
0 0 dXSTARG;
1320 6 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 6 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1327 0 6 XSprePUSH; PUSHi((IV)RETVAL);
6 0 XSprePUSH; PUSHi((IV)RETVAL);
1330 6 0 }); }
1337 0 2 if (items != 1)
1341 2 0 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 2 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1350 2 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
1351 2 0 RETVALSV = sv_2mortal(RETVALSV);
1356 2 0 }); }
1366 4 1 if (date.timezone()->is_local) return sizeof(ptime_t);
1374 4 1 if (date.timezone()->is_local) *buf = 0;
1382 0 5 if (len < sizeof(ptime_t)) throw "Date: cannot 'thaw' - corrupted data";
1386 4 1 if (*ptr == 0) {
1391 1 0 if (znlen) *zone = tzget(ptr);
1 0 if (znlen) *zone = tzget(ptr);
1399 0 0 if (items != 1)
1403 0 0 Date* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 Date* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 Date* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 Date* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1412 0 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
1413 0 0 RETVALSV = sv_2mortal(RETVALSV);
1418 0 0 }); }
1425 0 5 if (items != 2)
1429 5 0 Date* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 5 Date* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 Date* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 Date* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1439 5 0 RETVAL = sv_2mortal(RETVAL);
1443 5 0 }); }
1450 0 5 if (items != 3)
1470 5 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
1471 5 0 RETVALSV = sv_2mortal(RETVALSV);
1476 5 0 }); }
1483 0 0 if (items != 1)
1487 0 0 Date* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 Date* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 Date* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 Date* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1495 0 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
1496 0 0 RETVALSV = sv_2mortal(RETVALSV);
1501 0 0 }); }
1508 0 0 if (items != 1)
1512 0 0 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1521 0 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
1522 0 0 RETVALSV = sv_2mortal(RETVALSV);
1527 0 0 }); }
1534 0 4 if (items != 2)
1538 0 4 dXSTARG;
4 0 dXSTARG;
1539 4 0 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 4 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DateRel* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1544 4 0 XSprePUSH; PUSHp(RETVAL.data(), RETVAL.length());
0 4 XSprePUSH; PUSHp(RETVAL.data(), RETVAL.length());
0 0 XSprePUSH; PUSHp(RETVAL.data(), RETVAL.length());
1547 4 0 }); }
1554 0 4 if (items != 3)
1563 4 0 const char* __serialized_buf = SvPV(ST(2), __serialized_len);
0 0 const char* __serialized_buf = SvPV(ST(2), __serialized_len);
1573 4 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
1574 4 0 RETVALSV = sv_2mortal(RETVALSV);
1579 4 0 }); }
1589 162 0 hash.store("offset", Simple(trans.offset));
162 0 hash.store("offset", Simple(trans.offset));
1590 162 0 hash.store("abbrev", Simple(trans.abbrev));
162 0 hash.store("abbrev", Simple(trans.abbrev));
1591 160 2 if (!is_past) {
1592 160 0 hash.store("start", Simple(trans.start));
160 0 hash.store("start", Simple(trans.start));
1593 160 0 hash.store("isdst", Simple(trans.isdst));
160 0 hash.store("isdst", Simple(trans.isdst));
1594 160 0 hash.store("gmt_offset", Simple(trans.gmt_offset));
160 0 hash.store("gmt_offset", Simple(trans.gmt_offset));
1595 160 0 hash.store("leap_corr", Simple(trans.leap_corr));
160 0 hash.store("leap_corr", Simple(trans.leap_corr));
1596 160 0 hash.store("leap_delta", Simple(trans.leap_delta));
160 0 hash.store("leap_delta", Simple(trans.leap_delta));
1605 0 14 if (items != 1)
1609 14 0 dXSTARG;
0 0 dXSTARG;
1610 14 0 const Timezone* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 14 const Timezone* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const Timezone* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const Timezone* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1615 14 0 XSprePUSH; PUSHp(RETVAL.data(), RETVAL.length());
0 14 XSprePUSH; PUSHp(RETVAL.data(), RETVAL.length());
0 0 XSprePUSH; PUSHp(RETVAL.data(), RETVAL.length());
1618 14 0 }); }
1625 0 12 if (items != 1)
1629 12 0 const Timezone* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 12 const Timezone* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const Timezone* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const Timezone* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1634 12 0 ST(0) = boolSV(RETVAL);
1637 12 0 }); }
1644 0 2 if (items != 1)
1648 2 0 const Timezone* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 2 const Timezone* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const Timezone* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 const Timezone* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1704 0 2 if (!RETVAL) XSRETURN_UNDEF;
1705 2 0 RETVALSV = newRV_noinc(RETVAL.detach());
1706 2 0 RETVALSV = sv_2mortal(RETVALSV);
1707 2 0 ST(0) = RETVALSV;
1711 2 0 }); }
1725 0 47 dVAR; dXSBOOTARGSXSAPIVERCHK;
0 47 dVAR; dXSBOOTARGSXSAPIVERCHK;
1838 47 0 }); }
47 0 }); }
47 0 }); }