| /NextBSD/tools/tools/netrate/netsend/ |
| HD | netsend.c | 141 struct timespec nexttime, starttime, tmptime; in timing_loop() local 174 if (clock_gettime(CLOCK_REALTIME, &starttime) == -1) { in timing_loop() 180 timespec_add(&starttime, &tmptime); in timing_loop() 181 starttime.tv_nsec = 0; in timing_loop() 182 if (wait_time(starttime, NULL, NULL) == -1) in timing_loop() 184 nexttime = starttime; in timing_loop() 185 finishtime = starttime.tv_sec + a->duration; in timing_loop() 258 printf("start: %jd.%09ld\n", (intmax_t)starttime.tv_sec, in timing_loop() 259 starttime.tv_nsec); in timing_loop() 268 ns = (tmptime.tv_sec - starttime.tv_sec) * 1000000000UL + in timing_loop() [all …]
|
| /NextBSD/tools/tools/netrate/netblast/ |
| HD | netblast.c | 70 struct timespec starttime, tmptime; in blast_loop() local 85 if (clock_gettime(CLOCK_REALTIME, &starttime) == -1) { in blast_loop() 128 printf("start: %zd.%09lu\n", starttime.tv_sec, in blast_loop() 129 starttime.tv_nsec); in blast_loop()
|
| /NextBSD/contrib/ntp/sntp/libevent/test/ |
| HD | regress_thread.c | 533 struct timeval starttime, endtime; in thread_no_events() local 543 evutil_gettimeofday(&starttime, NULL); in thread_no_events() 552 evutil_timersub(×[i], &starttime, &diff); in thread_no_events() 556 test_timeval_diff_eq(&starttime, ×[0], 100); in thread_no_events() 557 test_timeval_diff_eq(&starttime, ×[1], 200); in thread_no_events() 558 test_timeval_diff_eq(&starttime, ×[2], 400); in thread_no_events() 559 test_timeval_diff_eq(&starttime, ×[3], 450); in thread_no_events() 560 test_timeval_diff_eq(&starttime, ×[4], 500); in thread_no_events() 561 test_timeval_diff_eq(&starttime, &endtime, 500); in thread_no_events()
|
| /NextBSD/crypto/heimdal/kdc/ |
| HD | krb5tgs.c | 381 if(!tgt->flags.invalid || tgt->starttime == NULL){ in check_tgs_flags() 386 if(*tgt->starttime > kdc_time){ in check_tgs_flags() 454 *et->starttime = *b->from; in check_tgs_flags() 481 if(tgt->starttime) in check_tgs_flags() 482 old_life -= *tgt->starttime; in check_tgs_flags() 485 et->endtime = *et->starttime + old_life; in check_tgs_flags() 765 ALLOC(et.starttime); in tgs_make_reply() 766 *et.starttime = kdc_time; in tgs_make_reply() 822 life = et.endtime - *et.starttime; in tgs_make_reply() 827 et.endtime = *et.starttime + life; in tgs_make_reply() [all …]
|
| HD | kerberos5.c | 248 KerberosTime authtime, KerberosTime *starttime, in _kdc_log_timestamp() argument 256 if (starttime) in _kdc_log_timestamp() 257 krb5_format_time(context, *starttime, in _kdc_log_timestamp() 1553 ALLOC(et.starttime); in _kdc_as_rep() 1554 start = *et.starttime = *req->req_body.from; in _kdc_as_rep() 1655 if (et.starttime) { in _kdc_as_rep() 1656 ALLOC(ek.starttime); in _kdc_as_rep() 1657 *ek.starttime = *et.starttime; in _kdc_as_rep() 1794 _kdc_log_timestamp(context, config, "AS-REQ", et.authtime, et.starttime, in _kdc_as_rep()
|
| /NextBSD/contrib/ncurses/ncurses/tty/ |
| HD | lib_twait.c | 198 long starttime, returntime; in _nc_timed_wait() local 218 starttime = _nc_gettime(&t0, TRUE); in _nc_timed_wait() 428 milliseconds -= (int) (returntime - starttime); in _nc_timed_wait() 437 long diff = (returntime - starttime); in _nc_timed_wait()
|
| /NextBSD/crypto/heimdal/appl/ftp/ftpd/ |
| HD | klist.c | 47 if(cred->times.starttime) in print_cred() 48 krb5_format_time(context, cred->times.starttime, t1, sizeof(t1), 1); in print_cred()
|
| /NextBSD/crypto/heimdal/lib/krb5/ |
| HD | ticket.c | 773 if (rep->enc_part.starttime) { in _krb5_extract_ticket() 774 tmp_time = *rep->enc_part.starttime; in _krb5_extract_ticket() 778 if (creds->times.starttime == 0 in _krb5_extract_ticket() 788 if (creds->times.starttime != 0 in _krb5_extract_ticket() 789 && tmp_time != creds->times.starttime) { in _krb5_extract_ticket() 795 creds->times.starttime = tmp_time; in _krb5_extract_ticket()
|
| HD | rd_cred.c | 288 if (kci->starttime) in krb5_rd_cred() 289 creds->times.starttime = *kci->starttime; in krb5_rd_cred()
|
| HD | get_for_creds.c | 374 ALLOC(krb_cred_info->starttime, 1); in krb5_get_forwarded_creds() 375 *krb_cred_info->starttime = out_creds->times.starttime; in krb5_get_forwarded_creds()
|
| HD | creds.c | 176 return a->starttime == b->starttime && in krb5_times_equal()
|
| HD | acache.c | 214 cred->times.starttime = incred->starttime; in make_cred_from_ccred() 357 cred->starttime = incred->times.starttime; in make_ccred_from_cred()
|
| HD | krb5_ccapi.h | 112 cc_time_t starttime; member
|
| HD | get_in_tkt.c | 187 if(creds->times.starttime) { in init_as_req() 194 *a->req_body.from = creds->times.starttime; in init_as_req()
|
| /NextBSD/contrib/tzcode/zic/ |
| HD | zic.c | 104 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, 2207 starttime = zp->z_untiltime; 2209 starttime = tadd(starttime, -stdoff); 2211 starttime = tadd(starttime, -gmtoff); [all …]
|
| /NextBSD/contrib/tcpdump/ |
| HD | print-mpcp.c | 67 uint8_t starttime[MPCP_TIMESTAMP_LEN]; member 176 EXTRACT_32BITS(mpcp.grant->starttime), in mpcp_print()
|
| /NextBSD/contrib/ntp/ntpd/ |
| HD | ntp_leapsec.c | 940 vint64 ttime, starttime; in leapsec_add() local 968 starttime = ntpcal_date_to_ntp64(&fts); in leapsec_add() 973 li.stime = ttime.D_s.lo - starttime.D_s.lo; in leapsec_add() 992 vint64 starttime; in leapsec_raw() local 1021 starttime = ntpcal_date_to_ntp64(&fts); in leapsec_raw() 1023 li.stime = ttime->D_s.lo - starttime.D_s.lo; in leapsec_raw()
|
| /NextBSD/crypto/heimdal/kuser/ |
| HD | klist.c | 86 if(cred->times.starttime) in print_cred() 88 printable_time(cred->times.starttime)); in print_cred() 186 if(cred->times.authtime != cred->times.starttime) in print_cred_verbose() 188 printable_time_long(cred->times.starttime)); in print_cred_verbose()
|
| HD | kinit.c | 583 if(abs(cred.times.endtime - cred.times.starttime - ticket_life) > 30) { in get_new_tickets() 585 unparse_time_approx(cred.times.endtime - cred.times.starttime, in get_new_tickets() 591 if(abs(cred.times.renew_till - cred.times.starttime - renew) > 30) { in get_new_tickets() 593 unparse_time_approx(cred.times.renew_till - cred.times.starttime, in get_new_tickets() 680 timeout = cred->times.endtime - cred->times.starttime; in ticket_lifetime()
|
| HD | kimpersonate.c | 94 et.starttime = NULL; in encode_ticket() 177 cred.times.starttime = time(NULL); in create_krb5_tickets()
|
| /NextBSD/usr.sbin/fifolog/lib/ |
| HD | fifolog_write.h | 63 time_t starttime; member
|
| HD | fifolog_write_poll.c | 173 f->starttime = now; in fifolog_write_open() 231 f->cnt[FIFOLOG_PT_RUNTIME] = now - f->starttime; in fifolog_write_output()
|
| /NextBSD/sys/cam/ |
| HD | cam_periph.c | 1065 struct bintime *starttime; in cam_periph_runccb() local 1069 starttime = NULL; in cam_periph_runccb() 1078 starttime = <ime; in cam_periph_runccb() 1079 binuptime(starttime); in cam_periph_runccb() 1080 devstat_start_transaction(ds, starttime); in cam_periph_runccb() 1115 DEVSTAT_READ, NULL, starttime); in cam_periph_runccb() 1124 DEVSTAT_READ, NULL, starttime); in cam_periph_runccb()
|
| /NextBSD/sys/rpc/ |
| HD | clnt_dg.c | 347 int next_sendtime, starttime, rtt, time_waited, tv = 0; in clnt_dg_call() local 420 starttime = ticks; in clnt_dg_call() 600 rtt = ticks - starttime + 1; in clnt_dg_call() 646 time_waited = ticks - starttime; in clnt_dg_call()
|
| /NextBSD/lib/libc/rpc/ |
| HD | clnt_dg.c | 329 struct timeval next_sendtime, starttime, time_waited, tv; in clnt_dg_call() local 377 gettimeofday(&starttime, NULL); in clnt_dg_call() 499 timersub(&tv, &starttime, &time_waited); in clnt_dg_call()
|