Home
last modified time | relevance | path

Searched refs:txtData (Results 1 – 3 of 3) sorted by relevance

/openthread-3.6.0/src/core/radio/
Dtrel_interface.cpp153 MutableData<kWithUint16Length> txtData; in RegisterService() local
162 txtData.Init(txtDataBuffer, sizeof(txtDataBuffer)); in RegisterService()
163 SuccessOrAssert(Dns::TxtEntry::AppendEntries(txtEntries, GetArrayLength(txtEntries), txtData)); in RegisterService()
169 …otPlatTrelRegisterService(&GetInstance(), mUdpPort, txtData.GetBytes(), static_cast<uint8_t>(txtDa… in RegisterService()
/openthread-3.6.0/src/cli/
Dcli_srp_server.cpp437 const uint8_t *txtData; in Process() local
478 txtData = otSrpServerServiceGetTxtData(service, &txtDataLength); in Process()
480 OutputDnsTxtData(txtData, txtDataLength); in Process()
/openthread-3.6.0/tests/unit/
Dtest_dns.cpp1533 uint8_t txtData[kMaxTxtDataSize]; in TestDnsTxtEntry() local
1549 data.Init(txtData, sizeof(txtData)); in TestDnsTxtEntry()
1551 VerifyOrQuit(data.GetBytes() == txtData); in TestDnsTxtEntry()
1554 DumpBuffer("txt data", txtData, txtDataLength); in TestDnsTxtEntry()
1558 VerifyOrQuit(message->CompareBytes(0, txtData, txtDataLength)); in TestDnsTxtEntry()
1563 VerifyOrQuit(memcmp(&txtData[index], encodedData.mData, encodedData.mLength) == 0); in TestDnsTxtEntry()
1567 iterator.Init(txtData, txtDataLength); in TestDnsTxtEntry()
1622 data.Init(txtData, sizeof(txtData)); in TestDnsTxtEntry()
1626 VerifyOrQuit(txtData[0] == 0, "Data is invalid with empty array"); in TestDnsTxtEntry()
1630 VerifyOrQuit(message->CompareBytes(0, txtData, txtDataLength)); in TestDnsTxtEntry()
[all …]