Home
last modified time | relevance | path

Searched refs:year (Results 1 – 6 of 6) sorted by relevance

/bionic/libc/bionic/
Dtime64.c183 static int is_exception_century(Year year) in is_exception_century() argument
185 int is_exception = ((year % 100 == 0) && !(year % 400 == 0)); in is_exception_century()
199 Year year; in timegm64() local
216 year = 70; in timegm64()
217 while( year < orig_year ) { in timegm64()
218 days += length_of_year[IS_LEAP(year)]; in timegm64()
219 year++; in timegm64()
223 year = 69; in timegm64()
225 days -= length_of_year[IS_LEAP(year)]; in timegm64()
226 year--; in timegm64()
[all …]
/bionic/libc/tzcode/
Dasctime.c75 char year[INT_STRLEN_MAXIMUM(int) + 2]; in asctime_r() local
94 strftime(year, sizeof year, "%Y", timeptr); in asctime_r()
99 ((strlen(year) <= 4) ? ASCTIME_FMT : ASCTIME_FMT_B), in asctime_r()
103 year); in asctime_r()
Dstrftime.c449 int year; in _fmt() local
455 year = t->tm_year; in _fmt()
464 len = isleap_sum(year, base) ? in _fmt()
493 yday += isleap_sum(year, base) ? in _fmt()
508 pt = _yconv(year, base, in _fmt()
511 } else pt = _yconv(year, base, in _fmt()
Dstrptime.c566 const int year = tm->tm_year + TM_YEAR_BASE; in _strptime() local
567 const int *mon_lens = mon_lengths[isleap(year)]; in _strptime()
579 ((year - EPOCH_YEAR) % DAYSPERWEEK) * in _strptime()
581 leaps_thru_end_of(year - 1) - in _strptime()
Dlocaltime.c1056 transtime(const int year, register const struct rule *const rulep, in transtime() argument
1064 leapyear = isleap(year); in transtime()
1099 yy0 = (rulep->r_mon <= 2) ? (year - 1) : year; in transtime()
1217 register int year; in tzparse() local
1270 for (year = yearbeg; year < yearlim; year++) { in tzparse()
1272 starttime = transtime(year, &start, stdoffset), in tzparse()
1273 endtime = transtime(year, &end, dstoffset); in tzparse()
1275 yearsecs = (year_lengths[isleap(year)] in tzparse()
1303 yearlim = year; in tzparse()
1317 } else if (YEARSPERREPEAT < year - yearbeg) in tzparse()
/bionic/docs/
Ddefines.md32 that for most of the year, the OS builds with this set to 10,000 rather than the