Home
last modified time | relevance | path

Searched refs:mValueLength (Results 1 – 7 of 7) sorted by relevance

/openthread-latest/include/openthread/
Ddns.h93 uint16_t mValueLength; ///< Number of bytes in `mValue` buffer. member
/openthread-latest/src/core/net/
Ddns_types.cpp1066 aEntry.mValueLength = length - index; in GetNextEntry()
1079 aEntry.mValueLength = length; in GetNextEntry()
1091 aEntry.mValueLength = 0; in GetNextEntry()
1116 VerifyOrExit((mValue != nullptr) && (mValueLength != 0)); in AppendTo()
1117 error = aAppender.AppendBytes(mValue, mValueLength); in AppendTo()
1135 …VerifyOrExit(mValueLength + keyLength + sizeof(char) <= kMaxKeyValueEncodedSize, error = kErrorInv… in AppendTo()
1137 …SuccessOrExit(error = aAppender.Append<uint8_t>(static_cast<uint8_t>(keyLength + mValueLength + si… in AppendTo()
1140 error = aAppender.AppendBytes(mValue, mValueLength); in AppendTo()
Ddns_types.hpp1200 mValueLength = aValueLength; in Init()
/openthread-latest/tests/unit/
Dtest_dns.cpp1651 …\"%s\" valueLen:%d\n", txtEntry.mKey != nullptr ? txtEntry.mKey : "(null)", txtEntry.mValueLength); in TestDnsTxtEntry()
1660 …VerifyOrQuit(txtEntry.mValueLength == expectedKeyLength + expectedTxtEntry.mValueLength + sizeof(c… in TestDnsTxtEntry()
1665 expectedTxtEntry.mValueLength) == 0); in TestDnsTxtEntry()
1670 VerifyOrQuit(txtEntry.mValueLength == expectedTxtEntry.mValueLength); in TestDnsTxtEntry()
1672 if (txtEntry.mValueLength != 0) in TestDnsTxtEntry()
1674 … VerifyOrQuit(memcmp(txtEntry.mValue, expectedTxtEntry.mValue, txtEntry.mValueLength) == 0); in TestDnsTxtEntry()
1690 txtEntry.mValueLength = sizeof(kValue1); in TestDnsTxtEntry()
1712 txtEntry.mValueLength = 0; in TestDnsTxtEntry()
1735 …VerifyOrQuit((txtEntry.mValueLength == 1) && (txtEntry.mValue[0] == 'B'), "GetNextEntry() got inco… in TestDnsTxtEntry()
1740 …VerifyOrQuit((txtEntry.mValueLength == 1) && (txtEntry.mValue[0] == 'E'), "GetNextEntry() got inco… in TestDnsTxtEntry()
/openthread-latest/src/core/radio/
Dtrel_interface.cpp277 VerifyOrExit(entry.mValueLength == sizeof(Mac::ExtAddress), error = kErrorParse); in ParsePeerInfoTxtData()
284 VerifyOrExit(entry.mValueLength == sizeof(MeshCoP::ExtendedPanId), error = kErrorParse); in ParsePeerInfoTxtData()
/openthread-latest/src/cli/
Dcli_utils.cpp245 OutputBytes(entry.mValue, entry.mValueLength); in OutputDnsTxtData()
255 OutputBytes(entry.mValue, entry.mValueLength); in OutputDnsTxtData()
Dcli_srp_client.cpp748 entry->mTxtEntry.mValueLength = size; in ProcessServiceAdd()
750 SuccessOrExit(error = aArgs[6].ParseAsHexString(entry->mTxtEntry.mValueLength, txtBuffer)); in ProcessServiceAdd()