Searched refs:day_n (Results 1 – 2 of 2) sorted by relevance
1188 static int day_n[] = variable1217 86400 * ((date & 31) - 1 + day_n[month] + (year / 4) + in ncp_date_dos2unix()1245 if (day_n[month] > nl_day) in ncp_date_unix2dos()1248 *date = cpu_to_le16(nl_day - day_n[month - 1] + 1 + (month << 5) + (year << 9)); in ncp_date_unix2dos()
449 static int day_n[] = variable479 ((date & 31) - 1 + day_n[month] + (year / 4) + year * 365 - ((year & 3) == 0 && in date_dos2unix()513 if (day_n[month] > nl_day) in date_unix2dos()516 *date = nl_day - day_n[month - 1] + 1 + (month << 5) + (year << 9); in date_unix2dos()