Home
last modified time | relevance | path

Searched refs:__isleap (Results 1 – 12 of 12) sorted by relevance

/glibc-2.36/time/
Dofftime.c60 while (days < 0 || days >= (__isleap (y) ? 366 : 365)) in __offtime()
79 ip = __mon_yday[__isleap(y)]; in __offtime()
Dstrptime_l.c202 #ifndef __isleap
205 # define __isleap(year) \ macro
231 tm->tm_yday = (__mon_yday[__isleap (1900 + tm->tm_year)][tm->tm_mon] in day_of_the_year()
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()
Ddysize.c23 return __isleap (year) ? 366 : 365; in dysize()
Dtzset.c459 if (rule->d >= 60 && __isleap (year)) in compute_change()
475 &__mon_yday[__isleap (year)][rule->m]; in compute_change()
Dstrftime_l.c151 #ifndef __isleap
154 # define __isleap(year) \ macro
1224 days = iso_week_days (tp->tm_yday + (365 + __isleap (year)), in libc_hidden_def()
1229 int d = iso_week_days (tp->tm_yday - (365 + __isleap (year)), in libc_hidden_def()
Dgetdate.c97 if (mday >= 1 && mday <= (__isleap (year) ? 29 : 28)) in check_mday()
Dtime.h239 #define __isleap(year) \ macro
/glibc-2.36/locale/programs/
Dld-time.c354 && !__isleap (time->era_entries[idx].start_date[0])))) in time_finish()
428 && !__isleap (time->era_entries[idx].stop_date[0])))) in time_finish()
/glibc-2.36/ChangeLog.old/
DChangeLog.12170 * time/time.h (__isleap): Fixed; every 400th year is not a leap
DChangeLog.22182 * time/mktime.c: Define __isleap if not defined.
DChangeLog.151364 * time/mktime.c (__isleap): Remove; all uses replaced by:
DChangeLog.66373 (__isleap): New macro.