/freebsd-current/stand/uboot/ |
H A D | time.c | 37 int secs; local 39 secs = ub_get_timer(0) / 1000; 41 *tloc = secs; 43 return (secs);
|
/freebsd-current/stand/libofw/ |
H A D | ofw_time.c | 33 int secs; local 35 secs = OF_milliseconds() / 1000; 37 *tloc = secs; 38 return (secs);
|
/freebsd-current/contrib/libpcap/rpcapd/ |
H A D | daemon.h | 50 void sleep_secs(int secs);
|
/freebsd-current/usr.bin/leave/ |
H A D | leave.c | 53 u_int secs; local 92 secs = hours * 60 * 60 + minutes * 60; 115 secs = (hours - t_12_hour) * 60 * 60; 116 secs += (minutes - t->tm_min) * 60; 117 secs -= now % 60; /* truncate (now + secs) to min */ 119 doalarm(secs); 124 doalarm(u_int secs) argument 133 daytime += secs; 139 if (secs > [all...] |
/freebsd-current/lib/libc/gen/ |
H A D | alarm.c | 39 alarm(unsigned int secs) argument 45 itp->it_value.tv_sec = secs;
|
/freebsd-current/bin/dd/ |
H A D | misc.c | 57 double secs, res; local 63 secs = (end.tv_sec - st.start.tv_sec) + \ 66 if (secs < res) 67 secs = res; 69 return (secs); 75 double secs; local 83 secs = secs_elapsed(); 96 "%ju bytes transferred in %.6f secs (%.0f bytes/sec)\n", 97 st.bytes, secs, st.bytes / secs); 110 double secs; local [all...] |
/freebsd-current/usr.sbin/ac/ |
H A D | ac.c | 171 update_user(const char *user, struct timeval secs) argument 180 timeradd(&up->time, &secs, &up->time); 181 timeradd(&Total, &secs, &Total); 200 up->time = secs; 201 timeradd(&Total, &secs, &Total); 260 show(const char *user, struct timeval secs) argument 264 (double)secs.tv_sec / 3600); 319 struct timeval secs; local 325 timersub(&up->ut_tv, &lp->time, &secs); 326 update_user(lp->user, secs); 408 struct timeval prev_secs, ut_timecopy, secs, clock_shift, now; local [all...] |
/freebsd-current/usr.sbin/ppp/ |
H A D | ip.h | 38 struct filter *, const char *, unsigned *secs);
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_import/ |
H A D | zpool_import_parallel_admin.ksh | 65 echo ${pool}: imported in $SECONDS secs 68 echo ${pool}: import failed $errmsg in $SECONDS secs 81 echo ${pool}: added $devtype vdev in $SECONDS secs 84 echo ${pool}: add $devtype vdev failed ${errmsg}, in $SECONDS secs 96 echo ${pool}: $stats in $SECONDS secs 99 echo ${pool}: $stats failed ${errmsg}, in $SECONDS secs 111 echo ${pool}: created in $SECONDS secs 114 echo ${pool}: create failed ${errmsg}, in $SECONDS secs
|
/freebsd-current/contrib/ntp/include/ |
H A D | timetoa.h | 67 * secs - integral seconds of time stamp 71 * If prec is < 0, abs(prec) is taken for the precision and secs 81 format_time_fraction(time_t secs, long frac, int prec);
|
/freebsd-current/stand/i386/common/ |
H A D | cons.h | 30 int keyhit(unsigned int secs);
|
H A D | cons.c | 130 keyhit(unsigned int secs) argument 136 secs *= SECOND; 149 if (secs > 0) { 153 if (t1 < t0 || t1 >= t0 + secs)
|
/freebsd-current/contrib/netbsd-tests/usr.bin/ld/ |
H A D | t_section.sh | 70 grep ' \.text\| hoge\| \.data\| fuga\| \.bss' >test.secs 82 } < test.secs
|
/freebsd-current/contrib/ntp/libntp/ |
H A D | ntp_calgps.c | 66 if (datum->secs >= limit) { 69 while ((datum->secs -= limit) >= limit); 70 } else if (datum->secs < 0) { 73 while ((datum->secs += limit) < 0); 110 datum->secs += (datum->frac < offset.l_uf); 114 datum->secs -= (int32_t)~offset.l_ui + 1; 116 datum->secs += (int32_t)offset.l_ui; 201 retv.secs = ntpcal_date_to_daysec(jd); 206 if (pivot->secs < shift) { 207 int32_t lim = pivot->secs 503 gpscal_from_gpsweek( uint16_t week, int32_t secs, l_fp fofs ) argument [all...] |
H A D | timetoa.c | 49 time_t secs, 65 secs_u = (u_time)secs; 48 format_time_fraction( time_t secs, long frac, int prec ) argument
|
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/misc/ |
H A D | tst.enablerace.ksh | 63 /secs++/
|
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/ustack/ |
H A D | tst.spin.ksh | 60 secs++; 64 /secs > 5/ 70 /secs > 10/
|
/freebsd-current/sbin/camcontrol/ |
H A D | progress.c | 134 int64_t secs; local 186 if ((secs = secsleft / SECSPERHOUR) > 0) { 187 (void) snprintf(hours, sizeof(hours), "%2lld:", (long long)secs); 191 secs = secsleft % SECSPERHOUR; 203 (int)secs / 60, (int)secs % 60);
|
/freebsd-current/sys/dev/iicbus/rtc/ |
H A D | ds1672.c | 144 uint8_t secs[4]; local 147 error = ds1672_read(dev, DS1672_COUNTER, secs, 4); 150 ts->tv_sec = (secs[3] << 24) | (secs[2] << 16) 151 | (secs[1] << 8) | (secs[0] << 0);
|
/freebsd-current/sys/rpc/ |
H A D | clnt.h | 231 #define CLNT_CALL_MBUF(rh, ext, proc, mreq, mrepp, secs) \ 232 ((*(rh)->cl_ops->cl_call)(rh, ext, proc, mreq, mrepp, secs)) 246 #define CLNT_CALL_EXT(rh, ext, proc, xargs, argsp, xres, resp, secs) \ 248 argsp, xres, resp, secs) 263 #define CLNT_CALL(rh, proc, xargs, argsp, xres, resp, secs) \ 265 argsp, xres, resp, secs) 266 #define clnt_call(rh, proc, xargs, argsp, xres, resp, secs) \ 268 argsp, xres, resp, secs) 270 #define CLNT_CALL(rh, proc, xargs, argsp, xres, resp, secs) \ 272 argsp, xres, resp, secs)) [all...] |
/freebsd-current/lib/libc/nameser/ |
H A D | ns_ttl.c | 52 int secs, mins, hours, days, weeks, x; local 55 secs = src % 60; src /= 60; 78 if (secs || !(weeks || days || hours || mins)) { 79 T(fmt1(secs, 'S', &dst, &dstlen));
|
/freebsd-current/sys/amd64/sgx/ |
H A D | sgx.c | 322 sgx_enclave_alloc(struct sgx_softc *sc, struct secs *secs, argument 330 enclave->base = secs->base; 331 enclave->size = secs->size; 408 sgx_measure_page(struct sgx_softc *sc, struct epc_page *secs, argument 420 ret = sgx_eextend((void *)secs->base, 434 sgx_secs_validate(struct sgx_softc *sc, struct secs *secs) argument 439 if (secs->size == 0) 443 if (secs 638 struct secs *secs; local [all...] |
/freebsd-current/contrib/tzcode/ |
H A D | date.c | 54 intmax_t secs; local 83 secs = strtoimax(optarg, &endarg, 0); 86 else if (! (TIME_T_MIN <= secs && secs <= TIME_T_MAX)) 95 t = secs;
|
/freebsd-current/contrib/ntp/ntpd/ |
H A D | refclock_tsyncpci.c | 848 signed long long secs; // Seconds accumulator variable local 856 secs = (signed long long)(pSt->seconds); 859 yrs = (unsigned int)((secs / 861 secs %= ((SECSPERYEAR * 3) + SECSPERLEAPYEAR); 864 if (secs >= SECSPERYEAR) 868 secs -= SECSPERYEAR; 872 if (secs >= SECSPERYEAR) 876 secs -= SECSPERYEAR; 880 if (secs >= SECSPERLEAPYEAR) 884 secs [all...] |
/freebsd-current/sys/amd64/vmm/io/ |
H A D | vrtc.h | 42 int vrtc_set_time(struct vm *vm, time_t secs);
|