Home
last modified time | relevance | path

Searched refs:kValue (Results 1 – 24 of 24) sorted by relevance

/openthread-latest/src/core/common/
Dnum_utils.hpp103 …_assert(TypeTraits::IsSame<UintType, uint16_t>::kValue || TypeTraits::IsSame<UintType, uint32_t>:: in ClampToUint8()
104 TypeTraits::IsSame<UintType, uint64_t>::kValue, in ClampToUint8()
123 …_assert(TypeTraits::IsSame<UintType, uint32_t>::kValue || TypeTraits::IsSame<UintType, uint64_t>:: in ClampToUint16()
143 …tic_assert(TypeTraits::IsSame<IntType, int16_t>::kValue || TypeTraits::IsSame<IntType, int32_t>::k… in ClampToInt8()
144 TypeTraits::IsSame<IntType, int64_t>::kValue, in ClampToInt8()
233 …c_assert(TypeTraits::IsSame<UintType, uint8_t>::kValue || TypeTraits::IsSame<UintType, uint16_t>:: in CountBitsInMask()
234 … TypeTraits::IsSame<UintType, uint32_t>::kValue || TypeTraits::IsSame<UintType, uint64_t>::kValue, in CountBitsInMask()
Dserial_number.hpp65 …c_assert(TypeTraits::IsSame<UintType, uint8_t>::kValue || TypeTraits::IsSame<UintType, uint16_t>:: in IsLess()
66 TypeTraits::IsSame<UintType, uint32_t>::kValue || in IsLess()
67 TypeTraits::IsSame<UintType, uint64_t>::kValue, in IsLess()
Dtlvs.hpp801 …c_assert(TypeTraits::IsSame<UintType, uint8_t>::kValue || TypeTraits::IsSame<UintType, uint16_t>::
802 TypeTraits::IsSame<UintType, uint32_t>::kValue,
820 … static_assert(!TypeTraits::IsPointer<TlvValueType>::kValue, "TlvValueType must not be a pointer");
821 …static_assert(!TypeTraits::IsSame<TlvValueType, uint8_t>::kValue, "SimpleTlv must not use int valu…
822 …static_assert(!TypeTraits::IsSame<TlvValueType, uint16_t>::kValue, "SimpleTlv must not use int val…
823 …static_assert(!TypeTraits::IsSame<TlvValueType, uint32_t>::kValue, "SimpleTlv must not use int val…
824 …static_assert(!TypeTraits::IsSame<TlvValueType, int8_t>::kValue, "SimpleTlv must not use int value…
825 …static_assert(!TypeTraits::IsSame<TlvValueType, int16_t>::kValue, "SimpleTlv must not use int valu…
826 …static_assert(!TypeTraits::IsSame<TlvValueType, int32_t>::kValue, "SimpleTlv must not use int valu…
Dframe_builder.hpp209 … static_assert(!TypeTraits::IsPointer<ObjectType>::kValue, "ObjectType must not be a pointer"); in Append()
241 … static_assert(!TypeTraits::IsPointer<ObjectType>::kValue, "ObjectType must not be a pointer"); in Append()
271 … static_assert(!TypeTraits::IsPointer<ObjectType>::kValue, "ObjectType must not be a pointer"); in Write()
307 … static_assert(!TypeTraits::IsPointer<ObjectType>::kValue, "ObjectType must not be a pointer"); in Insert()
Dcallback.hpp156 … (TypeTraits::IsSame<typename TypeTraits::FirstArgTypeOf<HandlerType>::Type, void *>::kValue
202 static_assert(TypeTraits::IsSame<ReturnType, void>::kValue, in InvokeIfSet()
250 static_assert(TypeTraits::IsSame<ReturnType, void>::kValue, in InvokeIfSet()
Dtype_traits.hpp45 constexpr static bool kValue = true; ///< true value. member
53 constexpr static bool kValue = false; ///< false value. member
Drandom.hpp175 static_assert(!TypeTraits::IsPointer<ObjectType>::kValue, "ObjectType must not be a pointer"); in Fill()
218 static_assert(!TypeTraits::IsPointer<ObjectType>::kValue, "ObjectType must not be a pointer"); in Fill()
Ddata.hpp150 … static_assert(!TypeTraits::IsPointer<ObjectType>::kValue, "ObjectType MUST not be a pointer"); in InitFrom()
297 … static_assert(!TypeTraits::IsPointer<ObjectType>::kValue, "ObjectType MUST not be a pointer"); in InitFrom()
Dclearable.hpp54 static_assert(!TypeTraits::IsPointer<ObjectType>::kValue, "ObjectType must not be a pointer"); in ClearAllBytes()
Dmessage.hpp672 … static_assert(!TypeTraits::IsPointer<ObjectType>::kValue, "ObjectType must not be a pointer"); in Prepend()
781 … static_assert(!TypeTraits::IsPointer<ObjectType>::kValue, "ObjectType must not be a pointer"); in Append()
871 … static_assert(!TypeTraits::IsPointer<ObjectType>::kValue, "ObjectType must not be a pointer"); in Read()
889 … static_assert(!TypeTraits::IsPointer<ObjectType>::kValue, "ObjectType must not be a pointer"); in Read()
948 … static_assert(!TypeTraits::IsPointer<ObjectType>::kValue, "ObjectType must not be a pointer"); in Compare()
994 … static_assert(!TypeTraits::IsPointer<ObjectType>::kValue, "ObjectType must not be a pointer"); in Write()
Dframe_data.hpp149 … static_assert(!TypeTraits::IsPointer<ObjectType>::kValue, "ObjectType must not be a pointer"); in Read()
Dappender.hpp115 … static_assert(!TypeTraits::IsPointer<ObjectType>::kValue, "ObjectType must not be a pointer"); in Append()
/openthread-latest/src/core/utils/
Dstatic_counter.hpp42 static constexpr int kValue = N; member
48 static constexpr int kValue = 0; member
53 #define StaticCounterValue() decltype(StaticCounter(StaticInt<255>{}))::kValue
/openthread-latest/src/cli/
Dcli_utils.hpp502 … static_assert(!TypeTraits::IsPointer<ObjectType>::kValue, "ObjectType must not be a pointer"); in ClearAllBytes()
535 …TypeTraits::IsSame<ValueType, uint8_t>::kValue || TypeTraits::IsSame<ValueType, uint16_t>::kValue in ProcessGet()
536 … TypeTraits::IsSame<ValueType, int8_t>::kValue || TypeTraits::IsSame<ValueType, int16_t>::kValue || in ProcessGet()
537 TypeTraits::IsSame<ValueType, const char *>::kValue, in ProcessGet()
/openthread-latest/src/core/mac/
Dmac_frame.hpp870 template <uint16_t kValue, uint16_t kMpValue> static uint16_t Select(uint16_t aFcf) in Select()
872 return IsMultipurpose(aFcf) ? kMpValue : kValue; in Select()
875 …template <uint16_t kValue, uint16_t kMpValue> static uint16_t Select(uint16_t /* aFcf */) { return… in Select()
878 template <uint16_t kValue, uint16_t kMpValue> static uint16_t MaskFcf(uint16_t aFcf) in MaskFcf()
880 return aFcf & Select<kValue, kMpValue>(aFcf); in MaskFcf()
/openthread-latest/src/core/crypto/
Dhmac_sha256.hpp105 … static_assert(!TypeTraits::IsPointer<ObjectType>::kValue, "ObjectType must not be a pointer"); in Update()
Dsha256.hpp117 … static_assert(!TypeTraits::IsPointer<ObjectType>::kValue, "ObjectType must not be a pointer"); in Update()
Daes_ccm.hpp131 … static_assert(!TypeTraits::IsPointer<ObjectType>::kValue, "ObjectType must not be a pointer"); in Header()
/openthread-latest/tests/unit/
Dtest_array.cpp416 …static_assert(TypeTraits::IsSame<Array1::IndexType, uint8_t>::kValue, "Array1::IndexType is incorr… in TestArrayIndexType()
417 …static_assert(TypeTraits::IsSame<Array2::IndexType, uint16_t>::kValue, "Array2::IndexType is incor… in TestArrayIndexType()
418 …static_assert(TypeTraits::IsSame<Array3::IndexType, uint16_t>::kValue, "Array3::IndexType is incor… in TestArrayIndexType()
Dtest_heap_array.cpp170 if (TypeTraits::IsSame<EntryType, Entry>::kValue) in VerifyArray()
/openthread-latest/src/core/net/
Dnd6.hpp538 … static_assert(!TypeTraits::IsPointer<ObjectType>::kValue, "ObjectType must not be a pointer"); in Append()
Dsrp_advertising_proxy.cpp634 …static_assert(TypeTraits::IsSame<Entry, Host>::kValue || TypeTraits::IsSame<Entry, Service>::kValu… in UpdateKeyRegistrationStatus()
Dmdns.cpp561 …c_assert(TypeTraits::IsSame<UintType, uint8_t>::kValue || TypeTraits::IsSame<UintType, uint16_t>:: in UpdateProperty()
562 … TypeTraits::IsSame<UintType, uint32_t>::kValue || TypeTraits::IsSame<UintType, uint64_t>::kValue, in UpdateProperty()
/openthread-latest/src/core/border_router/
Drouting_manager.cpp1431 static_assert(TypeTraits::IsSame<PrefixType, OnLinkPrefix>::kValue || in AllocateEntry()
1432 TypeTraits::IsSame<PrefixType, RoutePrefix>::kValue, in AllocateEntry()
1455 static_assert(TypeTraits::IsSame<PrefixType, OnLinkPrefix>::kValue || in Free()
1456 TypeTraits::IsSame<PrefixType, RoutePrefix>::kValue, in Free()