Searched refs:GetAsData (Results 1 – 12 of 12) sorted by relevance
43 VerifyOrQuit(aNetworkName.GetAsData().GetLength() == len); in CompareNetworkName()44 VerifyOrQuit(memcmp(aNetworkName.GetAsData().GetBuffer(), aNameString, len) == 0); in CompareNetworkName()92 len = networkName.GetAsData().CopyTo(buffer, 1); in TestNetworkName()98 len = networkName.GetAsData().CopyTo(buffer, sizeof(kName1) - 1); in TestNetworkName()104 len = networkName.GetAsData().CopyTo(buffer, sizeof(buffer)); in TestNetworkName()
370 bufAppender.GetAsData(data); in TestAppender()
54 NameData NetworkName::GetAsData(void) const in GetAsData() function in ot::MeshCoP::NetworkName106 …workName::operator==(const NetworkName &aOther) const { return GetAsData() == aOther.GetAsData(); } in operator ==()
139 NameData GetAsData(void) const;
353 NameData nameData = Get<NetworkNameManager>().GetNetworkName().GetAsData(); in GenerateLocal()
307 networkName.SetNetworkName(Get<NetworkNameManager>().GetNetworkName().GetAsData()); in PrepareJoinerEntrustMessage()
338 NameData nameData = aDatasetInfo.GetNetworkName().GetAsData(); in SetFrom()
165 void GetAsData(Data<kWithUint16Length> &aData) const;
87 void Appender::GetAsData(Data<kWithUint16Length> &aData) const in GetAsData() function in ot::Appender
1053 appender.GetAsData(aData); in AppendEntries()
783 beaconPayload->SetNetworkName(Get<MeshCoP::NetworkNameManager>().GetNetworkName().GetAsData()); in PrepareBeacon()
2842 networkNameTlv.SetNetworkName(Get<MeshCoP::NetworkNameManager>().GetNetworkName().GetAsData()); in SendDiscoveryResponse()