/freebsd-current/contrib/llvm-project/libcxx/include/__chrono/ |
H A D | day.h | 27 class day { class in namespace:chrono 32 day() = default; 33 _LIBCPP_HIDE_FROM_ABI explicit inline constexpr day(unsigned __val) noexcept 35 _LIBCPP_HIDE_FROM_ABI inline constexpr day& operator++() noexcept { 39 _LIBCPP_HIDE_FROM_ABI inline constexpr day operator++(int) noexcept { 40 day __tmp = *this; 44 _LIBCPP_HIDE_FROM_ABI inline constexpr day& operator--() noexcept { 48 _LIBCPP_HIDE_FROM_ABI inline constexpr day operator--(int) noexcept { 49 day __tmp = *this; 53 _LIBCPP_HIDE_FROM_ABI constexpr day [all...] |
H A D | literals.h | 13 #include <__chrono/day.h> 27 _LIBCPP_HIDE_FROM_ABI constexpr chrono::day operator""d(unsigned long long __d) noexcept { 28 return chrono::day(static_cast<unsigned>(__d));
|
H A D | monthday.h | 14 #include <__chrono/day.h> 32 chrono::day __d_; 36 _LIBCPP_HIDE_FROM_ABI constexpr month_day(const chrono::month& __mval, const chrono::day& __dval) noexcept 39 _LIBCPP_HIDE_FROM_ABI inline constexpr chrono::day day() const noexcept { return __d_; } 61 return __lhs.month() == __rhs.month() && __lhs.day() == __rhs.day(); 68 return __lhs.day() <=> __rhs.day(); 71 _LIBCPP_HIDE_FROM_ABI inline constexpr month_day operator/(const month& __lhs, const day [all...] |
H A D | year_month_day.h | 14 #include <__chrono/day.h> 42 chrono::day __d_; 47 const chrono::year& __yval, const chrono::month& __mval, const chrono::day& __dval) noexcept 62 _LIBCPP_HIDE_FROM_ABI inline constexpr chrono::day day() const noexcept { return __d_; } 87 return year_month_day{chrono::year{__yr + (__mth <= 2)}, chrono::month{__mth}, chrono::day{__dy}}; 108 return __lhs.year() == __rhs.year() && __lhs.month() == __rhs.month() && __lhs.day() == __rhs.day(); 117 return __lhs.day() <=> __rhs.day(); [all...] |
/freebsd-current/contrib/ntp/conf/ |
H A D | beauregard.conf | 14 filegen peerstats file peerstats type day enable 15 filegen loopstats file loopstats type day enable 16 filegen clockstats file clockstats type day enable
|
H A D | malarky.conf | 15 filegen peerstats file peerstats type day enable 16 filegen loopstats file loopstats type day enable 17 filegen clockstats file clockstats type day enable
|
H A D | pogo.conf | 43 filegen loopstats file loopstats type day enable 44 filegen cryptostats file cryptostats type day enable
|
H A D | rackety.conf | 53 filegen peerstats file peerstats type day enable 54 filegen loopstats file loopstats type day enable 55 filegen clockstats file clockstats type day enable
|
H A D | grundoon.conf | 36 filegen loopstats file loopstats type day enable
|
/freebsd-current/contrib/tzdata/ |
H A D | leapseconds.awk | 15 # there will be more than 25 hours per day and so some other scheme 165 # ss_mday - day of the month (1-31) 169 # ss_wday - day of week (0-Sunday to 6-Saturday) 194 # Standard day epochs, suitable for epoch_days. 201 quadcentury, century, quadyear, year, month, day) 208 day = epoch_days + int(sstamp / (24 * 60 * 60)) 210 # Compute a year-month-day date with days of the month numbered 212 # start March 1 and end after the last day of February. A quad-year 214 # the last day of February 4 years later. A century starts on and 219 # Any variation is in the last day o [all...] |
/freebsd-current/contrib/ntp/scripts/stats/ |
H A D | tdata.S | 1 tdata <- scan(file1, list(day=0, sec=0, m=0, w=0, x=0, y=0, z=0)) 5 plot(tdata$sec, tdata$m, type="l", xlab=paste("MJD", tdata$day, "Time (s)"), ylab="LORAN-M SNR (dB)")
|
H A D | ensemble.S | 1 ensemble <- scan(file1, list(day=0, sec=0, gps=0, gpsw=0, loran=0, loranw=0, ensemble=0, std=0)) 5 plot(ensemble$sec, ensemble$ensemble, type="l", xlab=paste("MJD", ensemble$day, "Time (s)"), ylab="Ensemble Offset (ns)", ylim=c(-400, 400))
|
H A D | itf.S | 1 itf <- scan(file1, list(day=0, sec=0, offset=0, stab=0)) 5 plot(itf$sec, itf$offset, type="l", xlab=paste("MJD", itf$day, "Time (s)"), ylab="Internal Offset (ns)", ylim=c(-400, 400))
|
H A D | loop.S | 2 loop <- scan(file1, list(day=0, sec=0, offset=0, freq=0, tc=0)) 7 plot(loop$sec, loop$offset, type="l", xlab=paste("MJD", loop$day, "Time (s)"), ylab="PLL Offset (us)", ylim=c(-400, 400))
|
/freebsd-current/crypto/openssl/test/ |
H A D | time_offset_test.c | 72 int day, sec; local 79 if (!TEST_true(ASN1_TIME_diff(&day, &sec, &the_asn1_time, &at))) { 83 if (day > 0) 85 else if (day < 0) 95 TEST_info("ASN1_TIME_diff() test failed for %s day=%d sec=%d\n", at.data, day, sec);
|
H A D | asn1_time_test.c | 116 int day, sec; local 135 if (!TEST_true(ASN1_TIME_diff(&day, &sec, &atime, &atime))) { 139 if (!TEST_int_eq(day, 0) || !TEST_int_eq(sec, 0)) { 144 if (!TEST_true(ASN1_TIME_diff(&day, &sec, >ime, &atime))) { 147 } else if (!((td->cmp_result == 0 && TEST_true((day == 0 && sec == 0))) || 148 (td->cmp_result == -1 && TEST_true((day < 0 || sec < 0))) || 149 (td->cmp_result == 1 && TEST_true((day > 0 || sec > 0))))) { 197 day = sec = 0; 198 if (!TEST_true(ASN1_TIME_diff(&day, &sec, ptime, &atime)) || !TEST_int_eq(day, [all...] |
/freebsd-current/usr.sbin/rtadvd/ |
H A D | timer_subr.c | 65 uint32_t day; local 77 day = hour / 24; 81 if (day > 0) 82 p += sprintf(p, "%" PRIu32 "d", day);
|
/freebsd-current/contrib/ntp/ntpd/ |
H A D | refclock_heath.c | 43 * transition. The timecode includes both the day of year and time of 44 * day. The GC-1001 II has a true bipolar output and a complement of 46 * day. 79 * dd/mm/yr = day, month, year 84 * then lost again for about a day. 278 int month, day; local 304 &pp->minute, &pp->second, &dsec, a, &month, &day, 332 day = tm_time_p->tm_mday; 347 * We determine the day of the year from the DIPswitches. This 353 * months of that year, add one to the day [all...] |
H A D | refclock_hpgps.c | 42 * than 10 usec. per day. 107 * Tables to compute the day of year from yyyymmdd timecode. 262 int month, day, lastday; local 416 &pp->year, &month, &day, &pp->hour, &pp->minute, &pp->second, 461 * Compute the day of year from the yyyymmdd format. 463 if (month < 1 || month > 12 || day < 1) { 470 if (day > day1tab[month - 1]) { 474 for (i = 0; i < month - 1; i++) day += day1tab[i]; 478 if (day > day2tab[month - 1]) { 482 for (i = 0; i < month - 1; i++) day [all...] |
H A D | ntp_util.c | 44 #define L_DAY 86400UL /* seconds per day */ 210 * to simply set the time of day to the current time of day, but 571 * day (MJD) 591 u_long day; local 598 day = now.l_ui / 86400 + MJD_1900; 602 "%lu %s %s %x %.9f %.9f %.9f %.9f\n", day, 614 * day (MJD) 632 u_long day; local 639 day 666 u_long day; local 741 u_long day; local 802 u_long day; local 839 u_long day; local 873 u_long day; local 911 u_long day; local [all...] |
/freebsd-current/sys/kern/ |
H A D | subr_clock.c | 79 * (seconds since 1/1/1970) and yr/mo/day/hr/min/sec 157 if (ct->mon < 1 || ct->mon > 12 || ct->day < 1 || 158 ct->day > days_in_month(year, ct->mon) || 183 days += (ct->day - 1); 213 !validbcd(bct->day) || !validbcd(bct->hour) || 218 bct->year, bct->mon, bct->day, 225 ct.day = FROMBCD(bct->day); 273 ct->day = days + 1; 293 KASSERT(ct->day > [all...] |
/freebsd-current/crypto/openssl/crypto/asn1/ |
H A D | a_utctm.c | 78 int day, sec; local 86 if (!OPENSSL_gmtime_diff(&day, &sec, &ttm, &stm)) 89 if (day > 0 || sec > 0) 91 if (day < 0 || sec < 0)
|
/freebsd-current/usr.bin/chpass/ |
H A D | util.c | 83 int day, month, year; local 110 day = atoi(t); 114 if (day < 1 || day > 31 || month < 1 || month > 12) 125 lt->tm_mday = day;
|
/freebsd-current/usr.bin/calendar/ |
H A D | Makefile | 5 SRCS= calendar.c locale.c events.c dates.c parsedata.c io.c day.c \
|
/freebsd-current/contrib/ntp/util/ |
H A D | tg.c | 31 * string yydddhhmmss, where yy is the year of century, ddd the day of 32 * year, hh the hour of day and mm the minute of hour. For instance, 159 {COEF, 1}, /* 30 1 day units */ 164 {COEF, 1}, /* 35 10 day tens */ 169 {COEF, 1}, /* 40 100 day hundreds */ 263 int minute, hour, day, year; local 311 sscanf(optarg, "%2d%3d%2d%2d", &year, &day, 356 day = tm->tm_yday + 1; 375 printf("year %d day %d time %02d:%02d:%02d tone %d\n", 376 year, day, hou [all...] |