Home
last modified time | relevance | path

Searched refs:timenow (Results 1 – 11 of 11) sorted by relevance

/external/mdnsresponder/mDNSCore/
DmDNS.c679 if ((rr->LastAPTime + rr->ThisAPInterval) - m->timenow > mDNSPlatformOneSecond * 10) in SetNextAnnounceProbeTime()
681 …xt in %d %s", rr->ProbeCount, (rr->LastAPTime + rr->ThisAPInterval) - m->timenow, ARDisplayString(… in SetNextAnnounceProbeTime()
682 …ssProbes %d m->timenow %d diff %d", m->SuppressProbes, m->timenow, m->SuppressProbes - m->timenow); in SetNextAnnounceProbeTime()
690 if (m->NextScheduledProbe - m->timenow < 0) in SetNextAnnounceProbeTime()
691 m->NextScheduledProbe = m->timenow; in SetNextAnnounceProbeTime()
719 if (m->SuppressProbes == 0 || m->SuppressProbes - m->timenow < 0) in InitializeLastAPTime()
727 …m->SuppressProbes = NonZeroTime(m->timenow + DefaultProbeIntervalForTypeUnique/2 + mDNSRandom(Defa… in InitializeLastAPTime()
732 …if (m->SuppressProbes - m->timenow < 0) // Make sure we don't set m->SuppressProbes excessively i… in InitializeLastAPTime()
733 m->SuppressProbes = m->timenow; in InitializeLastAPTime()
738 …if (m->SuppressProbes - m->timenow < 0) // Make sure we don't set m->SuppressProbes excessively i… in InitializeLastAPTime()
[all …]
DuDNS.c63 rr->LastAPTime = m->timenow; in SetRecordRetry()
67 mDNSs32 remaining = rr->expire - m->timenow; in SetRecordRetry()
77 …rr->ThisAPInterval/mDNSPlatformOneSecond, (rr->expire - m->timenow)/mDNSPlatformOneSecond, ARDispl… in SetRecordRetry()
83 …rr->ThisAPInterval/mDNSPlatformOneSecond, (rr->expire - m->timenow)/mDNSPlatformOneSecond, ARDispl… in SetRecordRetry()
151 (*p)->lasttest = m->timenow - INIT_UCAST_POLL_INTERVAL; in mDNS_AddDNSServer()
207 q->qDNSServer->penaltyTime = NonZeroTime(m->timenow + DNSSERVER_PENALTY_TIME); in PenalizeDNSServer()
244 q->LastQTime = m->timenow - q->ThisQInterval; in PenalizeDNSServer()
314 if ((*p)->deltime && m->timenow - (*p)->deltime >= 0 && AutoTunnelUnregistered(*p)) in GetAuthInfoForName_internal()
461 n->retryPortMap = m->timenow; in RecreateNATMappings()
467 m->NextScheduledNATOp = m->timenow; // Need to send packets immediately in RecreateNATMappings()
[all …]
DDNSCommon.c2150 rr->TimeRcvd = m ? m->timenow : 0; in GetLargeResourceRecord()
2152 …rr->NextRequiredQuery = m ? m->timenow : 0; // Will be updated to the real value when we call Set… in GetLargeResourceRecord()
2153 rr->LastUsed = m ? m->timenow : 0; in GetLargeResourceRecord()
2685 if (m->timenow) in mDNS_Lock_()
2686 …LogMsg("%s: mDNS_Lock: m->timenow already set (%ld/%ld)", functionname, m->timenow, mDNS_TimeNow_N… in mDNS_Lock_()
2687 m->timenow = mDNS_TimeNow_NoLock(m); in mDNS_Lock_()
2688 if (m->timenow == 0) m->timenow = 1; in mDNS_Lock_()
2690 else if (m->timenow == 0) in mDNS_Lock_()
2693 m->timenow = mDNS_TimeNow_NoLock(m); in mDNS_Lock_()
2694 if (m->timenow == 0) m->timenow = 1; in mDNS_Lock_()
[all …]
DmDNSEmbeddedAPI.h1810 mDNSs32 timenow; // The time that this particular activation of the mDNS code started member
/external/openssl/ssl/
Dd1_lib.c320 struct timeval timenow; in dtls1_get_timeout() local
329 get_current_time(&timenow); in dtls1_get_timeout()
332 if (s->d1->next_timeout.tv_sec < timenow.tv_sec || in dtls1_get_timeout()
333 (s->d1->next_timeout.tv_sec == timenow.tv_sec && in dtls1_get_timeout()
334 s->d1->next_timeout.tv_usec <= timenow.tv_usec)) in dtls1_get_timeout()
342 timeleft->tv_sec -= timenow.tv_sec; in dtls1_get_timeout()
343 timeleft->tv_usec -= timenow.tv_usec; in dtls1_get_timeout()
/external/ppp/pppd/
Dmain.c1248 static struct timeval timenow; /* Current time */ variable
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) in calltimeout()
1324 if (!(p->c_time.tv_sec < timenow.tv_sec in calltimeout()
1325 || (p->c_time.tv_sec == timenow.tv_sec in calltimeout()
1326 && p->c_time.tv_usec <= timenow.tv_usec))) in calltimeout()
1347 gettimeofday(&timenow, NULL);
1348 tvp->tv_sec = callout->c_time.tv_sec - timenow.tv_sec;
[all …]
/external/mdnsresponder/mDNSShared/
DPlatformCommon.c164 …mDNSs32 t = mDNSStorage.timenow ? mDNSStorage.timenow : mDNSPlatformClockDivisor ? mDNS_TimeNow_No… in mDNSPlatformWriteLogMsg()
Ddnsextd.c2846 struct timeval timenow, timeout, EventTS, tablecheck = { 0, 0 }; in Run() local
2867 if (gettimeofday(&timenow, NULL)) { LogErr("Run", "gettimeofday"); return -1; } in Run()
2871 …if (timenow.tv_sec - EventTS.tv_sec >= 5) // if we've been waiting 5 seconds for a "quie… in Run()
2878 if (tablecheck.tv_sec && timenow.tv_sec - tablecheck.tv_sec >= 0) in Run()
2880 if (!tablecheck.tv_sec) tablecheck.tv_sec = timenow.tv_sec + EXPIRATION_INTERVAL; in Run()
2881 timeout.tv_sec = tablecheck.tv_sec - timenow.tv_sec; in Run()
Duds_daemon.c2744 if ((m->timenow - question->StopTime) >= 0) in queryrecord_result_callback()
/external/openssl/crypto/bio/
Dbss_dgram.c273 struct timeval timenow, timeleft; in dgram_adjust_rcv_timeout() local
298 get_current_time(&timenow); in dgram_adjust_rcv_timeout()
302 timeleft.tv_sec -= timenow.tv_sec; in dgram_adjust_rcv_timeout()
303 timeleft.tv_usec -= timenow.tv_usec; in dgram_adjust_rcv_timeout()
/external/mdnsresponder/mDNSPosix/
DNetMonitor.c306 entry->LastQuery = m->timenow; in SendUnicastQuery()
332 if (entry->NumQueries && m->timenow - entry->LastQuery < mDNSPlatformOneSecond) return; in AnalyseHost()