Lines Matching defs:days
627 /* How many days come before each month (0-12). */
635 long int days, rem, y, wday, yday;
638 days = time / SECS_PER_DAY;
643 --days;
647 ++days;
654 wday = (4 + days) % 7; /* Day in the week. Not currently used */
663 while (days < 0 || days >= (__isleap (y) ? 366 : 365))
665 /* Guess a corrected year, assuming 365 days per year. */
666 long int yg = y + days / 365 - (days % 365 < 0);
669 days -= ((yg - y) * 365
675 yday = days; /* day in the year. Not currently used. */
677 for (y = 11; days < (long int) ip[y]; --y)
679 days -= ip[y];
681 *dayp = days + 1; /* day in the month */