Searched refs:doy (Results 1 – 3 of 3) sorted by relevance
46 unsigned int doy = doe - (365U * yoe + yoe / 4U - yoe / 100U); in time_civil_from_days() local47 unsigned int mp = (5U * doy + 2U) / 153U; in time_civil_from_days()48 unsigned int d = doy - (153U * mp + 2U) / 5U + 1U; in time_civil_from_days()67 if (doy >= 306U) { in time_civil_from_days()68 tp->tm_yday = doy - 306U; in time_civil_from_days()70 tp->tm_yday = doy + 59U + (((yoe % 4U == 0U) && (yoe % 100U != 0U)) || (yoe == 0U)); in time_civil_from_days()
115 unsigned doy; in hinnant() local122 doy = (153 * (m + ((m > 2) ? -3 : 9)) + 2)/5 + d - 1; in hinnant()123 doe = yoe * 365 + yoe / 4 - yoe / 100 + doy; in hinnant()
39 unsigned int doy = (153U * (m + (m > 2 ? -3 : 9)) + 2U) / 5U + d; in time_days_from_civil() local40 unsigned int doe = yoe * 365U + yoe / 4U - yoe / 100U + doy; in time_days_from_civil()