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

/freebsd-10.2-release/contrib/ntp/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];
/freebsd-10.2-release/crypto/heimdal/kdc/
H A Drx.h62 uint32_t epoch; member in struct:rx_header
/freebsd-10.2-release/contrib/jemalloc/include/jemalloc/internal/
H A Dprof.h106 * 1) Increment epoch to an odd number.
108 * 3) Increment epoch to an even number.
110 * The reader must assure 1) that the epoch is even while it reads the
111 * counters, and 2) that the epoch doesn't change between the time it
114 unsigned epoch; member in struct:prof_thr_cnt_s
442 cnt->epoch++;
455 cnt->epoch++;
506 told_cnt->epoch++;
509 cnt->epoch++;
531 told_cnt->epoch
[all...]
/freebsd-10.2-release/crypto/openssl/ssl/
H A Ddtls1.h140 unsigned short epoch; member in struct:dtls1_retransmit_state
168 unsigned short epoch; member in struct:record_pqueue_st
184 * The current data and handshake epoch. This is initially
190 /* records being received in the current epoch */
H A Dd1_both.c1280 frag->msg_header.saved_retransmit_state.epoch = s->d1->w_epoch;
1359 saved_state.epoch = s->d1->w_epoch;
1360 saved_state.epoch = s->d1->w_epoch;
1369 s->d1->w_epoch = frag->msg_header.saved_retransmit_state.epoch;
1371 if (frag->msg_header.saved_retransmit_state.epoch ==
1372 saved_state.epoch - 1) {
1387 s->d1->w_epoch = saved_state.epoch;
1389 if (frag->msg_header.saved_retransmit_state.epoch ==
1390 saved_state.epoch - 1) {
H A Dd1_pkt.c304 * retrieve a buffered record that belongs to the new epoch, i.e., not
312 * retrieve a buffered record that belongs to the current epoch, ie,
330 /* Check if epoch is current. */
331 if (s->d1->unprocessed_rcds.epoch != s->d1->r_epoch)
340 * be a record from the new epoch in it - so don't overwrite it
355 * current record is from a different epoch. But that cannot
356 * be the case because we already checked the epoch above
390 * sync epoch numbers once all the unprocessed records have been
393 s->d1->processed_rcds.epoch = s->d1->r_epoch;
394 s->d1->unprocessed_rcds.epoch
[all...]
H A Dssl3.h391 /* epoch number, needed by DTLS1 */
394 */ unsigned long epoch; member in struct:ssl3_record_st
/freebsd-10.2-release/usr.sbin/pkg_install/lib/
H A Dversion.c51 * split_version(pkgname, endname, epoch, revision) returns a pointer to
60 split_version(const char *pkgname, const char **endname, unsigned long *epoch, unsigned long *revision) argument
83 if (epoch != NULL) {
84 *epoch = ch ? strtoul(ch + 1, NULL, 10) : 0;
89 /* set the pointer behind the last character of the version without revision or epoch */
263 * The epoch and revision are defined to be a single number, while the rest
284 /* Check epoch, port version, and port revision, in that order. */
/freebsd-10.2-release/contrib/ntp/lib/isc/win32/
H A Dtime.c50 static isc_time_t epoch = { { 0, 0 } }; variable
51 LIBISC_EXTERNAL_DATA isc_time_t *isc_time_epoch = &epoch;
85 SYSTEMTIME epoch = { 1970, 1, 4, 1, 0, 0, 0, 0 }; local
92 SystemTimeToFileTime(&epoch, &temp);
229 SYSTEMTIME epoch = { 1970, 1, 4, 1, 0, 0, 0, 0 }; local
234 SystemTimeToFileTime(&epoch, &temp);
/freebsd-10.2-release/contrib/llvm/tools/lldb/source/DataFormatters/
H A DCF.cpp31 time_t epoch = GetOSXEpoch(); local
32 epoch = epoch + (time_t)valobj.GetValueAsUnsigned(0);
33 tm *tm_date = localtime(&epoch);
H A DCocoa.cpp555 time_t epoch = GetOSXEpoch(); local
556 epoch = epoch + (time_t)date_value;
557 tm *tm_date = localtime(&epoch);
/freebsd-10.2-release/contrib/tcpdump/
H A Drx.h60 u_int32_t epoch; member in struct:rx_header
H A Dprint-rx.c740 #define UBIK_VERSIONOUT() {int32_t epoch; int32_t counter; \
742 epoch = EXTRACT_32BITS(bp); \
746 printf(" %d.%d", epoch, counter); \
/freebsd-10.2-release/contrib/ntp/ntpd/
H A Drefclock_wwv.c84 #define WWV_SEC 8000 /* second epoch (sample rate) (Hz) */
85 #define WWV_MIN (WWV_SEC * 60) /* minute epoch */
133 #define MSYNC 0x0001 /* minute epoch sync */
134 #define SSYNC 0x0002 /* second epoch sync */
481 double epoch; /* accumulated epoch differences */ member in struct:sync
486 long mepoch; /* minute synch epoch */
536 int yepoch; /* sync epoch */
537 int repoch; /* buffered sync epoch */
896 * quadrature phase. The routine also determines the minute synch epoch,
972 int epoch; /* comb filter index */ local
1304 long epoch; local
[all...]
H A Dntp_proto.c2493 sys_epoch = peer->epoch;
2537 current_time, peer->epoch, peer->associd));
2876 * A sample consists of the offset, delay, dispersion and epoch
3002 && peer->filter_epoch[k] - peer->epoch
3016 if (peer->filter_epoch[k] <= peer->epoch) {
3021 peer->epoch = peer->filter_epoch[k];
3566 if (typesystem->epoch <= sys_epoch)
/freebsd-10.2-release/contrib/ntp/util/
H A Dntp-keygen.c165 time_t epoch; /* Unix epoch (seconds) since 1970 */ variable
358 epoch = tv.tv_sec;
359 fstamp = (u_int)(epoch + JAN_1970);
484 RAND_add(&epoch, sizeof(epoch), 4.0);
650 ctime(&epoch));
675 ctime(&epoch));
716 ctime(&epoch));
741 ctime(&epoch));
1973 X509_time_adj(X509_get_notBefore(cert), 0L, &epoch); local
1974 X509_time_adj(X509_get_notAfter(cert), lifetime * SECSPERDAY, &epoch); local
[all...]
/freebsd-10.2-release/sbin/routed/
H A Dmain.c73 struct timeval epoch; /* when started */ variable in typeref:struct:timeval
129 epoch = clk;
130 epoch.tv_sec -= EPOCH;
394 epoch.tv_sec += dt;
397 timevalsub(&now, &clk, &epoch);
H A Ddefs.h468 extern struct timeval epoch; /* system clock when started */
H A Dtrace.c150 secs += epoch.tv_sec;
/freebsd-10.2-release/contrib/jemalloc/src/
H A Dstats.c273 uint64_t epoch; local
288 epoch = 1;
290 err = je_mallctl("epoch", &epoch, &u64sz, &epoch, sizeof(uint64_t));
294 "mallctl(\"epoch\", ...)\n");
297 malloc_write("<jemalloc>: Failure in mallctl(\"epoch\", "
H A Dprof.c532 ret.p->epoch = 0;
635 volatile unsigned *epoch = &thr_cnt->epoch; local
638 unsigned epoch0 = *epoch;
640 /* Make sure epoch is even. */
646 /* Terminate if epoch didn't change while reading. */
647 if (*epoch == epoch0)
H A Dctl.c68 CTL_PROTO(epoch)
409 {NAME("epoch"), CTL(epoch)},
/freebsd-10.2-release/contrib/ntp/lib/isc/unix/
H A Dtime.c113 static isc_time_t epoch = { 0, 0 }; variable
114 isc_time_t *isc_time_epoch = &epoch;
/freebsd-10.2-release/contrib/gcclibs/libmudflap/
H A Dmf-runtime.c238 unsigned description_epoch; /* Last epoch __mf_describe_object printed this. */
715 /* Initialize to a non-zero description epoch. */
1301 /* Encourage this object to be displayed again in current epoch. */
1662 static unsigned epoch = 0; local
1665 epoch ++;
1669 if (__mf_opts.abbreviate && obj->description_epoch == epoch)
1678 obj->description_epoch = epoch;
1858 __mf_describe_object (NULL); /* Reset description epoch. */
/freebsd-10.2-release/contrib/ntp/include/
H A Dntp.h151 * the epoch of the time measurement and the reference time. The
301 l_fp reftime; /* update epoch */
326 u_long refresh; /* next refresh epoch */
346 u_long epoch; /* reference epoch */ member in struct:peer
354 u_long filter_epoch[NTP_SHIFT]; /* epoch shift register */
383 u_long update; /* receive epoch */

Completed in 189 milliseconds