Searched refs:_C2FlexHelper (Results 1 – 2 of 2) sorted by relevance
/frameworks/av/media/codec2/core/include/ |
D | C2ParamDef.h | 136 struct C2_HIDE _C2FlexHelper { struct 143 struct C2_HIDE _C2FlexHelper<S, argument 145 typedef typename _C2FlexHelper<typename S::_FlexMemberType>::FlexType FlexType; 146 enum : uint32_t { FLEX_SIZE = _C2FlexHelper<typename S::_FlexMemberType>::FLEX_SIZE }; 151 struct C2_HIDE _C2FlexHelper<S[], 152 typename std::enable_if<std::is_void<typename _C2FlexHelper<S>::FlexType>::value>::type> { 189 FLEX_SIZE = _C2FlexHelper<S>::FLEX_SIZE, ///< size of flexible type 308 template<typename, typename> friend struct _C2FlexHelper; \ 314 typedef typename _C2FlexHelper<_FlexMemberType>::FlexType FlexType; \ 318 enum : uint32_t { FLEX_SIZE = _C2FlexHelper<_FlexMemberType>::FLEX_SIZE }; \
|
/frameworks/av/media/codec2/tests/ |
D | C2Param_test.cpp | 1729 static_assert(std::is_same<_C2FlexHelper<char>::FlexType, void>::value, "should be void"); in StaticTest() 1730 static_assert(std::is_same<_C2FlexHelper<char[]>::FlexType, char>::value, "should be char"); in StaticTest() 1731 static_assert(std::is_same<_C2FlexHelper<_Flex>::FlexType, char>::value, "should be char"); in StaticTest() 1733 … static_assert(std::is_same<_C2FlexHelper<_BoFlex>::FlexType, char>::value, "should be void"); in StaticTest()
|