/openthread-latest/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 | 101 Error AppendBytes(const void *aBuffer, uint16_t aLength); 117 return AppendBytes(&aObject, sizeof(ObjectType)); in Append()
|
D | frame_builder.hpp | 170 Error AppendBytes(const void *aBuffer, uint16_t aLength); 211 return AppendBytes(&aObject, sizeof(ObjectType)); in Append()
|
D | heap_data.hpp | 148 …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() 292 error = aMessage.AppendBytes(aValue, aLength); in AppendTlv()
|
D | frame_builder.cpp | 71 Error FrameBuilder::AppendBytes(const void *aBuffer, uint16_t aLength) in AppendBytes() function in ot::FrameBuilder
|
D | message.hpp | 738 Error AppendBytes(const void *aBuf, uint16_t aLength); 783 return AppendBytes(&aObject, sizeof(ObjectType)); in Append() 800 return AppendBytes(aData.GetBytes(), aData.GetLength()); in AppendData()
|
/openthread-latest/tests/unit/ |
D | test_message.cpp | 287 SuccessOrQuit(message2->AppendBytes(zeroBuffer, dstOffset)); in TestMessage() 326 SuccessOrQuit(message->AppendBytes(writeBuffer, kMaxSize)); in TestMessage() 347 SuccessOrQuit(message->AppendBytes(writeBuffer, kMaxSize)); in TestMessage() 395 SuccessOrQuit(bufAppender.AppendBytes(kData1, sizeof(kData1))); in TestAppender() 402 SuccessOrQuit(bufAppender.AppendBytes(kData2, sizeof(kData2))); in TestAppender() 413 SuccessOrQuit(bufAppender.AppendBytes(kData1, sizeof(kData1))); in TestAppender() 438 SuccessOrQuit(msgAppender.AppendBytes(kData1, sizeof(kData1))); in TestAppender() 444 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 | 103 SuccessOrQuit(msg->AppendBytes(aIp6Message, N)); in TestCase6To4() 130 SuccessOrQuit(msg->AppendBytes(aIp4Message, N)); in TestCase4To6()
|
D | test_aes.cpp | 154 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 | 83 SuccessOrQuit(aMessage.AppendBytes(mExtHeader.mData, mExtHeader.mLength)); in GetUncompressedStream() 96 SuccessOrQuit(aMessage.AppendBytes(mPayload.mData, mPayload.mLength)); in GetUncompressedStream() 128 SuccessOrQuit(message->AppendBytes(mockNetworkData, sizeof(mockNetworkData))); in Init() 205 SuccessOrQuit(compressedMsg->AppendBytes(result, compressBytes)); in Test()
|
/openthread-latest/src/core/thread/ |
D | lowpan.cpp | 168 SuccessOrExit(error = aFrameBuilder.AppendBytes(aIpAddr.mFields.m8 + 13, 3)); in CompressMulticast() 175 SuccessOrExit(error = aFrameBuilder.AppendBytes(aIpAddr.mFields.m8 + 11, 5)); in CompressMulticast() 186 SuccessOrExit(error = aFrameBuilder.AppendBytes(aIpAddr.mFields.m8 + 1, 2)); in CompressMulticast() 187 SuccessOrExit(error = aFrameBuilder.AppendBytes(aIpAddr.mFields.m8 + 12, 4)); in CompressMulticast() 286 SuccessOrExit(error = aFrameBuilder.AppendBytes(ip6HeaderBytes + 2, 2)); in Compress() 293 SuccessOrExit(error = aFrameBuilder.AppendBytes(ip6HeaderBytes + 2, 2)); in Compress() 534 …SuccessOrExit(error = aFrameBuilder.AppendBytes(&udpHeader, Ip6::Udp::Header::kLengthFieldOffset)); in CompressUdp() 853 SuccessOrExit(aMessage.AppendBytes(hdr, sizeof(hdr))); in DecompressExtensionHeader() 857 SuccessOrExit(aMessage.AppendBytes(aFrameData.GetBytes(), len)); in DecompressExtensionHeader() 867 SuccessOrExit(aMessage.AppendBytes(&padOption, padOption.GetSize())); in DecompressExtensionHeader() [all …]
|
D | network_data_notifier.cpp | 200 … SuccessOrExit(error = message->AppendBytes(aNetworkData->GetBytes(), aNetworkData->GetLength())); in SendServerDataNotification()
|
/openthread-latest/src/core/net/ |
D | nd6.cpp | 224 SuccessOrExit(AppendBytes(nullptr, aOptionSize)); in AppendOption() 231 Error TxMessage::AppendBytes(const uint8_t *aBytes, uint16_t aLength) in AppendBytes() function in ot::Ip6::Nd::TxMessage 259 SuccessOrExit(error = AppendBytes(aLinkLayerAddress.mAddress, aLinkLayerAddress.mLength)); in AppendLinkLayerOption()
|
D | nd6.hpp | 513 Error AppendBytes(const uint8_t *aBytes, uint16_t aLength); 540 return AppendBytes(reinterpret_cast<const uint8_t *>(&aObject), sizeof(ObjectType)); in Append()
|
D | dns_types.cpp | 218 error = aMessage.AppendBytes(aLabel, aLength); in AppendLabel() 1117 error = aAppender.AppendBytes(mValue, mValueLength); in AppendTo() 1129 error = aAppender.AppendBytes(mKey, keyLength); in AppendTo() 1138 SuccessOrExit(error = aAppender.AppendBytes(mKey, keyLength)); in AppendTo() 1140 error = aAppender.AppendBytes(mValue, mValueLength); in AppendTo()
|
D | icmp6.cpp | 198 SuccessOrExit(error = replyMessage->AppendBytes(&icmp6Header, Header::kDataFieldOffset)); in HandleEchoRequest()
|
/openthread-latest/src/core/radio/ |
D | ble_secure.cpp | 204 SuccessOrExit(error = mSendMessage->AppendBytes(aBuf, aLength)); in Send() 262 SuccessOrExit(error = message->AppendBytes(aBuf, aLength)); in HandleBleReceive() 362 SuccessOrExit(mReceivedMessage->AppendBytes(aBuf, aLength)); in HandleTlsReceive() 380 SuccessOrExit(mReceivedMessage->AppendBytes(aBuf, aLength)); in HandleTlsReceive() 385 SuccessOrExit(mReceivedMessage->AppendBytes(aBuf, (uint16_t)missingBytes)); in HandleTlsReceive()
|
/openthread-latest/src/core/coap/ |
D | coap_secure.cpp | 129 SuccessOrExit(message->AppendBytes(aBuf, aLength)); in HandleDtlsReceive()
|
D | coap_message.cpp | 165 SuccessOrExit(error = AppendBytes(header, headerLength)); in AppendOptionHeader() 178 SuccessOrExit(error = AppendBytes(aValue, aLength)); in AppendOption()
|
D | coap.cpp | 225 SuccessOrExit(error = aMessage.AppendBytes(buf, bufLen)); in SendMessage() 247 SuccessOrExit(error = aMessage.AppendBytes(buf, bufLen)); in SendMessage() 703 SuccessOrExit(error = request->AppendBytes(buf, bufLen)); in SendNextBlock1Request() 947 SuccessOrExit(error = response->AppendBytes(buf, bufLen)); in ProcessBlock2Request()
|
/openthread-latest/src/core/api/ |
D | message_api.cpp | 99 return AsCoreType(aMessage).AppendBytes(aBuf, aLength); in otMessageAppend()
|
/openthread-latest/src/core/meshcop/ |
D | dataset_updater.cpp | 108 SuccessOrExit(error = message->AppendBytes(aDataset.GetBytes(), aDataset.GetLength())); in RequestUpdate()
|