Lines Matching refs:tm_year
216 int corr_year = 1900 + tm->tm_year - (tm->tm_mon < 2); in day_of_the_week()
218 + (365 * (tm->tm_year - 70)) in day_of_the_week()
231 tm->tm_yday = (__mon_yday[__isleap (1900 + tm->tm_year)][tm->tm_mon] in day_of_the_year()
757 tm->tm_year = val >= 69 ? val : val + 100; in __strptime_internal()
765 tm->tm_year = val - 1900; in __strptime_internal()
895 tm->tm_year = val; in __strptime_internal()
908 int delta = ((tm->tm_year - era->offset) in __strptime_internal()
934 int delta = ((tm->tm_year - era->offset) in __strptime_internal()
988 tm->tm_year = val - 1900; in __strptime_internal()
1130 tm->tm_year = val >= 69 ? val : val + 100; in __strptime_internal()
1157 tm->tm_year = tm->tm_year % 100 + (s.century - 19) * 100; in __strptime_internal()
1160 tm->tm_year = (s.century - 19) * 100; in __strptime_internal()
1169 tm->tm_year = (era->start_date[0] in __strptime_internal()
1170 + ((tm->tm_year - era->offset) in __strptime_internal()
1174 tm->tm_year = era->start_date[0]; in __strptime_internal()
1181 if (s.want_century && s.century == -1 && tm->tm_year < 69) in __strptime_internal()
1182 tm->tm_year += 100; in __strptime_internal()
1191 while (__mon_yday[__isleap(1900 + tm->tm_year)][t_mon] <= tm->tm_yday) in __strptime_internal()
1198 - __mon_yday[__isleap(1900 + tm->tm_year)][t_mon - 1] + 1); in __strptime_internal()
1233 while (__mon_yday[__isleap(1900 + tm->tm_year)][t_mon] in __strptime_internal()
1241 - __mon_yday[__isleap(1900 + tm->tm_year)][t_mon - 1] + 1); in __strptime_internal()