Home
last modified time | relevance | path

Searched refs:GetName (Results 1 – 8 of 8) sorted by relevance

/openthread-latest/tests/unit/
Dtest_linked_list.cpp67 const char *GetName(void) const { return mName; } in GetName() function
105 VerifyOrQuit(aList->ContainsMatching(argEntry->GetName())); in VerifyLinkedListContent()
111 VerifyOrQuit(aList->FindMatchingWithPrev(prev, argEntry->GetName()) == argEntry); in VerifyLinkedListContent()
178 VerifyOrQuit(list.FindMatchingWithPrev(prev, d.GetName()) == &d); in TestLinkedList()
182 VerifyOrQuit(list.FindMatchingWithPrev(prev, b.GetName()) == &b); in TestLinkedList()
189 …VerifyOrQuit(list.FindMatchingWithPrev(prev, e.GetName()) == nullptr, "succeeded for a missing ent… in TestLinkedList()
240 VerifyOrQuit(list.RemoveMatching(a.GetName()) == &a); in TestLinkedList()
247 VerifyOrQuit(list.RemoveMatching(a.GetName()) == nullptr, "succeeded for missing entry"); in TestLinkedList()
257 VerifyOrQuit(list.FindMatching(b.GetName()) == nullptr, "succeeded when empty"); in TestLinkedList()
259 VerifyOrQuit(list.RemoveMatching(a.GetName()) == nullptr, "succeeded when empty"); in TestLinkedList()
Dtest_dso.cpp127 const char *GetName(void) const { return mName; } in GetName() function in ot::Dns::Connection
382 Log(" otPlatDsoConnect(%s, aPeer:0x%04x)", conn.GetName(), peerSockAddr.GetPort()); in otPlatDsoConnect()
404 Log(" Signalling `Connected` on peer connection (%s)", peerConn->GetName()); in otPlatDsoConnect()
407 Log(" Signalling `Connected` on connection (%s)", conn.GetName()); in otPlatDsoConnect()
419 Log(" otPlatDsoSend(%s), message-len:%u", conn.GetName(), AsCoreType(aMessage).GetLength()); in otPlatDsoSend()
433 Log(" Sending the message to peer connection (%s)", peerConn->GetName()); in otPlatDsoSend()
449 Log(" otPlatDsoDisconnect(%s, mode:%s)", conn.GetName(), in otPlatDsoDisconnect()
464 Log(" Peer connection (%s) already disconnected", peerConn->GetName()); in otPlatDsoDisconnect()
468 Log(" Signaling `Disconnected` on peer connection (%s)", peerConn->GetName()); in otPlatDsoDisconnect()
496 Log(" Accepting and returning connection %s", rval->GetName()); in AcceptConnection()
Dtest_heap_string.cpp76 Heap::String GetName(void) in GetName() function
139 SuccessOrQuit(str1.Set(GetName()), "Set() with move semantics failed"); in TestHeapString()
Dtest_srp_adv_proxy.cpp180 VerifyOrQuit(StringMatch(srpClient.GetHostInfo().GetName(), aService->mHostName)); in otPlatDnssdRegisterService()
189 VerifyOrQuit(StringMatch(service.GetName(), aService->mServiceType)); in otPlatDnssdRegisterService()
230 VerifyOrQuit(StringMatch(srpClient.GetHostInfo().GetName(), aService->mHostName)); in otPlatDnssdUnregisterService()
237 VerifyOrQuit(StringMatch(service.GetName(), aService->mServiceType)); in otPlatDnssdUnregisterService()
276 …VerifyOrQuit(StringMatch(AsCoreType(aInstance).Get<Srp::Client>().GetHostInfo().GetName(), aHost->… in otPlatDnssdRegisterHost()
301 …VerifyOrQuit(StringMatch(AsCoreType(aInstance).Get<Srp::Client>().GetHostInfo().GetName(), aHost->… in otPlatDnssdUnregisterHost()
330 …VerifyOrQuit(StringMatch(AsCoreType(aInstance).Get<Srp::Client>().GetHostInfo().GetName(), aKey->m… in otPlatDnssdRegisterKey()
341 VerifyOrQuit(StringMatch(service.GetName(), aKey->mServiceType)); in otPlatDnssdRegisterKey()
372 …VerifyOrQuit(StringMatch(AsCoreType(aInstance).Get<Srp::Client>().GetHostInfo().GetName(), aKey->m… in otPlatDnssdUnregisterKey()
383 VerifyOrQuit(StringMatch(service.GetName(), aKey->mServiceType)); in otPlatDnssdUnregisterKey()
/openthread-latest/src/core/net/
Ddns_client.hpp290 Error GetName(char *aNameBuffer, uint16_t aNameBufferSize) const;
353 return GetName(aNameBuffer, aNameBufferSize); in GetHostName()
411 return GetName(aNameBuffer, aNameBufferSize); in GetServiceName()
Dsrp_client.cpp108 … VerifyOrExit((GetName() != nullptr) && (GetInstanceName() != nullptr), error = kErrorInvalidArgs); in Init()
129 GetInstanceName(), GetName()); in SetState()
167 …return StringMatch(GetName(), aOther.GetName()) && StringMatch(GetInstanceName(), aOther.GetInstan… in Matches()
1387 SuccessOrExit(error = Dns::Name::AppendMultipleLabels(aService.GetName(), *aInfo.mMessage)); in AppendServiceInstruction()
1615 … SuccessOrExit(error = Dns::Name::AppendMultipleLabels(mHostInfo.GetName(), *aInfo.mMessage)); in AppendHostName()
1630 SuccessOrExit(error = Dns::Name::AppendMultipleLabels(mHostInfo.GetName(), *aInfo.mMessage)); in AppendHostName()
2020 VerifyOrExit(mHostInfo.GetName() != nullptr); in UpdateState()
Dsrp_client.hpp128 const char *GetName(void) const { return mName; } in GetName() function in ot::Srp::Client::HostInfo
190 const char *GetName(void) const { return mName; } in GetName() function in ot::Srp::Client::Service
Ddns_client.cpp147 Error Client::Response::GetName(char *aNameBuffer, uint16_t aNameBufferSize) const in GetName() function in ot::Dns::Client::Response