Searched refs:GetFor (Results 1 – 2 of 2) sorted by relevance
271 if ((rxMessagePtr->GetRecordCounts().GetFor(kQuestionSection) == 0) && in HandleMessage()272 (rxMessagePtr->GetRecordCounts().GetFor(kAnswerSection) > 0)) in HandleMessage()3549 SuccessOrAssert(mQuestions.ReserveCapacity(mRecordCounts.GetFor(kQuestionSection))); in Init()3551 for (numRecords = mRecordCounts.GetFor(kQuestionSection); numRecords > 0; numRecords--) in Init()3578 …sOrExit(error = ResourceRecord::ParseRecords(*aMessagePtr, offset, mRecordCounts.GetFor(section))); in Init()3589 numRecords = mRecordCounts.GetFor(kAuthoritySection); in Init()3889 uint16_t numRecords = mRecordCounts.GetFor(kAnswerSection); in ShouldSuppressKnownAnswer()3975 uint16_t numRecords = mRecordCounts.GetFor(kAnswerSection); in ShouldSuppressKnownAnswer()4107 for (uint16_t numRecords = mRecordCounts.GetFor(section); numRecords > 0; numRecords--) in IterateOnAllRecordsInResponse()
808 uint16_t GetFor(Section aSection) const { return mCounts[aSection]; } in GetFor() function in ot::Dns::Multicast::Core::RecordCounts