/external/openthread/src/core/common/ |
D | encoding.hpp | 125 inline uint16_t ReadUint16(const uint8_t *aBuffer) { return static_cast<uint16_t>((aBuffer[0] << 8)… in ReadUint16() 134 inline uint32_t ReadUint32(const uint8_t *aBuffer) in ReadUint32() 147 inline uint32_t ReadUint24(const uint8_t *aBuffer) in ReadUint24() 160 inline uint64_t ReadUint64(const uint8_t *aBuffer) in ReadUint64() 179 template <> inline uint8_t Read(const uint8_t *aBuffer) { return *aBuffer; } in Read() 180 template <> inline uint16_t Read(const uint8_t *aBuffer) { return ReadUint16(aBuffer); } in Read() 181 template <> inline uint32_t Read(const uint8_t *aBuffer) { return ReadUint32(aBuffer); } in Read() 182 template <> inline uint64_t Read(const uint8_t *aBuffer) { return ReadUint64(aBuffer); } in Read() 190 inline void WriteUint16(uint16_t aValue, uint8_t *aBuffer) in WriteUint16() 202 inline void WriteUint24(uint32_t aValue, uint8_t *aBuffer) in WriteUint24() [all …]
|
D | frame_builder.cpp | 48 void FrameBuilder::Init(void *aBuffer, uint16_t aMaxLength) in Init() 71 Error FrameBuilder::AppendBytes(const void *aBuffer, uint16_t aLength) in AppendBytes() 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()
|
D | data.hpp | 121 void Init(const void *aBuffer, LengthType aLength) in Init() 207 bool MatchesBytesIn(const void *aBuffer, ByteMatcher aMatcher) in MatchesBytesIn() 275 void Init(void *aBuffer, LengthType aLength) { Base::Init(aBuffer, aLength); } in Init() 335 Error CopyBytesFrom(const uint8_t *aBuffer, LengthType aLength) in CopyBytesFrom()
|
D | appender.cpp | 45 Appender::Appender(uint8_t *aBuffer, uint16_t aSize) in Appender() 51 Error Appender::AppendBytes(const void *aBuffer, uint16_t aLength) in AppendBytes()
|
D | random.hpp | 83 …static Error CryptoFillBuffer(uint8_t *aBuffer, uint16_t aSize) { return otPlatCryptoRandomGet(aBu… in CryptoFillBuffer() 204 inline Error FillBuffer(uint8_t *aBuffer, uint16_t aSize) { return Manager::CryptoFillBuffer(aBuffe… in FillBuffer()
|
D | heap_data.cpp | 42 Error Data::SetFrom(const uint8_t *aBuffer, uint16_t aLength) in SetFrom() 81 bool Data::Matches(const uint8_t *aBuffer, uint16_t aLength) const in Matches() argument
|
D | frame_data.cpp | 87 Error FrameData::ReadBytes(void *aBuffer, uint16_t aLength) in ReadBytes()
|
/external/openthread/src/lib/utils/ |
D | endian.hpp | 51 inline uint16_t ReadUint16(const uint8_t *aBuffer) { return static_cast<uint16_t>(aBuffer[0] | (aBu… in ReadUint16() 59 inline void WriteUint16(uint16_t aValue, uint8_t *aBuffer) in WriteUint16()
|
/external/openthread/src/posix/platform/ |
D | ip6_utils.hpp | 84 inline void CopyIp6AddressTo(const otIp6Address &aAddress, void *aBuffer) in CopyIp6AddressTo() 95 inline void ReadIp6AddressFrom(const void *aBuffer, otIp6Address &aAddress) in ReadIp6AddressFrom()
|
/external/openthread/src/core/utils/ |
D | parse_cmdline.cpp | 230 static Error ParseHexString(const char *&aString, uint16_t &aSize, uint8_t *aBuffer, HexStringParse… in ParseHexString() 297 Error ParseAsHexString(const char *aString, uint8_t *aBuffer, uint16_t aSize) in ParseAsHexString() 302 Error ParseAsHexString(const char *aString, uint16_t &aSize, uint8_t *aBuffer) in ParseAsHexString() 307 Error ParseAsHexStringSegment(const char *&aString, uint16_t &aSize, uint8_t *aBuffer) in ParseAsHexStringSegment()
|
D | parse_cmdline.hpp | 521 otError ParseAsHexString(uint8_t *aBuffer, uint16_t aSize) const in ParseAsHexString() 557 otError ParseAsHexString(uint16_t &aSize, uint8_t *aBuffer) in ParseAsHexString()
|
/external/openthread/src/core/api/ |
D | random_crypto_api.cpp | 42 otError otRandomCryptoFillBuffer(uint8_t *aBuffer, uint16_t aSize) in otRandomCryptoFillBuffer()
|
D | tcp_api.cpp | 73 otError otTcpSendByReference(otTcpEndpoint *aEndpoint, otLinkedBuffer *aBuffer, uint32_t aFlags) in otTcpSendByReference() 83 otError otTcpReceiveByReference(otTcpEndpoint *aEndpoint, const otLinkedBuffer **aBuffer) in otTcpReceiveByReference()
|
D | nat64_api.cpp | 165 void otIp4AddressToString(const otIp4Address *aAddress, char *aBuffer, uint16_t aSize) in otIp4AddressToString() 174 void otIp4CidrToString(const otIp4Cidr *aCidr, char *aBuffer, uint16_t aSize) in otIp4CidrToString()
|
D | ip6_api.cpp | 189 void otIp6AddressToString(const otIp6Address *aAddress, char *aBuffer, uint16_t aSize) in otIp6AddressToString() 196 void otIp6SockAddrToString(const otSockAddr *aSockAddr, char *aBuffer, uint16_t aSize) in otIp6SockAddrToString() 203 void otIp6PrefixToString(const otIp6Prefix *aPrefix, char *aBuffer, uint16_t aSize) in otIp6PrefixToString()
|
D | random_noncrypto_api.cpp | 61 void otRandomNonCryptoFillBuffer(uint8_t *aBuffer, uint16_t aSize) { Random::NonCrypto::FillBuffer(… in otRandomNonCryptoFillBuffer()
|
/external/openthread/tests/unit/ |
D | test_util.cpp | 33 void DumpBuffer(const char *aTextMessage, const uint8_t *aBuffer, uint16_t aBufferLength) in DumpBuffer()
|
/external/openthread/src/ncp/platform/ |
D | infra_if.cpp | 41 const uint8_t *aBuffer, in otPlatInfraIfSendIcmp6Nd()
|
/external/openthread/src/core/crypto/ |
D | mbedtls.cpp | 175 int MbedTls::CryptoSecurePrng(void *, unsigned char *aBuffer, size_t aSize) in CryptoSecurePrng()
|
/external/openthread/src/core/net/ |
D | socket.cpp | 53 void SockAddr::ToString(char *aBuffer, uint16_t aSize) const in ToString()
|
D | ip4_types.cpp | 131 void Address::ToString(char *aBuffer, uint16_t aSize) const in ToString() 175 void Cidr::ToString(char *aBuffer, uint16_t aSize) const in ToString()
|
/external/openthread/src/posix/ |
D | client.cpp | 84 void QuitOnExit(const char *aBuffer) in QuitOnExit() 134 bool DoWrite(int aFile, const void *aBuffer, size_t aSize) in DoWrite()
|
/external/openthread/examples/platforms/simulation/ |
D | trel.c | 84 static void dumpBuffer(const void *aBuffer, uint16_t aLength) in dumpBuffer() 449 uint8_t *aBuffer, in otPlatTrelHandleReceived() 469 OT_TOOL_WEAK void otIp6SockAddrToString(const otSockAddr *aSockAddr, char *aBuffer, uint16_t aSize) in otIp6SockAddrToString()
|
D | infra_if.c | 184 const uint8_t *aBuffer, in otPlatInfraIfSendIcmp6Nd() 326 const uint8_t *aBuffer, in otPlatInfraIfRecvIcmp6Nd()
|
/external/openthread/src/core/radio/ |
D | trel_interface.cpp | 394 uint8_t *aBuffer, in otPlatTrelHandleReceived() 407 void Interface::HandleReceived(uint8_t *aBuffer, uint16_t aLength, const Ip6::SockAddr &aSenderAddr) in HandleReceived()
|