Home
last modified time | relevance | path

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

12

/openthread-3.5.0/src/core/common/
Dencoding.hpp115 template <> inline uint8_t HostSwap(uint8_t aValue) { return aValue; } in HostSwap()
116 template <> inline uint16_t HostSwap(uint16_t aValue) { return HostSwap16(aValue); } in HostSwap()
117 template <> inline uint32_t HostSwap(uint32_t aValue) { return HostSwap32(aValue); } in HostSwap()
118 template <> inline uint64_t HostSwap(uint64_t aValue) { return HostSwap64(aValue); } in HostSwap()
181 inline void WriteUint16(uint16_t aValue, uint8_t *aBuffer) in WriteUint16()
194 inline void WriteUint24(uint32_t aValue, uint8_t *aBuffer) in WriteUint24()
208 inline void WriteUint32(uint32_t aValue, uint8_t *aBuffer) in WriteUint32()
223 inline void WriteUint64(uint64_t aValue, uint8_t *aBuffer) in WriteUint64()
265 template <> inline uint8_t HostSwap(uint8_t aValue) { return aValue; } in HostSwap()
266 template <> inline uint16_t HostSwap(uint16_t aValue) { return HostSwap16(aValue); } in HostSwap()
[all …]
Dtlvs.hpp207 …ic Error Read(const Message &aMessage, uint16_t aOffset, typename SimpleTlvType::ValueType &aValue) in Read()
226 … Error Read(const Message &aMessage, uint16_t aOffset, typename UintTlvType::UintValueType &aValue) in Read()
245 …c Error Read(const Message &aMessage, uint16_t aOffset, typename StringTlvType::StringType &aValue) in Read()
378 …template <typename TlvType> static Error Find(const Message &aMessage, void *aValue, uint8_t aLeng… in Find()
404 static Error Find(const Message &aMessage, typename SimpleTlvType::ValueType &aValue) in Find()
427 static Error Find(const Message &aMessage, typename UintTlvType::UintValueType &aValue) in Find()
453 static Error Find(const Message &aMessage, typename StringTlvType::StringType &aValue) in Find()
473 …template <typename TlvType> static Error Append(Message &aMessage, const void *aValue, uint8_t aLe… in Append()
493 static Error Append(Message &aMessage, const typename SimpleTlvType::ValueType &aValue) in Append()
512 …ame UintTlvType> static Error Append(Message &aMessage, typename UintTlvType::UintValueType aValue) in Append()
[all …]
Dnum_utils.hpp86 template <typename Type> Type Clamp(Type aValue, Type aMin, Type aMax) in Clamp()
105 template <typename UintType> uint8_t ClampToUint8(UintType aValue) in ClampToUint8()
126 template <typename UintType> uint16_t ClampToUint16(UintType aValue) in ClampToUint16()
147 template <typename IntType> int8_t ClampToInt8(IntType aValue) in ClampToInt8()
Dtlvs.cpp197 …v::ReadStringTlv(const Message &aMessage, uint16_t aOffset, uint8_t aMaxStringLength, char *aValue) in ReadStringTlv()
214 …ename UintType> Error Tlv::ReadUintTlv(const Message &aMessage, uint16_t aOffset, UintType &aValue) in ReadUintTlv()
230 Error Tlv::ReadTlvValue(const Message &aMessage, uint16_t aOffset, void *aValue, uint8_t aMinLength) in ReadTlvValue()
245 … Tlv::FindStringTlv(const Message &aMessage, uint8_t aType, uint8_t aMaxStringLength, char *aValue) in FindStringTlv()
257 …typename UintType> Error Tlv::FindUintTlv(const Message &aMessage, uint8_t aType, UintType &aValue) in FindUintTlv()
274 Error Tlv::FindTlv(const Message &aMessage, uint8_t aType, void *aValue, uint8_t aLength) in FindTlv()
288 …lv::AppendStringTlv(Message &aMessage, uint8_t aType, uint8_t aMaxStringLength, const char *aValue) in AppendStringTlv()
295 …ate <typename UintType> Error Tlv::AppendUintTlv(Message &aMessage, uint8_t aType, UintType aValue) in AppendUintTlv()
307 Error Tlv::AppendTlv(Message &aMessage, uint8_t aType, const void *aValue, uint8_t aLength) in AppendTlv()
Dsettings_driver.hpp108 Error Add(uint16_t aKey, const void *aValue, uint16_t aValueLength) in Add()
161 Error Get(uint16_t aKey, int aIndex, void *aValue, uint16_t *aValueLength) const in Get()
190 …Error Get(uint16_t aKey, void *aValue, uint16_t *aValueLength) const { return Get(aKey, 0, aValue,… in Get()
207 Error Set(uint16_t aKey, const void *aValue, uint16_t aValueLength) in Set()
Dbit_vector.hpp87 void Set(uint16_t aIndex, bool aValue) in Set()
Dtime.hpp88 explicit Time(uint32_t aValue) { SetValue(aValue); } in Time()
104 void SetValue(uint32_t aValue) { mValue = aValue; } in SetValue()
Das_core_type.hpp141 template <typename EnumType> const typename MappedEnum<EnumType>::Type MapEnum(EnumType aValue) in MapEnum()
Dsettings.cpp395 Error Settings::ReadEntry(Key aKey, void *aValue, uint16_t aMaxLength) const in ReadEntry()
406 Error Settings::SaveEntry(Key aKey, const void *aValue, void *aPrev, uint16_t aLength) in SaveEntry()
436 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-3.5.0/src/core/utils/
Dflash.cpp117 Error Flash::Get(uint16_t aKey, int aIndex, uint8_t *aValue, uint16_t *aValueLength) const in Get()
168 Error Flash::Set(uint16_t aKey, const uint8_t *aValue, uint16_t aValueLength) in Set()
173 Error Flash::Add(uint16_t aKey, const uint8_t *aValue, uint16_t aValueLength) in Add()
180 Error Flash::Add(uint16_t aKey, bool aFirst, const uint8_t *aValue, uint16_t aValueLength) in Add()
Dparse_cmdline.cpp51 static Error ParseDigit(char aDigitChar, uint8_t &aValue) in ParseDigit()
62 static Error ParseHexDigit(char aHexChar, uint8_t &aValue) in ParseHexDigit()
/openthread-3.5.0/examples/platforms/utils/
Dsettings_ram.c71 otError otPlatSettingsGet(otInstance *aInstance, uint16_t aKey, int aIndex, uint8_t *aValue, uint16… in otPlatSettingsGet()
123 otError otPlatSettingsSet(otInstance *aInstance, uint16_t aKey, const uint8_t *aValue, uint16_t aVa… in otPlatSettingsSet()
157 otError otPlatSettingsAdd(otInstance *aInstance, uint16_t aKey, const uint8_t *aValue, uint16_t aVa… in otPlatSettingsAdd()
/openthread-3.5.0/src/posix/platform/
Dsettings.cpp240 otError otPlatSettingsGet(otInstance *aInstance, uint16_t aKey, int aIndex, uint8_t *aValue, uint16… in otPlatSettingsGet()
263 otError otPlatSettingsSet(otInstance *aInstance, uint16_t aKey, const uint8_t *aValue, uint16_t aVa… in otPlatSettingsSet()
281 otError otPlatSettingsAdd(otInstance *aInstance, uint16_t aKey, const uint8_t *aValue, uint16_t aVa… in otPlatSettingsAdd()
332 otError PlatformSettingsGet(otInstance *aInstance, uint16_t aKey, int aIndex, uint8_t *aValue, uint… in PlatformSettingsGet()
388 void PlatformSettingsSet(otInstance *aInstance, uint16_t aKey, const uint8_t *aValue, uint16_t aVal… in PlatformSettingsSet()
411 void PlatformSettingsAdd(otInstance *aInstance, uint16_t aKey, const uint8_t *aValue, uint16_t aVal… in PlatformSettingsAdd()
Dconfig_file.cpp53 otError ConfigFile::Get(const char *aKey, int &aIterator, char *aValue, int aValueLength) in Get()
116 otError ConfigFile::Add(const char *aKey, const char *aValue) in Add()
/openthread-3.5.0/src/core/coap/
Dcoap_message.cpp106 uint8_t Message::WriteExtendedOptionField(uint16_t aValue, uint8_t *&aBuffer) in WriteExtendedOptionField()
149 Error Message::AppendOption(uint16_t aNumber, uint16_t aLength, const void *aValue) in AppendOption()
180 Error Message::AppendUintOption(uint16_t aNumber, uint32_t aValue) in AppendUintOption()
197 Error Message::AppendStringOption(uint16_t aNumber, const char *aValue) in AppendStringOption()
577 Error Option::Iterator::ReadExtendedOptionField(uint16_t &aValue) in ReadExtendedOptionField()
/openthread-3.5.0/examples/platforms/simulation/
Ddiag.c78 otError otPlatDiagGpioSet(uint32_t aGpio, bool aValue) in otPlatDiagGpioSet()
89 otError otPlatDiagGpioGet(uint32_t aGpio, bool *aValue) in otPlatDiagGpioGet()
/openthread-3.5.0/src/core/api/
Drandom_noncrypto_api.cpp63 uint32_t otRandomNonCryptoAddJitter(uint32_t aValue, uint16_t aJitter) in otRandomNonCryptoAddJitter()
Dcoap_api.cpp82 …oapMessageAppendOption(otMessage *aMessage, uint16_t aNumber, uint16_t aLength, const void *aValue) in otCoapMessageAppendOption()
87 otError otCoapMessageAppendUintOption(otMessage *aMessage, uint16_t aNumber, uint32_t aValue) in otCoapMessageAppendUintOption()
191 otError otCoapOptionIteratorGetOptionUintValue(otCoapOptionIterator *aIterator, uint64_t *aValue) in otCoapOptionIteratorGetOptionUintValue()
196 otError otCoapOptionIteratorGetOptionValue(otCoapOptionIterator *aIterator, void *aValue) in otCoapOptionIteratorGetOptionValue()
/openthread-3.5.0/tests/unit/
Dtest_dso.cpp94 void Init(uint8_t aValue) in Init()
153 … void SendTestRequestMessage(uint8_t aValue = 0, uint32_t aResponseTimeout = Dso::kResponseTimeout) in SendTestRequestMessage()
161 void SendTestUnidirectionalMessage(uint8_t aValue = 0) in SendTestUnidirectionalMessage()
168 Message &PrepareTestMessage(uint8_t aValue) in PrepareTestMessage()
202 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-3.5.0/src/core/thread/
Dradio_selector.hpp106 …void SetRadioPreference(Mac::RadioType aType, uint8_t aValue) { mRadioPreference[aType] = aValu… in SetRadioPreference()
Dnetwork_data_types.hpp143 inline RoutePreference RoutePreferenceFromValue(uint8_t aValue) in RoutePreferenceFromValue()
/openthread-3.5.0/src/core/meshcop/
Ddataset.hpp780 template <typename ValueType> Error SetTlv(Tlv::Type aType, const ValueType &aValue) in SetTlv()
933 template <> inline Error Dataset::SetTlv(Tlv::Type aType, const uint16_t &aValue) in SetTlv()
950 template <> inline Error Dataset::SetTlv(Tlv::Type aType, const uint32_t &aValue) in SetTlv()
/openthread-3.5.0/tests/fuzz/
Dfuzzer_platform.cpp438 otError otPlatSettingsGet(otInstance *aInstance, uint16_t aKey, int aIndex, uint8_t *aValue, uint16… in otPlatSettingsGet()
448 otError otPlatSettingsSet(otInstance *aInstance, uint16_t aKey, const uint8_t *aValue, uint16_t aVa… in otPlatSettingsSet()
457 otError otPlatSettingsAdd(otInstance *aInstance, uint16_t aKey, const uint8_t *aValue, uint16_t aVa… in otPlatSettingsAdd()

12