/freebsd-9.3-release/contrib/dialog/ |
H A D | trace.c | 35 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 D | worker.c | 382 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 D | libmilter.h | 158 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 D | tc.func.c | 1098 #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 D | change_rules.sh | 123 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 D | ntpsim.c | 520 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 D | ntp_filegen.c | 280 * 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 D | map.c | 843 * 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 D | info_exec.c | 71 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 D | nfs_start.c | 206 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 D | eloop.c | 496 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 D | common.c | 152 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 D | if.c | 78 #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 D | bufferevent_ratelim.c | 117 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 D | db.c | 526 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 D | acache.h | 326 dns_message_t *msg, isc_stdtime_t now);
|
/freebsd-9.3-release/crypto/openssh/ |
H A D | sftp-common.c | 200 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 D | rusers_proc.c | 118 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 D | altq_red.c | 361 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 D | drm_irq.c | 844 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 D | clock.c | 281 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 D | w00t.h | 54 int elapsed(struct timeval *past, struct timeval *now);
|
/freebsd-9.3-release/usr.sbin/bsnmpd/modules/snmp_hostres/ |
H A D | hostres_scalars.c | 80 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 D | print.c | 249 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 D | check-dumpevents.py | 26 now,T= text[1].split()
|