Home
last modified time | relevance | path

Searched refs:IS_LEAP_YEAR (Results 1 – 3 of 3) sorted by relevance

/kernel/liteos_m/kal/posix/src/
Dtime_internal.h71 #ifndef IS_LEAP_YEAR
72 #define IS_LEAP_YEAR(year) \ macro
Dtime.c570 (days >= (IS_LEAP_YEAR (year) ? DAYS_PER_LEAP_YEAR : DAYS_PER_NORMAL_YEAR))) { in ConvertSecs2Utc()
585 const UINT16 *daysInMonth = g_daysInMonth[IS_LEAP_YEAR(year)]; in ConvertSecs2Utc()
657 if (IS_LEAP_YEAR(year + TM_YEAR_BASE)) { in ConvertUtc2Secs()
663 if (IS_LEAP_YEAR(tm->tm_year + TM_YEAR_BASE)) { in ConvertUtc2Secs()
/kernel/linux/linux-5.10/fs/fat/
Dmisc.c182 #define IS_LEAP_YEAR(y) (!((y) & 3) && (y) != YEAR_2100) macro
212 if (IS_LEAP_YEAR(year) && month > 2) in fat_time_fat2unix()