Home
last modified time | relevance | path

Searched refs:rtime (Results 1 – 19 of 19) sorted by relevance

/netbsd/src/external/bsd/ntp/dist/clockstuff/
Dchutest.c82 void chufilter(struct chucode *chuc, l_fp *rtime);
537 l_fp *rtime in chufilter() argument
638 if (date_ui < (rtime->l_ui + CLOCK_WAYTOOBIG) in chufilter()
639 && date_ui > (rtime->l_ui - CLOCK_WAYTOOBIG)) in chufilter()
646 date_ui = calyearstart(rtime->l_ui, NULL); in chufilter()
651 date_ui, rtime->l_ui, (long)date_ui-(long)rtime->l_ui); in chufilter()
652 if (date_ui < (rtime->l_ui + CLOCK_WAYTOOBIG) in chufilter()
653 && date_ui > (rtime->l_ui - CLOCK_WAYTOOBIG)) in chufilter()
660 printf("received %s\n", prettydate(rtime)); in chufilter()
671 if ((rtime->l_ui - yearstart) < CLOCK_WAYTOOBIG) { in chufilter()
[all …]
/netbsd/src/games/trek/
Devents.c64 double rtime; in events() local
111 rtime = xdate - Now.date; in events()
114 Now.resource -= Now.klings * rtime; in events()
473 rtime = 1.0 - exp(-Param.regenfac * Move.time); in events()
474 Ship.shield += (Param.shield - Ship.shield) * rtime; in events()
475 Ship.energy += (Param.energy - Ship.energy) * rtime; in events()
/netbsd/src/external/bsd/ntp/dist/ntpd/
Drefclock_gpsdjson.c371 const l_fp * const rtime);
1442 const l_fp * const rtime) in process_watch() argument
1468 const l_fp * const rtime) in process_version() argument
1556 const l_fp * const rtime) in process_tpv() argument
1605 up->sti_local = *rtime; in process_tpv()
1606 up->sti_recvt = *rtime; in process_tpv()
1637 const l_fp * const rtime) in process_pps() argument
1652 up->pps_local = *rtime; in process_pps()
1718 const l_fp * const rtime) in process_toff() argument
1739 up->sti_local = *rtime; in process_toff()
[all …]
/netbsd/src/external/bsd/libarchive/dist/libarchive/
Darchive_write_set_format_warc.c92 time_t rtime; member
199 wi.rtime = w->now; in _warc_header()
240 rh.rtime = w->now; in _warc_header()
389 xstrftime(tgt, "WARC-Date: %Y-%m-%dT%H:%M:%SZ\r\n", hdr.rtime); in _popul_ehdr()
Darchive_read_support_format_warc.c226 time_t rtime; in _warc_rdhdr() local
281 rtime = _warc_rdrtm(buf, eoh - buf); in _warc_rdhdr()
282 if (rtime == (time_t)-1) { in _warc_rdhdr()
344 mtime = rtime; in _warc_rdhdr()
374 archive_entry_set_ctime(entry, rtime, 0L); in _warc_rdhdr()
/netbsd/src/lib/libpam/modules/pam_krb5/
Dpam_krb5.c136 const char *rtime; in pam_sm_authenticate() local
203 if ((rtime = openpam_get_option(pamh, PAM_OPT_RENEWABLE)) != NULL) { in pam_sm_authenticate()
207 if (*rtime) { in pam_sm_authenticate()
208 (void)strlcpy(rbuf, rtime, sizeof(rbuf)); in pam_sm_authenticate()
209 rtime = rbuf; in pam_sm_authenticate()
215 rtime = "1 month"; in pam_sm_authenticate()
216 renew = parse_time(rtime, "s"); in pam_sm_authenticate()
/netbsd/src/usr.bin/ftp/
Dutil.c697 time_t rtime; in remotemodtime() local
701 rtime = -1; in remotemodtime()
753 rtime = timegm(&timebuf); in remotemodtime()
754 if (rtime == -1) { in remotemodtime()
762 timestr, (LLT)rtime, in remotemodtime()
763 rfc2822time(localtime(&rtime))); in remotemodtime()
775 if (rtime == -1) in remotemodtime()
777 return (rtime); in remotemodtime()
/netbsd/src/usr.sbin/fwctl/
Dfwdv.c282 double rtime; in dvsend() local
430 rtime = end.tv_sec - start.tv_sec in dvsend()
433 frames, rtime, frames/rtime); in dvsend()
/netbsd/src/usr.sbin/timed/timed/
Dreadmsg.c55 struct timeval rtime, rwait, rtout; variable
177 (void)gettimeofday(&rtime, 0); in readmsg()
178 timersub(&rtout, &rtime, &rwait); in readmsg()
/netbsd/src/sbin/routed/
Doutput.c840 struct timeval rtime; in rip_bcast() local
844 intvl_random(&rtime, MIN_WAITTIME, MAX_WAITTIME); in rip_bcast()
845 no_flash = rtime; in rip_bcast()
853 rtime.tv_sec + ((float)rtime.tv_usec)/1000000.0); in rip_bcast()
/netbsd/src/crypto/external/bsd/heimdal/dist/lib/krb5/
Dget_in_tkt.c200 a->req_body.rtime = malloc(sizeof(*a->req_body.rtime)); in init_as_req()
201 if (a->req_body.rtime == NULL) { in init_as_req()
205 *a->req_body.rtime = creds->times.renew_till; in init_as_req()
Dget_cred.c215 ALLOC(t->req_body.rtime, 1); in init_tgs_req()
216 if(t->req_body.rtime == NULL){ in init_tgs_req()
220 *t->req_body.rtime = in_creds->times.renew_till; in init_tgs_req()
Dinit_creds_pw.c713 a->req_body.rtime = malloc(sizeof(*a->req_body.rtime)); in init_as_req()
714 if (a->req_body.rtime == NULL) { in init_as_req()
718 *a->req_body.rtime = creds->times.renew_till; in init_as_req()
/netbsd/src/usr.sbin/mtrace/
Dmtrace.c86 u_long rtime; /* Time response was received */ member
597 save->rtime = ((tr.tv_sec + JAN_1970) << 16) + in send_recv()
690 base.rtime = ((tr.tv_sec + JAN_1970) << 16) + in passive_mode()
1058 u_long resptime = new->rtime; in print_stats()
1432 base.rtime = 0; in main()
1572 if (base.rtime == 0) { in main()
1589 printf("Round trip time %d ms\n\n", t_diff(base.rtime, base.qtime)); in main()
/netbsd/src/external/bsd/ntp/dist/scripts/monitoring/
Dntploopwatch1642 local($rtime) = &timelocal($sec,$min,$hour,$mday,$mon,$year, 0,0, 0);
1644 ;# $rtime may be off if daylight savings time is in effect at given date
1645 return $rtime + ($sec - int($sec))
1646 if $hour == (localtime($rtime))[$[+2];
/netbsd/src/crypto/external/bsd/heimdal/dist/kdc/
Dkerberos5.c2084 if(b->rtime == NULL){ in _kdc_as_rep()
2085 ALLOC(b->rtime); in _kdc_as_rep()
2086 *b->rtime = 0; in _kdc_as_rep()
2088 if(*b->rtime < *b->till) in _kdc_as_rep()
2089 *b->rtime = *b->till; in _kdc_as_rep()
2091 if(f.renewable && b->rtime){ in _kdc_as_rep()
2092 t = *b->rtime; in _kdc_as_rep()
Dkrb5tgs.c493 _kdc_fix_time(&b->rtime); in check_tgs_flags()
494 *et->renew_till = *b->rtime; in check_tgs_flags()
/netbsd/src/crypto/external/bsd/heimdal/dist/lib/asn1/
Dkrb5.asn1480 rtime[6] KerberosTime OPTIONAL,
/netbsd/src/crypto/external/bsd/heimdal/dist/
DChangeLog.1998428 * kdc/kerberos5.c (check_tgs_flags): make sure kdc-req-body->rtime