Searched refs:now (Results 176 - 200 of 672) sorted by relevance

1234567891011>>

/freebsd-11-stable/usr.bin/quota/
H A Dquota.c284 static time_t now; local
286 if (now == 0)
287 time(&now);
299 if (qup->dqblk.dqb_itime > now)
313 if (qup->dqblk.dqb_btime > now)
453 static time_t now; local
455 if (now == 0)
456 time(&now);
457 if (now > seconds) {
462 seconds -= now;
[all...]
/freebsd-11-stable/crypto/heimdal/kcm/
H A Devents.c397 kcm_run_events(krb5_context context, time_t now) argument
405 if (now < last_run + KCM_EVENT_QUEUE_INTERVAL) {
415 if (now >= (*e)->fire_time) {
421 } else if ((*e)->expire_time && now >= (*e)->expire_time) {
433 last_run = now;
/freebsd-11-stable/usr.sbin/repquota/
H A Drepquota.c349 static time_t now; local
351 if (now == 0)
352 time(&now);
353 if (now > seconds) {
357 seconds -= now;
/freebsd-11-stable/sys/arm/allwinner/
H A Dtimer.c361 uint64_t end, now; local
363 now = timer_read_counter64();
364 end = now + (sc->timer0_freq / 1000000) * (usec + 1);
366 while (now < end)
367 now = timer_read_counter64();
/freebsd-11-stable/sys/contrib/vchiq/interface/compat/
H A Dvchi_bsd.c232 unsigned long start, now; local
240 now = jiffies;
241 if (timeout < (now - start)) {
246 timeout -= (now - start);
247 start = now;
/freebsd-11-stable/contrib/wpa/src/utils/
H A Dos.h92 struct os_reltime now; local
94 os_get_reltime(&now);
95 os_reltime_sub(&now, start, age);
99 static inline int os_reltime_expired(struct os_reltime *now, argument
105 os_reltime_sub(now, ts, &age);
/freebsd-11-stable/sys/netinet/cc/
H A Dcc_htcp.c386 int alpha, diff, now; local
389 now = ticks;
395 * losses and restart alpha from scratch by setting t_last_cong = now -
402 if (now < htcp_data->t_last_cong)
403 htcp_data->t_last_cong = now - HTCP_DELTA_L;
405 diff = now - htcp_data->t_last_cong - HTCP_DELTA_L;
/freebsd-11-stable/usr.bin/netstat/
H A Dmroute.c84 struct timeval now, end, delta; local
86 gettimeofday(&now, NULL);
149 if (timercmp(&now, &end, <=)) {
150 timersub(&end, &now, &delta);
156 timersub(&now, &end, &delta);
/freebsd-11-stable/contrib/ntp/libntp/
H A Dsystime.c174 l_fp *now /* system time */
244 * sys_residual's effect for now) once sys_fuzz has been
278 *now = result;
288 double now /* adjustment (s) */
307 if (0. == now) {
321 dtemp = now + sys_residual;
563 /* now set new system time */
640 /* now set new system time */
H A Dntp_intres.c251 time_t now; local
272 now = time(NULL);
273 gai_req->scheduled = now;
274 gai_req->earliest = max(now, child_ctx->next_dns_timeslot);
381 TRACE(1, ("DNS success after retry, ignoring sleeps scheduled before now (%s)\n",
770 TRACE(1, ("DNS success after retrying, ignoring sleeps scheduled before now (%s)\n",
1015 time_t now; local
1024 now = time(NULL);
1026 if (now < earliest) {
1030 if (-1 == worker_sleep(worker_ctx->c, earliest - now)) {
1060 time_t now; local
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/Utility/
H A DUnwindLLDB.cpp47 auto time_value = steady_clock::now();
58 const auto now = steady_clock::now(); local
59 const auto delta_t = now - time_value;
63 time_value = now;
/freebsd-11-stable/contrib/sendmail/src/
H A Dstab.c371 time_t now; local
373 now = curtime();
383 if (s->s_hostsig.hs_exp >= now)
389 if (s->s_namecanon.nc_exp >= now)
396 if (s->s_tlsa->dane_tlsa_exp >= now)
/freebsd-11-stable/usr.sbin/ndp/
H A Dndp.c416 struct timeval now; local
418 gettimeofday(&now, 0);
419 expire_time = now.tv_sec + 20 * 60;
567 struct timeval now; local
660 gettimeofday(&now, 0);
662 ts_print(&now);
682 if (expire > now.tv_sec)
683 printf(" %-9.9s", sec2str(expire - now.tv_sec));
1063 struct timeval now; local
1098 gettimeofday(&now,
1116 struct timeval now; local
[all...]
/freebsd-11-stable/sbin/routed/
H A Dtable.c813 k->k_keep = now.tv_sec;
838 new.rts_time = now.tv_sec;
903 k->k_keep = now.tv_sec+keep;
951 k->k_redirect_time = now.tv_sec;
1214 * check them all now if the check would otherwise
1215 * be a long time from now, if the interface is
1219 if (ifinit_timer.tv_sec-now.tv_sec>=CHECK_BAD_INTERVAL
1223 ifinit_timer.tv_sec = now.tv_sec;
1507 if (k->k_keep > now.tv_sec) {
1577 k->k_keep = now
[all...]
H A Drdisc.c280 LIM_SEC(rdisc_timer, now.tv_sec+MIN_WAITTIME);
290 ifp->int_rdisc_timer.tv_sec = now.tv_sec+MIN_WAITTIME;
337 sec = (now.tv_sec - drp->dr_life
393 ifp->int_rdisc_timer.tv_sec = now.tv_sec + (supplier
473 if (drp->dr_ts + drp->dr_life <= now.tv_sec) {
520 new.rts_time = now.tv_sec - GARBAGE_TIME;
548 new.rts_time = now.tv_sec;
655 new_drp->dr_ts = now.tv_sec;
822 rdisc_timer.tv_sec = now.tv_sec + NEVER;
828 if (!timercmp(&ifp->int_rdisc_timer, &now, >)
[all...]
H A Dif.c78 #define IF_RESCAN_DELAY() (last_ifinit.tv_sec == now.tv_sec \
79 && last_ifinit.tv_usec == now.tv_usec \
80 && timercmp(&ifinit_timer, &now, >))
536 LIM_SEC(ifinit_timer, now.tv_sec+CHECK_BAD_INTERVAL);
552 LIM_SEC(ifinit_timer, now.tv_sec+CHECK_BAD_INTERVAL);
557 ifp->int_data.ts = now.tv_sec;
674 last_ifinit = now;
675 ifinit_timer.tv_sec = now.tv_sec + (supplier
730 ifs0.int_act_time = now.tv_sec;
731 ifs0.int_data.ts = now
[all...]
/freebsd-11-stable/bin/pax/
H A Dar_subs.c78 time_t now; local
95 now = time(NULL);
122 ls_list(arcn, now, stdout);
158 time_t now; local
177 now = time(NULL);
230 * this archive member is now been selected. modify the name.
267 ls_list(arcn, now, listf);
364 time_t now; local
392 now = time(NULL);
418 * this file is considered selected now
[all...]
/freebsd-11-stable/contrib/binutils/bfd/
H A Dihex.c776 size_t now; local
779 now = count;
781 now = CHUNK;
838 if (rec_addr + now > 0xffff)
839 now = 0x10000 - rec_addr;
841 if (! ihex_write_record (abfd, now, rec_addr, 0, p))
844 where += now;
845 p += now;
846 count -= now;
/freebsd-11-stable/sbin/shutdown/
H A Dshutdown.c125 * "poweroff", for which it runs 'shutdown -p now'.
267 * Warn now, if going to sleep more than a fifth of
418 time_t now; local
422 (void)time(&now);
424 if (!strcasecmp(timearg, "now")) { /* now */
426 shuttime = now;
452 shuttime = now + offset;
469 lt = localtime(&now); /* current time val */
505 if ((offset = shuttime - now) <
[all...]
/freebsd-11-stable/contrib/unbound/validator/
H A Dval_kentry.c280 time_t now)
286 d->ttl = now + ttl;
298 struct ub_packed_rrset_key* rrset, uint8_t* sigalg, time_t now)
306 d->ttl = rd->ttl + now;
326 time_t now)
332 d->ttl = now + ttl;
278 key_entry_create_null(struct regional* region, uint8_t* name, size_t namelen, uint16_t dclass, time_t ttl, time_t now) argument
296 key_entry_create_rrset(struct regional* region, uint8_t* name, size_t namelen, uint16_t dclass, struct ub_packed_rrset_key* rrset, uint8_t* sigalg, time_t now) argument
324 key_entry_create_bad(struct regional* region, uint8_t* name, size_t namelen, uint16_t dclass, time_t ttl, time_t now) argument
/freebsd-11-stable/lib/libc/isc/
H A Dev_timers.c121 struct timeval now; local
133 if (gettimeofday(&now, NULL) < 0)
135 return (evTimeSpec(now));
140 struct timeval now; local
146 if (gettimeofday(&now, NULL) < 0)
148 return (evTimeSpec(now));
215 /* due={0,0} is a magic cookie meaning "now." */
/freebsd-11-stable/crypto/openssl/ssl/
H A Dd1_lib.c536 } now; local
539 SystemTimeToFileTime(&st, &now.ft);
541 now.ul -= 116444736000000000ULL;
543 now.ul -= 116444736000000000UI64; /* re-bias to 1/1/1970 */
545 t->tv_sec = (long)(now.ul / 10000000);
546 t->tv_usec = ((int)(now.ul % 10000000)) / 10;
/freebsd-11-stable/contrib/unbound/util/data/
H A Dpacked_rrset.c273 time_t now, char* dest, size_t dest_len)
290 adjust = SERVE_ORIGINAL_TTL ? d->ttl_add : now;
331 struct regional* region, time_t now)
358 adjust = SERVE_ORIGINAL_TTL ? data->ttl_add : now;
373 struct alloc_cache* alloc, time_t now)
394 packed_rrset_ttl_add(dd, now);
272 packed_rr_to_string(struct ub_packed_rrset_key* rrset, size_t i, time_t now, char* dest, size_t dest_len) argument
330 packed_rrset_copy_region(struct ub_packed_rrset_key* key, struct regional* region, time_t now) argument
372 packed_rrset_copy_alloc(struct ub_packed_rrset_key* key, struct alloc_cache* alloc, time_t now) argument
/freebsd-11-stable/crypto/openssl/apps/
H A Dapps.c430 /* now look for the end of this */
2973 FILETIME now; local
2990 GetProcessTimes(proc, &junk, &junk, &junk, &now);
3002 SystemTimeToFileTime(&systime, &now);
3006 tmstart.u.LowPart = now.dwLowDateTime;
3007 tmstart.u.HighPart = now.dwHighDateTime;
3011 tmstop.u.LowPart = now.dwLowDateTime;
3012 tmstop.u.HighPart = now.dwHighDateTime;
3051 struct timespec now; local
3054 unsigned long now; local
3088 clock_t now; local
3121 clock_t now = times(&rus); local
3145 struct timeval now; local
[all...]
/freebsd-11-stable/contrib/dialog/
H A Dtrace.c39 time_t now = time((time_t *) 0); local
40 fprintf(myFP, "%s %s", tag, ctime(&now));

Completed in 190 milliseconds

1234567891011>>