/openthread-latest/src/core/common/ |
D | encoding.hpp | 113 template <> inline uint8_t HostSwap(uint8_t aValue) { return aValue; } in HostSwap() 114 template <> inline uint16_t HostSwap(uint16_t aValue) { return HostSwap16(aValue); } in HostSwap() 115 template <> inline uint32_t HostSwap(uint32_t aValue) { return HostSwap32(aValue); } in HostSwap() 116 template <> inline uint64_t HostSwap(uint64_t aValue) { return HostSwap64(aValue); } in HostSwap() 190 inline void WriteUint16(uint16_t aValue, uint8_t *aBuffer) in WriteUint16() 202 inline void WriteUint24(uint32_t aValue, uint8_t *aBuffer) in WriteUint24() 215 inline void WriteUint32(uint32_t aValue, uint8_t *aBuffer) in WriteUint32() 229 inline void WriteUint64(uint64_t aValue, uint8_t *aBuffer) in WriteUint64() 251 template <> inline void Write(uint8_t aValue, uint8_t *aBuffer) { *aBuffer = aValue; } in Write() 252 template <> inline void Write(uint16_t aValue, uint8_t *aBuffer) { WriteUint16(aValue, aBuffer); } in Write() [all …]
|
D | tlvs.hpp | 207 …template <typename SimpleTlvType> void WriteValueAs(const typename SimpleTlvType::ValueType &aValu… in WriteValueAs() 223 template <typename UintTlvType> void WriteValueAs(typename UintTlvType::UintValueType aValue) in WriteValueAs() 319 …ic Error Read(const Message &aMessage, uint16_t aOffset, typename SimpleTlvType::ValueType &aValue) in Read() 337 … Error Read(const Message &aMessage, uint16_t aOffset, typename UintTlvType::UintValueType &aValue) in Read() 355 …c Error Read(const Message &aMessage, uint16_t aOffset, typename StringTlvType::StringType &aValue) in Read() 462 …template <typename TlvType> static Error Find(const Message &aMessage, void *aValue, uint8_t aLeng… in Find() 487 static Error Find(const Message &aMessage, typename SimpleTlvType::ValueType &aValue) in Find() 509 static Error Find(const Message &aMessage, typename UintTlvType::UintValueType &aValue) in Find() 534 static Error Find(const Message &aMessage, typename StringTlvType::StringType &aValue) in Find() 571 …template <typename TlvType> static Error Append(Message &aMessage, const void *aValue, uint8_t aLe… in Append() [all …]
|
D | num_utils.hpp | 83 template <typename Type> Type Clamp(Type aValue, Type aMin, Type aMax) in Clamp() 101 template <typename UintType> uint8_t ClampToUint8(UintType aValue) in ClampToUint8() 121 template <typename UintType> uint16_t ClampToUint16(UintType aValue) in ClampToUint16() 141 template <typename IntType> int8_t ClampToInt8(IntType aValue) in ClampToInt8()
|
D | tlvs.cpp | 165 …v::ReadStringTlv(const Message &aMessage, uint16_t aOffset, uint8_t aMaxStringLength, char *aValue) in ReadStringTlv() 180 …ename UintType> Error Tlv::ReadUintTlv(const Message &aMessage, uint16_t aOffset, UintType &aValue) in ReadUintTlv() 196 Error Tlv::ReadTlvValue(const Message &aMessage, uint16_t aOffset, void *aValue, uint8_t aMinLength) in ReadTlvValue() 212 … Tlv::FindStringTlv(const Message &aMessage, uint8_t aType, uint8_t aMaxStringLength, char *aValue) in FindStringTlv() 224 …typename UintType> Error Tlv::FindUintTlv(const Message &aMessage, uint8_t aType, UintType &aValue) in FindUintTlv() 241 Error Tlv::FindTlv(const Message &aMessage, uint8_t aType, void *aValue, uint16_t aLength) in FindTlv() 253 …lv::AppendStringTlv(Message &aMessage, uint8_t aType, uint8_t aMaxStringLength, const char *aValue) in AppendStringTlv() 260 …ate <typename UintType> Error Tlv::AppendUintTlv(Message &aMessage, uint8_t aType, UintType aValue) in AppendUintTlv() 272 Error Tlv::AppendTlv(Message &aMessage, uint8_t aType, const void *aValue, uint16_t aLength) in AppendTlv()
|
D | settings_driver.hpp | 104 Error Add(uint16_t aKey, const void *aValue, uint16_t aValueLength) in Add() 155 Error Get(uint16_t aKey, int aIndex, void *aValue, uint16_t *aValueLength) const in Get() 183 …Error Get(uint16_t aKey, void *aValue, uint16_t *aValueLength) const { return Get(aKey, 0, aValue,… in Get() 199 Error Set(uint16_t aKey, const void *aValue, uint16_t aValueLength) in Set()
|
D | time.hpp | 84 explicit Time(uint32_t aValue) { SetValue(aValue); } in Time() 98 void SetValue(uint32_t aValue) { mValue = aValue; } in SetValue()
|
D | as_core_type.hpp | 134 template <typename EnumType> const typename MappedEnum<EnumType>::Type MapEnum(EnumType aValue) in MapEnum()
|
D | settings.cpp | 403 Error Settings::ReadEntry(Key aKey, void *aValue, uint16_t aMaxLength) const in ReadEntry() 414 Error Settings::SaveEntry(Key aKey, const void *aValue, void *aPrev, uint16_t aLength) in SaveEntry() 444 void Settings::Log(Action aAction, Error aError, Key aKey, const void *aValue) in Log()
|
D | random.cpp | 159 uint32_t AddJitter(uint32_t aValue, uint16_t aJitter) in AddJitter()
|
/openthread-latest/tests/nexus/platform/ |
D | nexus_settings.cpp | 45 otError otPlatSettingsGet(otInstance *aInstance, uint16_t aKey, int aIndex, uint8_t *aValue, uint16… in otPlatSettingsGet() 50 otError otPlatSettingsSet(otInstance *aInstance, uint16_t aKey, const uint8_t *aValue, uint16_t aVa… in otPlatSettingsSet() 55 otError otPlatSettingsAdd(otInstance *aInstance, uint16_t aKey, const uint8_t *aValue, uint16_t aVa… in otPlatSettingsAdd() 72 Error Settings::Get(uint16_t aKey, int aIndex, uint8_t *aValue, uint16_t *aValueLength) const in Get() 102 Error Settings::SetOrAdd(SetAddMode aMode, uint16_t aKey, const uint8_t *aValue, uint16_t aValueLen… in SetOrAdd()
|
/openthread-latest/src/core/utils/ |
D | flash.cpp | 114 Error Flash::Get(uint16_t aKey, int aIndex, uint8_t *aValue, uint16_t *aValueLength) const in Get() 165 Error Flash::Set(uint16_t aKey, const uint8_t *aValue, uint16_t aValueLength) in Set() 170 Error Flash::Add(uint16_t aKey, const uint8_t *aValue, uint16_t aValueLength) in Add() 177 Error Flash::Add(uint16_t aKey, bool aFirst, const uint8_t *aValue, uint16_t aValueLength) in Add()
|
D | verhoeff_checksum.cpp | 76 uint8_t VerhoeffChecksum::Permute(uint8_t aPosition, uint8_t aValue) in Permute() 86 uint8_t VerhoeffChecksum::InverseOf(uint8_t aValue) in InverseOf()
|
/openthread-latest/examples/platforms/utils/ |
D | settings_ram.c | 70 otError otPlatSettingsGet(otInstance *aInstance, uint16_t aKey, int aIndex, uint8_t *aValue, uint16… in otPlatSettingsGet() 122 otError otPlatSettingsSet(otInstance *aInstance, uint16_t aKey, const uint8_t *aValue, uint16_t aVa… in otPlatSettingsSet() 156 otError otPlatSettingsAdd(otInstance *aInstance, uint16_t aKey, const uint8_t *aValue, uint16_t aVa… in otPlatSettingsAdd()
|
/openthread-latest/src/lib/utils/ |
D | endian.hpp | 59 inline void WriteUint16(uint16_t aValue, uint8_t *aBuffer) in WriteUint16()
|
/openthread-latest/src/posix/platform/ |
D | settings_file.cpp | 113 otError SettingsFile::Get(uint16_t aKey, int aIndex, uint8_t *aValue, uint16_t *aValueLength) in Get() 171 void SettingsFile::Set(uint16_t aKey, const uint8_t *aValue, uint16_t aValueLength) in Set() 196 void SettingsFile::Add(uint16_t aKey, const uint8_t *aValue, uint16_t aValueLength) in Add()
|
D | config_file.cpp | 62 otError ConfigFile::Get(const char *aKey, int &aIterator, char *aValue, int aValueLength) const in Get() 129 otError ConfigFile::Add(const char *aKey, const char *aValue) in Add()
|
D | settings.cpp | 139 otError otPlatSettingsGet(otInstance *aInstance, uint16_t aKey, int aIndex, uint8_t *aValue, uint16… in otPlatSettingsGet() 162 otError otPlatSettingsSet(otInstance *aInstance, uint16_t aKey, const uint8_t *aValue, uint16_t aVa… in otPlatSettingsSet() 182 otError otPlatSettingsAdd(otInstance *aInstance, uint16_t aKey, const uint8_t *aValue, uint16_t aVa… in otPlatSettingsAdd()
|
/openthread-latest/src/core/coap/ |
D | coap_message.cpp | 99 uint8_t Message::WriteExtendedOptionField(uint16_t aValue, uint8_t *&aBuffer) in WriteExtendedOptionField() 173 Error Message::AppendOption(uint16_t aNumber, uint16_t aLength, const void *aValue) in AppendOption() 199 Error Message::AppendUintOption(uint16_t aNumber, uint32_t aValue) in AppendUintOption() 216 Error Message::AppendStringOption(uint16_t aNumber, const char *aValue) in AppendStringOption() 618 Error Option::Iterator::ReadExtendedOptionField(uint16_t &aValue) in ReadExtendedOptionField()
|
/openthread-latest/src/core/api/ |
D | random_noncrypto_api.cpp | 63 uint32_t otRandomNonCryptoAddJitter(uint32_t aValue, uint16_t aJitter) in otRandomNonCryptoAddJitter()
|
D | coap_api.cpp | 78 …oapMessageAppendOption(otMessage *aMessage, uint16_t aNumber, uint16_t aLength, const void *aValue) in otCoapMessageAppendOption() 83 otError otCoapMessageAppendUintOption(otMessage *aMessage, uint16_t aNumber, uint32_t aValue) in otCoapMessageAppendUintOption() 192 otError otCoapOptionIteratorGetOptionUintValue(otCoapOptionIterator *aIterator, uint64_t *aValue) in otCoapOptionIteratorGetOptionUintValue() 197 otError otCoapOptionIteratorGetOptionValue(otCoapOptionIterator *aIterator, void *aValue) in otCoapOptionIteratorGetOptionValue()
|
/openthread-latest/examples/platforms/simulation/ |
D | diag.c | 84 otError otPlatDiagGpioSet(uint32_t aGpio, bool aValue) in otPlatDiagGpioSet() 95 otError otPlatDiagGpioGet(uint32_t aGpio, bool *aValue) in otPlatDiagGpioGet()
|
/openthread-latest/tests/unit/ |
D | test_dso.cpp | 95 void Init(uint8_t aValue) in Init() 154 … void SendTestRequestMessage(uint8_t aValue = 0, uint32_t aResponseTimeout = Dso::kResponseTimeout) in SendTestRequestMessage() 162 void SendTestUnidirectionalMessage(uint8_t aValue = 0) in SendTestUnidirectionalMessage() 169 Message &PrepareTestMessage(uint8_t aValue) in PrepareTestMessage() 203 void SendTestResponseMessage(MessageId aResponseId, uint8_t aValue) in SendTestResponseMessage()
|
D | test_heap_array.cpp | 59 explicit Entry(uint16_t aValue) in Entry() 76 void SetValue(uint16_t aValue) { mValue = aValue; } in SetValue()
|
/openthread-latest/src/core/thread/ |
D | radio_selector.hpp | 101 …void SetRadioPreference(Mac::RadioType aType, uint8_t aValue) { mRadioPreference[aType] = aValu… in SetRadioPreference()
|
/openthread-latest/src/core/meshcop/ |
D | timestamp.hpp | 177 …void SetTicksAndAuthFlag(uint16_t aValue) { mTicksAndAuthFlag = BigEndian::HostSwap16(aValue);… in SetTicksAndAuthFlag()
|