/openthread-3.4.0/src/core/common/ |
D | appender.cpp | 51 Error Appender::AppendBytes(const void *aBuffer, uint16_t aLength) in AppendBytes() function in ot::Appender 58 error = mShared.mMessage.mMessage->AppendBytes(aBuffer, aLength); in AppendBytes() 62 error = mShared.mFrameBuilder.AppendBytes(aBuffer, aLength); in AppendBytes()
|
D | appender.hpp | 107 Error AppendBytes(const void *aBuffer, uint16_t aLength); 124 return AppendBytes(&aObject, sizeof(ObjectType)); in Append()
|
D | frame_builder.hpp | 184 Error AppendBytes(const void *aBuffer, uint16_t aLength); 228 return AppendBytes(&aObject, sizeof(ObjectType)); in Append()
|
D | heap_data.hpp | 160 …Error CopyBytesTo(Message &aMessage) const { return aMessage.AppendBytes(mData.GetBytes(), mData.G… in CopyBytesTo()
|
D | tlvs.cpp | 57 Error Tlv::AppendTo(Message &aMessage) const { return aMessage.AppendBytes(this, static_cast<uint16… in AppendTo() 307 error = aMessage.AppendBytes(aValue, aLength); in AppendTlv()
|
D | frame_builder.cpp | 77 Error FrameBuilder::AppendBytes(const void *aBuffer, uint16_t aLength) in AppendBytes() function in ot::FrameBuilder
|
D | message.hpp | 665 Error AppendBytes(const void *aBuf, uint16_t aLength); 700 return AppendBytes(&aObject, sizeof(ObjectType)); in Append() 718 return AppendBytes(aData.GetBytes(), aData.GetLength()); in AppendData()
|
/openthread-3.4.0/tests/unit/ |
D | test_message.cpp | 234 SuccessOrQuit(message2->AppendBytes(zeroBuffer, dstOffset)); in TestMessage() 273 SuccessOrQuit(message->AppendBytes(writeBuffer, kMaxSize)); in TestMessage() 294 SuccessOrQuit(message->AppendBytes(writeBuffer, kMaxSize)); in TestMessage() 342 SuccessOrQuit(bufAppender.AppendBytes(kData1, sizeof(kData1))); in TestAppender() 349 SuccessOrQuit(bufAppender.AppendBytes(kData2, sizeof(kData2))); in TestAppender() 360 SuccessOrQuit(bufAppender.AppendBytes(kData1, sizeof(kData1))); in TestAppender() 385 SuccessOrQuit(msgAppender.AppendBytes(kData1, sizeof(kData1))); in TestAppender() 391 SuccessOrQuit(msgAppender.AppendBytes(kData2, sizeof(kData2))); in TestAppender()
|
D | test_hmac_sha256.cpp | 119 …SuccessOrQuit(message->AppendBytes(testCase.mData, static_cast<uint16_t>(strlen(testCase.mData)))); in TestSha256() 262 SuccessOrQuit(message->AppendBytes(testCase.mData, testCase.mDataLength)); in TestHmacSha256()
|
D | test_nat64.cpp | 102 SuccessOrQuit(msg->AppendBytes(aIp6Message, N)); in TestCase6To4() 129 SuccessOrQuit(msg->AppendBytes(aIp4Message, N)); in TestCase4To6()
|
D | test_aes.cpp | 152 SuccessOrQuit(message->AppendBytes(test, kHeaderLength + kPayloadLength)); in TestMacCommandFrame()
|
D | test_frame_builder.cpp | 133 SuccessOrQuit(frameBuilder.AppendBytes(zeroBuffer, sizeof(kData2))); in TestFrameBuilder()
|
D | test_lowpan.cpp | 85 SuccessOrQuit(aMessage.AppendBytes(mExtHeader.mData, mExtHeader.mLength)); in GetUncompressedStream() 98 SuccessOrQuit(aMessage.AppendBytes(mPayload.mData, mPayload.mLength)); in GetUncompressedStream() 130 SuccessOrQuit(message->AppendBytes(mockNetworkData, sizeof(mockNetworkData))); in Init() 205 SuccessOrQuit(compressedMsg->AppendBytes(result, compressBytes)); in Test()
|
D | test_checksum.cpp | 435 SuccessOrQuit(message->AppendBytes(kExampleIcmpMessage, sizeof(kExampleIcmpMessage))); in TestIcmp4MessageChecksum()
|
/openthread-3.4.0/src/core/thread/ |
D | lowpan.cpp | 179 SuccessOrExit(error = aFrameBuilder.AppendBytes(aIpAddr.mFields.m8 + 13, 3)); in CompressMulticast() 186 SuccessOrExit(error = aFrameBuilder.AppendBytes(aIpAddr.mFields.m8 + 11, 5)); in CompressMulticast() 197 SuccessOrExit(error = aFrameBuilder.AppendBytes(aIpAddr.mFields.m8 + 1, 2)); in CompressMulticast() 198 SuccessOrExit(error = aFrameBuilder.AppendBytes(aIpAddr.mFields.m8 + 12, 4)); in CompressMulticast() 297 SuccessOrExit(error = aFrameBuilder.AppendBytes(ip6HeaderBytes + 2, 2)); in Compress() 304 SuccessOrExit(error = aFrameBuilder.AppendBytes(ip6HeaderBytes + 2, 2)); in Compress() 544 …SuccessOrExit(error = aFrameBuilder.AppendBytes(&udpHeader, Ip6::Udp::Header::kLengthFieldOffset)); in CompressUdp() 863 SuccessOrExit(aMessage.AppendBytes(hdr, sizeof(hdr))); in DecompressExtensionHeader() 867 SuccessOrExit(aMessage.AppendBytes(aFrameData.GetBytes(), len)); in DecompressExtensionHeader() 877 SuccessOrExit(aMessage.AppendBytes(&padOption, padOption.GetSize())); in DecompressExtensionHeader() [all …]
|
D | network_data_notifier.cpp | 203 … SuccessOrExit(error = message->AppendBytes(aNetworkData->GetBytes(), aNetworkData->GetLength())); in SendServerDataNotification()
|
D | mlr_manager.cpp | 403 SuccessOrExit(error = message->AppendBytes(aAddresses, sizeof(Ip6::Address) * aAddressNum)); in SendMulticastListenerRegistrationMessage()
|
/openthread-3.4.0/src/core/meshcop/ |
D | dataset_manager.cpp | 274 SuccessOrExit(error = message->AppendBytes(dataset.GetBytes(), dataset.GetSize())); in SendSet() 451 error = aMessage.AppendBytes(dataset.GetBytes(), dataset.GetSize()); in AppendDatasetToMessage() 502 SuccessOrExit(error = message->AppendBytes(aTlvs, aLength)); in SendSetRequest() 603 SuccessOrExit(error = message->AppendBytes(datasetTlvs, length)); in SendGetRequest() 608 SuccessOrExit(error = message->AppendBytes(aTlvTypes, aLength)); in SendGetRequest()
|
D | commissioner.cpp | 691 SuccessOrExit(error = message->AppendBytes(aTlvs, aLength)); in SendMgmtCommissionerGetRequest() 760 SuccessOrExit(error = message->AppendBytes(aTlvs, aLength)); in SendMgmtCommissionerSetRequest()
|
/openthread-3.4.0/src/core/net/ |
D | dns_types.cpp | 162 error = aMessage.AppendBytes(aLabel, aLength); in AppendLabel() 1011 error = aAppender.AppendBytes(mValue, mValueLength); in AppendTo() 1023 error = aAppender.AppendBytes(mKey, keyLength); in AppendTo() 1032 SuccessOrExit(error = aAppender.AppendBytes(mKey, keyLength)); in AppendTo() 1034 error = aAppender.AppendBytes(mValue, mValueLength); in AppendTo()
|
D | icmp6.cpp | 203 SuccessOrExit(error = replyMessage->AppendBytes(&icmp6Header, Header::kDataFieldOffset)); in HandleEchoRequest()
|
/openthread-3.4.0/src/core/api/ |
D | message_api.cpp | 73 return AsCoreType(aMessage).AppendBytes(aBuf, aLength); in otMessageAppend()
|
/openthread-3.4.0/src/core/coap/ |
D | coap_secure.cpp | 184 SuccessOrExit(message->AppendBytes(aBuf, aLength)); in HandleDtlsReceive()
|
D | coap_message.cpp | 169 SuccessOrExit(error = AppendBytes(header, headerLength)); in AppendOption() 170 SuccessOrExit(error = AppendBytes(aValue, aLength)); in AppendOption()
|
D | coap.cpp | 234 SuccessOrExit(error = aMessage.AppendBytes(buf, bufLen)); in SendMessage() 256 SuccessOrExit(error = aMessage.AppendBytes(buf, bufLen)); in SendMessage() 716 SuccessOrExit(error = request->AppendBytes(buf, bufLen)); in SendNextBlock1Request() 960 SuccessOrExit(error = response->AppendBytes(buf, bufLen)); in ProcessBlock2Request()
|