/haiku/src/system/libroot/posix/musl/time/ |
H A D | __secs_to_tm.c | 13 long long days, secs, years; local 25 days = secs / 86400; 29 days--; 32 wday = (3+days)%7; 35 qc_cycles = days / DAYS_PER_400Y; 36 remdays = days % DAYS_PER_400Y;
|
/haiku/src/add-ons/kernel/file_systems/fat/ |
H A D | util.cpp | 86 /* returns leap days since 1970 */ 102 time_t days; local 110 days = daze[(t>>21)&15] + ((t>>25)+10)*365 + leaps((t>>25)+10,((t>>21)&15)-1)+((t>>16)&31)-1; 112 return (((days * 24) + ((t>>11)&31)) * 60 + ((t>>5)&63) - tzoffset) * 60 + 2*(t&31); 120 int days; local 131 days = IS_LEAP_YEAR(1980+y) ? 366 : 365; 132 if (s < days) break; 133 s -= days;
|
/haiku/src/system/boot/platform/openfirmware/ |
H A D | real_time_clock.cpp | 52 int days = day; local 55 return (((days * 24 + hour) * 60ULL + minute) * 60ULL + second)
|
/haiku/src/system/libnetwork/netresolv/nameser/ |
H A D | ns_ttl.c | 62 int secs, mins, hours, days, weeks, x; local 68 days = (int)(src % 7); src /= 7; 76 if (days) { 77 T(fmt1(days, 'D', &dst, &dstlen)); 88 if (secs || !(weeks || days || hours || mins)) {
|
/haiku/src/bin/unzip/ |
H A D | timezone.c | 531 long days = *when / SECSPERDAY; local 536 _tmbuf.tm_wday = (days + EPOCH_WDAY) % 7; 539 while (days >= year_lengths[isleap]) { 540 days -= year_lengths[isleap]; 545 _tmbuf.tm_yday = days; 546 while (days >= mon_lengths[isleap][_tmbuf.tm_mon]) 547 days -= mon_lengths[isleap][_tmbuf.tm_mon++]; 548 _tmbuf.tm_mday = days + 1; 743 int years, months, days, hours, minutes, seconds; local 747 days [all...] |
H A D | fileio.c | 1661 unsigned days; 1708 /* calculate days from BASE to this year and add expired days this year */ 1709 days = (yr * 365) + (leap - 492) + ydays[mo]; 1713 ++days; /* OK through 2199 */ 1716 m_time = (time_t)(((unsigned long)days + dy) * 86400L +
|
/haiku/src/apps/webpositive/ |
H A D | BrowsingHistory.h | 66 void SetMaxHistoryItemAge(int32 days);
|
H A D | BrowsingHistory.cpp | 225 BrowsingHistory::SetMaxHistoryItemAge(int32 days) argument 228 if (fMaxHistoryItemAge != days) { 229 fMaxHistoryItemAge = days;
|
/haiku/headers/os/mail/ |
H A D | E-mail.h | 67 // schedule days 98 int32 days; /* see flags above*/ member in struct:__anon448
|
/haiku/src/system/kernel/ |
H A D | real_time_clock.cpp | 181 uint32 days; local 189 days = tm->tm_mday - 32075 - RTC_EPOCH_JULIAN_DAY 194 return days * RTC_SECONDS_DAY + tm->tm_hour * 3600 + tm->tm_min * 60
|
/haiku/src/add-ons/kernel/file_systems/exfat/ |
H A D | Inode.cpp | 209 /* returns leap days since 1970 */ 229 time_t days = daze[(date >> 5) & 15] + ((date >> 9) + 10) * 365 local 232 timespec.tv_sec = ((days * 24 + (time >> 11)) * 60 + ((time >> 5) & 63)
|
/haiku/src/kits/shared/ |
H A D | DateTimeEdit.cpp | 637 int32 days = fDate.DaysInMonth(); local 638 if (value > days) 641 value = days; 657 // changing between months with differing amounts of days 687 int32 days = fDate.DaysInMonth(); local 688 if (value >= 1 && value <= days)
|
/haiku/src/add-ons/kernel/file_systems/iso9660/ |
H A D | iso9660.cpp | 994 int days, i, year; local 1005 days = (year * 365); 1008 days += (year + 1)/ 4; 1011 days += monlen[i-1]; 1015 days++; 1017 days += inDate->date - 1; 1018 time = ((((days*24) + inDate->hour) * 60 + inDate->minute) * 60)
|
/haiku/headers/os/support/ |
H A D | DateTime.h | 115 void AddDays(int32 days);
|
/haiku/src/kits/support/ |
H A D | DateTime.cpp | 594 // 'missing' days between switch julian - gregorian 667 Adds \c days to the current date. If the passed value is negative it will 668 become earlier. If the current date is invalid, the \c days are not added. 671 BDate::AddDays(int32 days) argument 674 *this = JulianDayToDate(DateToJulianDay() + days); 724 // 'missing' days between switch julian - gregorian 767 Returns the difference in days between this date and the given BDate \c date. 913 Returns the number of days in the year of the current date. If the date is 927 Returns the number of days in the month of the current date. If the date is
|