Searched refs:year (Results 1 – 9 of 9) sorted by relevance
89 #define _DAYS_IN_YEAR(year) (isleap(year+YEAR_BASE) ? 366 : 365) argument189 int year; in mktime_utc() local211 if ((year = tim_p->tm_year) > 70) in mktime_utc()213 for (year = 70; year < tim_p->tm_year; year++) in mktime_utc()214 days += _DAYS_IN_YEAR (year); in mktime_utc()216 else if (year < 70) in mktime_utc()218 for (year = 69; year > tim_p->tm_year; year--) in mktime_utc()219 days -= _DAYS_IN_YEAR (year); in mktime_utc()220 days -= _DAYS_IN_YEAR (year); in mktime_utc()235 int year; in mktime() local[all …]
15 __tzcalc_limits (int year) in __tzcalc_limits() argument21 if (year < EPOCH_YEAR) in __tzcalc_limits()24 tz->__tzyear = year; in __tzcalc_limits()26 years = (year - EPOCH_YEAR); in __tzcalc_limits()39 (isleap(year) && tz->__tzrule[i].d >= 60); in __tzcalc_limits()47 const int yleap = isleap(year); in __tzcalc_limits()
40 int year; in localtime_r() local46 year = res->tm_year + YEAR_BASE; in localtime_r()47 ip = __month_lengths[isleap(year)]; in localtime_r()53 if (year == tz->__tzyear || __tzcalc_limits (year)) in localtime_r()
70 int era, weekday, year; in gmtime_r() local104 year = ADJUSTED_EPOCH_YEAR + erayear + era * YEARS_PER_ERA + (month <= 1); in gmtime_r()109 res->tm_year = year - YEAR_BASE; in gmtime_r()
68 is_leap_year (int year) in is_leap_year() argument70 return (year % 4) == 0 && ((year % 100) != 0 || (year % 400) == 0); in is_leap_year()93 first_day (int year) in first_day() argument97 while (--year >= 1970) in first_day()98 ret = (ret + 365 + is_leap_year (year)) % 7; in first_day()
401 int year; member494 ei->year = tim_p->tm_year - stm.tm_year + offset; in get_era_info()496 ei->year = etm.tm_year - tim_p->tm_year + offset; in get_era_info()960 int year = tim_p->tm_year >= 0 ? tim_p->tm_year % 100 in __strftime() local967 ((year + adjust) % 100 + 100) % 100); in __strftime()981 int year = tim_p->tm_year >= 0 ? tim_p->tm_year % 100 in __strftime() local987 year += adjust; in __strftime()988 if (year == -1) in __strftime()990 year = 99; in __strftime()993 else if (year == 100) in __strftime()[all …]
294 Copyright (C) <year> <name of author>316 Gnomovision version 69, Copyright (C) year name of author
353 raise to the year 2038 problem. The default type for time_t is a signed
351 * libc/machine/arm/memcpy.c: Adjust copyright year. Adjust comments.1153 * libc/include/sys/features.h: update newlib version and copyright year1356 after year 2069 or before year 1901. Ideas for solution taken from4234 of the first day of the year.18545 internal routine for calculating timezone changes for specified year.18757 internal routine for calculating timezone changes for specified year.21774 * libc/time/strftime.c (strftime): Handle %y after year 2000.25221 * libc/time/localtime.c (localtime): Fix problem with leap year