Home
last modified time | relevance | path

Searched full:1900 (Results 1 – 25 of 269) sorted by relevance

1234567891011

/freebsd/contrib/netbsd-tests/lib/libc/time/
H A Dt_mktime.c93 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 Dday.c61 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 Dpom.c108 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 Dcheck_y2k.c126 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 Dbcm4709-buffalo-wxr-1900dhp.dts4 * 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 Da_time.c55 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 Dstrftime.c211 "%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 Dntp_calgps.h22 * 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 Dntp_unixtime.h40 * 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 Df2510 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 Dcalendar.c214 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 Discsi.conf.5194 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 Dtime.h6 #if defined(_MSC_VER) && (_MSC_VER >= 1900)
8 #elif defined(_MSC_VER) && (_MSC_VER < 1900)
/freebsd/crypto/openssl/crypto/
H A Do_time.c85 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 Dutil.c69 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 Dvary.c108 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 Dgmock-more-matchers.h53 #if defined(_MSC_VER) && (_MSC_VER == 1900)
113 #if defined(_MSC_VER) && (_MSC_VER == 1900)
/freebsd/lib/libc/rpc/
H A Drtime.c41 * with time of day in seconds since Jan 1, 1900, must
60 #define NYEARS (unsigned long)(1970 - 1900)
/freebsd/contrib/tzdata/
H A Dleapseconds.awk8 # 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 Dconvert_to_tm.h71 __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 Dnewctime.3262 int tm_year; /\(** year \- 1900 \(**/
365 restricted to years in the range 1900 through 2099.
/freebsd/usr.sbin/fifolog/lib/
H A Dgetdate.y135 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 Dcd9660_node.c204 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 Dos_win32.c75 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 Dhostres_snmp.c191 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()

1234567891011