/freebsd-11-stable/libexec/rbootd/ |
H A D | rbootd.c | 139 * If no interface was specified, get one now. 309 time_t now; local 315 now = time(NULL); 317 if ((rtmp->tstamp.tv_sec + RMP_TIMEOUT) < now) {
|
/freebsd-11-stable/contrib/wpa/src/ap/ |
H A D | ap_list.c | 253 struct os_reltime now; local 260 os_get_reltime(&now); 264 if (!os_reltime_expired(&now, &ap->last_beacon,
|
/freebsd-11-stable/usr.bin/wall/ |
H A D | wall.c | 194 time_t now; local 216 (void)time(&now); 217 lt = localtime(&now);
|
/freebsd-11-stable/usr.bin/write/ |
H A D | write.c | 247 time_t now; local 269 now = time((time_t *)NULL); 270 nows = ctime(&now);
|
/freebsd-11-stable/contrib/amd/amd/ |
H A D | rpc_fwd.c | 92 time_t now = clocktime(NULL); local 99 if (p2->rf_ttl <= now) { 128 p->rf_ttl = now + 43;
|
/freebsd-11-stable/lib/libc/gen/ |
H A D | syslog.c | 137 time_t now; local 170 (void)time(&now); 172 (void)fprintf(fp, "%.15s ", ctime_r(&now, timbuf) + 4);
|
/freebsd-11-stable/lib/libc/resolv/ |
H A D | res_init.c | 296 * important now that the rfc1535 stuff restricts searches) 328 struct timespec now; local 333 if (clock_gettime(CLOCK_MONOTONIC_FAST, &now) == 0) { 334 statp->_u._ext.ext->conf_stat = now.tv_sec; 760 struct timeval now; local 765 gettimeofday(&now, NULL); 766 u32 = now.tv_sec; 768 u32 = now.tv_usec; 770 u32 += now.tv_sec; 778 struct timeval now; local [all...] |
/freebsd-11-stable/usr.sbin/autofs/ |
H A D | autounmountd.c | 186 time_t now; local 190 now = time(NULL); 195 mounted_for = difftime(now, af->af_mount_time);
|
/freebsd-11-stable/usr.sbin/rpc.umntall/ |
H A D | rpc.umntall.c | 62 time_t expire, now; local 97 time(&now); 112 if (mtab->mtab_time + expire < now) {
|
/freebsd-11-stable/contrib/telnet/libtelnet/ |
H A D | krb4encpwd.c | 203 time_t now; local 256 time(&now); 257 sprintf(challenge, "%x", now);
|
/freebsd-11-stable/contrib/wpa/src/common/ |
H A D | wpa_helpers.c | 107 time_t start, now; local 147 time(&now); 148 if ((int) (now - start) > default_timeout) {
|
/freebsd-11-stable/usr.sbin/cron/cron/ |
H A D | database.c | 186 /* whatever's left in the old database is now junk. 263 time_t now; local 321 now = time(NULL); 324 e->lastexit = now;
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | TimeProfiler.cpp | 63 : StartTime(steady_clock::now()), ProcName(ProcName), 67 Stack.emplace_back(steady_clock::now(), TimePointType(), std::move(Name), 74 E.End = steady_clock::now();
|
/freebsd-11-stable/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_stub.cpp | 289 LARGE_INTEGER now; local 290 BOOL status = QueryPerformanceCounter(&now); 292 wtime = double(now.QuadPart) / frequency;
|
/freebsd-11-stable/contrib/less/ |
H A D | forwback.c | 54 time_type now = get_time(); local 55 if (now == last_eof_bell) /* max once per second */ 57 last_eof_bell = now;
|
/freebsd-11-stable/sbin/ping/ |
H A D | ping.c | 629 /* From now on we will use only reverse DNS lookups. */ 914 struct timeval now, timeout; local 923 (void)gettimeofday(&now, NULL); 924 timeout.tv_sec = last.tv_sec + intvl.tv_sec - now.tv_sec; 925 timeout.tv_usec = last.tv_usec + intvl.tv_usec - now.tv_usec; 958 memcpy(&now, CMSG_DATA(cmsg), sizeof(now)); 959 tv = &now; 963 (void)gettimeofday(&now, NULL); 964 tv = &now; 1040 struct timeval now; local [all...] |
/freebsd-11-stable/usr.sbin/rtadvd/ |
H A D | rrenum.c | 218 struct timespec now; local 230 &now); 232 now.tv_sec + 238 &now); 240 now.tv_sec +
|
/freebsd-11-stable/usr.bin/w/ |
H A D | w.c | 95 static time_t now; /* the current time of day */ variable 203 (void)time(&now); 249 if ((ep->idle = now - touched) < 0) 257 pr_header(&now, nusers); 441 longattime = pr_attime(&t, &now);
|
/freebsd-11-stable/contrib/wpa/src/radius/ |
H A D | radius_das.c | 401 struct os_time now; local 441 os_get_time(&now); 446 if ((unsigned int) abs((int) (now.sec - timestamp)) > 451 timestamp, (unsigned int) now.sec, 481 now.sec)) {
|
/freebsd-11-stable/contrib/libarchive/tar/ |
H A D | util.c | 195 /* If we allocated a heap-based formatting buffer, free it now. */ 587 * we're comparing two paths. Right now, it just handles leading 668 static time_t now; local 689 if (!now) 690 time(&now); 744 if (tim < now - HALF_YEAR || tim > now + HALF_YEAR)
|
/freebsd-11-stable/contrib/wpa/src/wps/ |
H A D | wps_upnp.c | 355 *delim = '\0'; /* null terminate host name for now */ 492 struct os_reltime now; local 499 if (os_get_reltime(&now) == 0) { 500 if (now.sec != sm->last_event_sec) { 501 sm->last_event_sec = now.sec; 574 static void subscription_list_age(struct upnp_wps_device_sm *sm, time_t now) argument 579 if (s->timeout_time > now) 717 time_t now = time(NULL); local 718 time_t expire = now + UPNP_SUBSCRIBE_SEC; 722 subscription_list_age(sm, now); 782 time_t now = time(NULL); local [all...] |
/freebsd-11-stable/contrib/sendmail/src/ |
H A D | envelope.c | 187 time_t now; local 230 now = curtime(); 231 if (now >= e->e_ctime + TimeOuts.to_q_return[e->e_timeoutclass]) 234 now >= e->e_ctime + e->e_deliver_by && 357 now >= e->e_ctime + 362 now >= e->e_ctime + e->e_deliver_by) 616 /* now unlock the job */ 637 /* now unlock the job */ 855 auto time_t now; local 859 now [all...] |
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | dsl_userhold.c | 135 const char *htag, minor_t minor, uint64_t now, dmu_tx_t *tx) 156 VERIFY0(zap_add(mos, zapobj, htag, 8, 1, &now, tx)); 163 htag, now, tx)); 239 minor_t minor, uint64_t now, dmu_tx_t *tx) 247 dsl_dataset_user_hold_sync_one_impl(tmpholds, ds, htag, minor, now, tx); 257 uint64_t now = gethrestime_sec(); local 270 fnvpair_value_string(pair), dduha->dduha_minor, now, tx); 134 dsl_dataset_user_hold_sync_one_impl(nvlist_t *tmpholds, dsl_dataset_t *ds, const char *htag, minor_t minor, uint64_t now, dmu_tx_t *tx) argument 238 dsl_dataset_user_hold_sync_one(dsl_dataset_t *ds, const char *htag, minor_t minor, uint64_t now, dmu_tx_t *tx) argument
|
/freebsd-11-stable/contrib/unbound/cachedb/ |
H A D | cachedb.c | 412 timestamp = (uint64_t)*qstate->env->now; 444 if((time_t)expiry < *qstate->env->now && 447 *qstate->env->now - (time_t)expiry > SERVE_EXPIRED_TTL))) 536 if(*qstate->env->now <= (time_t)timestamp) { 540 adjust = *qstate->env->now - (time_t)timestamp; 556 * 'now' should be redundant given how these values were calculated, 559 (adjust == -1 || (time_t)expiry < *qstate->env->now)) { 634 *qstate->env->now, 1/*add SOA*/, NULL,
|
/freebsd-11-stable/sys/net/altq/ |
H A D | altq_cdnr.c | 582 u_int64_t interval, now; local 587 now = read_machclk(); 588 interval = now - tbm->tb.last; 596 tbm->tb.last = now; 680 u_int64_t interval, now; local 693 now = read_machclk(); 695 interval = now - tcm->cmtd_tb.last; 703 tcm->cmtd_tb.last = now; 706 interval = now - tcm->peak_tb.last; 714 tcm->peak_tb.last = now; 811 u_int64_t interval, now, tmp; local [all...] |