/freebsd-9.3-release/lib/libc/gen/ |
H A D | syslog.c | 137 time_t now; local 176 (void)time(&now); 178 (void)fprintf(fp, "%.15s ", ctime_r(&now, timbuf) + 4);
|
/freebsd-9.3-release/libexec/rbootd/ |
H A D | rbootd.c | 143 * If no interface was specified, get one now. 313 struct timeval now; local 315 (void) gettimeofday(&now, (struct timezone *)0); 322 if ((rtmp->tstamp.tv_sec + RMP_TIMEOUT) < now.tv_sec) {
|
/freebsd-9.3-release/usr.bin/wall/ |
H A D | wall.c | 194 time_t now; local 216 (void)time(&now); 217 lt = localtime(&now);
|
/freebsd-9.3-release/usr.bin/write/ |
H A D | write.c | 247 time_t now; local 269 now = time((time_t *)NULL); 270 nows = ctime(&now);
|
/freebsd-9.3-release/usr.sbin/rpc.umntall/ |
H A D | rpc.umntall.c | 60 time_t expire, now; local 95 time(&now); 110 if (mtab->mtab_time + expire < now) {
|
/freebsd-9.3-release/sbin/ping/ |
H A D | ping.c | 814 struct timeval now, timeout; local 823 (void)gettimeofday(&now, NULL); 824 timeout.tv_sec = last.tv_sec + intvl.tv_sec - now.tv_sec; 825 timeout.tv_usec = last.tv_usec + intvl.tv_usec - now.tv_usec; 858 memcpy(&now, CMSG_DATA(cmsg), sizeof(now)); 859 tv = &now; 863 (void)gettimeofday(&now, NULL); 864 tv = &now; 940 struct timeval now; local [all...] |
/freebsd-9.3-release/usr.bin/w/ |
H A D | w.c | 92 time_t now; /* the current time of day */ variable 207 (void)time(&now); 253 if ((ep->idle = now - touched) < 0) 259 pr_header(&now, nusers); 424 longattime = pr_attime(&t, &now);
|
/freebsd-9.3-release/usr.sbin/rtadvd/ |
H A D | rrenum.c | 218 struct timeval now; local 229 gettimeofday(&now, 0); 231 now.tv_sec + 236 gettimeofday(&now, 0); 238 now.tv_sec +
|
/freebsd-9.3-release/contrib/ntp/sntp/libevent/test/ |
H A D | regress_ssl.c | 104 time_t now = time(NULL); local 112 (long)now)); 125 X509_time_adj(X509_get_notBefore(x509), 0, &now); local 126 now += 3600; 127 X509_time_adj(X509_get_notAfter(x509), 0, &now); local 210 TT_BLATHER(("Done reading; now writing.")); 347 /* Okay, now the renegotiation is done. Make new
|
/freebsd-9.3-release/contrib/sendmail/src/ |
H A D | envelope.c | 189 time_t now; local 232 now = curtime(); 233 if (now >= e->e_ctime + TimeOuts.to_q_return[e->e_timeoutclass]) 236 now >= e->e_ctime + e->e_deliver_by && 345 now >= e->e_ctime + 350 now >= e->e_ctime + e->e_deliver_by) 591 /* now unlock the job */ 612 /* now unlock the job */ 830 auto time_t now; local 834 now [all...] |
/freebsd-9.3-release/contrib/wpa/src/wps/ |
H A D | wps_upnp.c | 532 static void subscription_list_age(struct upnp_wps_device_sm *sm, time_t now) argument 537 if (s->timeout_time > now) 669 time_t now = time(NULL); local 670 time_t expire = now + UPNP_SUBSCRIBE_SEC; 673 subscription_list_age(sm, now); 719 time_t now = time(NULL); local 720 time_t expire = now + UPNP_SUBSCRIBE_SEC; 727 /* add back to end of list, since it now has highest expiry */
|
/freebsd-9.3-release/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-9.3-release/sys/i386/xen/ |
H A D | clock.c | 220 uint64_t now, delta; local 221 rdtscll(now); 222 delta = now - shadow->tsc_timestamp; 321 int64_t now; local 328 now = shadow->system_timestamp + get_nsec_offset(shadow); 332 processed_system_time = now; 334 while (now >= state->next) { 685 /* sec now contains the number of seconds, since Jan 1 1970, 738 /* We have now the days since 01-01-1970 in tm */
|
/freebsd-9.3-release/sys/contrib/altq/altq/ |
H A D | altq_cdnr.c | 585 u_int64_t interval, now; local 590 now = read_machclk(); 591 interval = now - tbm->tb.last; 599 tbm->tb.last = now; 683 u_int64_t interval, now; local 696 now = read_machclk(); 698 interval = now - tcm->cmtd_tb.last; 706 tcm->cmtd_tb.last = now; 709 interval = now - tcm->peak_tb.last; 717 tcm->peak_tb.last = now; 814 u_int64_t interval, now, tmp; local [all...] |
H A D | altq_rio.c | 345 struct timeval now; local 355 now.tv_sec = 0; 361 if (now.tv_sec == 0) 362 microtime(&now); 363 t = (now.tv_sec - prec->last.tv_sec); 368 (now.tv_usec - prec->last.tv_usec);
|
/freebsd-9.3-release/contrib/bind9/lib/dns/ |
H A D | sdlz.c | 665 isc_stdtime_t now, dns_dbnode_t **nodep, dns_name_t *foundname, 671 UNUSED(now); 725 expirenode(dns_db_t *db, dns_dbnode_t *node, isc_stdtime_t now) { argument 728 UNUSED(now); 805 isc_stdtime_t now, dns_rdataset_t *rdataset, 816 UNUSED(now); 838 dns_rdatatype_t type, unsigned int options, isc_stdtime_t now, 893 dns_rdatatype_dname, 0, now, 907 dns_rdatatype_ns, 0, now, 947 result = findrdataset(db, node, version, type, 0, now, 664 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 803 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 837 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 994 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 1004 allrdatasets(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, isc_stdtime_t now, dns_rdatasetiter_t **iteratorp) argument 1102 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...] |
H A D | sdb.c | 153 isc_stdtime_t now, dns_rdataset_t *rdataset, 820 dns_rdatatype_t type, unsigned int options, isc_stdtime_t now, 896 0, now, rdataset, sigrdataset); 910 0, now, rdataset, sigrdataset); 951 0, now, rdataset, sigrdataset); 961 0, now, rdataset, sigrdataset); 998 isc_stdtime_t now, dns_dbnode_t **nodep, dns_name_t *foundname, 1004 UNUSED(now); 1058 expirenode(dns_db_t *db, dns_dbnode_t *node, isc_stdtime_t now) { argument 1061 UNUSED(now); 819 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 997 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 1123 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 1157 allrdatasets(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, isc_stdtime_t now, dns_rdatasetiter_t **iteratorp) argument 1185 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/amd/libamu/ |
H A D | xutil.c | 990 static struct timeval now; /* keep last time, as default */ local 992 if (gettimeofday(&now, NULL) < 0) { 995 now.tv_sec++; 999 nt->nt_seconds = (u_int) now.tv_sec; 1000 nt->nt_useconds = (u_int) now.tv_usec; 1002 return (time_t) now.tv_sec;
|
/freebsd-9.3-release/contrib/ipfilter/l4check/ |
H A D | l4check.c | 293 time_t now, now1; local 299 now = time(NULL); 305 if ((l4->l4_last + frequency < now) && (l4->l4_fd == -1)) { 306 l4->l4_last = now; 353 if (now - l4->l4_last > rtimeout) { 369 (now - l4->l4_last > ctimeout)) {
|
/freebsd-9.3-release/contrib/wpa/src/utils/ |
H A D | eloop_win.c | 454 struct os_time tv, now; local 463 os_get_time(&now); 464 if (os_time_before(&now, &eloop.timeout->time)) 465 os_time_sub(&eloop.timeout->time, &now, &tv); 504 os_get_time(&now); 505 if (!os_time_before(&now, &eloop.timeout->time)) {
|
/freebsd-9.3-release/share/mk/ |
H A D | bsd.sys.mk | 13 # the default is gnu99 for now 59 # XXX Delete -Wuninitialized by default for now -- the compiler doesn't 120 # Don't emit .cfi directives, since we must use GNU as on sparc64, for now.
|
/freebsd-9.3-release/usr.bin/find/ |
H A D | getdate.y | 106 ** yacc had the %union construct.) Maybe someday; right now we only use 400 { "now", tMINUTE_UNIT, 0 }, 640 time_t now; 642 now = Start; 643 tm = localtime(&now); 644 now += SECSPERDAY * ((DayNumber - tm->tm_wday + 7) % 7); 645 now += 7 * SECSPERDAY * (DayOrdinal <= 0 ? DayOrdinal : DayOrdinal - 1); 646 return DSTcorrect(Start, now); 869 that comment now applies to *gmt_ptr, but I am too
|
/freebsd-9.3-release/usr.sbin/fifolog/lib/ |
H A D | getdate.y | 68 ** yacc had the %union construct.) Maybe someday; right now we only use 380 { "now", tMINUTE_UNIT, 0 }, 629 time_t now; 631 now = Start; 632 tm = localtime(&now); 633 now += SECSPERDAY * ((DayNumber - tm->tm_wday + 7) % 7); 634 now += 7 * SECSPERDAY * (DayOrdinal <= 0 ? DayOrdinal : DayOrdinal - 1); 635 return DSTcorrect(Start, now); 836 that comment now applies to *gmt_ptr, but I am too
|
/freebsd-9.3-release/usr.sbin/inetd/ |
H A D | builtins.c | 203 time_t now; local 207 now = time((time_t *) 0); 217 (void) sprintf(buffer, "%.24s\r\n", ctime(&now)); 228 time_t now; local 230 now = time((time_t *) 0); 232 (void) sprintf(buffer, "%.24s\r\n", ctime(&now));
|
/freebsd-9.3-release/contrib/opie/ |
H A D | opiesu.c | 218 time_t now; local 228 now = time(NULL); 229 tm = localtime(&now); 382 fprintf(stderr, "are using telnet, xterm, or a dial-in, type ^C now or exit with no password.\n");
|