Lines Matching refs:IsPresent

1009     VerifyOrExit(mKeyRecord.IsPresent());  in Unregister()
1452 VerifyOrExit(mKeyRecord.IsPresent(), error = kErrorNotFound); in CopyKeyInfoTo()
1492 …ore::HostEntry::IsEmpty(void) const { return !mAddrRecord.IsPresent() && !mKeyRecord.IsPresent(); } in IsEmpty()
1543 VerifyOrExit(mAddrRecord.IsPresent()); in Unregister()
1782 if (mAddrRecord.IsPresent() && (mAddrRecord.GetTtl() > 0)) in AppendNsecRecordTo()
1787 if (mKeyRecord.IsPresent() && (mKeyRecord.GetTtl() > 0)) in AppendNsecRecordTo()
1822 VerifyOrExit(mAddrRecord.IsPresent(), error = kErrorNotFound); in CopyInfoTo()
1915 …e::ServiceEntry::IsEmpty(void) const { return !mPtrRecord.IsPresent() && !mKeyRecord.IsPresent(); } in IsEmpty()
2017 VerifyOrExit(mPtrRecord.IsPresent()); in Unregister()
2650 if (mSrvRecord.IsPresent() && (mSrvRecord.GetTtl() > 0)) in AppendNsecRecordTo()
2655 if (mTxtRecord.IsPresent() && (mTxtRecord.GetTtl() > 0)) in AppendNsecRecordTo()
2660 if (mKeyRecord.IsPresent() && (mKeyRecord.GetTtl() > 0)) in AppendNsecRecordTo()
2749 VerifyOrExit(mPtrRecord.IsPresent(), error = kErrorNotFound); in CopyInfoTo()
2805 return !mPtrRecord.IsPresent(); in Matches()
4711 bool Core::CacheRecordInfo::ShouldExpire(TimeMilli aNow) const { return IsPresent() && (GetExpireTi… in ShouldExpire()
4715 VerifyOrExit(IsPresent()); in UpdateStateAfterQuery()
4737 VerifyOrExit(IsPresent()); in UpdateQueryAndFireTimeOn()
4764 return IsPresent() && ((aNow - mLastRxTime) > TimeMilli::SecToMsec(GetClampedTtl()) / 2); in LessThanHalfTtlRemains()
4772 VerifyOrExit(IsPresent()); in GetRemainingTtl()
5286 VerifyOrExit((ptrEntry != nullptr) && ptrEntry->mRecord.IsPresent()); in ProcessResponseRecord()
5308 if (ptrEntry->mRecord.IsPresent() && IsActive()) in ProcessResponseRecord()
5337 if (!ptrEntry.mRecord.IsPresent() || ptrEntry.mRecord.LessThanHalfTtlRemains(aNow)) in PreparePtrQuestion()
5465 if (ptrEntry.mRecord.IsPresent()) in ReportResultsTo()
5587 return !mRecord.IsPresent() || mRecord.LessThanHalfTtlRemains(TimerMilli::GetNow()); in ShouldStartInitialQueries()
5653 VerifyOrExit(mRecord.IsPresent()); in ProcessResponseRecord()
5661 if (!mRecord.IsPresent() || !NameMatch(mHostName, hostName)) in ProcessResponseRecord()
5667 if (!mRecord.IsPresent() || (mPort != srv.GetPort())) in ProcessResponseRecord()
5673 if (!mRecord.IsPresent() || (mPriority != srv.GetPriority())) in ProcessResponseRecord()
5679 if (!mRecord.IsPresent() || (mWeight != srv.GetWeight())) in ProcessResponseRecord()
5693 if (mRecord.IsPresent()) in ProcessResponseRecord()
5754 if (mRecord.IsPresent()) in ReportResultTo()
5786 aInfo.mHasCachedResults = mRecord.IsPresent(); in CopyInfoTo()
5843 VerifyOrExit(mRecord.IsPresent()); in ProcessResponseRecord()
5854 if (!mRecord.IsPresent() || (mTxtData.GetLength() != txt.GetLength()) || in ProcessResponseRecord()
5869 if (mRecord.IsPresent()) in ProcessResponseRecord()
5941 if (mRecord.IsPresent()) in ReportResultTo()
5971 aInfo.mHasCachedResults = mRecord.IsPresent(); in CopyInfoTo()
6105 if (entry.mRecord.IsPresent()) in ConstructResult()
6119 if (!entry.mRecord.IsPresent()) in ConstructResult()
6333 return !mRecord.IsPresent(); in Matches()