/freebsd-13-stable/usr.sbin/fifolog/fifolog_reader/ |
H A D | fifolog_reader.c | 55 static struct tm utc; local 68 (void)gmtime_r(&now, &utc); 69 i = strftime(buf, sizeof buf, opt_T, &utc);
|
/freebsd-13-stable/sys/sys/ |
H A D | clock.h | 144 * Do not apply utc offset and resolution/accuracy adjustments to the value 148 * Do not apply utc offset and resolution/accuracy adjustments to the value 174 void timespec2fattime(const struct timespec *tsp, int utc, u_int16_t *ddp, 176 void fattime2timespec(unsigned dd, unsigned dt, unsigned dh, int utc,
|
/freebsd-13-stable/lib/libsecureboot/h/ |
H A D | libsecureboot.h | 61 void ve_utc_set(time_t utc);
|
/freebsd-13-stable/sys/kern/ |
H A D | subr_fattime.c | 53 * The 'utc' argument determines if the resulting FATTIME timestamp 139 timespec2fattime(const struct timespec *tsp, int utc, uint16_t *ddp, argument 146 if (!utc) 220 fattime2timespec(unsigned dd, unsigned dt, unsigned dh, int utc, argument 252 if (!utc)
|
/freebsd-13-stable/contrib/ntp/util/ |
H A D | tg.c | 246 int utc = 0; /* option epoch */ variable 313 utc++; 351 if (!utc) {
|
H A D | tg2.c | 521 int utc = 0; /* option epoch */ variable 856 utc++; 1060 if (utc)
|
/freebsd-13-stable/contrib/ntp/ntpd/ |
H A D | refclock_neoclock4x.c | 851 neol_localtime(unsigned long utc, argument 859 *sec = utc % 60; 860 utc /= 60; 861 *min = utc % 60; 862 utc /= 60; 863 *hour = utc % 24; 864 utc /= 24; 867 neol_jdn_to_ymd(utc + 2440588L, year, month, day);
|
H A D | refclock_acts.c | 740 char utc[10]; /* ACTS timescale */ local 781 &msADV, utc, &flag) != 13) { 804 &pp->second, utc) != 6) {
|
H A D | refclock_ripencc.c | 977 * Parse primary utc time packet 1453 * Parse primary utc time packet 3933 *utc; local 4030 utc = (UTC_INFO*)data_packet; 4031 pbuf += sprintf(pbuf, "\n A_0 = %g ", utc->A_0); 4032 pbuf += sprintf(pbuf, "\n A_1 = %g ", utc->A_1); 4033 pbuf += sprintf(pbuf, "\n delta_t_LS = %d ", utc->delta_t_LS); 4034 pbuf += sprintf(pbuf, "\n t_ot = %.0f ", utc->t_ot ); 4035 pbuf += sprintf(pbuf, "\n WN_t = %d ", utc->WN_t ); 4036 pbuf += sprintf(pbuf, "\n WN_LSF = %d ", utc [all...] |
H A D | refclock_parse.c | 4598 UTC utc; local 4604 get_mbg_utc(&bufp, &utc); 4606 if (utc.valid) 4609 mk_utcinfo(p, utc.t0t.wn, utc.WNlsf, utc.DNt, utc.delta_tls, utc.delta_tlsf, BUFFER_SIZE(buffer, p));
|
/freebsd-13-stable/lib/libsecureboot/ |
H A D | vets.c | 119 * @param[in] utc 124 ve_utc_set(time_t utc) argument 126 if (utc > ve_utc && 127 (ve_utc == 0 || (utc - ve_utc) < VE_UTC_MAX_JUMP)) { 128 DEBUG_PRINTF(2, ("Set ve_utc=%jd\n", (intmax_t)utc)); 129 ve_utc = utc;
|
/freebsd-13-stable/contrib/libarchive/libarchive/ |
H A D | archive_match.c | 1155 ULARGE_INTEGER utc; local 1159 utc.HighPart = ftCreationTime_dwHighDateTime; 1160 utc.LowPart = ftCreationTime_dwLowDateTime; 1161 if (utc.QuadPart >= EPOC_TIME) { 1162 utc.QuadPart -= EPOC_TIME; 1163 ctime_sec = (time_t)(utc.QuadPart / 10000000); 1164 ctime_ns = (long)(utc.QuadPart % 10000000) * 100; 1169 utc.HighPart = ftLastWriteTime_dwHighDateTime; 1170 utc.LowPart = ftLastWriteTime_dwLowDateTime; 1171 if (utc [all...] |
/freebsd-13-stable/contrib/bmake/unit-tests/ |
H A D | varmisc.mk | 52 # slightly contorted syntax to use utc via variable
|
/freebsd-13-stable/contrib/bmake/ |
H A D | var.c | 2499 time_t utc; local 2507 if (!TryParseTime(&arg, &utc)) { 2514 utc = 0; 2517 st->newVal = FStr_InitOwn(VarStrftime(val, TRUE, utc)); 2526 time_t utc; local 2534 if (!TryParseTime(&arg, &utc)) { 2541 utc = 0; 2544 st->newVal = FStr_InitOwn(VarStrftime(val, FALSE, utc));
|
/freebsd-13-stable/usr.sbin/tzsetup/ |
H A D | tzsetup.c | 221 static struct continent australia, europe, indian, pacific, utc; variable in typeref:struct: 236 { "UTC", &utc }
|