Searched refs:message2 (Results 1 – 4 of 4) sorted by relevance
/openthread-3.7.0/tests/unit/ |
D | test_message.cpp | 52 Message *message2; in TestMessage() local 167 VerifyOrQuit((message2 = messagePool->Allocate(Message::kTypeIp6)) != nullptr); in TestMessage() 168 SuccessOrQuit(message2->SetLength(kMaxSize)); in TestMessage() 176 message2->WriteBytes(0, zeroBuffer, kMaxSize); in TestMessage() 178 message2->WriteBytesFromMessage(writeOffset, *message, readOffset, length); in TestMessage() 180 SuccessOrQuit(message2->Read(0, readBuffer, kMaxSize)); in TestMessage() 187 VerifyOrQuit(message->CompareBytes(readOffset, *message2, writeOffset, length)); in TestMessage() 188 VerifyOrQuit(message2->CompareBytes(writeOffset, *message, readOffset, length)); in TestMessage() 260 IgnoreError(message2->SetLength(0)); in TestMessage() 261 SuccessOrQuit(message2->AppendBytes(zeroBuffer, dstOffset)); in TestMessage() [all …]
|
D | test_dns.cpp | 643 Message *message2; in TestDnsCompressedName() local 1001 VerifyOrQuit((message2 = messagePool->Allocate(Message::kTypeIp6)) != nullptr); in TestDnsCompressedName() 1009 SuccessOrQuit(dnsName1.AppendTo(*message2)); in TestDnsCompressedName() 1010 SuccessOrQuit(dnsName2.AppendTo(*message2)); in TestDnsCompressedName() 1011 SuccessOrQuit(dnsName3.AppendTo(*message2)); in TestDnsCompressedName() 1012 SuccessOrQuit(dnsName4.AppendTo(*message2)); in TestDnsCompressedName() 1014 SuccessOrQuit(message2->Read(0, buffer, message2->GetLength())); in TestDnsCompressedName() 1015 DumpBuffer("message2", buffer, message2->GetLength()); in TestDnsCompressedName() 1020 SuccessOrQuit(Dns::Name::CompareName(*message2, offset, dnsName1)); in TestDnsCompressedName() 1021 SuccessOrQuit(Dns::Name::CompareName(*message2, offset, dnsName2)); in TestDnsCompressedName() [all …]
|
D | test_spinel_buffer.cpp | 220 Message *message2; in WriteTestFrame2() local 228 message2 = sMessagePool->Allocate(Message::kTypeIp6); in WriteTestFrame2() 229 VerifyOrQuit(message2 != nullptr, "Null Message"); in WriteTestFrame2() 230 SuccessOrQuit(message2->SetLength(sizeof(sHelloText))); in WriteTestFrame2() 231 message2->Write(0, sHelloText); in WriteTestFrame2() 236 SuccessOrQuit(aNcpBuffer.InFrameFeedMessage(message2)); in WriteTestFrame2()
|
/openthread-3.7.0/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_lms.data | 46 # message2 = bytes.fromhex('92d036bde8c45b8bb5dea2a072560b1e29fc4bb7dc4549ce90bccee8a6e962a1') 47 # sig2 = private_key.sign(message2)[4:] 48 # print('lms_verify_test:"{}":"{}":"{}":0'.format(message2.hex(), sig2.hex(), public_key.serialize(…
|