/external/clang/test/SemaCXX/ |
libstdcxx_common_type_hack.cpp | 4 // an issue with GCC's <type_traits> implementation. std::common_type 14 template<typename...Ts> struct common_type {}; struct in namespace:std 15 template<typename A, typename B> struct common_type<A, B> { struct in namespace:std 28 using T = std::common_type<int, int>::type;
|
/external/libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/ |
common_type.pass.cpp | 12 // common_type 30 struct common_type<T, ::S<T> > struct in namespace:std 36 struct common_type< ::S<T>, T> { struct in namespace:std 42 struct common_type< ::S<T>, ::S<T> > { struct in namespace:std 46 template <> struct common_type< ::S<long>, long> {}; struct in namespace:std 47 template <> struct common_type<long, ::S<long> > {}; struct in namespace:std 48 template <> struct common_type< ::X<float> > {}; struct in namespace:std 49 template <> struct common_type< ::X<double>, ::X<double> > {}; struct in namespace:std 59 -> always_bool<typename std::common_type<Args...>::type> 72 using CommonType = typename std::common_type<Args...>::type [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/meta/meta.trans/meta.trans.other/ |
common_type.pass.cpp | 12 // common_type 30 struct common_type<T, ::S<T> > struct in namespace:std 36 struct common_type< ::S<T>, T> { struct in namespace:std 42 struct common_type< ::S<T>, ::S<T> > { struct in namespace:std 46 template <> struct common_type< ::S<long>, long> {}; struct in namespace:std 47 template <> struct common_type<long, ::S<long> > {}; struct in namespace:std 48 template <> struct common_type< ::X<float> > {}; struct in namespace:std 49 template <> struct common_type< ::X<double>, ::X<double> > {}; struct in namespace:std 59 -> always_bool<typename std::common_type<Args...>::type> 72 using CommonType = typename std::common_type<Args...>::type [all...] |
/art/compiler/optimizing/ |
ssa_builder.cc | 127 DataType::Type common_type = phi->GetType(); local 137 if (common_type == input_type) { 139 } else if (DataType::Is64BitType(common_type) != DataType::Is64BitType(input_type)) { 142 } else if (DataType::IsIntegralType(common_type)) { 148 common_type = input_type; 152 DCHECK(DataType::IsFloatingPointType(common_type) || 153 common_type == DataType::Type::kReference); 157 (common_type == DataType::Type::kFloat32 && input_type == DataType::Type::kReference) || 158 (common_type == DataType::Type::kReference && input_type == DataType::Type::kFloat32)); 165 phi->SetType(common_type); 171 DataType::Type common_type = phi->GetType(); local [all...] |
/external/mesa3d/src/mesa/main/ |
format_utils.c | 277 enum mesa_array_format_datatype src_type = 0, dst_type = 0, common_type; local 501 common_type = is_signed ? MESA_ARRAY_FORMAT_TYPE_INT : 507 _mesa_swizzle_and_convert(tmp_uint + row * width, common_type, 4, 517 _mesa_swizzle_and_convert(tmp_uint + row * width, common_type, 4, 518 tmp_uint + row * width, common_type, 4, 531 tmp_uint + row * width, common_type, 4, [all...] |