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

12

/freebsd-10.1-release/tools/tools/netrate/netsend/
H A Dnetsend.c141 struct timespec nexttime, starttime, tmptime; local
174 if (clock_gettime(CLOCK_REALTIME, &starttime) == -1) {
180 timespec_add(&starttime, &tmptime);
181 starttime.tv_nsec = 0;
182 if (wait_time(starttime, NULL, NULL) == -1)
184 nexttime = starttime;
185 finishtime = starttime.tv_sec + a->duration;
258 printf("start: %jd.%09ld\n", (intmax_t)starttime.tv_sec,
259 starttime.tv_nsec);
268 ns = (tmptime.tv_sec - starttime
[all...]
/freebsd-10.1-release/tools/tools/netrate/netblast/
H A Dnetblast.c70 struct timespec starttime, tmptime; local
85 if (clock_gettime(CLOCK_REALTIME, &starttime) == -1) {
128 printf("start: %zd.%09lu\n", starttime.tv_sec,
129 starttime.tv_nsec);
/freebsd-10.1-release/crypto/heimdal/appl/ftp/ftpd/
H A Dklist.c47 if(cred->times.starttime)
48 krb5_format_time(context, cred->times.starttime, t1, sizeof(t1), 1);
/freebsd-10.1-release/usr.sbin/fifolog/lib/
H A Dfifolog_write.h63 time_t starttime; member in struct:fifolog_writer
H A Dfifolog_write_poll.c173 f->starttime = now;
231 f->cnt[FIFOLOG_PT_RUNTIME] = now - f->starttime;
/freebsd-10.1-release/contrib/ntp/sntp/libevent/test/
H A Dregress_thread.c533 struct timeval starttime, endtime; local
543 evutil_gettimeofday(&starttime, NULL);
552 evutil_timersub(&times[i], &starttime, &diff);
556 test_timeval_diff_eq(&starttime, &times[0], 100);
557 test_timeval_diff_eq(&starttime, &times[1], 200);
558 test_timeval_diff_eq(&starttime, &times[2], 400);
559 test_timeval_diff_eq(&starttime, &times[3], 450);
560 test_timeval_diff_eq(&starttime, &times[4], 500);
561 test_timeval_diff_eq(&starttime, &endtime, 500);
/freebsd-10.1-release/contrib/tcpdump/
H A Dprint-mpcp.c77 u_int8_t starttime[MPCP_TIMESTAMP_LEN]; member in struct:mpcp_grant_t
189 EXTRACT_32BITS(mpcp.grant->starttime),
/freebsd-10.1-release/contrib/ncurses/ncurses/tty/
H A Dlib_twait.c171 long starttime, returntime; local
191 starttime = _nc_gettime(&t0, TRUE);
373 milliseconds -= (returntime - starttime);
382 long diff = (returntime - starttime);
/freebsd-10.1-release/crypto/heimdal/lib/krb5/
H A Dticket.c773 if (rep->enc_part.starttime) {
774 tmp_time = *rep->enc_part.starttime;
778 if (creds->times.starttime == 0
788 if (creds->times.starttime != 0
789 && tmp_time != creds->times.starttime) {
795 creds->times.starttime = tmp_time;
H A Drd_cred.c288 if (kci->starttime)
289 creds->times.starttime = *kci->starttime;
H A Dcreds.c176 return a->starttime == b->starttime &&
H A Dget_for_creds.c374 ALLOC(krb_cred_info->starttime, 1);
375 *krb_cred_info->starttime = out_creds->times.starttime;
H A Dkrb5_ccapi.h112 cc_time_t starttime; member in struct:cc_credentials_v5_t
H A Dget_in_tkt.c187 if(creds->times.starttime) {
194 *a->req_body.from = creds->times.starttime;
H A Dacache.c214 cred->times.starttime = incred->starttime;
357 cred->starttime = incred->times.starttime;
/freebsd-10.1-release/crypto/heimdal/kuser/
H A Dkimpersonate.c94 et.starttime = NULL;
177 cred.times.starttime = time(NULL);
H A Dklist.c86 if(cred->times.starttime)
88 printable_time(cred->times.starttime));
186 if(cred->times.authtime != cred->times.starttime)
188 printable_time_long(cred->times.starttime));
H A Dkinit.c583 if(abs(cred.times.endtime - cred.times.starttime - ticket_life) > 30) {
585 unparse_time_approx(cred.times.endtime - cred.times.starttime,
591 if(abs(cred.times.renew_till - cred.times.starttime - renew) > 30) {
593 unparse_time_approx(cred.times.renew_till - cred.times.starttime,
680 timeout = cred->times.endtime - cred->times.starttime;
/freebsd-10.1-release/crypto/heimdal/kdc/
H A Dkrb5tgs.c381 if(!tgt->flags.invalid || tgt->starttime == NULL){
386 if(*tgt->starttime > kdc_time){
454 *et->starttime = *b->from;
481 if(tgt->starttime)
482 old_life -= *tgt->starttime;
485 et->endtime = *et->starttime + old_life;
765 ALLOC(et.starttime);
766 *et.starttime = kdc_time;
822 life = et.endtime - *et.starttime;
827 et.endtime = *et.starttime
[all...]
H A Dkerberos5.c248 KerberosTime authtime, KerberosTime *starttime,
256 if (starttime)
257 krb5_format_time(context, *starttime,
270 "%s authtime: %s starttime: %s endtime: %s renew till: %s",
1553 ALLOC(et.starttime);
1554 start = *et.starttime = *req->req_body.from;
1655 if (et.starttime) {
1656 ALLOC(ek.starttime);
1657 *ek.starttime = *et.starttime;
245 _kdc_log_timestamp(krb5_context context, krb5_kdc_configuration *config, const char *type, KerberosTime authtime, KerberosTime *starttime, KerberosTime endtime, KerberosTime *renew_till) argument
[all...]
/freebsd-10.1-release/contrib/tzcode/zic/
H A Dzic.c104 static void addtt(zic_t starttime, int type);
1980 register zic_t starttime, untiltime; local
2000 INITIALIZE(starttime);
2081 addtt(starttime, type);
2153 if (usestart && ktime == starttime)
2156 if (ktime < starttime) {
2195 else addtt(starttime,
2202 ** Now we may get to set starttime for the next zone line.
2207 starttime = zp->z_untiltime;
2209 starttime
[all...]
/freebsd-10.1-release/contrib/ntp/ntpd/
H A Dntp_leapsec.c940 vint64 ttime, starttime; local
968 starttime = ntpcal_date_to_ntp64(&fts);
973 li.stime = ttime.D_s.lo - starttime.D_s.lo;
992 vint64 starttime; local
1021 starttime = ntpcal_date_to_ntp64(&fts);
1023 li.stime = ttime->D_s.lo - starttime.D_s.lo;
/freebsd-10.1-release/sys/rpc/
H A Dclnt_dg.c347 int next_sendtime, starttime, rtt, time_waited, tv = 0; local
420 starttime = ticks;
600 rtt = ticks - starttime + 1;
646 time_waited = ticks - starttime;
/freebsd-10.1-release/crypto/heimdal/lib/kafs/
H A Dafskrb5.c104 kt->ct.BeginTimestamp = cred->times.starttime;
/freebsd-10.1-release/lib/libc/rpc/
H A Dclnt_dg.c324 struct timeval next_sendtime, starttime, time_waited, tv; local
372 gettimeofday(&starttime, NULL);
494 timersub(&tv, &starttime, &time_waited);

Completed in 209 milliseconds

12