Searched refs:FlexType (Results 1 – 2 of 2) sorted by relevance
/frameworks/av/media/codec2/core/include/ |
D | C2ParamDef.h | 134 typedef void FlexType; typedef 142 typedef typename _C2FlexHelper<typename S::_FlexMemberType>::FlexType FlexType; 149 typename std::enable_if<std::is_void<typename _C2FlexHelper<S>::FlexType>::value>::type> { 150 typedef S FlexType; 244 template<typename ...Args, typename U=typename S::FlexType> \ 249 template<typename ...Args, typename U=typename S::FlexType> \ 254 template<typename ...Args, typename U=typename S::FlexType, unsigned N> \ 286 typedef typename _C2FlexHelper<_FlexMemberType>::FlexType FlexType; \ 288 !std::is_void<FlexType>::value, \
|
/frameworks/av/media/codec2/tests/ |
D | C2Param_test.cpp | 268 constexpr static type_t FlexType = member in C2ParamTest_FlexParamFieldList 289 EXPECT_EQ(C2FieldDescriptor(this->FlexType, 0, "flex", 4, this->FLEX_SIZE), in TYPED_TEST() 293 EXPECT_EQ(C2FieldDescriptor(this->FlexType, 0, "flex", 0, this->FLEX_SIZE), in TYPED_TEST() 1721 static_assert(std::is_same<_C2FlexHelper<char>::FlexType, void>::value, "should be void"); in StaticTest() 1722 static_assert(std::is_same<_C2FlexHelper<char[]>::FlexType, char>::value, "should be char"); in StaticTest() 1723 static_assert(std::is_same<_C2FlexHelper<_Flex>::FlexType, char>::value, "should be char"); in StaticTest() 1725 … static_assert(std::is_same<_C2FlexHelper<_BoFlex>::FlexType, char>::value, "should be void"); in StaticTest()
|