Home
last modified time | relevance | path

Searched defs:aLength (Results 1 – 25 of 107) sorted by relevance

12345

/openthread-latest/src/core/common/
Dframe_builder.cpp71 Error FrameBuilder::AppendBytes(const void *aBuffer, uint16_t aLength) in AppendBytes()
108 …r FrameBuilder::AppendBytesFromMessage(const Message &aMessage, uint16_t aOffset, uint16_t aLength) in AppendBytesFromMessage()
121 void *FrameBuilder::AppendLength(uint16_t aLength) in AppendLength()
133 void FrameBuilder::WriteBytes(uint16_t aOffset, const void *aBuffer, uint16_t aLength) in WriteBytes()
138 Error FrameBuilder::InsertBytes(uint16_t aOffset, const void *aBuffer, uint16_t aLength) in InsertBytes()
154 void FrameBuilder::RemoveBytes(uint16_t aOffset, uint16_t aLength) in RemoveBytes()
Doffset_range.cpp43 void OffsetRange::Init(uint16_t aOffset, uint16_t aLength) in Init()
63 void OffsetRange::AdvanceOffset(uint32_t aLength) in AdvanceOffset()
71 void OffsetRange::ShrinkLength(uint16_t aLength) { mLength = Min(mLength, aLength); } in ShrinkLength()
Dmessage.cpp218 Error Message::ResizeMessage(uint16_t aLength) in ResizeMessage()
276 Error Message::SetLength(uint16_t aLength) in SetLength()
378 Error Message::AppendBytes(const void *aBuf, uint16_t aLength) in AppendBytes()
395 Error Message::AppendBytesFromMessage(const Message &aMessage, uint16_t aOffset, uint16_t aLength) in AppendBytesFromMessage()
417 Error Message::PrependBytes(const void *aBuf, uint16_t aLength) in PrependBytes()
452 void Message::RemoveHeader(uint16_t aLength) in RemoveHeader()
469 void Message::RemoveHeader(uint16_t aOffset, uint16_t aLength) in RemoveHeader()
497 Error Message::InsertHeader(uint16_t aOffset, uint16_t aLength) in InsertHeader()
530 void Message::RemoveFooter(uint16_t aLength) { IgnoreError(SetLength(GetLength() - Min(aLength, Get… in RemoveFooter()
532 void Message::GetFirstChunk(uint16_t aOffset, uint16_t &aLength, Chunk &aChunk) const in GetFirstChunk()
[all …]
Ddata.hpp121 void Init(const void *aBuffer, LengthType aLength) in Init()
173 void SetLength(LengthType aLength) { mLength = aLength; } in SetLength()
275 void Init(void *aBuffer, LengthType aLength) { Base::Init(aBuffer, aLength); } in Init()
335 Error CopyBytesFrom(const uint8_t *aBuffer, LengthType aLength) in CopyBytesFrom()
Dframe_data.cpp87 Error FrameData::ReadBytes(void *aBuffer, uint16_t aLength) in ReadBytes()
99 void FrameData::SkipOver(uint16_t aLength) { Init(GetBytes() + aLength, GetLength() - aLength); } in SkipOver()
Dheap_data.cpp42 Error Data::SetFrom(const uint8_t *aBuffer, uint16_t aLength) in SetFrom()
60 Error Data::SetFrom(const Message &aMessage, uint16_t aOffset, uint16_t aLength) in SetFrom()
Ddata.cpp40 uint16_t aLength, in MatchBytes()
Dbinary_search.cpp42 uint16_t aLength, in Find()
Dappender.cpp51 Error Appender::AppendBytes(const void *aBuffer, uint16_t aLength) in AppendBytes()
Dbinary_search.hpp106 template <typename Entry> static constexpr bool IsSorted(const Entry *aTable, uint16_t aLength) in IsSorted()
Dtlvs.hpp102 void SetLength(uint8_t aLength) { mLength = aLength; } in SetLength()
462 …mplate <typename TlvType> static Error Find(const Message &aMessage, void *aValue, uint8_t aLength) in Find()
571 …late <typename TlvType> static Error Append(Message &aMessage, const void *aValue, uint8_t aLength) in Append()
724 void SetLength(uint16_t aLength) in SetLength()
/openthread-latest/tests/gtest/
Dfake_coprocessor_platform.cpp47 otError DirectSpinelInterface::SendFrame(const uint8_t *aFrame, uint16_t aLength) in SendFrame()
75 int DirectSpinelInterface::Receive(const uint8_t *aBuffer, uint16_t aLength) in Receive()
91 otNcpHdlcInit(mInstance, [](const uint8_t *aBuf, uint16_t aLength) -> int { in FakeCoprocessorPlatform()
/openthread-latest/src/core/meshcop/
Dtcat_agent.cpp507 …dleSetActiveOperationalDataset(const Message &aIncomingMessage, uint16_t aOffset, uint16_t aLength) in HandleSetActiveOperationalDataset()
554 uint16_t aLength, in HandlePing()
661 …atAgent::HandlePresentPskdHash(const Message &aIncomingMessage, uint16_t aOffset, uint16_t aLength) in HandlePresentPskdHash()
675 …atAgent::HandlePresentPskcHash(const Message &aIncomingMessage, uint16_t aOffset, uint16_t aLength) in HandlePresentPskcHash()
692 …::HandlePresentInstallCodeHash(const Message &aIncomingMessage, uint16_t aOffset, uint16_t aLength) in HandlePresentInstallCodeHash()
722 uint16_t aLength, in HandleRequestPskdHash()
747 uint16_t aLength, in VerifyHash()
801 uint16_t aLength, in SeralizeTcatAdvertisementTlv()
Ddataset.cpp325 Error Dataset::SetFrom(const uint8_t *aTlvs, uint8_t aLength) in SetFrom()
363 Error Dataset::WriteTlv(Tlv::Type aType, const void *aValue, uint8_t aLength) in WriteTlv()
409 Error Dataset::WriteTlvsFrom(const uint8_t *aTlvs, uint8_t aLength) in WriteTlvsFrom()
515 Error Dataset::AppendTlvsFrom(const uint8_t *aTlvs, uint8_t aLength) in AppendTlvsFrom()
/openthread-latest/src/core/api/
Ddataset_api.cpp100 uint8_t aLength, in otDatasetSendMgmtActiveGet()
110 uint8_t aLength, in otDatasetSendMgmtActiveSet()
121 uint8_t aLength, in otDatasetSendMgmtPendingGet()
131 uint8_t aLength, in otDatasetSendMgmtPendingSet()
Dmessage_api.cpp44 otError otMessageSetLength(otMessage *aMessage, uint16_t aLength) { return AsCoreType(aMessage).Set… in otMessageSetLength()
95 otError otMessageAppend(otMessage *aMessage, const void *aBuf, uint16_t aLength) in otMessageAppend()
102 uint16_t otMessageRead(const otMessage *aMessage, uint16_t aOffset, void *aBuf, uint16_t aLength) in otMessageRead()
109 int otMessageWrite(otMessage *aMessage, uint16_t aOffset, const void *aBuf, uint16_t aLength) in otMessageWrite()
/openthread-latest/src/core/radio/
Dble_secure.cpp194 Error BleSecure::Send(uint8_t *aBuf, uint16_t aLength) in Send()
210 Error BleSecure::SendApplicationTlv(uint8_t *aBuf, uint16_t aLength) in SendApplicationTlv()
251 Error BleSecure::HandleBleReceive(uint8_t *aBuf, uint16_t aLength) in HandleBleReceive()
351 void BleSecure::HandleTlsReceive(void *aContext, uint8_t *aBuf, uint16_t aLength) in HandleTlsReceive()
356 void BleSecure::HandleTlsReceive(uint8_t *aBuf, uint16_t aLength) in HandleTlsReceive()
/openthread-latest/src/posix/platform/
Dvirtual_time.cpp108 static void virtualTimeSendEvent(struct VirtualTimeEvent *aEvent, size_t aLength) in virtualTimeSendEvent()
149 void virtualTimeSendRadioSpinelWriteEvent(const uint8_t *aData, uint16_t aLength) in virtualTimeSendRadioSpinelWriteEvent()
/openthread-latest/third_party/tcplp/lib/test/
Dtest_all.c15 uint16_t otMessageRead(const otMessage *aMessage, uint16_t aOffset, void *aBuf, uint16_t aLength) { in otMessageRead()
19 int otMessageWrite(otMessage *aMessage, uint16_t aOffset, const void *aBuf, uint16_t aLength) { in otMessageWrite()
/openthread-latest/src/core/coap/
Dcoap_secure.cpp119 void SecureSession::HandleDtlsReceive(void *aContext, uint8_t *aBuf, uint16_t aLength) in HandleDtlsReceive()
124 void SecureSession::HandleDtlsReceive(uint8_t *aBuf, uint16_t aLength) in HandleDtlsReceive()
/openthread-latest/src/core/crypto/
Daes_ccm.cpp191 void AesCcm::Payload(void *aPlainText, void *aCipherText, uint32_t aLength, Mode aMode) in Payload()
250 void AesCcm::Payload(Message &aMessage, uint16_t aOffset, uint16_t aLength, Mode aMode) in Payload()
Dsha256.cpp59 void Sha256::Update(const Message &aMessage, uint16_t aOffset, uint16_t aLength) in Update()
Dhmac_sha256.cpp64 void HmacSha256::Update(const Message &aMessage, uint16_t aOffset, uint16_t aLength) in Update()
/openthread-latest/src/lib/hdlc/
Dhdlc.cpp153 otError Encoder::Encode(const uint8_t *aData, uint16_t aLength) in Encode()
224 void Decoder::Decode(const uint8_t *aData, uint16_t aLength) in Decode()
/openthread-latest/src/lib/spinel/
Dspinel_interface.hpp165 bool IsSpinelResetCommand(const uint8_t *aFrame, uint16_t aLength) in IsSpinelResetCommand()

12345