/freebsd/contrib/netbsd-tests/lib/libc/time/ |
H A D | t_mktime.c | 93 tms.tm_year = 1970 - 1900; in ATF_TC_BODY() 101 tms.tm_year = 1970 - 1900; in ATF_TC_BODY() 113 tms.tm_year = 1969 - 1900; in ATF_TC_BODY() 129 tms.tm_year = 1970 - 1900; in ATF_TC_BODY() 140 tms.tm_year = 1970 - 1900; in ATF_TC_BODY()
|
/freebsd/usr.bin/calendar/ |
H A D | day.c | 61 year1 = 1900 + tp1->tm_year; in settimes() 64 year2 = 1900 + tp2->tm_year; in settimes() 91 if (y > 1900) in Mktime() 92 y -= 1900; in Mktime()
|
H A D | pom.c | 108 tmd_today.tm_year = year - 1900; in fpom() 115 tmd_tomorrow.tm_year = year - 1900; in fpom() 126 yeardays += isleap(1900 + cnt) ? DAYSPERLEAPYEAR : DAYSPERYEAR; in fpom() 136 yeardays += isleap(1900 + cnt) ? DAYSPERLEAPYEAR : DAYSPERYEAR; in fpom()
|
/freebsd/contrib/ntp/ntpd/ |
H A D | check_y2k.c | 126 static int year0 = 1900; /* sarting year for NTP time */ 183 LocalTime.tm_year = year - 1900; in main() 205 LocalTime.tm_year = year - 1900; /* everything > limit */ in main() 258 if ( !isleap_tm(2000-1900) ) in main() 286 IsLeapSw = isleap_tm(year-1900); in main() 323 long Days1970; /* days from 1900 to 1970 */ in main() 443 if ( year >= YEAR_PIVOT+1900 ) in main() 463 /* check year - 1900 code we put into parse_to_unixtime() */ in main() 465 ct.year = year - 1900; in main() 498 ntp_time = julian0( year0 ); /* NTP starts in 1900-01-01 */ in main()
|
/freebsd/sys/contrib/device-tree/src/arm/broadcom/ |
H A D | bcm4709-buffalo-wxr-1900dhp.dts | 4 * DTS for Buffalo WXR-1900DHP 15 compatible = "buffalo,wxr-1900dhp", "brcm,bcm4709", "brcm,bcm4708"; 16 model = "Buffalo WXR-1900DHP";
|
/freebsd/crypto/openssl/crypto/asn1/ |
H A D | a_time.c | 55 int y = tm->tm_year + 1900; in determine_days() 154 tmp.tm_year = n * 100 - 1900; in ossl_asn1_time_to_tm() 169 md = mdays[1] + leap_year(tmp.tm_year + 1900); in ossl_asn1_time_to_tm() 300 ts->tm_year + 1900, ts->tm_mon + 1, in ossl_asn1_time_from_tm() 521 stm.tm_year + 1900, stm.tm_mon + 1, in ossl_asn1_time_print_ex() 529 stm.tm_min, stm.tm_sec, f_len, f, stm.tm_year + 1900, in ossl_asn1_time_print_ex() 535 stm.tm_year + 1900, stm.tm_mon + 1, in ossl_asn1_time_print_ex() 543 stm.tm_min, stm.tm_sec, stm.tm_year + 1900, in ossl_asn1_time_print_ex()
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | strftime.c | 211 "%02d", (tm->tm_year + 1900) / 100); in strftime() 222 (tm->tm_year + 1900) % 100); in strftime() 230 "%04d-%02d-%02d", tm->tm_year + 1900, in strftime() 338 "%02d", (tm->tm_year + 1900) % 100); in strftime() 342 "%d", tm->tm_year + 1900); in strftime()
|
/freebsd/contrib/ntp/include/ |
H A D | ntp_calgps.h | 22 * the begin of the NTP epoch. (Which is equivalent to saying 1900-01-01 29 * is around 1900, and we should never have to deal with dates before 35 #define GPSNTP_DSHIFT 1 /* day number of 1900-01-01 in week */
|
H A D | ntp_unixtime.h | 40 * Time of day conversion constant. Ntp's time scale starts in 1900, 41 * Unix in 1970. The value is 1970 - 1900 in seconds, 0x83aa7e80 or
|
/freebsd/contrib/netbsd-tests/ipf/expected/ |
H A D | f25 | 10 4:udp src:192.168.1.235,8008 dst:239.255.255.250,1900 240 16 4:udp src:192.168.1.235,8008 dst:192.168.1.254,1900 24
|
/freebsd/contrib/dialog/ |
H A D | calendar.c | 214 int year = current->tm_year + 1900; in days_in_month() 230 return days_per_year(current->tm_year + 1900 + offset); in days_in_year() 407 weeks = getisoweeks(current->tm_year + 1900, current->tm_mon + 1); in draw_day() 482 int year = current->tm_year + 1900; in draw_year() 658 current->tm_year + 1900, in trace_date() 753 if (year >= 1900) { in dialog_calendar() 754 current.tm_year = year - 1900; in dialog_calendar() 759 if (day > 0 && day <= days_per_month(current.tm_year + 1900, in dialog_calendar() 770 year = current.tm_year + 1900; in dialog_calendar() 773 if (((year -= 1900) > 0) && (year < 200)) { in dialog_calendar() [all …]
|
/freebsd/usr.bin/iscsictl/ |
H A D | iscsi.conf.5 | 194 targetname = iqn.1900.com.com:sn.123456 199 targetname = iqn.1900.com.com:sn.123456 204 targetname = iqn.1900.com.com:sn.123456;
|
/freebsd/contrib/libfido2/openbsd-compat/ |
H A D | time.h | 6 #if defined(_MSC_VER) && (_MSC_VER >= 1900) 8 #elif defined(_MSC_VER) && (_MSC_VER < 1900)
|
/freebsd/crypto/openssl/crypto/ |
H A D | o_time.c | 85 if (time_year < 1900 || time_year > 9999) in OPENSSL_gmtime_adj() 90 tm->tm_year = time_year - 1900; in OPENSSL_gmtime_adj() 159 time_year = tm->tm_year + 1900; in julian_adj()
|
/freebsd/usr.bin/chpass/ |
H A D | util.c | 69 tp->tm_mday, tp->tm_year + 1900); in ttoa() 120 year += 1900; in atot() 123 lt->tm_year = year - 1900; in atot()
|
/freebsd/bin/date/ |
H A D | vary.c | 108 year = t->tm_year + 1900; in daysinmonth() 140 else if (t->tm_year > 1900) in adjyear() 141 t->tm_year -= 1900; /* struct tm holds years since 1900 */ in adjyear()
|
/freebsd/contrib/googletest/googlemock/include/gmock/ |
H A D | gmock-more-matchers.h | 53 #if defined(_MSC_VER) && (_MSC_VER == 1900) 113 #if defined(_MSC_VER) && (_MSC_VER == 1900)
|
/freebsd/lib/libc/rpc/ |
H A D | rtime.c | 41 * with time of day in seconds since Jan 1, 1900, must 60 #define NYEARS (unsigned long)(1970 - 1900)
|
/freebsd/contrib/tzdata/ |
H A D | leapseconds.awk | 8 # year 1900 plus 10**10 seconds. However, in practice 13 # (the year 1900 plus 2**53 seconds). By then leap seconds will be 125 epoch_minus_NTP = ((1970 - 1900) * 365 + 17) * 24 * 60 * 60
|
/freebsd/contrib/llvm-project/libcxx/include/__chrono/ |
H A D | convert_to_tm.h | 71 __result.tm_year = static_cast<int>(__date.year()) - 1900; in __convert_to_tm() 146 __result.tm_year = static_cast<int>(__value) - 1900; in __convert_to_tm() 160 __result.tm_year = static_cast<int>(__value.year()) - 1900; in __convert_to_tm()
|
/freebsd/contrib/tzcode/ |
H A D | newctime.3 | 262 int tm_year; /\(** year \- 1900 \(**/ 365 restricted to years in the range 1900 through 2099.
|
/freebsd/usr.sbin/fifolog/lib/ |
H A D | getdate.y | 135 if (yyYear < 100) yyYear += 1900; 556 * A number from 0 to 99, which means a year from 1900 to 1999, or 576 Year += 1900; in Convert() 647 Month = 12 * (tm->tm_year + 1900) + tm->tm_mon + RelMonth; in RelativeMonth() 815 #define TM_YEAR_ORIGIN 1900 832 yyYear = tm->tm_year + 1900; in get_date()
|
/freebsd/sys/fs/cd9660/ |
H A D | cd9660_node.c | 204 y = pi[0] + 1900; in cd9660_tstamp_conv7() 260 /* year:"0001"-"9999" -> -1900 */ in cd9660_tstamp_conv17() 261 buf[0] = cd9660_chars2ui(pi,4) - 1900; in cd9660_tstamp_conv17()
|
/freebsd/contrib/wpa/src/utils/ |
H A D | os_win32.c | 75 tm.tm_year = year - 1900; in os_mktime() 115 tm->year = tm2->tm_year + 1900; in os_gmtime()
|
/freebsd/usr.sbin/bsnmpd/modules/snmp_hostres/ |
H A D | hostres_snmp.c | 191 str[0] = (u_char)((tm->tm_year + 1900) >> 8); in make_date_time() 192 str[1] = (u_char)(tm->tm_year + 1900); in make_date_time()
|