Searched refs:utc (Results 1 - 12 of 12) sorted by relevance

/freebsd-9.3-release/sys/sys/
H A Dclock.h93 void timespec2fattime(struct timespec *tsp, int utc, u_int16_t *ddp, u_int16_t *dtp, u_int8_t *dhp);
94 void fattime2timespec(unsigned dd, unsigned dt, unsigned dh, int utc, struct timespec *tsp);
/freebsd-9.3-release/usr.sbin/fifolog/fifolog_reader/
H A Dfifolog_reader.c53 static struct tm utc; local
66 (void)gmtime_r(&now, &utc);
67 i = strftime(buf, sizeof buf, opt_T, &utc);
/freebsd-9.3-release/sys/kern/
H A Dsubr_fattime.c51 * The 'utc' argument determines if the resulting FATTIME timestamp
138 timespec2fattime(struct timespec *tsp, int utc, uint16_t *ddp, uint16_t *dtp, uint8_t *dhp) argument
144 if (!utc)
218 fattime2timespec(unsigned dd, unsigned dt, unsigned dh, int utc, struct timespec *tsp) argument
249 if (!utc)
/freebsd-9.3-release/contrib/ntp/util/
H A Dtg.c246 int utc = 0; /* option epoch */ variable
313 utc++;
351 if (!utc) {
H A Dtg2.c521 int utc = 0; /* option epoch */ variable
856 utc++;
1060 if (utc)
/freebsd-9.3-release/contrib/ntp/ntpd/
H A Drefclock_neoclock4x.c851 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 Drefclock_acts.c740 char utc[10]; /* ACTS timescale */ local
781 &msADV, utc, &flag) != 13) {
804 &pp->second, utc) != 6) {
H A Drefclock_ripencc.c977 * 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 Drefclock_parse.c4585 UTC utc; local
4591 get_mbg_utc(&bufp, &utc);
4593 if (utc.valid)
4596 mk_utcinfo(p, utc.t0t.wn, utc.WNlsf, utc.DNt, utc.delta_tls, utc.delta_tlsf, BUFFER_SIZE(buffer, p));
/freebsd-9.3-release/usr.sbin/tzsetup/
H A Dtzsetup.c213 static struct continent australia, europe, indian, pacific, utc; variable in typeref:struct:
229 { "UTC", &utc }
/freebsd-9.3-release/contrib/bind9/lib/dns/
H A Ddst_api.c1549 char utc[sizeof("YYYYMMDDHHSSMM")]; local
1571 isc_buffer_init(&b, utc, sizeof(utc));
/freebsd-9.3-release/contrib/bmake/
H A Dvar.c2385 time_t utc; local
2387 time(&utc);
2390 strftime(buf, sizeof(buf), fmt, zulu ? gmtime(&utc) : localtime(&utc));

Completed in 149 milliseconds