Searched refs:ValueType (Results 1 – 5 of 5) sorted by relevance
/openthread-2.7.6/src/cli/ |
D | cli.hpp | 345 template <typename ValueType> using GetHandler = ValueType (&)(otInstance *); 346 template <typename ValueType> using SetHandler = void (&)(otInstance *, ValueType); 347 template <typename ValueType> using SetHandlerFailable = otError (&)(otInstance *, ValueType); 350 template <typename ValueType> static constexpr const char *FormatStringFor(void); 352 template <typename ValueType> otError ProcessGet(Arg aArgs[], GetHandler<ValueType> aGetHandler) in ProcessGet() 355 …TypeTraits::IsSame<ValueType, uint8_t>::kValue || TypeTraits::IsSame<ValueType, uint16_t>::kValue … in ProcessGet() 356 …TypeTraits::IsSame<ValueType, uint32_t>::kValue || TypeTraits::IsSame<ValueType, int8_t>::kValue || in ProcessGet() 357 … TypeTraits::IsSame<ValueType, int16_t>::kValue || TypeTraits::IsSame<ValueType, int32_t>::kValue, in ProcessGet() 363 OutputLine(FormatStringFor<ValueType>(), aGetHandler(mInstance)); in ProcessGet() 369 template <typename ValueType> otError ProcessSet(Arg aArgs[], SetHandler<ValueType> aSetHandler) in ProcessSet() [all …]
|
/openthread-2.7.6/tests/unit/ |
D | test_cmd_line_parser.cpp | 51 template <typename ValueType> struct TestCase 55 ValueType mValue; 58 template <typename ValueType, otError (&Parser)(const char *aString, ValueType &aValue)> 59 void VerifyParser(const TestCase<ValueType> *aTestCases, const char *aParserName, const char *aPrin… in VerifyParser() 61 const TestCase<ValueType> *testCase = aTestCases; in VerifyParser() 62 ValueType value; in VerifyParser()
|
/openthread-2.7.6/src/core/common/ |
D | settings.hpp | 524 typedef Utils::Slaac::IidSecretKey ValueType; ///< The associated value type. typedef in ot::SettingsBase::SlaacIidSecretKey 583 typedef Ip6::Prefix ValueType; ///< The associated value type. typedef in ot::SettingsBase::OmrPrefix 598 typedef Ip6::Prefix ValueType; ///< The associated value type. typedef in ot::SettingsBase::OnLinkPrefix 615 typedef Crypto::Ecdsa::P256::KeyPair ValueType; ///< The associated value type. typedef in ot::SettingsBase::SrpEcdsaKey 866 template <typename EntryType> Error Read(typename EntryType::ValueType &aValue) const in Read() 868 return ReadEntry(EntryType::kKey, &aValue, sizeof(typename EntryType::ValueType)); in Read() 915 template <typename EntryType> Error Save(const typename EntryType::ValueType &aValue) in Save() 917 typename EntryType::ValueType prev; in Save() 919 return SaveEntry(EntryType::kKey, &aValue, &prev, sizeof(typename EntryType::ValueType)); in Save()
|
D | tlvs.hpp | 205 …static Error Read(const Message &aMessage, uint16_t aOffset, typename SimpleTlvType::ValueType &aV… in Read() 343 static Error Find(const Message &aMessage, typename SimpleTlvType::ValueType &aValue) in Find() 406 static Error Append(Message &aMessage, const typename SimpleTlvType::ValueType &aValue) in Append() 524 typedef TlvValueType ValueType; ///< The TLV Value type. typedef in ot::SimpleTlvInfo
|
/openthread-2.7.6/src/core/meshcop/ |
D | dataset.hpp | 785 template <typename ValueType> Error SetTlv(Tlv::Type aType, const ValueType &aValue) in SetTlv() 787 static_assert(!TypeTraits::IsPointer<ValueType>::kValue, "ValueType must not be a pointer"); in SetTlv() 789 return SetTlv(aType, &aValue, sizeof(ValueType)); in SetTlv()
|