Searched refs:now (Results 126 - 150 of 555) sorted by relevance

1234567891011>>

/freebsd-9.3-release/contrib/dialog/
H A Dtrace.c35 time_t now = time((time_t *) 0); local
36 fprintf(myFP, "%s %s", tag, ctime(&now));
/freebsd-9.3-release/contrib/sendmail/libmilter/
H A Dworker.c382 time_t now; local
391 now = time(NULL);
394 if (lastcheck + DT_CHECK_OLD_SESSIONS < now)
405 ctx->ctx_wait = now;
407 < now)
425 lastcheck = now;
452 ctx->ctx_wait = now;
505 WAITFN, now, nfd));
H A Dlibmilter.h158 struct timeval now; \
159 gettimeofday(&now, NULL); \
160 timeout.tv_sec = now.tv_sec + to; \
161 timeout.tv_nsec = now.tv_usec / 1000; \
/freebsd-9.3-release/contrib/tcsh/
H A Dtc.func.c1098 #undef RMDEBUG /* For now... */
1193 xprintf(CGETS(22, 10, "command line now is:\n"));
1205 #undef CNDEBUG /* For now */
1267 xprintf(CGETS(22, 13, "command line now is:\n"));
1280 struct wordent *now, *last; local
1292 now = pl;
1293 xfree(now->word);
1294 now->word = xcalloc(1, 5 * sizeof(Char));
1295 (void) Strcpy(now->word, STRecho);
1297 now
[all...]
/freebsd-9.3-release/share/examples/ipfw/
H A Dchange_rules.sh123 The rules will be changed now. If the message 'Type y to keep the new
147 The new rules are now installed. The previous rules have been preserved in
/freebsd-9.3-release/contrib/ntp/ntpd/
H A Dntpsim.c520 l_fp *now /* current system time in l_fp */ )
534 DTOLFP(simclock.local_time, now);
539 DTOLFP(ntp_node.ntp_time, now);
550 double now /* time adjustment (s) */
564 dtemp = now + sys_residual;
586 simclock.adj = now;
587 /* ntp_node.adj = now; */
597 double now /* step adjustment (s) */
603 simclock.local_time, now);
605 simclock.local_time += now;
[all...]
H A Dntp_filegen.c280 * now, try to open new file generation...
309 * have to use hardlink for now as I want to allow
341 * generation of the file for the time specified by 'now'
343 * 'now' usually is interpreted as second part of a l_fp as is in the cal...
350 u_int32 now
384 current = (gen->id_lo <= now) &&
385 (gen->id_hi > now);
393 DPRINTF(1, ("filegen %0x %u\n", gen->type, now));
395 filegen_open(gen, now, &pivot);
413 l_fp now; local
[all...]
/freebsd-9.3-release/contrib/amd/amd/
H A Dmap.c843 * Pretend it succeeded for now...
949 time_t now = clocktime(NULL); local
973 if (now >= mp->am_autofs_ttl)
994 if (now >= mp->am_ttl) {
1005 mp->am_ttl = now + mp->am_timeo_w;
1014 mp->am_ttl = now + backoff + 1;
1039 t = now + ONE_HOUR;
1047 if (t <= now) {
1048 t = now + 6; /* XXX */
1056 t = now
[all...]
H A Dinfo_exec.c71 time_t start, now; local
102 now = clocktime(NULL) - start;
105 else if (now < secs)
106 timeo.tv_sec = secs - now;
108 /* timed out (now>=secs) */
H A Dnfs_start.c206 time_t now; local
227 now = clocktime(NULL);
229 if (next_softclock <= now) {
234 tvv.tv_sec = next_softclock - now;
/freebsd-9.3-release/contrib/wpa/src/utils/
H A Deloop.c496 struct os_time tv, now; local
511 os_get_time(&now);
512 if (os_time_before(&now, &timeout->time))
513 os_time_sub(&timeout->time, &now, &tv);
535 os_get_time(&now);
536 if (!os_time_before(&now, &timeout->time)) {
571 struct os_time now; local
573 os_get_time(&now);
577 sec = timeout->time.sec - now.sec;
578 usec = timeout->time.usec - now
[all...]
H A Dcommon.c152 struct os_time now; local
157 os_get_time(&now);
158 sec = now.sec + 2208988800U; /* Epoch to 1900 */
160 usec = now.usec;
/freebsd-9.3-release/sbin/routed/
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-9.3-release/contrib/ntp/sntp/libevent/
H A Dbufferevent_ratelim.c117 struct timeval now; local
119 event_base_gettimeofday_cached(bev->bev.ev_base, &now);
120 tick = ev_token_bucket_get_tick_(&now, bev->rate_limiting->cfg);
397 struct timeval now; local
407 event_base_gettimeofday_cached(bev->bev.ev_base, &now);
408 tick = ev_token_bucket_get_tick_(&now,
533 struct timeval now; local
535 event_base_gettimeofday_cached(event_get_base(&g->master_refill_event), &now);
539 tick = ev_token_bucket_get_tick_(&now, &g->rate_limit_cfg);
567 struct timeval now; local
643 struct timeval now; local
[all...]
/freebsd-9.3-release/contrib/bind9/lib/dns/
H A Ddb.c526 dns_rdatatype_t type, unsigned int options, isc_stdtime_t now,
548 options, now, nodep, foundname,
552 options, now, nodep, foundname,
559 dns_rdatatype_t type, unsigned int options, isc_stdtime_t now,
583 options, now, nodep, foundname,
588 options, now, nodep, foundname,
594 unsigned int options, isc_stdtime_t now,
610 return ((db->methods->findzonecut)(db, name, options, now, nodep,
668 dns_db_expirenode(dns_db_t *db, dns_dbnode_t *node, isc_stdtime_t now) { argument
671 * Mark as stale all records at 'node' which expire at or before 'now'
525 dns_db_find(dns_db_t *db, dns_name_t *name, dns_dbversion_t *version, dns_rdatatype_t type, unsigned int options, isc_stdtime_t now, dns_dbnode_t **nodep, dns_name_t *foundname, dns_rdataset_t *rdataset, dns_rdataset_t *sigrdataset) argument
558 dns_db_findext(dns_db_t *db, dns_name_t *name, dns_dbversion_t *version, dns_rdatatype_t type, unsigned int options, isc_stdtime_t now, dns_dbnode_t **nodep, dns_name_t *foundname, dns_clientinfomethods_t *methods, dns_clientinfo_t *clientinfo, dns_rdataset_t *rdataset, dns_rdataset_t *sigrdataset) argument
593 dns_db_findzonecut(dns_db_t *db, dns_name_t *name, unsigned int options, isc_stdtime_t now, dns_dbnode_t **nodep, dns_name_t *foundname, dns_rdataset_t *rdataset, dns_rdataset_t *sigrdataset) argument
717 dns_db_findrdataset(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, dns_rdatatype_t type, dns_rdatatype_t covers, isc_stdtime_t now, dns_rdataset_t *rdataset, dns_rdataset_t *sigrdataset) argument
738 dns_db_allrdatasets(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, isc_stdtime_t now, dns_rdatasetiter_t **iteratorp) argument
754 dns_db_addrdataset(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, isc_stdtime_t now, dns_rdataset_t *rdataset, unsigned int options, dns_rdataset_t *addedrdataset) argument
[all...]
/freebsd-9.3-release/contrib/bind9/lib/dns/include/dns/
H A Dacache.h326 dns_message_t *msg, isc_stdtime_t now);
/freebsd-9.3-release/crypto/openssh/
H A Dsftp-common.c200 time_t now; local
216 now = time(NULL);
217 if (now - (365*24*60*60)/2 < st->st_mtime &&
218 now >= st->st_mtime)
/freebsd-9.3-release/libexec/rpc.rusersd/
H A Drusers_proc.c118 time_t now; local
147 time(&now);
149 printf("%s: now=%d atime=%d\n", ttyname, now,
152 idle = now - st.st_atime;
/freebsd-9.3-release/sys/contrib/altq/altq/
H A Daltq_red.c361 struct timeval now; local
365 microtime(&now);
366 t = (now.tv_sec - rp->red_last.tv_sec);
374 t = t * 1000000 + (now.tv_usec - rp->red_last.tv_usec);
494 * now the range of d is [1..600] in fixed-point. (when
1154 flowlist_lookup(fv, pktattr, now)
1157 struct timeval *now;
1170 tthresh.tv_sec = now->tv_sec - FV_TTHRESH;
1378 struct timeval now; local
1381 FV_TIMESTAMP(&now);
1457 struct timeval now; local
[all...]
/freebsd-9.3-release/sys/dev/drm2/
H A Ddrm_irq.c844 struct timeval now; local
853 seq = drm_vblank_count_and_time(dev, crtc, &now);
862 e->event.tv_sec = now.tv_sec;
863 e->event.tv_usec = now.tv_usec;
974 struct timeval now; local
997 seq = drm_vblank_count_and_time(dev, pipe, &now);
1014 e->event.tv_sec = now.tv_sec;
1015 e->event.tv_usec = now.tv_usec;
1134 struct timeval now; local
1137 reply_seq = drm_vblank_count_and_time(dev, crtc, &now);
1158 struct timeval now; local
[all...]
/freebsd-9.3-release/sys/powerpc/booke/
H A Dclock.c281 u_quad_t start, end, now; local
286 now = mftb();
287 } while (now < end || (now > start && end < start));
/freebsd-9.3-release/tools/tools/net80211/w00t/libw00t/
H A Dw00t.h54 int elapsed(struct timeval *past, struct timeval *now);
/freebsd-9.3-release/usr.sbin/bsnmpd/modules/snmp_hostres/
H A Dhostres_scalars.c80 uint64_t now; local
106 now = ((uint64_t)right_now.tv_sec * 100) + (right_now.tv_usec / 10000);
108 if (now - kernel_boot > UINT32_MAX)
111 *ut = now - kernel_boot;
331 /* now make UTC from it */
335 /* now apply timezone if specified */
/freebsd-9.3-release/contrib/file/src/
H A Dprint.c249 private time_t now = (time_t)0; local
251 if (now == (time_t)0) {
253 (void)time(&now);
254 tm1 = localtime(&now);
/freebsd-9.3-release/contrib/ntp/sntp/libevent/test/
H A Dcheck-dumpevents.py26 now,T= text[1].split()

Completed in 393 milliseconds

1234567891011>>