Searched refs:year (Results 1 – 7 of 7) sorted by relevance
/bionic/libc/bionic/ |
D | time64.c | 183 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/ |
D | asctime.c | 81 char year[INT_STRLEN_MAXIMUM(int) + 2]; in asctime_r() local 100 strftime(year, sizeof year, "%Y", timeptr); in asctime_r() 105 ((strlen(year) <= 4) ? ASCTIME_FMT : ASCTIME_FMT_B), in asctime_r() 109 year); in asctime_r()
|
D | strftime.c | 438 int year; in _fmt() local 444 year = t->tm_year; in _fmt() 453 len = isleap_sum(year, base) ? in _fmt() 482 yday += isleap_sum(year, base) ? in _fmt() 497 pt = _yconv(year, base, in _fmt() 500 } else pt = _yconv(year, base, in _fmt()
|
D | strptime.c | 565 const int year = tm->tm_year + TM_YEAR_BASE; in _strptime() local 566 const int *mon_lens = mon_lengths[isleap(year)]; in _strptime() 578 ((year - EPOCH_YEAR) % DAYSPERWEEK) * in _strptime() 580 leaps_thru_end_of(year - 1) - in _strptime()
|
D | localtime.c | 1051 transtime(const int year, register const struct rule *const rulep, in transtime() argument 1059 leapyear = isleap(year); in transtime() 1094 yy0 = (rulep->r_mon <= 2) ? (year - 1) : year; in transtime() 1218 register int year; in tzparse() local 1271 for (year = yearbeg; year < yearlim; year++) { in tzparse() 1273 starttime = transtime(year, &start, stdoffset), in tzparse() 1274 endtime = transtime(year, &end, dstoffset); in tzparse() 1276 yearsecs = (year_lengths[isleap(year)] in tzparse() 1304 yearlim = year; in tzparse() 1318 } else if (YEARSPERREPEAT < year - yearbeg) in tzparse()
|
/bionic/libc/upstream-openbsd/lib/libc/time/ |
D | wcsftime.c | 345 int year; in _fmt() local 351 year = t->tm_year; in _fmt() 360 len = isleap_sum(year, base) ? in _fmt() 385 yday += isleap_sum(year, base) ? in _fmt() 396 pt = _yconv(year, base, 0, 1, pt, ptlim); in _fmt() 398 pt = _yconv(year, base, 1, 1, pt, ptlim); in _fmt()
|
/bionic/docs/ |
D | defines.md | 32 that for most of the year, the OS builds with this set to 10,000 rather than the
|