Lines Matching refs:timenow
679 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()
739 m->SuppressProbes = m->timenow; in InitializeLastAPTime()
745 if (m->SuppressProbes - m->timenow > mDNSPlatformOneSecond * 8) in InitializeLastAPTime()
748 m->SuppressProbes - m->timenow, in InitializeLastAPTime()
749 m->NextScheduledProbe - m->timenow, in InitializeLastAPTime()
750 m->NextScheduledQuery - m->timenow, in InitializeLastAPTime()
752 m->SuppressSending - m->timenow); in InitializeLastAPTime()
753 …m->SuppressProbes = NonZeroTime(m->timenow + DefaultProbeIntervalForTypeUnique/2 + mDNSRandom(Defa… in InitializeLastAPTime()
758 else if (m->SuppressProbes && m->SuppressProbes - m->timenow >= 0) in InitializeLastAPTime()
761 rr->LastAPTime = m->timenow - rr->ThisAPInterval; in InitializeLastAPTime()
769 if (rr->AddressProxy.type) rr->LastAPTime = m->timenow; in InitializeLastAPTime()
778 rr->LastAPTime = m->timenow - rr->ThisAPInterval + mDNSPlatformOneSecond * 10; in InitializeLastAPTime()
782 rr->LastMCTime = m->timenow; in InitializeLastAPTime()
921 rr->LastAPTime = m->timenow - rr->ThisAPInterval; in ActivateUnicastRegistration()
1330 m->ProbeFailTime = m->timenow; in RecordProbeFailure()
1341 m->SuppressProbes = NonZeroTime(m->timenow + mDNSPlatformOneSecond * 5); in RecordProbeFailure()
1529 rr->LastAPTime = m->timenow - rr->ThisAPInterval; in mDNS_Deregister_internal()
1531 if (m->NextScheduledResponse - (m->timenow + mDNSPlatformOneSecond/10) >= 0) in mDNS_Deregister_internal()
1532 m->NextScheduledResponse = (m->timenow + mDNSPlatformOneSecond/10); in mDNS_Deregister_internal()
2048 m->NextScheduledResponse = m->timenow + 0x78000000; in SendResponses()
2075 while (rr->NextUpdateCredit && m->timenow - rr->NextUpdateCredit >= 0) GrantUpdateCredit(rr); in SendResponses()
2076 if (TimeToAnnounceThisRecord(rr, m->timenow)) in SendResponses()
2099 r2->LastAPTime = m->timenow; in SendResponses()
2111 rr->LastAPTime = m->timenow; in SendResponses()
2141 TimeToAnnounceThisRecord(rr, m->timenow + rr->ThisAPInterval/2) && in SendResponses()
2205 rr->LastMCTime = m->timenow; in SendResponses()
2208 if (TimeToAnnounceThisRecord(rr, m->timenow + rr->ThisAPInterval/2)) in SendResponses()
2213 rr->LastAPTime = m->timenow; in SendResponses()
2221 rr->LastMCTime = m->timenow; in SendResponses()
2286 else if (rr->LastAPTime == m->timenow) numAnnounce++; else numAnswer++; in SendResponses()
2324 if (a->LastMCTime == m->timenow && in SendResponses()
2350 rr->LastMCTime = m->timenow; in SendResponses()
2424 …if (!m->SuppressSending) m->SuppressSending = NonZeroTime(m->timenow + (mDNSPlatformOneSecond+9)/1… in SendResponses()
2477 verbosedebugf("SendResponses: Next in %ld ticks", m->NextScheduledResponse - m->timenow); in SendResponses()
2524 …(rr->NextRequiredQuery - m->timenow) / mDNSPlatformOneSecond, CacheCheckGracePeriod(rr), CRDisplay… in SetNextCacheCheckTimeForRecord()
2543 if (RRExpireTime(rr) - m->timenow > (mDNSs32)((interval * 4) / 3)) in mDNS_Reconfirm_internal()
2550 rr->TimeRcvd = m->timenow - (mDNSs32)interval * 3; in mDNS_Reconfirm_internal()
2555 RRExpireTime(rr) - m->timenow, CRDisplayString(m, rr), rr->CRActiveQuestion); in mDNS_Reconfirm_internal()
2590 …rr->TimeRcvd + TicksTTL(rr)/2 - m->timenow > // and its half-way-to-expiry time is at least 1 s… in BuildQuestion()
2620 if (ucast) q->ExpectUnicastResp = NonZeroTime(m->timenow); in BuildQuestion()
2628 rr->LastUnansweredTime = m->timenow; in BuildQuestion()
2810 if (TimeToSendThisQuestion(q, m->timenow + q->ThisQInterval/10)) in AccelerateThisQuery()
2814 if (TimeToSendThisQuestion(q, m->timenow + q->ThisQInterval/2)) in AccelerateThisQuery()
2824 rr->TimeRcvd + TicksTTL(rr)/2 - m->timenow >= 0 && // and it is less than half-way to expiry in AccelerateThisQuery()
2825 …rr->NextRequiredQuery - (m->timenow + q->ThisQInterval) > 0)// and we'll ask at least once again b… in AccelerateThisQuery()
2868 if (m->timenow + TicksTTL(cr)/50 - cr->NextRequiredQuery >= 0) in SendQueries()
2872 …ExpireDupSuppressInfoOnInterface(q->DupSuppress, m->timenow - TicksTTL(cr)/20, cr->resrec.Interfac… in SendQueries()
2876 …else if (!mDNSOpaque16IsZero(q->TargetQID)) { q->LastQTime = m->timenow - q->ThisQInterval; cr… in SendQueries()
2891 if (q->Target.type && (q->SendQNow || TimeToSendThisQuestion(q, m->timenow))) in SendQueries()
2907 q->LastQTime = m->timenow; in SendQueries()
2908 q->LastQTxTime = m->timenow; in SendQueries()
2911 q->ExpectUnicastResp = NonZeroTime(m->timenow); in SendQueries()
2913 …e if (mDNSOpaque16IsZero(q->TargetQID) && !q->Target.type && TimeToSendThisQuestion(q, m->timenow)) in SendQueries()
2938 m->NextScheduledQuery = m->timenow + 0x78000000; in SendQueries()
2947 if (m->timenow - (q->LastQTime + (q->ThisQInterval/2)) >= 0) in SendQueries()
2976 q->LastQTime = m->timenow; in SendQueries()
2981 ExpireDupSuppressInfo(q->DupSuppress, m->timenow - q->ThisQInterval/2); in SendQueries()
2983 q->LastQTxTime = m->timenow; in SendQueries()
2994 m->NextScheduledProbe = m->timenow + 0x78000000; in SendQueries()
3006 if (m->timenow - (ar->LastAPTime + ar->ThisAPInterval) < 0) in SendQueries()
3029 ar->LastAPTime = m->timenow; in SendQueries()
3062 ar->LastAPTime = m->timenow - DefaultAnnounceIntervalForTypeUnique; in SendQueries()
3139 mDNSu32 SecsSinceRcvd = ((mDNSu32)(m->timenow - ka->TimeRcvd)) / mDNSPlatformOneSecond; in SendQueries()
3201 …if (!m->SuppressSending) m->SuppressSending = NonZeroTime(m->timenow + (mDNSPlatformOneSecond+9)/1… in SendQueries()
3236 if (m->timenow + TicksTTL(cr)/50 - cr->NextRequiredQuery >= 0) in SendQueries()
3328 …if (!q->TimeoutQuestion || rr->resrec.RecordType != kDNSRecordTypePacketNegative || (m->timenow - … in AnswerCurrentQuestionWithResourceRecord()
3336 rr->LastUsed = m->timenow; in AnswerCurrentQuestionWithResourceRecord()
3357 q->LastQTime = m->timenow; in AnswerCurrentQuestionWithResourceRecord()
3358 q->LastQTxTime = m->timenow; in AnswerCurrentQuestionWithResourceRecord()
3488 …const mDNSs32 threshhold = m->timenow + mDNSPlatformOneSecond; // See if there are any records exp… in CheckForSoonToExpireRecords()
3489 const mDNSs32 start = m->timenow - 0x10000000; in CheckForSoonToExpireRecords()
3529 …q->ThisQInterval > InitialQuestionInterval * QuestionIntervalStep3 && m->timenow - q->LastQTxTime … in CacheRecordAdd()
3533 …q->LastQTime = m->timenow - InitialQuestionInterval + (mDNSs32)mDNSRandom((mDNSu32)mDNSPlatfo… in CacheRecordAdd()
3722 if (m->timenow - event >= 0) // If expired, delete it in CheckCacheExpiration()
3726 …m->timenow - rr->TimeRcvd, rr->resrec.rroriginalttl, rr->CRActiveQuestion, CRDisplayString(m, rr)); in CheckCacheExpiration()
3740 q->LastQTime = m->timenow - q->ThisQInterval; in CheckCacheExpiration()
3751 if (rr->DelayDelivery && rr->DelayDelivery - m->timenow > 0) in CheckCacheExpiration()
3758 if (m->timenow - rr->NextRequiredQuery < 0) // If not yet time for next query in CheckCacheExpiration()
3764 m->NextScheduledQuery = m->timenow; in CheckCacheExpiration()
3767 event = m->timenow + 0x3FFFFFFF; in CheckCacheExpiration()
3772 … (event - m->timenow) / mDNSPlatformOneSecond, CacheCheckGracePeriod(rr), CRDisplayString(m, rr)); in CheckCacheExpiration()
3908 mDNSu32 SecsSinceRcvd = ((mDNSu32)(m->timenow - rr->TimeRcvd)) / mDNSPlatformOneSecond; in AnswerNewQuestion()
3912 rr->resrec.rroriginalttl, SecsSinceRcvd, CRDisplayString(m, rr), m->timenow, rr->TimeRcvd); in AnswerNewQuestion()
3952 q->LastQTime = m->timenow - q->ThisQInterval; in AnswerNewQuestion()
4171 rr->TimeRcvd = m->timenow - mDNSPlatformOneSecond * 60; in mDNS_PurgeCacheResourceRecord()
4184 if (!m->timenow) LogMsg("mDNS_TimeNow: m->mDNS_busy is %ld but m->timenow not set", m->mDNS_busy); in mDNS_TimeNow()
4187 if (m->timenow) time = m->timenow; in mDNS_TimeNow()
4211 …if (m->SPSSocket && m->timenow - rr->TimeExpire < 0) // If proxy record not expired yet, update m-… in CheckProxyRecords()
4258 m->NextScheduledStopTime = m->timenow + 0x3FFFFFFF; in TimeoutQuestions()
4268 if (m->timenow - q->StopTime >= 0) in TimeoutQuestions()
4270 …LogInfo("TimeoutQuestions: question %##s timed out, time %d", q->qname.c, m->timenow - q->StopTime… in TimeoutQuestions()
4293 if (m->timenow - m->NextScheduledEvent >= 0) in mDNS_Execute()
4310 if (m->SuppressProbes && m->timenow - m->SuppressProbes >= 0) m->SuppressProbes = 0; in mDNS_Execute()
4313 …if (m->NumFailedProbes && m->timenow - m->ProbeFailTime >= mDNSPlatformOneSecond * 10) m->NumFaile… in mDNS_Execute()
4316 if (m->rrcache_size && m->timenow - m->NextCacheCheck >= 0) in mDNS_Execute()
4319 m->NextCacheCheck = m->timenow + 0x3FFFFFFF; in mDNS_Execute()
4322 if (m->timenow - m->rrcache_nextcheck[slot] >= 0) in mDNS_Execute()
4325 m->rrcache_nextcheck[slot] = m->timenow + 0x3FFFFFFF; in mDNS_Execute()
4340 debugf("m->NextCacheCheck %4d checked, next in %d", numchecked, m->NextCacheCheck - m->timenow); in mDNS_Execute()
4343 if (m->timenow - m->NextScheduledSPS >= 0) in mDNS_Execute()
4345 m->NextScheduledSPS = m->timenow + 0x3FFFFFFF; in mDNS_Execute()
4353 if (m->AnnounceOwner && m->timenow - m->AnnounceOwner >= 0) m->AnnounceOwner = 0; in mDNS_Execute()
4355 if (m->DelaySleep && m->timenow - m->DelaySleep >= 0) in mDNS_Execute()
4368 if (m->NewQuestions->DelayAnswering && m->timenow - m->NewQuestions->DelayAnswering < 0) break; in mDNS_Execute()
4474 …if (m->mDNSPlatformStatus == mStatus_NoError && (m->SuppressSending == 0 || m->timenow - m->Suppre… in mDNS_Execute()
4485 …if (m->timenow - m->NextScheduledQuery >= 0 || m->timenow - m->NextScheduledProbe >= 0) SendQuerie… in mDNS_Execute()
4486 if (m->timenow - m->NextScheduledQuery >= 0) in mDNS_Execute()
4490 m->timenow, m->NextScheduledQuery, m->timenow - m->NextScheduledQuery); in mDNS_Execute()
4491 m->NextScheduledQuery = m->timenow + mDNSPlatformOneSecond; in mDNS_Execute()
4493 if (ActiveQuestion(q) && m->timenow - NextQSendTime(q) >= 0) in mDNS_Execute()
4496 if (m->timenow - m->NextScheduledProbe >= 0) in mDNS_Execute()
4499 m->timenow, m->NextScheduledProbe, m->timenow - m->NextScheduledProbe); in mDNS_Execute()
4500 m->NextScheduledProbe = m->timenow + mDNSPlatformOneSecond; in mDNS_Execute()
4504 if (m->timenow - m->NextScheduledResponse >= 0) SendResponses(m); in mDNS_Execute()
4505 if (m->timenow - m->NextScheduledResponse >= 0) in mDNS_Execute()
4508 m->NextScheduledResponse = m->timenow + mDNSPlatformOneSecond; in mDNS_Execute()
4516 if (m->NextScheduledStopTime && m->timenow - m->NextScheduledStopTime >= 0) TimeoutQuestions(m); in mDNS_Execute()
4518 if (m->NextSRVUpdate && m->timenow - m->NextSRVUpdate >= 0) UpdateAllSRVRecords(m); in mDNS_Execute()
4519 if (m->timenow - m->NextScheduledNATOp >= 0) CheckNATMappings(m); in mDNS_Execute()
4520 if (m->timenow - m->NextuDNSEvent >= 0) uDNS_Tasks(m); in mDNS_Execute()
4621 question->LastQTime = m->timenow - question->ThisQInterval; in ActivateUnicastQuery()
4760 q->LastQTime = m->timenow - q->ThisQInterval; in mDNSCoreRestartQueries()
4762 ExpireDupSuppressInfo(q->DupSuppress, m->timenow); in mDNSCoreRestartQueries()
4763 m->NextScheduledQuery = m->timenow; in mDNSCoreRestartQueries()
4834 intf->NextSPSAttemptTime = m->timenow + mDNSPlatformOneSecond; in SendSPSRegistrationForOwner()
4859 …(id) && !AuthRecord_uDNS(rr) && mDNSSameOpaque16(rr->updateid, id) && m->timenow - (rr->LastAPTime… in SendSPSRegistrationForOwner()
4875 rr->LastAPTime = m->timenow; in SendSPSRegistrationForOwner()
4926 …intf->NextSPSAttemptTime = m->timenow + mDNSPlatformOneSecond * 10; // If successful, update Next… in SendSPSRegistrationForOwner()
4965 if (intf->NextSPSAttempt && intf->NextSPSAttemptTime == m->timenow + mDNSPlatformOneSecond * 10) in RetrySPSRegistrations()
4970 …if (!AuthRecord_uDNS(rr) && !mDNSOpaque16IsZero(rr->updateid) && m->timenow - (rr->LastAPTime + rr… in RetrySPSRegistrations()
4980 …if (intf->NextSPSAttempt && intf->NextSPSAttemptTime == m->timenow + mDNSPlatformOneSecond * 10 &&… in RetrySPSRegistrations()
5068 m->NextScheduledSPRetry = m->timenow; in BeginSleepProcessing()
5092 …intf->ifname, &intf->ip, NextQSendTime(&intf->NetWakeBrowse) - m->timenow, intf->NetWakeBrowse.Thi… in BeginSleepProcessing()
5098 intf->NextSPSAttemptTime = m->timenow + mDNSPlatformOneSecond; in BeginSleepProcessing()
5138 LogSPS("%s (old state %d) at %ld", sleep ? "Sleeping" : "Waking", m->SleepState, m->timenow); in mDNSCoreMachineSleep()
5157 …Sleep: Re-sleeping immediately after waking; will delay for %d ticks", m->DelaySleep - m->timenow); in mDNSCoreMachineSleep()
5163 m->SleepLimit = NonZeroTime(m->timenow + mDNSPlatformOneSecond * 10); in mDNSCoreMachineSleep()
5199 m->DelaySleep = NonZeroTime(m->timenow + mDNSPlatformOneSecond * 16); in mDNSCoreMachineSleep()
5219 m->NextSRVUpdate = NonZeroTime(m->timenow + mDNSPlatformOneSecond); in mDNSCoreMachineSleep()
5220 …("mDNSCoreMachineSleep waking: NextSRVUpdate in %d %d", m->NextSRVUpdate - m->timenow, m->timenow); in mDNSCoreMachineSleep()
5248 m->retryGetAddr = m->timenow + mDNSPlatformOneSecond * 5; in mDNSCoreMachineSleep()
5249 LogInfo("mDNSCoreMachineSleep: retryGetAddr in %d %d", m->retryGetAddr - m->timenow, m->timenow); in mDNSCoreMachineSleep()
5626 m->SuppressProbes = NonZeroTime(m->timenow + mDNSPlatformOneSecond); in ResolveSimultaneousProbe()
5700 if (owner->seq != rr->WakeUp.seq || m->timenow - rr->TimeRcvd > mDNSPlatformOneSecond * 60) in ClearProxyRecords()
5833 if (m->timenow - (rr->LastMCTime + mDNSPlatformOneSecond) >= 0 || in ProcessQuery()
5853 m->NextScheduledResponse = m->timenow; in ProcessQuery()
5887 if (cr->MPUnansweredQ == 0 || m->timenow - cr->MPLastUnansweredQT >= mDNSPlatformOneSecond) in ProcessQuery()
5893 cr->MPLastUnansweredQT = m->timenow; in ProcessQuery()
5907 …if (!q->Target.type && ActiveQuestion(q) && m->timenow - q->LastQTxTime > mDNSPlatformOneSecond / … in ProcessQuery()
5964 … LogMsg("Suppressed after%4d: %s", m->timenow - rr->ImmedAnswerMarkTime, ARDisplayString(m, rr)); in ProcessQuery()
5975 …if (ourcacherr && ourcacherr->MPExpectingKA && m->timenow - ourcacherr->MPLastUnansweredQT < mDNSP… in ProcessQuery()
6027 if (m->timenow - (rr->LastMCTime + TicksTTL(rr)/4) >= 0) in ProcessQuery()
6044 rr->ImmedAnswerMarkTime = m->timenow; in ProcessQuery()
6046 m->NextScheduledResponse = m->timenow; in ProcessQuery()
6087 …if (delayresponse && (!m->SuppressSending || (m->SuppressSending - m->timenow) < (delayresponse + … in ProcessQuery()
6092 …LogMsg("Current SuppressSending delay%5ld; require%5ld", m->SuppressSending - m->timenow, (delayre… in ProcessQuery()
6107 …m->SuppressSending = m->timenow + (delayresponse + (mDNSs32)mDNSRandom((mDNSu32)mDNSPlatformOneSec… in ProcessQuery()
6111 LogMsg("Set SuppressSending to %5ld", m->SuppressSending - m->timenow); in ProcessQuery()
6145 if (cr->UnansweredQueries == 0 || m->timenow - cr->LastUnansweredTime >= mDNSPlatformOneSecond) in ProcessQuery()
6148 cr->LastUnansweredTime = m->timenow; in ProcessQuery()
6163 if (RRExpireTime(cr) - m->timenow > 4 * mDNSPlatformOneSecond) in ProcessQuery()
6181 mDNSu32 remain = (mDNSu32)(RRExpireTime(cr) - m->timenow) / 4; in ProcessQuery()
6186 if (RRExpireTime(cr) - m->timenow > 4 * mDNSPlatformOneSecond) in ProcessQuery()
6208 i = RecordDupSuppressInfo(q->DupSuppress, m->timenow, InterfaceID, srcaddr->type); in ProcessQuery()
6332 …if (SrcLocal && q->ExpectUnicastResp && (mDNSu32)(m->timenow - q->ExpectUnicastResp) < (mDNSu32)(m… in ExpectingUnicastResponseForRecord()
6396 rr->TimeRcvd = m->timenow; in RefreshCacheRecord()
6558 rr->TimeRcvd = m->timenow - TicksTTL(rr) - 1; in mDNSCoreReceiveResponse()
6714 …wer == mDNSNULL) { rr->ImmedAnswer = InterfaceID; m->NextScheduledResponse = m->timenow; } in mDNSCoreReceiveResponse()
6715 …wer != InterfaceID) { rr->ImmedAnswer = mDNSInterfaceMark; m->NextScheduledResponse = m->timenow; } in mDNSCoreReceiveResponse()
6779 …if ((m->rec.r.resrec.RecordType & kDNSRecordTypePacketUniqueMask) && m->timenow - rr->LastMCTime >… in mDNSCoreReceiveResponse()
6780 { rr->ImmedAnswer = mDNSInterfaceMark; m->NextScheduledResponse = m->timenow; } in mDNSCoreReceiveResponse()
6850 rr->TimeRcvd = m->timenow; in mDNSCoreReceiveResponse()
6856 …NextCacheCheckEvent(rr) - m->timenow, slot, m->rrcache_nextcheck[slot] - m->timenow, m->NextCacheC… in mDNSCoreReceiveResponse()
6880 q->LastQTime = m->timenow; in mDNSCoreReceiveResponse()
6881 q->LastQTxTime = m->timenow; in mDNSCoreReceiveResponse()
6904 if (RRExpireTime(rr) - m->timenow > mDNSPlatformOneSecond) in mDNSCoreReceiveResponse()
6907 rr->TimeRcvd = m->timenow; in mDNSCoreReceiveResponse()
6921 const mDNSs32 delay = AddToCFList ? NonZeroTime(m->timenow + mDNSPlatformOneSecond) : in mDNSCoreReceiveResponse()
6973 …if (m->timenow - r2->TimeRcvd < mDNSPlatformOneSecond && RRExpireTime(r2) - m->timenow > mDNSPlatf… in mDNSCoreReceiveResponse()
6994 r2->TimeRcvd = m->timenow; in mDNSCoreReceiveResponse()
6998 …ache flush new %p age %d expire in %d %s", r1, m->timenow - r1->TimeRcvd, RRExpireTime(r1) - m->ti… in mDNSCoreReceiveResponse()
6999 …ache flush old %p age %d expire in %d %s", r2, m->timenow - r2->TimeRcvd, RRExpireTime(r2) - m->ti… in mDNSCoreReceiveResponse()
7019 …if (r2->TimeRcvd == m->timenow && r2->resrec.rroriginalttl == 1 && r2->UnansweredQueries == MaxUna… in mDNSCoreReceiveResponse()
7024 else if (RRExpireTime(r2) - m->timenow > mDNSPlatformOneSecond) in mDNSCoreReceiveResponse()
7030 r2->TimeRcvd = m->timenow - 1; in mDNSCoreReceiveResponse()
7063 if (RRExpireTime(rr) - m->timenow > 0) break; in mDNSCoreReceiveResponse()
7339 ar->TimeRcvd = m->timenow; in mDNSCoreReceiveUpdate()
7340 ar->TimeExpire = m->timenow + updatelease * mDNSPlatformOneSecond; in mDNSCoreReceiveUpdate()
7413 rr->expire = NonZeroTime(m->timenow + updatelease * mDNSPlatformOneSecond); in mDNSCoreReceiveUpdateR()
7430 if (m->SleepLimit) m->NextScheduledSPRetry = m->timenow; in mDNSCoreReceiveUpdateR()
7460 cr->TimeRcvd = m->timenow; in MakeNegativeCacheRecord()
7462 cr->NextRequiredQuery = m->timenow; in MakeNegativeCacheRecord()
7463 cr->LastUsed = m->timenow; in MakeNegativeCacheRecord()
7757 ptime = server->penaltyTime - m->timenow; in PenaltyTimeForServer()
7764 ptime, server->penaltyTime, m->timenow); in PenaltyTimeForServer()
7984 …mDNSVal16(curmatch->port), (curmatch->penaltyTime ? (curmatch->penaltyTime - m->timenow) : 0), ifn… in GetServerForName()
8014 …mDNSVal16(curmatch->port), (curmatch->penaltyTime ? (curmatch->penaltyTime - m->timenow) : 0), ifn… in GetServerForQuestion()
8376 question->LastQTime = m->timenow; in mDNS_StartQuery_internal()
8398 question->LastQTxTime = m->timenow; in mDNS_StartQuery_internal()
8438 question->qname.c, DNSTypeName(question->qtype), question->InterfaceID, m->timenow, in mDNS_StartQuery_internal()
8439 NextQSendTime(question) - m->timenow, in mDNS_StartQuery_internal()
8440 question->DelayAnswering ? question->DelayAnswering - m->timenow : 0, in mDNS_StartQuery_internal()
8445 question->DelayAnswering - m->timenow, question->qname.c, DNSTypeName(question->qtype)); in mDNS_StartQuery_internal()
8473 question->StopTime = NonZeroTime(m->timenow + timeout * mDNSPlatformOneSecond); in mDNS_StartQuery_internal()
8513 …question->StopTime = NonZeroTime(m->timenow + GetTimeoutForMcastQuestion(m, question) * mDNSPlatfo… in mDNS_StartQuery_internal()
9125 while (rr->NextUpdateCredit && m->timenow - rr->NextUpdateCredit >= 0) GrantUpdateCredit(rr); in mDNS_Update()
9127 …if (!rr->NextUpdateCredit) rr->NextUpdateCredit = NonZeroTime(m->timenow + kUpdateCreditRefreshInt… in mDNS_Update()
9132 …if (!rr->UpdateBlocked) rr->UpdateBlocked = NonZeroTime(m->timenow + (mDNSs32)delay * mDNSPlatform… in mDNS_Update()
9377 set->NextSPSAttemptTime = m->timenow; in InitializeNetWakeState()
9505 …if (!m->SuppressSending) m->SuppressSending = m->timenow + (mDNSs32)mDNSRandom((mDNSu32)InitialQue… in mDNS_RegisterInterface()
9511 m->SuppressProbes - NonZeroTime(m->timenow + probedelay) < 0) in mDNS_RegisterInterface()
9512 m->SuppressProbes = NonZeroTime(m->timenow + probedelay); in mDNS_RegisterInterface()
9518 m->AnnounceOwner = NonZeroTime(m->timenow + 60 * mDNSPlatformOneSecond); in mDNS_RegisterInterface()
9536 q->LastQTime = m->timenow - q->ThisQInterval + qdelay; in mDNS_RegisterInterface()
10178 if (rr->AnnounceCount == InitialAnnounceCount && m->timenow - rr->LastAPTime >= 0) in RestartARPProbing()
10184 …rr->LastAPTime = m->timenow + mDNSPlatformOneSecond * 9; // Send first packet at rr->LastAPTim… in RestartARPProbing()
10578 m->NextScheduledSPS = m->timenow; in mDNSCoreBeSleepProxyServer_internal()
10615 mDNSs32 timenow; in mDNS_Init() local
10645 timenow = mDNS_TimeNow_NoLock(m); in mDNS_Init()
10647 m->timenow = 0; // MUST only be set within mDNS_Lock/mDNS_Unlock section in mDNS_Init()
10648 m->timenow_last = timenow; in mDNS_Init()
10649 m->NextScheduledEvent = timenow; in mDNS_Init()
10650 m->SuppressSending = timenow; in mDNS_Init()
10651 m->NextCacheCheck = timenow + 0x78000000; in mDNS_Init()
10652 m->NextScheduledQuery = timenow + 0x78000000; in mDNS_Init()
10653 m->NextScheduledProbe = timenow + 0x78000000; in mDNS_Init()
10654 m->NextScheduledResponse = timenow + 0x78000000; in mDNS_Init()
10655 m->NextScheduledNATOp = timenow + 0x78000000; in mDNS_Init()
10656 m->NextScheduledSPS = timenow + 0x78000000; in mDNS_Init()
10657 m->NextScheduledStopTime = timenow + 0x78000000; in mDNS_Init()
10665 m->AnnounceOwner = NonZeroTime(timenow + 60 * mDNSPlatformOneSecond); in mDNS_Init()
10685 m->rrcache_nextcheck[slot] = timenow + 0x78000000;; in mDNS_Init()
10711 m->NextuDNSEvent = timenow + 0x78000000; in mDNS_Init()
10712 m->NextSRVUpdate = timenow + 0x78000000; in mDNS_Init()
10737 m->retryGetAddr = timenow + 0x78000000; // absolute time when we retry in mDNS_Init()
10742 m->LastNATReplyLocalTime = timenow; in mDNS_Init()
11322 rr->LastAPTime = m->timenow - rr->ThisAPInterval; in DeregLoop()
11339 m->ShutdownTime = NonZeroTime(m->timenow + mDNSPlatformOneSecond * 5); in mDNS_StartExit()
11411 if (m->NextScheduledResponse - m->timenow < mDNSPlatformOneSecond) in mDNS_StartExit()
11413 m->NextScheduledResponse = m->timenow; in mDNS_StartExit()