Searched refs:timenow (Results 1 - 11 of 11) sorted by relevance
/external/mdnsresponder/mDNSCore/ |
H A D | mDNS.c | 679 if ((rr->LastAPTime + rr->ThisAPInterval) - m->timenow > mDNSPlatformOneSecond * 10) 681 LogMsg("SetNextAnnounceProbeTime: ProbeCount %d Next in %d %s", rr->ProbeCount, (rr->LastAPTime + rr->ThisAPInterval) - m->timenow, ARDisplayString(m, rr)); 682 LogMsg("SetNextAnnounceProbeTime: m->SuppressProbes %d m->timenow %d diff %d", m->SuppressProbes, m->timenow, m->SuppressProbes - m->timenow); 690 if (m->NextScheduledProbe - m->timenow < 0) 691 m->NextScheduledProbe = m->timenow; 719 if (m->SuppressProbes == 0 || m->SuppressProbes - m->timenow < 0) 727 m->SuppressProbes = NonZeroTime(m->timenow + DefaultProbeIntervalForTypeUnique/2 + mDNSRandom(DefaultProbeIntervalForTypeUnique/2)); 732 if (m->SuppressProbes - m->timenow < 10615 mDNSs32 timenow; local [all...] |
H A D | uDNS.c | 63 rr->LastAPTime = m->timenow; 67 mDNSs32 remaining = rr->expire - m->timenow; 77 rr->ThisAPInterval/mDNSPlatformOneSecond, (rr->expire - m->timenow)/mDNSPlatformOneSecond, ARDisplayString(m, rr)); 83 rr->ThisAPInterval/mDNSPlatformOneSecond, (rr->expire - m->timenow)/mDNSPlatformOneSecond, ARDisplayString(m, rr)); 151 (*p)->lasttest = m->timenow - INIT_UCAST_POLL_INTERVAL; 207 q->qDNSServer->penaltyTime = NonZeroTime(m->timenow + DNSSERVER_PENALTY_TIME); 244 q->LastQTime = m->timenow - q->ThisQInterval; 314 if ((*p)->deltime && m->timenow - (*p)->deltime >= 0 && AutoTunnelUnregistered(*p)) 461 n->retryPortMap = m->timenow; 467 m->NextScheduledNATOp = m->timenow; // Nee [all...] |
H A D | DNSCommon.c | 2150 rr->TimeRcvd = m ? m->timenow : 0; 2152 rr->NextRequiredQuery = m ? m->timenow : 0; // Will be updated to the real value when we call SetNextCacheCheckTimeForRecord() 2153 rr->LastUsed = m ? m->timenow : 0; 2681 // If this is an initial entry into the mDNSCore code, set m->timenow 2682 // else, if this is a re-entrant entry into the mDNSCore code, m->timenow should already be set 2685 if (m->timenow) 2686 LogMsg("%s: mDNS_Lock: m->timenow already set (%ld/%ld)", functionname, m->timenow, mDNS_TimeNow_NoLock(m)); 2687 m->timenow = mDNS_TimeNow_NoLock(m); 2688 if (m->timenow [all...] |
H A D | mDNSEmbeddedAPI.h | 991 // if m->timenow < ExpiryTime then we have an active mapping, and we'll renew halfway to expiry 992 // if m->timenow >= ExpiryTime then our mapping has expired, and we're trying to create one 1810 mDNSs32 timenow; // The time that this particular activation of the mDNS code started member in struct:mDNS_struct 2535 // Code that's protected by the main mDNS lock should just use the m->timenow value
|
/external/openssl/ssl/ |
H A D | d1_lib.c | 320 struct timeval timenow; local 329 get_current_time(&timenow); 332 if (s->d1->next_timeout.tv_sec < timenow.tv_sec || 333 (s->d1->next_timeout.tv_sec == timenow.tv_sec && 334 s->d1->next_timeout.tv_usec <= timenow.tv_usec)) 342 timeleft->tv_sec -= timenow.tv_sec; 343 timeleft->tv_usec -= timenow.tv_usec;
|
/external/ppp/pppd/ |
H A D | main.c | 1248 static struct timeval timenow; /* Current time */ variable in typeref:struct:timeval 1268 gettimeofday(&timenow, NULL); 1269 newp->c_time.tv_sec = timenow.tv_sec + secs; 1270 newp->c_time.tv_usec = timenow.tv_usec + usecs; 1322 if (gettimeofday(&timenow, NULL) < 0) 1324 if (!(p->c_time.tv_sec < timenow.tv_sec 1325 || (p->c_time.tv_sec == timenow.tv_sec 1326 && p->c_time.tv_usec <= timenow.tv_usec))) 1347 gettimeofday(&timenow, NULL); 1348 tvp->tv_sec = callout->c_time.tv_sec - timenow [all...] |
/external/mdnsresponder/mDNSShared/ |
H A D | PlatformCommon.c | 164 mDNSs32 t = mDNSStorage.timenow ? mDNSStorage.timenow : mDNSPlatformClockDivisor ? mDNS_TimeNow_NoLock(&mDNSStorage) : 0;
|
H A D | dnsextd.c | 2846 struct timeval timenow, timeout, EventTS, tablecheck = { 0, 0 }; local 2867 if (gettimeofday(&timenow, NULL)) { LogErr("Run", "gettimeofday"); return -1; } 2871 if (timenow.tv_sec - EventTS.tv_sec >= 5) // if we've been waiting 5 seconds for a "quiet" period to send 2878 if (tablecheck.tv_sec && timenow.tv_sec - tablecheck.tv_sec >= 0) 2880 if (!tablecheck.tv_sec) tablecheck.tv_sec = timenow.tv_sec + EXPIRATION_INTERVAL; 2881 timeout.tv_sec = tablecheck.tv_sec - timenow.tv_sec;
|
H A D | uds_daemon.c | 2744 if ((m->timenow - question->StopTime) >= 0) 4539 LogMsgNoIdent("m->timenow %08X %11d", now, now);
|
/external/openssl/crypto/bio/ |
H A D | bss_dgram.c | 263 struct timeval timenow, timeleft; local 283 get_current_time(&timenow); 287 timeleft.tv_sec -= timenow.tv_sec; 288 timeleft.tv_usec -= timenow.tv_usec;
|
/external/mdnsresponder/mDNSPosix/ |
H A D | NetMonitor.c | 306 entry->LastQuery = m->timenow; 332 if (entry->NumQueries && m->timenow - entry->LastQuery < mDNSPlatformOneSecond) return;
|
Completed in 231 milliseconds