Home
last modified time | relevance | path

Searched defs:aValue (Results 1 – 25 of 48) sorted by relevance

12

/openthread-latest/src/core/common/
Dencoding.hpp113 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 …]
Dtlvs.hpp207 …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 …]
Dnum_utils.hpp83 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()
Dtlvs.cpp165 …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()
Dsettings_driver.hpp104 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()
Dtime.hpp84 explicit Time(uint32_t aValue) { SetValue(aValue); } in Time()
98 void SetValue(uint32_t aValue) { mValue = aValue; } in SetValue()
Das_core_type.hpp134 template <typename EnumType> const typename MappedEnum<EnumType>::Type MapEnum(EnumType aValue) in MapEnum()
Dsettings.cpp403 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()
Drandom.cpp159 uint32_t AddJitter(uint32_t aValue, uint16_t aJitter) in AddJitter()
/openthread-latest/tests/nexus/platform/
Dnexus_settings.cpp45 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/
Dflash.cpp114 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()
Dverhoeff_checksum.cpp76 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/
Dsettings_ram.c70 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/
Dendian.hpp59 inline void WriteUint16(uint16_t aValue, uint8_t *aBuffer) in WriteUint16()
/openthread-latest/src/posix/platform/
Dsettings_file.cpp113 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()
Dconfig_file.cpp62 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()
Dsettings.cpp139 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/
Dcoap_message.cpp99 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/
Drandom_noncrypto_api.cpp63 uint32_t otRandomNonCryptoAddJitter(uint32_t aValue, uint16_t aJitter) in otRandomNonCryptoAddJitter()
Dcoap_api.cpp78 …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/
Ddiag.c84 otError otPlatDiagGpioSet(uint32_t aGpio, bool aValue) in otPlatDiagGpioSet()
95 otError otPlatDiagGpioGet(uint32_t aGpio, bool *aValue) in otPlatDiagGpioGet()
/openthread-latest/tests/unit/
Dtest_dso.cpp95 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()
Dtest_heap_array.cpp59 explicit Entry(uint16_t aValue) in Entry()
76 void SetValue(uint16_t aValue) { mValue = aValue; } in SetValue()
/openthread-latest/src/core/thread/
Dradio_selector.hpp101 …void SetRadioPreference(Mac::RadioType aType, uint8_t aValue) { mRadioPreference[aType] = aValu… in SetRadioPreference()
/openthread-latest/src/core/meshcop/
Dtimestamp.hpp177 …void SetTicksAndAuthFlag(uint16_t aValue) { mTicksAndAuthFlag = BigEndian::HostSwap16(aValue);… in SetTicksAndAuthFlag()

12