Home
last modified time | relevance | path

Searched refs:GetPriority (Results 1 – 18 of 18) sorted by relevance

/openthread-2.7.6/tests/unit/
Dtest_priority_queue.cpp76 if (msgArg->GetPriority() != curPriority) in VerifyPriorityQueueContent()
78 for (curPriority--; curPriority != msgArg->GetPriority(); curPriority--) in VerifyPriorityQueueContent()
192 VerifyOrQuit(msgLow[i]->GetPriority() == ot::Message::kPriorityLow); in TestPriorityQueue()
193 VerifyOrQuit(msgNor[i]->GetPriority() == ot::Message::kPriorityNormal); in TestPriorityQueue()
194 VerifyOrQuit(msgHigh[i]->GetPriority() == ot::Message::kPriorityHigh); in TestPriorityQueue()
195 VerifyOrQuit(msgNet[i]->GetPriority() == ot::Message::kPriorityNet); in TestPriorityQueue()
Dtest_dns.cpp986 VerifyOrQuit(srvRecord.GetPriority() == kSrvPriority); in TestHeaderAndResourceRecords()
990 srvRecord.GetPort(), srvRecord.GetWeight(), srvRecord.GetPriority(), name); in TestHeaderAndResourceRecords()
1029 srvRecord.GetPort(), srvRecord.GetWeight(), srvRecord.GetPriority()); in TestHeaderAndResourceRecords()
1093 srvRecord.GetPort(), srvRecord.GetWeight(), srvRecord.GetPriority()); in TestHeaderAndResourceRecords()
/openthread-2.7.6/src/core/thread/
Dmesh_forwarder_mtd.cpp59 if (message->GetPriority() < static_cast<uint8_t>(aPriority)) in EvictMessage()
Dmesh_forwarder_ftd.cpp194 if (message->GetPriority() != priority) in EvictMessage()
221 if (message->GetPriority() != priority) in EvictMessage()
945 aPriority = entry->GetPriority(); in GetFragmentPriority()
Dmesh_forwarder.hpp360 Message::Priority GetPriority(void) const { return mPriority; } in GetPriority() function in ot::MeshForwarder::FragmentPriorityList::Entry
Dmesh_forwarder.cpp1717 return Message::PriorityToString(aMessage.GetPriority()); in MessagePriorityToString()
/openthread-2.7.6/src/core/common/
Dmessage.cpp95 Message *message = New(aType, aReserveHeader, aSettings.GetPriority()); in New()
217 curBuffer->SetNextBuffer(GetMessagePool()->NewBuffer(GetPriority())); in ResizeMessage()
420 …VerifyOrExit((newBuffer = GetMessagePool()->NewBuffer(GetPriority())) != nullptr, error = kErrorNo… in PrependBytes()
661 …VerifyOrExit((messageCopy = GetMessagePool()->New(GetType(), GetReserved(), GetPriority())) != nul… in Clone()
906 priority = aMessage.GetPriority(); in Enqueue()
935 priority = aMessage.GetPriority(); in Dequeue()
943 if ((&aMessage == tail) || (tail->GetPriority() != priority)) in Dequeue()
Dmessage.hpp419 Priority GetPriority(void) const { return mPriority; } in GetPriority() function in ot::Message::Settings
571 Priority GetPriority(void) const { return static_cast<Priority>(GetMetadata().mPriority); } in GetPriority() function in ot::Message
/openthread-2.7.6/src/core/api/
Dsrp_server_api.cpp190 return static_cast<const Srp::Server::Service *>(aService)->GetPriority(); in otSrpServerServiceGetPriority()
/openthread-2.7.6/src/core/utils/
Dhistory_tracker.cpp146 entry->mPriority = aMessage.GetPriority(); in RecordMessage()
/openthread-2.7.6/src/core/net/
Dsrp_client.hpp230 uint16_t GetPriority(void) const { return mPriority; } in GetPriority() function in ot::Srp::Client::Service
Dsrp_server.hpp227 uint16_t GetPriority(void) const { return mDescription.mPriority; } in GetPriority() function in ot::Srp::Server::Service
Dsrp_client.cpp136 GetWeight(), GetPriority(), GetNumTxtEntries()); in SetState()
914 srv.SetPriority(aService.GetPriority()); in AppendServiceInstructions()
Ddns_types.hpp1766 uint16_t GetPriority(void) const { return HostSwap16(mPriority); } in GetPriority() function in ot::Dns::SrvRecord
Ddns_client.cpp244 aServiceInfo.mPriority = srvRecord.GetPriority(); in FindServiceInfo()
Ddnssd_server.cpp718 … service->GetPriority(), service->GetWeight(), in ResolveQuestionBySrp()
Dip6.cpp456 header.SetDscp(PriorityToDscp(aMessage.GetPriority())); in SendDatagram()
Dsrp_server.cpp828 desc->mPriority = srvRecord.GetPriority(); in ProcessServiceDescriptionInstructions()