Searched refs:timenow (Results 1 - 16 of 16) sorted by relevance

/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/kadm5/
H A Dcheck-cracklib.pl66 my $timenow = scalar(time());
74 if (!$DB{$key} || ($timenow - $DB{$key} < $reusetime)) {
76 $DB{$key}=$timenow;
/netbsd-6-1-5-RELEASE/usr.sbin/mopd/common/
H A Dput.c80 struct tm *timenow; local
88 timenow = localtime(&tnow);
91 mopPutChar (pkt,idx,(timenow->tm_year / 100) + 19);
92 mopPutChar (pkt,idx,(timenow->tm_year % 100));
93 mopPutChar (pkt,idx,(timenow->tm_mon + 1));
94 mopPutChar (pkt,idx,(timenow->tm_mday));
95 mopPutChar (pkt,idx,(timenow->tm_hour));
96 mopPutChar (pkt,idx,(timenow->tm_min));
97 mopPutChar (pkt,idx,(timenow->tm_sec));
/netbsd-6-1-5-RELEASE/external/apache2/mDNSResponder/dist/mDNSCore/
H A DmDNS.c945 Initialize LastNATReplyLocalTime to timenow, so that gateway uptime checks work more reliably
1112 Initialize m->retryGetAddr to timenow + 0x78000000;
1795 //LogMsg("ProbeCount %d Next %ld %s", rr->ProbeCount, (rr->LastAPTime + rr->ThisAPInterval) - m->timenow, ARDisplayString(m, rr));
1821 if (m->SuppressProbes == 0 || m->SuppressProbes - m->timenow < 0)
1823 m->SuppressProbes = NonZeroTime(m->timenow + DefaultProbeIntervalForTypeUnique);
1836 rr->LastMCTime = m->timenow;
1852 rr->LastAPTime = m->timenow - rr->ThisAPInterval;
1860 if (rr->AddressProxy.type) rr->LastAPTime = m->timenow;
1864 rr->LastAPTime = m->timenow - rr->ThisAPInterval + mDNSPlatformOneSecond * 10;
1928 rr->LastAPTime = m->timenow
9290 mDNSs32 timenow; local
[all...]
H A DuDNS.c1116 Eliminate pointless timenow variable
1265 Replace calls to mDNSPlatformTimeNow(m) with m->timenow
1403 mDNSs32 elapsed = m->timenow - rr->LastAPTime;
1404 rr->LastAPTime = m->timenow;
1408 if (rr->expire && rr->expire - m->timenow > mDNSPlatformOneSecond * 120)
1411 (rr->expire - m->timenow) / mDNSPlatformOneSecond, ARDisplayString(m, rr));
1412 rr->expire = m->timenow + mDNSPlatformOneSecond * 120;
1416 if (rr->expire && rr->expire - m->timenow > mDNSPlatformOneSecond)
1418 mDNSs32 remaining = rr->expire - m->timenow;
1421 rr->ThisAPInterval / mDNSPlatformOneSecond, (rr->expire - m->timenow) / mDNSPlatformOneSecon
[all...]
H A DDNSCommon.c2500 rr->TimeRcvd = m ? m->timenow : 0;
2502 rr->NextRequiredQuery = m ? m->timenow : 0; // Will be updated to the real value when we call SetNextCacheCheckTime()
2503 rr->LastUsed = m ? m->timenow : 0;
3005 // If this is an initial entry into the mDNSCore code, set m->timenow
3006 // else, if this is a re-entrant entry into the mDNSCore code, m->timenow should already be set
3009 if (m->timenow)
3010 LogMsg("mDNS_Lock: m->timenow already set (%ld/%ld)", m->timenow, mDNS_TimeNow_NoLock(m));
3011 m->timenow = mDNS_TimeNow_NoLock(m);
3012 if (m->timenow
[all...]
H A DmDNSEmbeddedAPI.h1842 // if m->timenow < ExpiryTime then we have an active mapping, and we'll renew halfway to expiry
1843 // if m->timenow >= ExpiryTime then our mapping has expired, and we're trying to create one
2548 mDNSs32 timenow; // The time that this particular activation of the mDNS code started member in struct:mDNS_struct
3214 // Code that's protected by the main mDNS lock should just use the m->timenow value
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/ssl/
H A Dd1_lib.c324 struct timeval timenow; local
333 get_current_time(&timenow);
336 if (s->d1->next_timeout.tv_sec < timenow.tv_sec ||
337 (s->d1->next_timeout.tv_sec == timenow.tv_sec &&
338 s->d1->next_timeout.tv_usec <= timenow.tv_usec))
346 timeleft->tv_sec -= timenow.tv_sec;
347 timeleft->tv_usec -= timenow.tv_usec;
/netbsd-6-1-5-RELEASE/usr.sbin/sup/source/
H A Dsupcmain.c612 time_t timenow; /* startup time */ local
731 timenow = time(NULL);
740 scmversion, p, fmttime(timenow));
/netbsd-6-1-5-RELEASE/dist/pppd/pppd/
H A Dmain.c1299 static struct timeval timenow; /* Current time */ local
1319 gettimeofday(&timenow, NULL);
1320 newp->c_time.tv_sec = timenow.tv_sec + secs;
1321 newp->c_time.tv_usec = timenow.tv_usec + usecs;
1373 if (gettimeofday(&timenow, NULL) < 0)
1375 if (!(p->c_time.tv_sec < timenow.tv_sec
1376 || (p->c_time.tv_sec == timenow.tv_sec
1377 && p->c_time.tv_usec <= timenow.tv_usec)))
1398 gettimeofday(&timenow, NULL);
1399 tvp->tv_sec = callout->c_time.tv_sec - timenow
[all...]
/netbsd-6-1-5-RELEASE/external/apache2/mDNSResponder/dist/mDNSShared/
H A DPlatformCommon.c229 mDNSs32 t = mDNSStorage.timenow ? mDNSStorage.timenow : mDNSPlatformClockDivisor ? mDNS_TimeNow_NoLock(&mDNSStorage) : 0;
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/hx509/
H A Dhx_locl.h153 time_t timenow; member in struct:hx509_query_data
H A Dcms.c298 q.timenow = time_now;
300 q.timenow = time(NULL);
H A Dcert.c1093 q.timenow = time_now;
3055 if (t > q->timenow)
3058 if (t < q->timenow)
/netbsd-6-1-5-RELEASE/sbin/ping/
H A Dping.c1271 diffsec(struct timespec *timenow, argument
1274 if (timenow->tv_sec == 0)
1276 return (timenow->tv_sec - then->tv_sec)
1277 * 1.0 + (timenow->tv_nsec - then->tv_nsec) / 1000000000.0;
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/bio/
H A Dbss_dgram.c273 struct timeval timenow, timeleft; local
298 get_current_time(&timenow);
302 timeleft.tv_sec -= timenow.tv_sec;
303 timeleft.tv_usec -= timenow.tv_usec;
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/dns/
H A Dzone.c2975 isc_time_t timenow, timethen; local
2985 TIME_NOW(&timenow);
2987 DNS_ZONE_TIME_ADD(&timenow, then - now, &timethen);
2989 timethen = timenow;
2990 if (isc_time_compare(&zone->refreshkeytime, &timenow) < 0 ||
2996 zone_settimer(zone, &timenow);
4038 isc_stdtime_t timenow; local
4042 isc_stdtime_get(&timenow);
4049 next.resign - timenow);
8429 isc_time_t timenow, timethe local
12364 isc_time_t timenow; local
15408 isc_time_t timenow; local
[all...]

Completed in 327 milliseconds