| /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);
|
| 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);
|
| 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);
|
| 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);
|
| 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;
|
| 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
|
| 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) {
|
| 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);
|
| 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/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)
|
| 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
|
| isl_ast_private.h | 70 isl_ast_node *then; member in struct:isl_ast_node::__anon23674::__anon23676
|
| /src/sys/kern/ |
| kern_lock.c | 181 unsigned now, then; local 194 * because we first take the lock and then set the holder, it 232 then = atomic_load_relaxed(&kernel_lock_last_report); 234 if (now - then <= 10) 236 if (atomic_cas_uint(&kernel_lock_last_report, then, now) != then)
|
| kern_lock.c | 181 unsigned now, then; local 194 * because we first take the lock and then set the holder, it 232 then = atomic_load_relaxed(&kernel_lock_last_report); 234 if (now - then <= 10) 236 if (atomic_cas_uint(&kernel_lock_last_report, then, now) != then)
|
| /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...] |
| 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))
|