Home
last modified time | relevance | path

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

1234567891011

/aosp_15_r20/external/openthread/src/core/common/
H A Dmessage.cpp228 Error Message::ResizeMessage(uint16_t aLength) in ResizeMessage()
286 Error Message::SetLength(uint16_t aLength) in SetLength()
403 Error Message::AppendBytes(const void *aBuf, uint16_t aLength) in AppendBytes()
420 Error Message::AppendBytesFromMessage(const Message &aMessage, uint16_t aOffset, uint16_t aLength) in AppendBytesFromMessage()
442 Error Message::PrependBytes(const void *aBuf, uint16_t aLength) in PrependBytes()
477 void Message::RemoveHeader(uint16_t aLength) in RemoveHeader()
494 void Message::RemoveHeader(uint16_t aOffset, uint16_t aLength) in RemoveHeader()
522 Error Message::InsertHeader(uint16_t aOffset, uint16_t aLength) in InsertHeader()
555 void Message::RemoveFooter(uint16_t aLength) { IgnoreError(SetLength(GetLength() - Min(aLength, Get… in RemoveFooter()
557 void Message::GetFirstChunk(uint16_t aOffset, uint16_t &aLength, Chunk &aChunk) const in GetFirstChunk()
[all …]
H A Dframe_builder.cpp48 void FrameBuilder::Init(void *aBuffer, uint16_t aLength) in Init()
71 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::WriteBytes(uint16_t aOffset, const void *aBuffer, uint16_t aLength) in WriteBytes()
126 Error FrameBuilder::InsertBytes(uint16_t aOffset, const void *aBuffer, uint16_t aLength) in InsertBytes()
142 void FrameBuilder::RemoveBytes(uint16_t aOffset, uint16_t aLength) in RemoveBytes()
H A Ddata.hpp127 void Init(const void *aBuffer, LengthType aLength) in Init()
184 void SetLength(LengthType aLength) { mLength = aLength; } in SetLength()
294 void Init(void *aBuffer, LengthType aLength) { Base::Init(aBuffer, aLength); } in Init()
360 Error CopyBytesFrom(const uint8_t *aBuffer, LengthType aLength) in CopyBytesFrom()
H A 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()
H A Dtlvs.hpp109 void SetLength(uint8_t aLength) { mLength = aLength; } in SetLength()
494 …mplate <typename TlvType> static Error Find(const Message &aMessage, void *aValue, uint8_t aLength) in Find()
608 …late <typename TlvType> static Error Append(Message &aMessage, const void *aValue, uint8_t aLength) in Append()
770 void SetLength(uint16_t aLength) in SetLength()
H A 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()
/aosp_15_r20/external/ot-br-posix/src/ncp/
H A Dncp_spinel.cpp154 otbrError NcpSpinel::Ip6Send(const uint8_t *aData, uint16_t aLength) in Ip6Send()
223 uint16_t aLength, in HandleReceivedFrame()
231 void NcpSpinel::HandleReceivedFrame(const uint8_t *aFrame, uint16_t aLength, uint8_t aHeader, bool … in HandleReceivedFrame()
251 void NcpSpinel::HandleSavedFrame(const uint8_t *aFrame, uint16_t aLength, void *aContext) in HandleSavedFrame()
259 void NcpSpinel::HandleNotification(const uint8_t *aFrame, uint16_t aLength) in HandleNotification()
277 void NcpSpinel::HandleResponse(spinel_tid_t aTid, const uint8_t *aFrame, uint16_t aLength) in HandleResponse()
323 void NcpSpinel::HandleValueIs(spinel_prop_key_t aKey, const uint8_t *aBuffer, uint16_t aLength) in HandleValueIs()
409 uint16_t aLength) in HandleResponseForPropSet()
538 uint16_t aLength, in ParseIp6AddressTable()
/aosp_15_r20/external/ot-br-posix/src/rest/
H A Drequest.cpp40 void Request::SetUrl(const char *aString, size_t aLength) in SetUrl()
45 void Request::SetBody(const char *aString, size_t aLength) in SetBody()
60 void Request::SetNextHeaderField(const char *aString, size_t aLength) in SetNextHeaderField()
65 void Request::SetHeaderValue(const char *aString, size_t aLength) in SetHeaderValue()
/aosp_15_r20/external/openthread/src/core/meshcop/
H A Dsecure_transport.cpp757 Error SecureTransport::SetClientId(const uint8_t *aClientId, uint8_t aLength) in SetClientId()
764 Error SecureTransport::Send(Message &aMessage, uint16_t aLength) in Send()
796 …t SecureTransport::HandleMbedtlsTransmit(void *aContext, const unsigned char *aBuf, size_t aLength) in HandleMbedtlsTransmit()
801 int SecureTransport::HandleMbedtlsTransmit(const unsigned char *aBuf, size_t aLength) in HandleMbedtlsTransmit()
841 int SecureTransport::HandleMbedtlsReceive(void *aContext, unsigned char *aBuf, size_t aLength) in HandleMbedtlsReceive()
846 int SecureTransport::HandleMbedtlsReceive(unsigned char *aBuf, size_t aLength) in HandleMbedtlsReceive()
1186 uint16_t aLength, in HandleSecureTransportSend()
H A Ddataset.cpp317 Error Dataset::SetFrom(const uint8_t *aTlvs, uint8_t aLength) in SetFrom()
355 Error Dataset::WriteTlv(Tlv::Type aType, const void *aValue, uint8_t aLength) in WriteTlv()
401 Error Dataset::WriteTlvsFrom(const uint8_t *aTlvs, uint8_t aLength) in WriteTlvsFrom()
499 Error Dataset::AppendTlvsFrom(const uint8_t *aTlvs, uint8_t aLength) in AppendTlvsFrom()
H A Dtcat_agent.cpp482 …dleSetActiveOperationalDataset(const Message &aIncomingMessage, uint16_t aOffset, uint16_t aLength) in HandleSetActiveOperationalDataset()
529 uint16_t aLength, in HandlePing()
657 uint16_t aLength, in SeralizeTcatAdvertisementTlv()
/aosp_15_r20/external/openthread/src/core/radio/
H A Dble_secure.cpp208 Error BleSecure::Send(uint8_t *aBuf, uint16_t aLength) in Send()
224 Error BleSecure::SendApplicationTlv(uint8_t *aBuf, uint16_t aLength) in SendApplicationTlv()
265 Error BleSecure::HandleBleReceive(uint8_t *aBuf, uint16_t aLength) in HandleBleReceive()
367 void BleSecure::HandleTlsReceive(void *aContext, uint8_t *aBuf, uint16_t aLength) in HandleTlsReceive()
372 void BleSecure::HandleTlsReceive(uint8_t *aBuf, uint16_t aLength) in HandleTlsReceive()
/aosp_15_r20/external/openthread/src/lib/spinel/
H A Dradio_spinel.cpp316 void RadioSpinel::HandleNotification(const uint8_t *aFrame, uint16_t aLength, bool &aShouldSaveFram… in HandleNotification()
363 void RadioSpinel::HandleNotification(const uint8_t *aFrame, uint16_t aLength) in HandleNotification()
384 void RadioSpinel::HandleResponse(const uint8_t *aBuffer, uint16_t aLength) in HandleResponse()
427 uint16_t aLength) in HandleWaitingResponse()
493 void RadioSpinel::HandleValueIs(spinel_prop_key_t aKey, const uint8_t *aBuffer, uint16_t aLength) in HandleValueIs()
656 uint16_t aLength, in ParseRadioFrame()
1524 uint16_t aLength) in HandleTransmitDone()
2099 uint16_t aLength, in HandleReceivedFrame()
2107 void RadioSpinel::HandleReceivedFrame(const uint8_t *aFrame, uint16_t aLength, uint8_t aHeader, boo… in HandleReceivedFrame()
2120 void RadioSpinel::HandleSavedFrame(const uint8_t *aFrame, uint16_t aLength, void *aContext) in HandleSavedFrame()
[all …]
/aosp_15_r20/external/openthread/src/core/api/
H A Ddataset_api.cpp105 uint8_t aLength, in otDatasetSendMgmtActiveGet()
115 uint8_t aLength, in otDatasetSendMgmtActiveSet()
126 uint8_t aLength, in otDatasetSendMgmtPendingGet()
136 uint8_t aLength, in otDatasetSendMgmtPendingSet()
H A Dmessage_api.cpp47 otError otMessageSetLength(otMessage *aMessage, uint16_t aLength) { return AsCoreType(aMessage).Set… in otMessageSetLength()
98 otError otMessageAppend(otMessage *aMessage, const void *aBuf, uint16_t aLength) in otMessageAppend()
105 uint16_t otMessageRead(const otMessage *aMessage, uint16_t aOffset, void *aBuf, uint16_t aLength) in otMessageRead()
112 int otMessageWrite(otMessage *aMessage, uint16_t aOffset, const void *aBuf, uint16_t aLength) in otMessageWrite()
/aosp_15_r20/external/openthread/src/core/coap/
H A Dcoap_message.cpp149 Error Message::AppendOptionHeader(uint16_t aNumber, uint16_t aLength) in AppendOptionHeader()
181 Error Message::AppendOption(uint16_t aNumber, uint16_t aLength, const void *aValue) in AppendOption()
194 Error Message::AppendOptionFromMessage(uint16_t aNumber, uint16_t aLength, const Message &aMessage,… in AppendOptionFromMessage()
607 Error Option::Iterator::Read(uint16_t aLength, void *aBuffer) in Read()
/aosp_15_r20/external/openthread/src/core/net/
H A Dip6_headers.hpp241 void SetPayloadLength(uint16_t aLength) { mPayloadLength = BigEndian::HostSwap16(aLength); } in SetPayloadLength()
422 void SetLength(uint8_t aLength) { mLength = aLength; } in SetLength()
549 void SetLength(uint8_t aLength) { mLength = aLength; } in SetLength()
698 static inline uint16_t MakeDivisibleByEight(uint16_t aLength) { return aLength & 0xfff8; } in MakeDivisibleByEight()
H A Dip6_address.hpp171 void SetLength(uint8_t aLength) { mLength = aLength; } in SetLength()
284 static uint8_t SizeForLength(uint8_t aLength) { return BytesForBitSize(aLength); } in SizeForLength()
859 void GetPrefix(uint8_t aLength, Prefix &aPrefix) const { aPrefix.Set(mFields.m8, aLength); } in GetPrefix()
/aosp_15_r20/hardware/interfaces/threadnetwork/aidl/default/
H A Dsocket_interface.cpp84 otError SocketInterface::SendFrame(const uint8_t* aFrame, uint16_t aLength) { in SendFrame()
240 void SocketInterface::Write(const uint8_t* aFrame, uint16_t aLength) { in Write()
246 void SocketInterface::ProcessReceivedData(const uint8_t* aBuffer, uint16_t aLength) { in ProcessReceivedData()
/aosp_15_r20/external/openthread/src/posix/platform/
H A Dhdlc_interface.cpp210 void HdlcInterface::Decode(const uint8_t *aBuffer, uint16_t aLength) { mHdlcDecoder.Decode(aBuffer,… in Decode()
212 otError HdlcInterface::SendFrame(const uint8_t *aFrame, uint16_t aLength) in SendFrame()
234 otError HdlcInterface::Write(const uint8_t *aFrame, uint16_t aLength) in Write()
/aosp_15_r20/external/openthread/examples/platforms/simulation/
H A Dtrel.c80 static void dumpBuffer(const void *aBuffer, uint16_t aLength) in dumpBuffer()
172 static void processMessage(otInstance *aInstance, Message *aMessage, uint16_t aLength) in processMessage()
383 …_TOOL_WEAK void otPlatTrelHandleReceived(otInstance *aInstance, uint8_t *aBuffer, uint16_t aLength) in otPlatTrelHandleReceived()
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/gensrcs/libcore/ojluni/src/main/java/java/util/
DArrays.java2475 int aLength = aToIndex - aFromIndex; in equals() local
2571 int aLength = aToIndex - aFromIndex; in equals() local
2667 int aLength = aToIndex - aFromIndex; in equals() local
2764 int aLength = aToIndex - aFromIndex; in equals() local
2861 int aLength = aToIndex - aFromIndex; in equals() local
2957 int aLength = aToIndex - aFromIndex; in equals() local
3066 int aLength = aToIndex - aFromIndex; in equals() local
3173 int aLength = aToIndex - aFromIndex; in equals() local
3268 int aLength = aToIndex - aFromIndex; in equals() local
3365 int aLength = aToIndex - aFromIndex; in equals() local
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/18/libcore/ojluni/src/main/java/java/util/
DArrays.java2475 int aLength = aToIndex - aFromIndex; in equals() local
2571 int aLength = aToIndex - aFromIndex; in equals() local
2667 int aLength = aToIndex - aFromIndex; in equals() local
2764 int aLength = aToIndex - aFromIndex; in equals() local
2861 int aLength = aToIndex - aFromIndex; in equals() local
2957 int aLength = aToIndex - aFromIndex; in equals() local
3066 int aLength = aToIndex - aFromIndex; in equals() local
3173 int aLength = aToIndex - aFromIndex; in equals() local
3268 int aLength = aToIndex - aFromIndex; in equals() local
3365 int aLength = aToIndex - aFromIndex; in equals() local
/aosp_15_r20/libcore/ojluni/src/main/java/java/util/
H A DArrays.java2475 int aLength = aToIndex - aFromIndex; in equals() local
2571 int aLength = aToIndex - aFromIndex; in equals() local
2667 int aLength = aToIndex - aFromIndex; in equals() local
2764 int aLength = aToIndex - aFromIndex; in equals() local
2861 int aLength = aToIndex - aFromIndex; in equals() local
2957 int aLength = aToIndex - aFromIndex; in equals() local
3066 int aLength = aToIndex - aFromIndex; in equals() local
3173 int aLength = aToIndex - aFromIndex; in equals() local
3268 int aLength = aToIndex - aFromIndex; in equals() local
3365 int aLength = aToIndex - aFromIndex; in equals() local
/aosp_15_r20/external/openthread/src/core/thread/
H A Dnetwork_data.hpp129 explicit NetworkData(Instance &aInstance, const uint8_t *aTlvs = nullptr, uint8_t aLength = 0) in NetworkData()
608 MutableNetworkData(Instance &aInstance, uint8_t *aTlvs, uint8_t aLength, uint8_t aSize) in MutableNetworkData()
646 void SetLength(uint8_t aLength) { mLength = aLength; } in SetLength()

1234567891011