Home
last modified time | relevance | path

Searched refs:NonZeroTime (Results 1 – 4 of 4) sorted by relevance

/external/mdnsresponder/mDNSCore/
DmDNS.c727 …m->SuppressProbes = NonZeroTime(m->timenow + DefaultProbeIntervalForTypeUnique/2 + mDNSRandom(Defa… in InitializeLastAPTime()
731 m->SuppressProbes = NonZeroTime(m->NextScheduledProbe); in InitializeLastAPTime()
737 m->SuppressProbes = NonZeroTime(m->NextScheduledQuery); in InitializeLastAPTime()
743 m->SuppressProbes = NonZeroTime(m->SuppressSending); in InitializeLastAPTime()
753 …m->SuppressProbes = NonZeroTime(m->timenow + DefaultProbeIntervalForTypeUnique/2 + mDNSRandom(Defa… in InitializeLastAPTime()
1341 m->SuppressProbes = NonZeroTime(m->timenow + mDNSPlatformOneSecond * 5); in RecordProbeFailure()
2022 else rr->NextUpdateCredit = NonZeroTime(rr->NextUpdateCredit + kUpdateCreditRefreshInterval); in GrantUpdateCredit()
2424 …if (!m->SuppressSending) m->SuppressSending = NonZeroTime(m->timenow + (mDNSPlatformOneSecond+9)/1… in SendResponses()
2620 if (ucast) q->ExpectUnicastResp = NonZeroTime(m->timenow); in BuildQuestion()
2911 q->ExpectUnicastResp = NonZeroTime(m->timenow); in SendQueries()
[all …]
DuDNS.c207 q->qDNSServer->penaltyTime = NonZeroTime(m->timenow + DNSSERVER_PENALTY_TIME); in PenalizeDNSServer()
536 n->ExpiryTime = NonZeroTime(m->timenow + lease * mDNSPlatformOneSecond); in natTraversalHandlePortMapReply()
2190 m->NextSRVUpdate = NonZeroTime(m->timenow); in HostnameCallback()
2227 m->NextSRVUpdate = NonZeroTime(m->timenow + 5 * mDNSPlatformOneSecond); in FoundStaticHostname()
2234 m->NextSRVUpdate = NonZeroTime(m->timenow); in FoundStaticHostname()
2241 m->NextSRVUpdate = NonZeroTime(m->timenow); in FoundStaticHostname()
2331 m->NextSRVUpdate = NonZeroTime(m->timenow); in mDNS_RemoveDynDNSHostName()
2414 m->NextSRVUpdate = NonZeroTime(m->timenow); in mDNS_SetPrimaryInterfaceInfo()
4359 CreateNewCacheEntry(m, slot, cg, NonZeroTime(m->timenow)); in uDNS_CheckCurrentQuestion()
4360 ScheduleNextCacheCheckTime(m, slot, NonZeroTime(m->timenow)); in uDNS_CheckCurrentQuestion()
DmDNSEmbeddedAPI.h2037 extern mDNSs32 NonZeroTime(mDNSs32 t);
2050 mDNSinline mDNSs32 NonZeroTime(mDNSs32 t) { if (t) return(t); else return(1); } in NonZeroTime() function
/external/mdnsresponder/mDNSShared/
Duds_daemon.c2355 …request->u.resolve.ReportTime = NonZeroTime(mDNS_TimeNow(&mDNSStorage) + 130 * mDNSPlat… in handle_resolve_request()
4710 else if (!r->time_blocked) r->time_blocked = NonZeroTime(now); in udsserver_idle()