Lines Matching refs:days
54 int days = 0; in cdf_getdays() local
58 days += isleap(y) + 365; in cdf_getdays()
60 return days; in cdf_getdays()
67 cdf_getday(int year, int days) in cdf_getday() argument
73 if (days < sub) in cdf_getday()
74 return days; in cdf_getday()
75 days -= sub; in cdf_getday()
77 return days; in cdf_getday()
84 cdf_getmonth(int year, int days) in cdf_getmonth() argument
89 days -= mdays[m]; in cdf_getmonth()
91 days--; in cdf_getmonth()
92 if (days <= 0) in cdf_getmonth()