Searched refs:FlexType (Results 1 – 2 of 2) sorted by relevance
/frameworks/av/media/codec2/core/include/ |
D | C2ParamDef.h | 137 typedef void FlexType; typedef 145 typedef typename _C2FlexHelper<typename S::_FlexMemberType>::FlexType FlexType; 152 typename std::enable_if<std::is_void<typename _C2FlexHelper<S>::FlexType>::value>::type> { 153 typedef S FlexType; 267 template<typename ...Args, typename U=typename S::FlexType> \ 272 template<typename ...Args, typename U=typename S::FlexType> \ 277 template<typename ...Args, typename U=typename S::FlexType, unsigned N> \ 314 typedef typename _C2FlexHelper<_FlexMemberType>::FlexType FlexType; \ 316 !std::is_void<FlexType>::value, \
|
/frameworks/av/media/codec2/tests/ |
D | C2Param_test.cpp | 274 constexpr static type_t FlexType = member in C2ParamTest_FlexParamFieldList 295 …EXPECT_EQ(C2FieldDescriptor(this->FlexType, 0, "flex", alignof(TypeParam) /* offset */, this->FLEX… in TYPED_TEST() 299 EXPECT_EQ(C2FieldDescriptor(this->FlexType, 0, "flex", 0, this->FLEX_SIZE), in TYPED_TEST() 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()
|