/haiku/src/apps/poorman/libhttpd/ |
H A D | tdate_parse.c | 202 t = ( tmP->tm_year - 70 ) * 365; 204 t += ( tmP->tm_year - 69 ) / 4; 208 if ( tmP->tm_mon >= 2 && is_leap( tmP->tm_year + 1900 ) ) 227 int tm_sec, tm_min, tm_hour, tm_mday, tm_year; local 245 &tm_mday, str_mon, &tm_year, &tm_hour, &tm_min, 251 tm.tm_year = tm_year; 259 &tm_mday, str_mon, &tm_year, &tm_hour, &tm_min, 265 tm.tm_year = tm_year; [all...] |
/haiku/src/tests/system/libroot/posix/ |
H A D | test_time.c | 51 tbuf.tm_year = 72; 78 if (tbuf.tm_year == 101) 80 tbuf.tm_year = 97; 104 loctime->tm_year = 72;
|
H A D | tst-mktime.c | 14 time_str.tm_year = 2001 - 1900;
|
/haiku/src/system/libroot/posix/musl/time/ |
H A D | asctime_r.c | 15 1900 + tm->tm_year) >= 26)
|
H A D | __tm_to_secs.c | 6 long long year = tm->tm_year;
|
H A D | strptime.c | 164 dest = &tm->tm_year; 217 tm->tm_year = relyear; 218 if (want_century & 2) tm->tm_year += century * 100 - 1900; 219 else if (tm->tm_year <= 68) tm->tm_year += 100;
|
H A D | strftime.c | 33 if (dec31 == 4 || (dec31 == 5 && is_leap(tm->tm_year%400-1))) 41 if (jan1 != 4 && (jan1 != 3 || !is_leap(tm->tm_year))) 76 val = (1900LL+tm->tm_year) / 100; 91 val = tm->tm_year + 1900LL; 164 val = (tm->tm_year + 1900LL) % 100; 168 val = tm->tm_year + 1900LL; 258 if (tm->tm_year < -1900) {
|
H A D | wcsftime.c | 47 if (plus && tm->tm_year >= 10000-1900) 49 else if (tm->tm_year < -1900)
|
H A D | __secs_to_tm.c | 71 tm->tm_year = years + 100;
|
/haiku/src/system/kernel/arch/sparc/ |
H A D | arch_platform.cpp | 191 t.tm_year += RTC_EPOCH_BASE_YEAR; 194 if (of_call_method((uint32_t)fRTC, "set-time", 6, 0, t.tm_year, t.tm_mon, t.tm_mday, 205 if (of_call_method((uint32_t)fRTC, "get-time", 0, 6, &t.tm_year, &t.tm_mon, 211 t.tm_year -= RTC_EPOCH_BASE_YEAR;
|
/haiku/src/kits/network/libnetservices/ |
H A D | HttpTime.cpp | 140 BDate date(expireTime.tm_year + 1900, expireTime.tm_mon + 1, 157 expirationTm.tm_year = fDate.Date().Year() - 1900;
|
/haiku/headers/private/fs_shell/ |
H A D | fssh_time.h | 44 int tm_year; /* years since 1900 */ member in struct:fssh_tm
|
/haiku/src/system/kernel/arch/ppc/ |
H A D | arch_platform.cpp | 191 t.tm_year += RTC_EPOCH_BASE_YEAR; 194 if (of_call_method(fRTC, "set-time", 6, 0, t.tm_year, t.tm_mon, t.tm_mday, 205 if (of_call_method(fRTC, "get-time", 0, 6, &t.tm_year, &t.tm_mon, 211 t.tm_year -= RTC_EPOCH_BASE_YEAR;
|
/haiku/src/kits/network/libnetapi/ |
H A D | Certificate.cpp | 27 if (sscanf((char*)asn1->data, "%2d%2d%2d%2d%2d%2d", &time.tm_year, 32 time.tm_year += 100;
|
/haiku/src/kits/network/libnetservices2/ |
H A D | HttpTime.cpp | 161 expirationTm.tm_year = fDate.Date().Year() - 1900; 212 BDate date(expireTime.tm_year + 1900, expireTime.tm_mon + 1, expireTime.tm_mday);
|
/haiku/src/system/libroot/os/ |
H A D | parsedate.cpp | 734 tm.tm_year += value; 746 tm.tm_year++; 748 tm.tm_year--; 775 nowYear = tm.tm_year; 829 nowYear = tmNow.tm_year; 834 tm.tm_year = element->value; 835 if (tm.tm_year < 1900) { 840 if (nowYearInCentury + 10 < tm.tm_year % 100) 841 tm.tm_year -= 100; 843 tm.tm_year [all...] |
/haiku/src/bin/unzip/ |
H A D | timezone.c | 537 _tmbuf.tm_year = EPOCH_YEAR - TM_YEAR_BASE; 538 isleap = leap(_tmbuf.tm_year + TM_YEAR_BASE); 541 _tmbuf.tm_year++; 542 isleap = leap(_tmbuf.tm_year + TM_YEAR_BASE); 745 years = tm->tm_year + TM_YEAR_BASE; /* year - 1900 -> year */ 774 tm->tm_year = years - TM_YEAR_BASE;
|
/haiku/src/bin/ |
H A D | dstcheck.cpp | 110 if (tm.tm_year < (2020 - 1900)) {
|
/haiku/headers/posix/ |
H A D | time.h | 62 int tm_year; /* years since 1900 */ member in struct:tm
|
/haiku/src/system/kernel/arch/x86/ |
H A D | arch_real_time_clock.cpp | 144 t.tm_year = bcd_to_int(cmos->century) * 100 + bcd_to_int(cmos->year) 164 wholeYear = t.tm_year + RTC_EPOCH_BASE_YEAR;
|
/haiku/src/system/kernel/arch/m68k/ |
H A D | arch_real_time_clock.cpp | 130 t.tm_year = bcd_to_int(cmos->century) * 100 + bcd_to_int(cmos->year) 150 wholeYear = t.tm_year + RTC_EPOCH_BASE_YEAR;
|
/haiku/src/system/kernel/ |
H A D | real_time_clock.cpp | 185 year = tm->tm_year + RTC_EPOCH_BASE_YEAR; 219 t->tm_year = year - RTC_EPOCH_BASE_YEAR;
|
/haiku/src/system/libroot/add-ons/icu/ |
H A D | ICUTimeConversion.cpp | 233 tmOut->tm_year = calendar.get(UCAL_YEAR, icuStatus) - 1900; 269 calendar.set(inOutTm->tm_year + 1900, inOutTm->tm_mon, inOutTm->tm_mday,
|
/haiku/src/kits/mail/ |
H A D | HaikuMailFormatFilter.cpp | 177 timeFields.tm_year + 1900, timeFields.tm_mon + 1, timeFields.tm_mday,
|
/haiku/src/preferences/time/ |
H A D | DateTimeView.cpp | 159 date.SetDate(timeInfo->tm_year + 1900, timeInfo->tm_mon + 1,
|