Home
last modified time | relevance | path

Searched refs:YEARSPERREPEAT (Results 1 - 10 of 10) sorted by relevance

/third_party/icu/icu4c/source/tools/tzcode/
H A Dprivate.h391 #ifndef YEARSPERREPEAT
392 #define YEARSPERREPEAT 400 /* years before a Gregorian repeat */ macro
393 #endif /* !defined YEARSPERREPEAT */
404 #define SECSPERREPEAT ((int_fast64_t) YEARSPERREPEAT * (int_fast64_t) AVGSECSPERYEAR)
H A Dlocaltime.c1018 yearlim = EPOCH_YEAR + YEARSPERREPEAT; in tzparse()
1039 yearlim = year + YEARSPERREPEAT + 1; in tzparse()
1280 years = (seconds / SECSPERREPEAT + 1) * YEARSPERREPEAT; in localsub()
H A Dzic.c2328 enum { years_of_observations = YEARSPERREPEAT + 2 }; in outzone()
/third_party/skia/third_party/externals/icu/source/tools/tzcode/
H A Dprivate.h399 #ifndef YEARSPERREPEAT
400 #define YEARSPERREPEAT 400 /* years before a Gregorian repeat */ macro
401 #endif /* !defined YEARSPERREPEAT */
412 #define SECSPERREPEAT ((int_fast64_t) YEARSPERREPEAT * (int_fast64_t) AVGSECSPERYEAR)
H A Dlocaltime.c1016 yearlim = EPOCH_YEAR + YEARSPERREPEAT; in tzparse()
1037 yearlim = year + YEARSPERREPEAT + 1; in tzparse()
1278 years = (seconds / SECSPERREPEAT + 1) * YEARSPERREPEAT; in localsub()
H A Dzic.c2327 enum { years_of_observations = YEARSPERREPEAT + 2 }; in outzone()
/third_party/tzdata/
H A Dprivate.h965 YEARSPERREPEAT = 400 /* years before a Gregorian repeat */ enumerator
972 #define AVGSECSPERYEAR (SECSPERREPEAT / YEARSPERREPEAT)
984 enum { years_of_observations = YEARSPERREPEAT + 2 };
H A Dlocaltime.c1192 && EPOCH_YEAR - YEARSPERREPEAT / 2 < yearbeg); in tzparse()
1521 years = seconds / SECSPERREPEAT * YEARSPERREPEAT; in localsub()
1523 years += YEARSPERREPEAT; in localsub()
1747 + floor((tdays + dayoff) / DAYSPERREPEAT) * YEARSPERREPEAT), in timesub()
1749 YEARSPERREPEAT) instead of against 1970 so that things work in timesub()
1753 y = (EPOCH_YEAR - YEARSPERREPEAT in timesub()
1757 * YEARSPERREPEAT)); in timesub()
H A Dzic.c3815 /* dayoff = floor((wantedy - y) / YEARSPERREPEAT) * DAYSPERREPEAT, in rpytime()
3817 yrem = wantedy % YEARSPERREPEAT - y % YEARSPERREPEAT; in rpytime()
3818 dayoff = ((wantedy / YEARSPERREPEAT - y / YEARSPERREPEAT in rpytime()
3819 + yrem / YEARSPERREPEAT - (yrem % YEARSPERREPEAT < 0)) in rpytime()
3821 /* wantedy = y + ((wantedy - y) mod YEARSPERREPEAT), sans overflow. */ in rpytime()
3822 wantedy = y + (yrem + 2 * YEARSPERREPEAT) % YEARSPERREPEAT; in rpytime()
[all...]
H A Dzdump.c778 int cycles = (newp->tm_year - oldy) / YEARSPERREPEAT; in delta_nonneg()
780 int tmy = oldp->tm_year + cycles * YEARSPERREPEAT; in delta_nonneg()

Completed in 26 milliseconds