Home
last modified time | relevance | path

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

12

/freebsd-12-stable/sys/arm/allwinner/
Daw_rtc.c289 uint32_t rdate, rtime; in aw_rtc_gettime() local
292 rtime = RTC_READ(sc, sc->conf->rtc_time); in aw_rtc_gettime()
294 if ((rtime & TIME_MASK) == 0) in aw_rtc_gettime()
297 ct.sec = GET_SEC_VALUE(rtime); in aw_rtc_gettime()
298 ct.min = GET_MIN_VALUE(rtime); in aw_rtc_gettime()
299 ct.hour = GET_HOUR_VALUE(rtime); in aw_rtc_gettime()
315 uint32_t clk, rdate, rtime; in aw_rtc_settime() local
343 rtime = SET_SEC_VALUE(ct.sec) | SET_MIN_VALUE(ct.min) | in aw_rtc_settime()
362 RTC_WRITE(sc, sc->conf->rtc_time, rtime); in aw_rtc_settime()
/freebsd-12-stable/contrib/ntp/clockstuff/
Dchutest.c80 void chufilter(struct chucode *chuc, l_fp *rtime);
535 l_fp *rtime in chufilter() argument
636 if (date_ui < (rtime->l_ui + CLOCK_WAYTOOBIG) in chufilter()
637 && date_ui > (rtime->l_ui - CLOCK_WAYTOOBIG)) in chufilter()
644 date_ui = calyearstart(rtime->l_ui, NULL); in chufilter()
649 date_ui, rtime->l_ui, (long)date_ui-(long)rtime->l_ui); in chufilter()
650 if (date_ui < (rtime->l_ui + CLOCK_WAYTOOBIG) in chufilter()
651 && date_ui > (rtime->l_ui - CLOCK_WAYTOOBIG)) in chufilter()
658 printf("received %s\n", prettydate(rtime)); in chufilter()
669 if ((rtime->l_ui - yearstart) < CLOCK_WAYTOOBIG) { in chufilter()
[all …]
/freebsd-12-stable/sys/kern/
Dtty_info.c218 struct timeval rtime, utime, stime; in tty_info() local
300 microuptime(&rtime); in tty_info()
301 timevalsub(&rtime, &p->p_stats->p_start); in tty_info()
311 (long)rtime.tv_sec, rtime.tv_usec / 10000, in tty_info()
/freebsd-12-stable/contrib/ntp/ntpd/
Drefclock_gpsdjson.c369 const l_fp * const rtime);
1440 const l_fp * const rtime) in process_watch() argument
1466 const l_fp * const rtime) in process_version() argument
1554 const l_fp * const rtime) in process_tpv() argument
1603 up->sti_local = *rtime; in process_tpv()
1604 up->sti_recvt = *rtime; in process_tpv()
1635 const l_fp * const rtime) in process_pps() argument
1650 up->pps_local = *rtime; in process_pps()
1716 const l_fp * const rtime) in process_toff() argument
1737 up->sti_local = *rtime; in process_toff()
[all …]
/freebsd-12-stable/contrib/libarchive/libarchive/
Darchive_write_set_format_warc.c93 time_t rtime; member
200 wi.rtime = w->now; in _warc_header()
241 rh.rtime = w->now; in _warc_header()
399 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()
337 mtime = rtime; in _warc_rdhdr()
367 archive_entry_set_ctime(entry, rtime, 0L); in _warc_rdhdr()
/freebsd-12-stable/sys/ofed/include/rdma/
Dib_mad.h287 u8 rtime) in ib_set_cpi_resp_time() argument
292 cpu_to_be32(rtime & IB_CLASS_PORT_INFO_RESP_TIME_MASK); in ib_set_cpi_resp_time()
456 static inline void ib_set_rmpp_resptime(struct ib_rmpp_hdr *rmpp_hdr, u8 rtime) in ib_set_rmpp_resptime() argument
458 rmpp_hdr->rmpp_rtime_flags = ib_get_rmpp_flags(rmpp_hdr) | (rtime << 3); in ib_set_rmpp_resptime()
/freebsd-12-stable/usr.sbin/fwcontrol/
Dfwdv.c271 double rtime; in dvsend() local
415 rtime = end.tv_sec - start.tv_sec in dvsend()
418 frames, rtime, frames/rtime); in dvsend()
/freebsd-12-stable/contrib/tnftp/src/
Dutil.c703 time_t rtime; in remotemodtime() local
707 rtime = -1; in remotemodtime()
759 rtime = timegm(&timebuf); in remotemodtime()
760 if (rtime == -1) { in remotemodtime()
768 timestr, (LLT)rtime, in remotemodtime()
769 rfc2822time(localtime(&rtime))); in remotemodtime()
781 if (rtime == -1) in remotemodtime()
783 return (rtime); in remotemodtime()
/freebsd-12-stable/contrib/unbound/dnstap/
Ddnstap.c433 struct timeval rtime; in dt_msg_send_client_response() local
435 gettimeofday(&rtime, NULL); in dt_msg_send_client_response()
441 dt_fill_timeval(&rtime, in dt_msg_send_client_response()
519 const struct timeval *rtime, in dt_msg_send_outside_response() argument
551 dt_fill_timeval(rtime, in dt_msg_send_outside_response()
Ddnstap.h198 const struct timeval *rtime,
/freebsd-12-stable/usr.sbin/timed/timed/
Dreadmsg.c53 struct timeval rtime, rwait, rtout; variable
173 (void)gettimeofday(&rtime, NULL); in readmsg()
174 timevalsub(&rwait, &rtout, &rtime); in readmsg()
/freebsd-12-stable/sbin/routed/
Doutput.c823 struct timeval rtime; in rip_bcast() local
827 intvl_random(&rtime, MIN_WAITTIME, MAX_WAITTIME); in rip_bcast()
828 no_flash = rtime; in rip_bcast()
836 rtime.tv_sec + ((float)rtime.tv_usec)/1000000.0); in rip_bcast()
/freebsd-12-stable/cddl/usr.sbin/dtrace/tests/common/docsExamples/
DMakefile18 rtime.d \
/freebsd-12-stable/crypto/heimdal/lib/krb5/
Dget_in_tkt.c201 a->req_body.rtime = malloc(sizeof(*a->req_body.rtime)); in init_as_req()
202 if (a->req_body.rtime == NULL) { in init_as_req()
207 *a->req_body.rtime = creds->times.renew_till; in init_as_req()
Dinit_creds_pw.c665 a->req_body.rtime = malloc(sizeof(*a->req_body.rtime)); in init_as_req()
666 if (a->req_body.rtime == NULL) { in init_as_req()
671 *a->req_body.rtime = creds->times.renew_till; in init_as_req()
/freebsd-12-stable/include/rpc/
Dauth_des.h121 extern int rtime(dev_t, struct netbuf *, int, struct timeval *,
/freebsd-12-stable/lib/libc/rpc/
DMakefile.inc25 SRCS+= rtime.c
52 rtime.3
Drtime.c72 rtime(struct sockaddr_in *addrp, struct timeval *timep, in rtime() function
DSymbol.map195 rtime;
/freebsd-12-stable/crypto/heimdal/kdc/
Dkerberos5.c1573 if(b->rtime == NULL){ in _kdc_as_rep()
1574 ALLOC(b->rtime); in _kdc_as_rep()
1575 *b->rtime = 0; in _kdc_as_rep()
1577 if(*b->rtime < *b->till) in _kdc_as_rep()
1578 *b->rtime = *b->till; in _kdc_as_rep()
1580 if(f.renewable && b->rtime){ in _kdc_as_rep()
1581 t = *b->rtime; in _kdc_as_rep()
Dkrb5tgs.c470 _kdc_fix_time(&b->rtime); in check_tgs_flags()
471 *et->renew_till = *b->rtime; in check_tgs_flags()
/freebsd-12-stable/contrib/ntp/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];
/freebsd-12-stable/contrib/apr-util/memcache/
Dapr_memcache.c1642 else mc_do_stat(rusage_user, rtime) in update_stats()
1643 else mc_do_stat(rusage_system, rtime) in update_stats()
/freebsd-12-stable/crypto/heimdal/lib/asn1/
Dkrb5.asn1456 rtime[6] KerberosTime OPTIONAL,

12