Searched refs:epoch (Results 1 - 23 of 23) sorted by relevance

/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/scripts/monitoring/
H A Dtimelocal.pl27 @epoch = localtime(0);
28 $tzmin = $epoch[2] * 60 + $epoch[1]; # minutes east of GMT
31 $tzmin -= 24 * 60 if $epoch[5] == 70; # account for the date line
65 $year += $YearFix if $year < $epoch[5];
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/bin/tests/virtual-time/
H A Dvtwrapper.c46 static struct timeval epoch = { 0, 0 }; variable in typeref:struct:timeval
51 (void)syscall(SYS_gettimeofday, &epoch, NULL);
63 if ((epoch.tv_sec > vt->tv_sec) ||
64 ((epoch.tv_sec == vt->tv_sec) && (epoch.tv_usec > vt->tv_usec)))
67 rt->tv_sec -= epoch.tv_sec;
68 rt->tv_usec -= epoch.tv_usec;
85 rt->tv_sec += epoch.tv_sec;
86 rt->tv_usec += epoch.tv_usec;
101 if ((epoch
[all...]
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/kdc/
H A Drx.h64 uint32_t epoch; member in struct:rx_header
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/ssl/
H A Ddtls1.h137 unsigned short epoch; member in struct:dtls1_retransmit_state
171 unsigned short epoch; member in struct:record_pqueue_st
190 * The current data and handshake epoch. This is initially
197 /* records being received in the current epoch */
H A Dd1_both.c1225 frag->msg_header.saved_retransmit_state.epoch = s->d1->w_epoch;
1302 saved_state.epoch = s->d1->w_epoch;
1303 saved_state.epoch = s->d1->w_epoch;
1312 s->d1->w_epoch = frag->msg_header.saved_retransmit_state.epoch;
1314 if (frag->msg_header.saved_retransmit_state.epoch == saved_state.epoch - 1)
1328 s->d1->w_epoch = saved_state.epoch;
1330 if (frag->msg_header.saved_retransmit_state.epoch == saved_state.epoch - 1)
H A Dd1_pkt.c288 /* retrieve a buffered record that belongs to the new epoch, i.e., not processed
294 /* retrieve a buffered record that belongs to the current epoch, ie, processed */
307 /* Check if epoch is current. */
308 if (s->d1->unprocessed_rcds.epoch != s->d1->r_epoch)
322 /* sync epoch numbers once all the unprocessed records
324 s->d1->processed_rcds.epoch = s->d1->r_epoch;
325 s->d1->unprocessed_rcds.epoch = s->d1->r_epoch + 1;
564 /* The epoch may have changed. If so, process all the
599 /* sequence number is 64 bits, with top 2 bytes = epoch */
600 n2s(p,rr->epoch);
[all...]
H A Dssl3.h356 /*r */ unsigned long epoch; /* epoch number, needed by DTLS1 */ member in struct:ssl3_record_st
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/bin/dnssec/
H A Ddnssec-settime.c89 fprintf(stderr, " -u: print times in unix epoch "
99 printtime(dst_key_t *key, int type, const char *tag, isc_boolean_t epoch, argument
112 } else if (epoch) {
157 isc_boolean_t epoch = ISC_FALSE; local
226 epoch = ISC_TRUE;
550 printtime(key, DST_TIME_CREATED, "Created", epoch, stdout);
553 printtime(key, DST_TIME_PUBLISH, "Publish", epoch, stdout);
556 printtime(key, DST_TIME_ACTIVATE, "Activate", epoch, stdout);
559 printtime(key, DST_TIME_REVOKE, "Revoke", epoch, stdout);
562 printtime(key, DST_TIME_INACTIVE, "Inactive", epoch, stdou
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/isc/win32/
H A Dtime.c52 static isc_time_t epoch = { { 0, 0 } }; variable
53 LIBISC_EXTERNAL_DATA isc_time_t *isc_time_epoch = &epoch;
87 SYSTEMTIME epoch = { 1970, 1, 4, 1, 0, 0, 0, 0 }; local
94 SystemTimeToFileTime(&epoch, &temp);
231 SYSTEMTIME epoch = { 1970, 1, 4, 1, 0, 0, 0, 0 }; local
236 SystemTimeToFileTime(&epoch, &temp);
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/dns/tests/
H A Dtime_test.c68 ATF_TC(epoch); variable
69 ATF_TC_HEAD(epoch, tc) {
72 ATF_TC_BODY(epoch, tc) {
212 ATF_TP_ADD_TC(tp, epoch);
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/lib/isc/win32/
H A Dtime.c52 static isc_time_t epoch = { { 0, 0 } }; variable
53 LIBISC_EXTERNAL_DATA isc_time_t *isc_time_epoch = &epoch;
87 SYSTEMTIME epoch = { 1970, 1, 4, 1, 0, 0, 0, 0 }; local
94 SystemTimeToFileTime(&epoch, &temp);
/netbsd-6-1-5-RELEASE/external/bsd/tcpdump/dist/
H A Drx.h60 u_int32_t epoch; member in struct:rx_header
H A Dprint-rx.c745 #define UBIK_VERSIONOUT() {int32_t epoch; int32_t counter; \
747 epoch = EXTRACT_32BITS(bp); \
751 printf(" %d.%d", epoch, counter); \
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/util/
H A Dntp-keygen.c168 time_t epoch; /* Unix epoch (seconds) since 1970 */ variable
274 epoch = tv.tv_sec;
364 RAND_add(&epoch, sizeof(epoch), 4.0);
516 epoch = fstamp - JAN_1970;
522 ctime(&epoch));
546 ctime(&epoch));
581 epoch = fstamp - JAN_1970;
587 ctime(&epoch));
1853 X509_time_adj(X509_get_notBefore(cert), 0L, &epoch); local
1854 X509_time_adj(X509_get_notAfter(cert), YEAR, &epoch); local
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/ntpd/
H A Drefclock_wwv.c86 #define SECOND 8000 /* second epoch (sample rate) (Hz) */
87 #define MINUTE (SECOND * 60) /* minute epoch */
135 #define MSYNC 0x0001 /* minute epoch sync */
136 #define SSYNC 0x0002 /* second epoch sync */
483 double epoch; /* accumulated epoch differences */ member in struct:sync
488 long mepoch; /* minute synch epoch */
538 int yepoch; /* sync epoch */
539 int repoch; /* buffered sync epoch */
902 * quadrature phase. The routine also determines the minute synch epoch,
978 int epoch; /* comb filter index */ local
1310 long epoch; local
[all...]
H A Dntp_proto.c1660 sys_epoch = peer->epoch;
1683 current_time, peer->epoch, peer->associd);
1752 * given epoch. Otherwise, if the number of survivor
2038 * A sample consists of the offset, delay, dispersion and epoch
2165 peer->filter_epoch[k] - peer->epoch < 2. *
2179 if (peer->filter_epoch[k] <= peer->epoch) {
2187 peer->epoch = peer->filter_epoch[k];
2764 if (typesystem->epoch <= sys_epoch)
/netbsd-6-1-5-RELEASE/sbin/routed/
H A Dmain.c77 struct timeval epoch; /* when started */ variable in typeref:struct:timeval
130 epoch = clk;
131 epoch.tv_sec -= EPOCH;
387 epoch.tv_sec += dt;
390 timevalsub(&now, &clk, &epoch);
H A Ddefs.h487 extern struct timeval epoch; /* system clock when started */
H A Dtrace.c160 secs += epoch.tv_sec;
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/isc/unix/
H A Dtime.c115 static isc_time_t epoch = { 0, 0 }; variable
116 isc_time_t *isc_time_epoch = &epoch;
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/lib/isc/unix/
H A Dtime.c115 static isc_time_t epoch = { 0, 0 }; variable
116 isc_time_t *isc_time_epoch = &epoch;
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libmudflap/
H A Dmf-runtime.c234 unsigned description_epoch; /* Last epoch __mf_describe_object printed this. */
734 /* Initialize to a non-zero description epoch. */
1376 /* Encourage this object to be displayed again in current epoch. */
1742 static unsigned epoch = 0; local
1745 epoch ++;
1749 if (__mf_opts.abbreviate && obj->description_epoch == epoch)
1758 obj->description_epoch = epoch;
1946 __mf_describe_object (NULL); /* Reset description epoch. */
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/include/
H A Dntp.h160 * the epoch of the time measurement and the reference time. The
297 l_fp reftime; /* update epoch */
322 u_long refresh; /* next refresh epoch */
342 u_long epoch; /* reference epoch */ member in struct:peer
350 u_long filter_epoch[NTP_SHIFT]; /* epoch shift register */
378 u_long update; /* receive epoch */

Completed in 227 milliseconds