| /src/crypto/krb5/src/lib/krb5/krb/ |
| H A D | valid_times.c | 38 krb5_timestamp currenttime, starttime; in krb5int_validate_times() local 45 if (times->starttime != 0) in krb5int_validate_times() 46 starttime = times->starttime; in krb5int_validate_times() 48 starttime = times->authtime; in krb5int_validate_times() 50 if (ts_after(starttime, ts_incr(currenttime, context->clockskew))) in krb5int_validate_times()
|
| H A D | t_valid_times.c | 56 times.starttime = 1100; in main() 61 times.starttime = 1400; in main() 66 times.starttime = 500; in main() 80 times.starttime = BOUNDARY - 200; in main() 86 times.starttime = BOUNDARY + 100; in main() 91 times.starttime = BOUNDARY + 250; in main() 98 times.starttime = BOUNDARY - 1000; in main()
|
| H A D | gc_via_tkt.c | 279 (in_cred->times.starttime != 0) && in krb5int_process_tgs_reply() 280 (in_cred->times.starttime != dec_rep->enc_part2->times.starttime)) in krb5int_process_tgs_reply() 302 if (!in_cred->times.starttime && in krb5int_process_tgs_reply() 303 !ts_within(dec_rep->enc_part2->times.starttime, timestamp, in krb5int_process_tgs_reply()
|
| /src/tools/tools/netrate/netsend/ |
| H A D | netsend.c | 139 struct timespec nexttime, starttime, tmptime; in timing_loop() local 172 if (clock_gettime(CLOCK_REALTIME, &starttime) == -1) { in timing_loop() 178 timespec_add(&starttime, &tmptime); in timing_loop() 179 starttime.tv_nsec = 0; in timing_loop() 180 if (wait_time(starttime, NULL, NULL) == -1) in timing_loop() 182 nexttime = starttime; in timing_loop() 183 finishtime = starttime.tv_sec + a->duration; in timing_loop() 256 printf("start: %jd.%09ld\n", (intmax_t)starttime.tv_sec, in timing_loop() 257 starttime.tv_nsec); in timing_loop() 266 ns = (tmptime.tv_sec - starttime.tv_sec) * 1000000000UL + in timing_loop() [all …]
|
| /src/tools/tools/netrate/netblast/ |
| H A D | netblast.c | 68 struct timespec starttime, tmptime; in blast_loop() local 83 if (clock_gettime(CLOCK_REALTIME, &starttime) == -1) { in blast_loop() 126 printf("start: %zd.%09lu\n", starttime.tv_sec, in blast_loop() 127 starttime.tv_nsec); in blast_loop()
|
| /src/contrib/ntp/sntp/libevent/test/ |
| H A D | 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()
|
| /src/contrib/libevent/test/ |
| H A D | 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()
|
| /src/crypto/krb5/src/ccapi/common/ |
| H A D | cci_cred_union.c | 304 err = krb5int_ipc_stream_read_time (io_stream, &v5creds->starttime); in cci_credentials_v5_read() 376 err = krb5int_ipc_stream_write_time (io_stream, in_v5creds->starttime); in cci_credentials_v5_write() 698 compat_v5creds->starttime = v5creds->starttime; in cci_credentials_union_to_cred_union() 792 v5creds->starttime = compat_v5creds->starttime; in cci_cred_union_to_credentials_union() 837 (old_creds_v5->starttime == new_creds_v5->starttime)) { in cci_cred_union_compare_to_credentials_union()
|
| /src/crypto/heimdal/kdc/ |
| H A D | 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() 770 ALLOC(et.starttime); in tgs_make_reply() 771 *et.starttime = kdc_time; in tgs_make_reply() 827 life = et.endtime - *et.starttime; in tgs_make_reply() 832 et.endtime = *et.starttime + life; in tgs_make_reply() [all …]
|
| /src/contrib/ncurses/ncurses/tty/ |
| H A D | lib_twait.c | 204 long starttime, returntime; in _nc_timed_wait() local 228 starttime = _nc_gettime(&t0, TRUE); in _nc_timed_wait() 439 milliseconds -= (int) (returntime - starttime); in _nc_timed_wait() 448 long diff = (returntime - starttime); in _nc_timed_wait()
|
| /src/crypto/krb5/src/windows/leash/ |
| H A D | KrbListTickets.cpp | 91 ticketinfo->issued = (DWORD)KRBv5Credentials.times.starttime; in CredToTicketInfo() 118 if (!KRBv5Credentials.times.starttime) in CredToTicketList() 119 KRBv5Credentials.times.starttime = KRBv5Credentials.times.authtime; in CredToTicketList() 136 list->issued = (DWORD)KRBv5Credentials.times.starttime; in CredToTicketList()
|
| /src/crypto/heimdal/appl/ftp/ftpd/ |
| H A D | 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()
|
| /src/crypto/heimdal/lib/krb5/ |
| H A D | 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()
|
| H A D | rd_cred.c | 288 if (kci->starttime) in krb5_rd_cred() 289 creds->times.starttime = *kci->starttime; in krb5_rd_cred()
|
| H A D | 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()
|
| H A D | creds.c | 176 return a->starttime == b->starttime && in krb5_times_equal()
|
| /src/contrib/tcpdump/ |
| H A D | print-mpcp.c | 61 nd_uint32_t starttime; member 167 GET_BE_U_4(mpcp_grant->starttime), in mpcp_print()
|
| /src/crypto/krb5/src/kdc/ |
| H A D | tgs_policy.c | 224 krb5_timestamp starttime; in check_tgs_times() local 229 starttime = times->starttime ? times->starttime : times->authtime; in check_tgs_times() 230 if (ts_after(starttime, kdc_time)) { in check_tgs_times()
|
| H A D | do_tgs_req.c | 829 times->starttime = (t->req->kdc_options & KDC_OPT_POSTDATED) ? in compute_ticket_times() 835 hstarttime = htimes->starttime ? htimes->starttime : htimes->authtime; in compute_ticket_times() 838 ts_incr(times->starttime, hlife)); in compute_ticket_times() 840 kdc_get_ticket_endtime(realm, times->starttime, htimes->endtime, in compute_ticket_times() 850 if (times->starttime == times->authtime) in compute_ticket_times() 851 times->starttime = 0; in compute_ticket_times()
|
| /src/crypto/krb5/src/lib/krb5/ccache/ |
| H A D | ccapi_util.c | 267 cred_out->times.starttime = cv5->starttime; in k5_ccapi_to_krb5_creds() 362 cv5->starttime = cred->times.starttime; in k5_krb5_to_ccapi_creds()
|
| H A D | cc_retr.c | 37 t1->starttime == t2->starttime && in times_match_exact()
|
| /src/crypto/krb5/src/clients/kinit/ |
| H A D | kinit.c | 86 krb5_deltat starttime; member 284 ret = krb5_string_to_deltat(optarg, &opts->starttime); in parse_options() 285 if (ret || opts->starttime == 0) { in parse_options() 295 opts->starttime = ts_delta(abs_starttime, time(NULL)); in parse_options() 752 opts->starttime, opts->service_name, in k5_kinit() 757 opts->starttime, opts->service_name, in k5_kinit()
|
| /src/contrib/ntp/ntpd/ |
| H A D | ntp_leapsec.c | 936 vint64 ttime, starttime; in leapsec_add() local 964 starttime = ntpcal_date_to_ntp64(&fts); in leapsec_add() 969 li.stime = ttime.D_s.lo - starttime.D_s.lo; in leapsec_add() 988 vint64 starttime; in leapsec_raw() local 1017 starttime = ntpcal_date_to_ntp64(&fts); in leapsec_raw() 1019 li.stime = ttime->D_s.lo - starttime.D_s.lo; in leapsec_raw()
|
| /src/crypto/heimdal/kuser/ |
| H A D | 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()
|
| H A D | 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()
|