Home
last modified time | relevance | path

Searched refs:IsSame (Results 1 – 11 of 11) sorted by relevance

/openthread-latest/src/core/common/
Dnum_utils.hpp103 …static_assert(TypeTraits::IsSame<UintType, uint16_t>::kValue || TypeTraits::IsSame<UintType, uint3… in ClampToUint8()
104 TypeTraits::IsSame<UintType, uint64_t>::kValue, in ClampToUint8()
123 …static_assert(TypeTraits::IsSame<UintType, uint32_t>::kValue || TypeTraits::IsSame<UintType, uint6… in ClampToUint16()
143 …static_assert(TypeTraits::IsSame<IntType, int16_t>::kValue || TypeTraits::IsSame<IntType, int32_t>… in ClampToInt8()
144 TypeTraits::IsSame<IntType, int64_t>::kValue, in ClampToInt8()
233 …static_assert(TypeTraits::IsSame<UintType, uint8_t>::kValue || TypeTraits::IsSame<UintType, uint16… in CountBitsInMask()
234 … TypeTraits::IsSame<UintType, uint32_t>::kValue || TypeTraits::IsSame<UintType, uint64_t>::kValue, in CountBitsInMask()
Dserial_number.hpp65 …static_assert(TypeTraits::IsSame<UintType, uint8_t>::kValue || TypeTraits::IsSame<UintType, uint16… in IsLess()
66 TypeTraits::IsSame<UintType, uint32_t>::kValue || in IsLess()
67 TypeTraits::IsSame<UintType, uint64_t>::kValue, in IsLess()
Dtlvs.hpp801 …static_assert(TypeTraits::IsSame<UintType, uint8_t>::kValue || TypeTraits::IsSame<UintType, uint16…
802 TypeTraits::IsSame<UintType, uint32_t>::kValue,
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…
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.hpp95 template <typename FirstType, typename SecondType> struct IsSame : public FalseValue struct
99 template <typename Type> struct IsSame<Type, Type> : public TrueValue struct
/openthread-latest/src/cli/
Dcli_utils.hpp535 …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/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/
Dsrp_advertising_proxy.cpp634 …static_assert(TypeTraits::IsSame<Entry, Host>::kValue || TypeTraits::IsSame<Entry, Service>::kValu… in UpdateKeyRegistrationStatus()
Dmdns.cpp561 …static_assert(TypeTraits::IsSame<UintType, uint8_t>::kValue || TypeTraits::IsSame<UintType, uint16… 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()