/src/sys/arch/landisk/stand/boot/ |
getsecs.c | 200 satime_t secs; local in function:getsecs 217 secs = sec; 218 secs += min * 60; 219 secs += hour * 60 * 60; 220 secs += day * 60 * 60 * 24; 226 printf("getsecs: secs = %d\n", (uint32_t)secs); 229 return secs;
|
/src/sys/dev/ |
clock_subr.c | 85 uint64_t secs, i, year, days; local in function:clock_ymdhms_to_secs 131 secs = (((uint64_t)days 136 if ((time_t)secs < 0 || secs > __type_max(time_t)) 138 return secs; 142 clock_secs_to_ymdhms(time_t secs, struct clock_ymdhms *dt) 149 if (secs < 0) 152 days = secs / SECS_PER_DAY; 153 rsec = secs % SECS_PER_DAY;
|
/src/sys/stand/efiboot/ |
prompt.c | 77 int last_secs = -1, secs; local in function:awaitkey 86 secs = (i + POLL_FREQ - 1) / POLL_FREQ; 87 if (secs != last_secs) { 99 last_secs = secs;
|
/src/tests/dev/clock_subr/ |
t_clock_subr.c | 262 time_t secs; local in function:ATF_TC_BODY 266 secs = clock_ymdhms_to_secs(__UNCONST(&clock_tests[i].clock)); 267 ATF_CHECK_EQ_MSG(clock_tests[i].time, secs, "%jd != %jd", 268 (intmax_t)clock_tests[i].time, (intmax_t)secs);
|
/src/sys/arch/next68k/stand/boot/ |
rtc.c | 104 u_int secs; local in function:getsecs 107 secs = rtc_read(RTC_CNTR0) << 24 | 119 secs = BCD_DECODE(d) * (60*60*24) + 125 return secs;
|
/src/lib/libc/nameser/ |
ns_ttl.c | 62 int secs, mins, hours, days, weeks, x; local in function:ns_format_ttl 65 secs = (int)(src % 60); src /= 60; 88 if (secs || !(weeks || days || hours || mins)) { 89 T(fmt1(secs, 'S', &dst, &dstlen));
|
/src/usr.bin/leave/ |
leave.c | 73 u_int secs; local in function:main 112 secs = (hours * HOUR) + (minutes * MINUTE); 123 secs = (hours - t->tm_hour) * HOUR; 124 secs += (minutes - t->tm_min) * MINUTE; 126 doalarm(secs); 131 doalarm(u_int secs) 147 daytime += secs; 156 if (secs >= FIVEMIN) { 157 sleep(secs - FIVEMIN); 160 secs = FIVEMIN [all...] |
/src/regress/sys/kern/select/ |
select.c | 180 unsigned int secs; local in function:main 186 secs = atoi(argv[1]); 213 sleep(secs);
|
/src/sys/arch/amiga/stand/bootblock/boot/ |
amigaio.h | 55 u_int32_t secs, member in struct:TimerIO
|
/src/sys/arch/dreamcast/dev/g2/ |
g2rtc.c | 155 uint32_t secs; local in function:g2rtc_todr_settime 158 secs = (uint32_t)tv->tv_sec + G2RTC_OFFSET; 164 bus_space_write_4(sc->sc_bt, sc->sc_bh, 4, secs & 0xffff); 165 bus_space_write_4(sc->sc_bt, sc->sc_bh, 0, secs >> 16); 169 if (g2rtc_read(sc->sc_bt, sc->sc_bh) == secs)
|
/src/usr.bin/systat/ |
iostat.c | 50 static int secs = 0; /* default seconds shown */ variable in typeref:typename:int 130 #define COLWIDTH (9 + secs * 5 + 1 + read_write * 9 + 1) 159 mvwprintw(wnd, row, col + 11 + secs * 5, 163 if (secs) 181 linesperregion = 2 + secs + (read_write ? 2 : 0); 193 if (secs) 278 if (secs) 297 if (secs) { 360 secs = !secs; [all...] |
ps.c | 355 long secs; local in function:time2str 361 secs = 0; 369 secs = kp->p_rtime_sec; 373 secs += k->ki_u.u_cru.ru_utime.tv_sec + 383 secs += psecs / 100; 386 snprintf(timestr, sizeof(timestr), "%3ld:%02ld.%02ld", secs/60, 387 secs%60, psecs);
|
/src/sys/dev/pci/ |
if_wi_pci.c | 157 int i, secs, usecs; local in function:wi_pci_reset 177 secs = usecs / 1000000; 181 device_xname(sc->sc_dev), secs, usecs);
|
/src/usr.sbin/ac/ |
ac.c | 62 time_t secs; member in struct:user_list 244 update_user(struct user_list *head, char *name, time_t secs) 250 up->secs += secs; 251 Total += secs; 265 up->secs = secs; 266 Total += secs; 333 show(const char *name, time_t secs) 336 ((double)secs / 3600)) 388 time_t secs; local in function:log_out 464 time_t secs = 0; local in function:ac [all...] |
/src/usr.sbin/bootp/bootpgw/ |
bootpgw.c | 488 fprintf(stderr, "\t -w n\tset min wait time (secs)\n"); 507 u_short secs, hops; 516 secs = ntohs(bp->bp_secs); 517 if (secs < minwait) 504 u_short secs, hops; local in function:handle_request
|
/src/usr.sbin/bootp/bootptest/ |
bootptest.c | 120 short secs; /* How long client has waited */ variable in typeref:typename:short 379 bp->bp_secs = secs = 0; 397 secs += WAITSECS; 398 if (secs > MAXWAIT) 400 bp->bp_secs = htons(secs);
|
/src/sys/nfs/ |
nfs_boot.c | 439 int error, rcvflg, timo, secs, waited; local in function:nfs_boot_sendrecv 488 secs = timo; 498 if (--secs <= 0)
|
/src/sys/arch/evbarm/stand/boot2440/ |
main.c | 342 time_t secs = getusecs()/1000000; local in function:getsecs 343 return secs;
|
/src/bin/pax/ |
ar_io.c | 1618 (void)snprintf(buf, size, "%lu secs (" OFFT_F " %s/sec)", 1633 time_t secs; local in function:ar_summary 1649 (void)time(&secs); 1650 if ((secs -= starttime) == 0) 1651 secs = 1; 1662 timefmt(tbuf, sizeof(tbuf), rdcnt, secs, "bytes")); 1682 timefmt(tbuf, sizeof(tbuf), flcnt, secs, "files")); 1689 timefmt(tbuf, sizeof(tbuf), rdcnt + wrcnt, secs, "bytes"));
|
/src/sys/dist/pf/net/ |
if_pfsync.c | 1131 u_long secs; local in function:pfsync_pack_state 1198 secs = time_second; 1221 sp->creation = htonl(secs - st->creation); 1248 if (st->expire <= secs) 1251 sp->expire = htonl(st->expire - secs);
|
/src/sys/fs/nfs/common/ |
krpc_subr.c | 200 int error, rcvflg, timo, secs, len; local in function:krpc_call 335 secs = timo; 336 while (secs > 0) { 348 secs--; 389 } /* while secs */
|
/src/usr.bin/rump_dhcpclient/ |
dhcp.h | 144 uint16_t secs; /* elapsed time in sec. from boot */ member in struct:dhcp_message
|
/src/usr.sbin/arp/ |
arp.c | 880 int days, hours, mins, secs; local in function:sec2str 889 secs = total % 60; 912 (void)snprintf(p, (size_t)(ep - p), "%ds", secs);
|
/src/usr.sbin/ndp/ |
ndp.c | 926 int days, hours, mins, secs; local in function:sec2str 935 secs = total % 60; 958 (void)snprintf(p, (size_t)(ep - p), "%ds", secs);
|
/src/bin/ps/ |
print.c | 861 int32_t origseconds, secs, mins, hours, days; local in function:elapsed 881 secs = origseconds; 882 mins = secs / SECSPERMIN; 883 secs %= SECSPERMIN; 945 (void)printf(":%.2d", secs); 1009 cputime1(int32_t secs, int32_t psecs, VAR *v, enum mode mode) 1017 secs += psecs / 100; 1024 * Use SECSPERMIN, because secs is divided by that when 1027 if (secs == 0) 1028 secs = SECSPERMIN 1049 int32_t secs; local in function:cputime 1074 int32_t secs; local in function:lcputime 1451 ulong secs = *(uint32_t *)(b + v->off); local in function:putimeval [all...] |