Home
last modified time | relevance | path

Searched refs:AppendBytes (Results 1 – 25 of 25) sorted by relevance

/openthread-2.7.6/tests/unit/
Dtest_hmac_sha256.cpp118 …SuccessOrQuit(message->AppendBytes(testCase.mData, static_cast<uint16_t>(strlen(testCase.mData)))); in TestSha256()
262 SuccessOrQuit(message->AppendBytes(testCase.mData, testCase.mDataLength)); in TestHmacSha256()
Dtest_message.cpp204 SuccessOrQuit(message2->AppendBytes(zeroBuffer, dstOffset)); in TestMessage()
Dtest_lowpan.cpp85 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()
/openthread-2.7.6/src/core/thread/
Dlink_metrics.cpp819 SuccessOrExit(error = aMessage.AppendBytes(&metric, metric.GetSize())); in AppendReportSubTlvToMessage()
828 SuccessOrExit(error = aMessage.AppendBytes(&metric, metric.GetSize())); in AppendReportSubTlvToMessage()
837 SuccessOrExit(error = aMessage.AppendBytes(&metric, metric.GetSize())); in AppendReportSubTlvToMessage()
846 SuccessOrExit(error = aMessage.AppendBytes(&metric, metric.GetSize())); in AppendReportSubTlvToMessage()
861 SuccessOrExit(error = aMessage.AppendBytes(&statusTlv, sizeof(statusTlv))); in AppendStatusSubTlvToMessage()
862 SuccessOrExit(error = aMessage.AppendBytes(&aStatus, sizeof(aStatus))); in AppendStatusSubTlvToMessage()
Denergy_scan_server.cpp190 SuccessOrExit(error = message->AppendBytes(mScanResults, mScanResultsLength)); in SendReport()
Dlowpan.cpp975 SuccessOrExit(aMessage.AppendBytes(hdr, sizeof(hdr))); in DecompressExtensionHeader()
979 SuccessOrExit(aMessage.AppendBytes(cur, len)); in DecompressExtensionHeader()
993 SuccessOrExit(aMessage.AppendBytes(&optionPad1, padLength)); in DecompressExtensionHeader()
998 SuccessOrExit(aMessage.AppendBytes(&optionPadN, padLength)); in DecompressExtensionHeader()
Dmle.cpp1045 SuccessOrExit(error = aMessage.AppendBytes(&header, header.GetLength())); in AppendHeader()
1297 SuccessOrExit(error = aMessage.AppendBytes(&entry, entry.GetLength())); in AppendAddressRegistration()
1317 SuccessOrExit(error = aMessage.AppendBytes(&entry, entry.GetLength())); in AppendAddressRegistration()
1352 SuccessOrExit(error = aMessage.AppendBytes(&entry, entry.GetLength())); in AppendAddressRegistration()
1383 SuccessOrExit(error = aMessage.AppendBytes(&entry, entry.GetLength())); in AppendAddressRegistration()
2161 SuccessOrExit(error = message->AppendBytes(aExtraTlvs, aExtraTlvsLength)); in SendDataRequest()
2582 SuccessOrExit(error = message->AppendBytes(aBuf, aLength)); in SendLinkProbe()
2637 SuccessOrExit(error = aMessage.AppendBytes(tag, sizeof(tag))); in SendMessage()
4521 SuccessOrExit(error = message->AppendBytes(&tlv, sizeof(tlv))); in SendLinkMetricsManagementRequest()
4522 SuccessOrExit(error = message->AppendBytes(aSubTlvs, aLength)); in SendLinkMetricsManagementRequest()
Dnetwork_data.cpp713 SuccessOrExit(error = message->AppendBytes(mTlvs, mLength)); in SendServerDataNotification()
Dmlr_manager.cpp414 SuccessOrExit(error = message->AppendBytes(aAddresses, sizeof(Ip6::Address) * aAddressNum)); in SendMulticastListenerRegistrationMessage()
Dnetwork_data_leader_ftd.cpp324 SuccessOrExit(error = message->AppendBytes(data, length)); in SendCommissioningGetResponse()
Dmle_router.cpp4079 SuccessOrExit(error = aMessage.AppendBytes(&entry, entry.GetLength())); in AppendChildAddresses()
/openthread-2.7.6/src/core/meshcop/
Ddataset_manager.cpp308 SuccessOrExit(error = message->AppendBytes(dataset.GetBytes(), dataset.GetSize())); in SendSet()
492 error = aMessage.AppendBytes(dataset.GetBytes(), dataset.GetSize()); in AppendDatasetToMessage()
546 SuccessOrExit(error = message->AppendBytes(aTlvs, aLength)); in SendSetRequest()
657 SuccessOrExit(error = message->AppendBytes(datasetTlvs, length)); in SendGetRequest()
662 SuccessOrExit(error = message->AppendBytes(aTlvTypes, aLength)); in SendGetRequest()
Dcommissioner.cpp709 SuccessOrExit(error = message->AppendBytes(aTlvs, aLength)); in SendMgmtCommissionerGetRequest()
783 SuccessOrExit(error = message->AppendBytes(aTlvs, aLength)); in SendMgmtCommissionerSetRequest()
Ddtls.cpp920 SuccessOrExit(error = message->AppendBytes(aBuf, aLength)); in HandleDtlsSend()
/openthread-2.7.6/src/core/common/
Dtlvs.cpp60 return aMessage.AppendBytes(this, static_cast<uint16_t>(GetSize())); in AppendTo()
266 error = aMessage.AppendBytes(aValue, aLength); in AppendTlv()
Dmessage.hpp650 Error AppendBytes(const void *aBuf, uint16_t aLength);
685 return AppendBytes(&aObject, sizeof(ObjectType)); in Append()
Dmessage.cpp379 Error Message::AppendBytes(const void *aBuf, uint16_t aLength) in AppendBytes() function in ot::Message
/openthread-2.7.6/src/core/net/
Ddns_types.cpp161 error = aMessage.AppendBytes(aLabel, aLength); in AppendLabel()
967 error = aMessage.AppendBytes(mValue, mValueLength); in AppendTo()
979 error = aMessage.AppendBytes(mKey, keyLength); in AppendTo()
988 SuccessOrExit(error = aMessage.AppendBytes(mKey, keyLength)); in AppendTo()
990 error = aMessage.AppendBytes(mValue, mValueLength); in AppendTo()
Ddnssd_server.cpp485 error = aMessage.AppendBytes(aTxtData, aTxtLength); in AppendTxtRecord()
Dip6.cpp93 if (message->AppendBytes(aData, aDataLength) != kErrorNone) in NewMessage()
/openthread-2.7.6/src/core/coap/
Dcoap_secure.cpp199 SuccessOrExit(message->AppendBytes(aBuf, aLength)); in HandleDtlsReceive()
Dcoap_message.cpp194 SuccessOrExit(error = AppendBytes(header, headerLength)); in AppendOption()
195 SuccessOrExit(error = AppendBytes(aValue, aLength)); in AppendOption()
Dcoap.cpp198 SuccessOrExit(error = aMessage.AppendBytes(buf, bufLen)); in SendMessage()
220 SuccessOrExit(error = aMessage.AppendBytes(buf, bufLen)); in SendMessage()
676 SuccessOrExit(error = request->AppendBytes(buf, bufLen)); in SendNextBlock1Request()
919 SuccessOrExit(error = response->AppendBytes(buf, bufLen)); in ProcessBlock2Request()
/openthread-2.7.6/src/core/api/
Dmessage_api.cpp101 return message.AppendBytes(aBuf, aLength); in otMessageAppend()
/openthread-2.7.6/src/core/backbone_router/
Dbbr_manager.cpp352 SuccessOrExit(error = message->AppendBytes(aAddresses, sizeof(Ip6::Address) * aAddressNum)); in SendBackboneMulticastListenerRegistration()