Home
last modified time | relevance | path

Searched refs:conditional_t (Results 1 – 5 of 5) sorted by relevance

/external/skia/src/utils/
DSkTFitsIn.h22 using type = skstd::conditional_t<a, skstd::conditional_t<b, Both, A>,
23 skstd::conditional_t<b, B, Neither>>;
131 typedef skstd::conditional_t<sourceFitsInDesitination::value, NoCheck, HighSideOnlyCheck> type;
148 typedef skstd::conditional_t<sourceFitsInDesitination::value, NoCheck, FullCheck> type;
166 typedef skstd::conditional_t<sourceCannotExceedDest::value, LowSideOnlyCheck, FullCheck> type;
184 typedef skstd::conditional_t<sourceCannotExceedDest::value, NoCheck, HighSideOnlyCheck> type;
/external/libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/
Dconditional.pass.cpp21 static_assert((std::is_same<std::conditional_t<true, char, int>, char>::value), ""); in main()
22 static_assert((std::is_same<std::conditional_t<false, char, int>, int>::value), ""); in main()
/external/skia/include/private/
DSkTLogic.h28 template <bool B, typename T, typename F> using conditional_t = typename std::conditional<B, T, F>:… variable
98 using type = skstd::conditional_t<std::is_const<S>::value, skstd::add_const_t<D>, D>;
103 using type = skstd::conditional_t<std::is_volatile<S>::value, skstd::add_volatile_t<D>, D>;
DSkUniquePtr.h111 conditional_t<std::is_reference<deleter_type>::value,
131 conditional_t<std::is_reference<D>::value,
287 conditional_t<std::is_reference<deleter_type>::value,
/external/libcxx/include/
Dtype_traits197 using conditional_t = typename conditional<b,T,F>::type; // C++14
234 template <bool _Bp, class _If, class _Then> using conditional_t = typename conditional<_Bp, _If, _T…