Lines Matching refs:tzoff
763 duk_int_t tzoff, tzoffprev1, tzoffprev2; in duk_bi_date_get_timeval_from_dparts() local
837 tzoff = DUK_USE_DATE_GET_LOCAL_TZOFFSET(d); in duk_bi_date_get_timeval_from_dparts()
838 DUK_DDD(DUK_DDDPRINT("tzoffset w/o iteration, tzoff=%ld", (long) tzoff)); in duk_bi_date_get_timeval_from_dparts()
839 d -= tzoff * 1000L; in duk_bi_date_get_timeval_from_dparts()
845 tzoff = 0; in duk_bi_date_get_timeval_from_dparts()
849 tzoffprev1 = tzoff; in duk_bi_date_get_timeval_from_dparts()
850 tzoff = DUK_USE_DATE_GET_LOCAL_TZOFFSET(d - tzoff * 1000L); in duk_bi_date_get_timeval_from_dparts()
852 (int) i, (long) tzoff, (long) tzoffprev1, (long) tzoffprev2)); in duk_bi_date_get_timeval_from_dparts()
853 if (tzoff == tzoffprev1) { in duk_bi_date_get_timeval_from_dparts()
855 (int) i, (long) tzoff, (long) tzoffprev1, (long) tzoffprev2)); in duk_bi_date_get_timeval_from_dparts()
857 } else if (tzoff == tzoffprev2) { in duk_bi_date_get_timeval_from_dparts()
864 (int) i, (long) tzoff, (long) tzoffprev1, (long) tzoffprev2)); in duk_bi_date_get_timeval_from_dparts()
865 if (tzoffprev1 > tzoff) { in duk_bi_date_get_timeval_from_dparts()
866 tzoff = tzoffprev1; in duk_bi_date_get_timeval_from_dparts()
871 DUK_DDD(DUK_DDDPRINT("tzoffset iteration, tzoff=%ld", (long) tzoff)); in duk_bi_date_get_timeval_from_dparts()
872 d -= tzoff * 1000L; in duk_bi_date_get_timeval_from_dparts()