Searched refs:isleap (Results 1 – 10 of 10) sorted by relevance
41 #define isleap(y) ((((y) % 4) == 0) && \ macro58 days += isleap(y) + 365; in cdf_getdays()72 int sub = mdays[m] + (m == 1 && isleap(year)); in cdf_getday()90 if (m == 1 && isleap(year)) in cdf_getmonth()
57 #define isleap(y) (((y) % 4) == 0 && (((y) % 100) != 0 || ((y) % 400) == 0)) macro121 UTime += (CumulativeDays[isleap(Year)][13] * SECSPERDAY); in efi_time()129 UTime += (CumulativeDays[isleap(ETime->Year)][ETime->Month] * SECSPERDAY); in efi_time()
49 static int isleap P((int));63 isleap(y) in isleap() function81 + (m==1 && isleap(tm->tm_year + TM_YEAR_ORIGIN));216 - (tm->tm_mon<2 || ! isleap(tm->tm_year + TM_YEAR_ORIGIN));
155 #define isleap(y) (((y) % 4) == 0 && (((y) % 100) != 0 || ((y) % 400) == 0)) macro169 #define isleap_sum(a, b) isleap((a) % 400 + (b) % 400)
75 ((year % 100) / 4) + (isleap(year) ? 6 : 0) + 1) % 7); in first_wday_of()619 tm->tm_yday = start_of_month[isleap(tm->tm_year + in _strptime()643 start_of_month[isleap(tm->tm_year + in _strptime()649 start_of_month[isleap(tm->tm_year + in _strptime()658 start_of_month[isleap(tm->tm_year + TM_YEAR_BASE)] in _strptime()
855 leapyear = isleap(year); in transtime()1035 yearsecs = (year_lengths[isleap(year)] in tzparse()1534 while (tdays < 0 || tdays >= year_lengths[isleap(y)]) { in timesub()1579 idays += year_lengths[isleap(y)]; in timesub()1581 while (idays >= year_lengths[isleap(y)]) { in timesub()1582 idays -= year_lengths[isleap(y)]; in timesub()1610 ip = mon_lengths[isleap(y)]; in timesub()1788 yourtm.tm_mday += year_lengths[isleap(li)]; in time2sub()1792 yourtm.tm_mday -= year_lengths[isleap(li)]; in time2sub()1797 i = mon_lengths[isleap(y)][yourtm.tm_mon]; in time2sub()
57 #define isleap(y) ((((y) % 4) == 0 && ((y) % 100) != 0) || ((y) % 400) == 0) macro76 days += isleap(1900 + cnt) ? 366 : 365; in main()
78 #ifndef isleap79 #define isleap(y) (((y) % 4) == 0 && (((y) % 100) != 0 || ((y) % 400) == 0)) macro86 #define isleap_sum(a, b) isleap((a) % 400 + (b) % 400)408 seconds = isleap(myy) ? SECSPERLYEAR : SECSPERNYEAR; in yeartot()424 seconds = isleap(myy - 1) ? SECSPERLYEAR : SECSPERNYEAR; in yeartot()
1054 i = len_years[isleap(j)]; in inleap()1058 i = -len_years[isleap(j)]; in inleap()1069 i = len_months[isleap(year)][j]; in inleap()1075 day <= 0 || day > len_months[isleap(year)][month]) { in inleap()2566 i = len_years[isleap(y)]; in rpytime()2570 i = -len_years[isleap(y)]; in rpytime()2575 i = len_months[isleap(y)][m]; in rpytime()2580 if (m == TM_FEBRUARY && i == 29 && !isleap(y)) { in rpytime()2617 if (i < 0 || i >= len_months[isleap(y)][m]) { in rpytime()
166 isleap(int y) in isleap() function199 result += isleap(year); in days_per_month()216 return (isleap(year) ? 366 : 365); in days_per_year()292 new_years_eve_dow = (new_year_dow + 364 + isleap(year)) % MAX_DAYS; in iso_week()293 if (365 + isleap(year) - diy < MAX_DAYS in iso_week()