| /src/sbin/dump/ |
| unctime.c | 55 struct tm then; local 57 str = strptime(str, "%a %b %e %H:%M:%S %Y", &then); 58 then.tm_isdst = -1; 61 return mktime(&then);
|
| optr.c | 218 char then[STAMP_LENGTH + 1]; local 221 if (strftime(then, STAMP_LENGTH, time_string, &tm_time) == 0) { 223 strftime(then, STAMP_LENGTH, time_string, &tm_time); 228 fprintf(stderr, message, then);
|
| /src/usr.sbin/timed/timed/ |
| candidate.c | 51 struct timeval then, wait; local 84 (void)gettimeofday(&then, 0); 85 then.tv_sec += 3; 88 timersub(&then, &wait, &wait);
|
| /src/regress/sys/kern/kqueue/vnode/ |
| vnode.c | 48 struct timeval then, now, diff; local 95 if (gettimeofday(&then, NULL) == -1) 96 err(1, "gettimeofday then"); 100 timersub(&now, &then, &diff);
|
| /src/sys/arch/mvme68k/stand/sboot/ |
| le_poll.c | 259 int now, then; local 261 then = 0; 266 if (then != now) { 270 then = now;
|
| /src/tests/kernel/kqueue/ |
| t_sig.c | 107 struct timeval then, now, diff; local 109 RL(gettimeofday(&then, NULL)); 112 timersub(&now, &then, &diff); 173 * Then, later on, the kernel will post a NOTE_EXIT
|
| /src/crypto/external/bsd/heimdal/dist/lib/otp/ |
| otp_db.c | 113 time_t now, then; local 125 memcpy (&then, p, sizeof(then)); 126 ctx->lock_time = then; 129 if (then && now - then < OTP_USER_TIMEOUT) {
|
| /src/sys/arch/arm/cortex/ |
| gtmr.c | 365 const uint64_t then = sc->sc_physical ? gtmr_cntp_cval_read() : gtmr_cntv_cval_read(); local 367 KASSERTMSG(then <= now, "%"PRId64, now - then); 368 KASSERTMSG(then + pc->pc_delta >= ci->ci_lastintr + sc->sc_autoinc, 369 "%"PRId64, then + pc->pc_delta - ci->ci_lastintr - sc->sc_autoinc);
|
| /src/sys/kern/ |
| kern_lock.c | 181 unsigned now, then; local 187 * because we first take the lock and then set the holder, it 203 then = atomic_load_relaxed(&kernel_lock_last_report); 205 if (now - then <= 10) 207 if (atomic_cas_uint(&kernel_lock_last_report, then, now) != then)
|
| /src/external/bsd/tmux/dist/ |
| window-clock.c | 132 struct tm now, then; local 144 gmtime_r(&data->tim, &then); 145 if (now.tm_sec == then.tm_sec)
|
| /src/external/mit/isl/dist/ |
| isl_ast_private.h | 70 isl_ast_node *then; member in struct:isl_ast_node::__anon23674::__anon23676
|
| /src/tests/lib/libc/sys/ |
| t_timerfd.c | 260 struct timespec then, now, delta; local 266 RL(clock_gettime(CLOCK_MONOTONIC, &then)); 267 timespecadd(&then, &its.it_value, &its.it_value); 282 timespecsub(&now, &then, &delta); 284 "then=%jd.%09lu now=%jd.%09lu delta=%jd.%09lu", 285 (intmax_t)then.tv_sec, then.tv_nsec, 301 struct timespec then, now, delta; local 313 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &then) == 0); 325 timespecsub(&now, &then, &delta) 344 struct timespec then, now, delta; local 383 struct timespec then, now, delta; local 627 struct timespec then, now; local 720 struct timespec then, now, delta; local [all...] |
| /src/usr.bin/vacation/ |
| vacation.c | 537 time_t then, next; local 551 (void)memmove(&then, data.data, sizeof(then)); 553 then + next > time(NULL))
|
| /src/libexec/ftpd/ |
| conf.c | 521 time_t now, then; local 575 then = st.st_mtime; 583 t = localtime(&then); 586 ctime(&then), age, PLURAL(age));
|
| /src/external/gpl3/gdb/dist/sim/arm/ |
| armsupp.c | 1662 static unsigned long then; local 1664 then = state->Now; 1666 if (then < state->Now) 1668 EnvokeList (state, then, state->Now); 1669 else if (then > state->Now) 1672 EnvokeList (state, then, EVENTLISTSIZE - 1L);
|
| /src/external/gpl3/gdb.old/dist/sim/arm/ |
| armsupp.c | 1662 static unsigned long then; local 1664 then = state->Now; 1666 if (then < state->Now) 1668 EnvokeList (state, then, state->Now); 1669 else if (then > state->Now) 1672 EnvokeList (state, then, EVENTLISTSIZE - 1L);
|
| /src/usr.bin/w/ |
| w.c | 140 time_t then; local 425 then = (time_t)ep->tv.tv_sec; 426 pr_attime(&then, &now);
|
| /src/usr.bin/make/unit-tests/ |
| directive-include-guard.mk | 26 # test case and writes some lines of text to that file. That file is then 297 CASES+= variable-defined-then-undefined 298 LINES.variable-defined-then-undefined= \ 302 UNDEF_BETWEEN.variable-defined-then-undefined= \ 304 # expect: Parse_PushInput: variable-defined-then-undefined.tmp:1 305 # expect: Parse_PushInput: variable-defined-then-undefined.tmp:1 557 # the file is read once and then considered guarded. 571 # doesn't work, as the whole line is first expanded and then scanned for the
|
| /src/sys/netinet/ |
| tcp_vtw.c | 1488 struct timeval then, *when = _when; local 1514 then = vtw->expire; 1515 when = &then;
|
| /src/external/apache2/mDNSResponder/dist/mDNSCore/ |
| DNSDigest.c | 289 * has to be at lest 32 bit wide, if it's wider, then 1701 mDNSs32 then; local 1760 then = (mDNSs32)NToH32(utc48 + sizeof(mDNSu16)); 1766 delta = (now > then) ? now - then : then - now;
|
| /src/usr.bin/ftp/ |
| fetch.c | 1774 struct timeval then, now, td; local 1778 (void)gettimeofday(&then, NULL); 1814 timersub(&now, &then, &td); 2026 * then a path of the form `/file' (resulting from input of the 2030 * But if we are dealing with URLs like `ftp://host/path' then 2128 * (urltype is CLASSIC_URL_T) then we have a raw directory 2133 * (urltype is FTP_URL_T), then RFC 3986 says we need to 2344 * or something that was already handled, then it's 2347 * If it contains ":" but not "://" then we assume the
|
| /src/external/gpl3/gcc/dist/gcc/fortran/ |
| match.cc | 1556 if (gfc_match (" then%t") == MATCH_YES) 1730 gfc_expr *expr, *then; local 1750 m = gfc_match (" then ", &then); 1761 gfc_error ("Missing THEN in ELSE IF statement after %L", &where); 2108 /* If c isn't [a-z], then return immediately. */ 4206 it in expr2 so we can distinguish then and produce the correct 5082 /* ...and then to try to make the symbol into a subroutine. */ 5310 so, then see if we can check if the symbol is (which it'll 5860 /* If one of the members of an equivalence is in common, then [all...] |
| /src/external/gpl3/gcc.old/dist/gcc/fortran/ |
| match.cc | 1548 if (gfc_match (" then%t") == MATCH_YES) 1722 gfc_expr *expr, *then; local 1742 m = gfc_match (" then ", &then); 1753 gfc_error ("Missing THEN in ELSE IF statement after %L", &where); 2100 /* If c isn't [a-z], then return immediately. */ 4198 it in expr2 so we can distinguish then and produce the correct 5073 /* ...and then to try to make the symbol into a subroutine. */ 5301 so, then see if we can check if the symbol is (which it'll 5813 /* If one of the members of an equivalence is in common, then [all...] |
| /src/external/gpl3/gdb/dist/gdb/ |
| ser-go32.c | 633 long then; 636 then = rawclock () + (timeout * RAWHZ); 641 if (timeout >= 0 && (rawclock () - then) >= 0) 802 long then; 827 then = rawclock () + RAWHZ; 830 if ((rawclock () - then) >= 0) 846 long then; 852 then = rawclock () + RAWHZ / 4; 853 while ((rawclock () - then) < 0) 629 long then; local 798 long then; local 842 long then; local
|
| /src/external/gpl3/gdb.old/dist/gdb/ |
| ser-go32.c | 633 long then; 636 then = rawclock () + (timeout * RAWHZ); 641 if (timeout >= 0 && (rawclock () - then) >= 0) 802 long then; 827 then = rawclock () + RAWHZ; 830 if ((rawclock () - then) >= 0) 846 long then; 852 then = rawclock () + RAWHZ / 4; 853 while ((rawclock () - then) < 0) 629 long then; local 798 long then; local 842 long then; local
|