/external/clang/www/ |
libstdc++4.6-clang11.patch | 6 struct common_type<_Tp, _Up> 11 struct common_type<_Tp, _Up, _Vp...>
|
libstdc++4.7-clang11.patch | 8 struct common_type<_Tp, _Up> 13 struct common_type<_Tp, _Up, _Vp...>
|
/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;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/meta/meta.trans/meta.trans.other/ |
common_type.pass.cpp | 12 // common_type 18 static_assert((std::is_same<std::common_type<int>::type, int>::value), ""); 19 static_assert((std::is_same<std::common_type<char>::type, char>::value), ""); 25 static_assert((std::is_same<std::common_type<double, char>::type, double>::value), ""); 26 static_assert((std::is_same<std::common_type<short, char>::type, int>::value), ""); 32 static_assert((std::is_same<std::common_type<double, char, long long>::type, double>::value), ""); 33 static_assert((std::is_same<std::common_type<unsigned, char, long long>::type, long long>::value), "");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/ |
chrono | 138 // common_type traits 140 struct common_type<chrono::duration<Rep1, Period1>, chrono::duration<Rep2, Period2>>; 143 struct common_type<chrono::time_point<Clock, Duration1>, chrono::time_point<Clock, Duration2>>; 150 typename common_type<duration<Rep1, Period1>, duration<Rep2, Period2>>::type 154 typename common_type<duration<Rep1, Period1>, duration<Rep2, Period2>>::type 158 duration<typename common_type<Rep1, Rep2>::type, Period> 162 duration<typename common_type<Rep1, Rep2>::type, Period> 166 duration<typename common_type<Rep1, Rep2>::type, Period> 170 typename common_type<Rep1, Rep2>::type 199 time_point<Clock, typename common_type<Duration1, duration<Rep2, Period2>>::type [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/ |
chrono | 71 // 20.8.2.3 specialization of common_type (for duration) 73 struct common_type<chrono::duration<_Rep1, _Period1>, 76 typedef chrono::duration<typename common_type<_Rep1, _Rep2>::type, 82 // 20.8.2.3 specialization of common_type (for time_point) 84 struct common_type<chrono::time_point<_Clock, _Duration1>, 88 typename common_type<_Duration1, _Duration2>::type> type; 149 common_type<typename _ToDuration::rep, _Rep, intmax_t>::type __cr; 320 inline typename common_type<duration<_Rep1, _Period1>, 325 typedef typename common_type<duration<_Rep1, _Period1>, 332 inline typename common_type<duration<_Rep1, _Period1>, [all...] |
/prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/ |
chrono | 71 // 20.8.2.3 specialization of common_type (for duration) 73 struct common_type<chrono::duration<_Rep1, _Period1>, 76 typedef chrono::duration<typename common_type<_Rep1, _Rep2>::type, 82 // 20.8.2.3 specialization of common_type (for time_point) 84 struct common_type<chrono::time_point<_Clock, _Duration1>, 88 typename common_type<_Duration1, _Duration2>::type> type; 149 common_type<typename _ToDuration::rep, _Rep, intmax_t>::type __cr; 320 inline typename common_type<duration<_Rep1, _Period1>, 325 typedef typename common_type<duration<_Rep1, _Period1>, 332 inline typename common_type<duration<_Rep1, _Period1>, [all...] |
/prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/include/ |
chrono | 71 // 20.8.2.3 specialization of common_type (for duration) 73 struct common_type<chrono::duration<_Rep1, _Period1>, 76 typedef chrono::duration<typename common_type<_Rep1, _Rep2>::type, 82 // 20.8.2.3 specialization of common_type (for time_point) 84 struct common_type<chrono::time_point<_Clock, _Duration1>, 88 typename common_type<_Duration1, _Duration2>::type> type; 149 common_type<typename _ToDuration::rep, _Rep, intmax_t>::type __cr; 320 inline typename common_type<duration<_Rep1, _Period1>, 325 typedef typename common_type<duration<_Rep1, _Period1>, 332 inline typename common_type<duration<_Rep1, _Period1>, [all...] |
/prebuilts/ndk/7/sources/cxx-stl/gnu-libstdc++/include/ |
chrono | 71 // 20.8.2.3 specialization of common_type (for duration) 73 struct common_type<chrono::duration<_Rep1, _Period1>, 76 typedef chrono::duration<typename common_type<_Rep1, _Rep2>::type, 82 // 20.8.2.3 specialization of common_type (for time_point) 84 struct common_type<chrono::time_point<_Clock, _Duration1>, 88 typename common_type<_Duration1, _Duration2>::type> type; 149 common_type<typename _ToDuration::rep, _Rep, intmax_t>::type __cr; 320 inline typename common_type<duration<_Rep1, _Period1>, 325 typedef typename common_type<duration<_Rep1, _Period1>, 332 inline typename common_type<duration<_Rep1, _Period1>, [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/ |
chrono | 71 // 20.8.2.3 specialization of common_type (for duration) 73 struct common_type<chrono::duration<_Rep1, _Period1>, 76 typedef chrono::duration<typename common_type<_Rep1, _Rep2>::type, 82 // 20.8.2.3 specialization of common_type (for time_point) 84 struct common_type<chrono::time_point<_Clock, _Duration1>, 88 typename common_type<_Duration1, _Duration2>::type> type; 149 common_type<typename _ToDuration::rep, _Rep, intmax_t>::type __cr; 320 inline typename common_type<duration<_Rep1, _Period1>, 325 typedef typename common_type<duration<_Rep1, _Period1>, 332 inline typename common_type<duration<_Rep1, _Period1>, [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.7/include/ |
chrono | 72 // 20.8.2.3 specialization of common_type (for duration) 74 struct common_type<chrono::duration<_Rep1, _Period1>, 80 typedef typename common_type<_Rep1, _Rep2>::type __cr; 88 // 20.8.2.3 specialization of common_type (for time_point) 90 struct common_type<chrono::time_point<_Clock, _Dur1>, 94 typedef typename common_type<_Dur1, _Dur2>::type __ct; 179 typedef typename common_type<__to_rep, _Rep, intmax_t>::type 355 constexpr typename common_type<duration<_Rep1, _Period1>, 362 typedef typename common_type<__dur1,__dur2>::type __cd; 368 constexpr typename common_type<duration<_Rep1, _Period1> [all...] |
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.7/include/ |
chrono | 72 // 20.8.2.3 specialization of common_type (for duration) 74 struct common_type<chrono::duration<_Rep1, _Period1>, 80 typedef typename common_type<_Rep1, _Rep2>::type __cr; 88 // 20.8.2.3 specialization of common_type (for time_point) 90 struct common_type<chrono::time_point<_Clock, _Dur1>, 94 typedef typename common_type<_Dur1, _Dur2>::type __ct; 179 typedef typename common_type<__to_rep, _Rep, intmax_t>::type 355 constexpr typename common_type<duration<_Rep1, _Period1>, 362 typedef typename common_type<__dur1,__dur2>::type __cd; 368 constexpr typename common_type<duration<_Rep1, _Period1> [all...] |
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.8/include/ |
chrono | 73 // 20.11.4.3 specialization of common_type (for duration, sfinae-friendly) 93 struct common_type<chrono::duration<_Rep1, _Period1>, 96 common_type<_Rep1, _Rep2>>::type, _Period1, _Period2>::type 99 // 20.11.4.3 specialization of common_type (for time_point, sfinae-friendly) 113 struct common_type<chrono::time_point<_Clock, _Duration1>, 116 common_type<_Duration1, _Duration2>>::type, _Clock>::type 198 typedef typename common_type<__to_rep, _Rep, intmax_t>::type 377 constexpr typename common_type<duration<_Rep1, _Period1>, 384 typedef typename common_type<__dur1,__dur2>::type __cd; 390 constexpr typename common_type<duration<_Rep1, _Period1> [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.traits/time.traits.specializations/ |
duration.pass.cpp | 13 // struct common_type<chrono::duration<Rep1, Period1>, chrono::duration<Rep2, Period2>> 15 // typedef chrono::duration<typename common_type<Rep1, Rep2>::type, see below }> type; 24 typedef typename std::common_type<D1, D2>::type Dc;
|
time_point.pass.cpp | 13 // struct common_type<chrono::time_point<Clock, Duration1>, chrono::time_point<Clock, Duration2>> 15 // typedef chrono::time_point<Clock, typename common_type<Duration1, Duration2>::type> type; 28 typedef typename std::common_type<T1, T2>::type Tc;
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/ |
chrono | 72 // 20.8.2.3 specialization of common_type (for duration) 74 struct common_type<chrono::duration<_Rep1, _Period1>, 80 typedef typename common_type<_Rep1, _Rep2>::type __cr; 88 // 20.8.2.3 specialization of common_type (for time_point) 90 struct common_type<chrono::time_point<_Clock, _Dur1>, 94 typedef typename common_type<_Dur1, _Dur2>::type __ct; 179 typedef typename common_type<__to_rep, _Rep, intmax_t>::type 355 inline typename common_type<duration<_Rep1, _Period1>, 362 typedef typename common_type<__dur1,__dur2>::type __ct; 368 inline typename common_type<duration<_Rep1, _Period1> [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/ |
chrono | 72 // 20.8.2.3 specialization of common_type (for duration) 74 struct common_type<chrono::duration<_Rep1, _Period1>, 80 typedef typename common_type<_Rep1, _Rep2>::type __cr; 88 // 20.8.2.3 specialization of common_type (for time_point) 90 struct common_type<chrono::time_point<_Clock, _Dur1>, 94 typedef typename common_type<_Dur1, _Dur2>::type __ct; 179 typedef typename common_type<__to_rep, _Rep, intmax_t>::type 355 inline typename common_type<duration<_Rep1, _Period1>, 362 typedef typename common_type<__dur1,__dur2>::type __ct; 368 inline typename common_type<duration<_Rep1, _Period1> [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.6/include/ |
chrono | 72 // 20.8.2.3 specialization of common_type (for duration) 74 struct common_type<chrono::duration<_Rep1, _Period1>, 80 typedef typename common_type<_Rep1, _Rep2>::type __cr; 88 // 20.8.2.3 specialization of common_type (for time_point) 90 struct common_type<chrono::time_point<_Clock, _Dur1>, 94 typedef typename common_type<_Dur1, _Dur2>::type __ct; 179 typedef typename common_type<__to_rep, _Rep, intmax_t>::type 355 inline typename common_type<duration<_Rep1, _Period1>, 362 typedef typename common_type<__dur1,__dur2>::type __ct; 368 inline typename common_type<duration<_Rep1, _Period1> [all...] |
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.6/include/ |
chrono | 72 // 20.8.2.3 specialization of common_type (for duration) 74 struct common_type<chrono::duration<_Rep1, _Period1>, 80 typedef typename common_type<_Rep1, _Rep2>::type __cr; 88 // 20.8.2.3 specialization of common_type (for time_point) 90 struct common_type<chrono::time_point<_Clock, _Dur1>, 94 typedef typename common_type<_Dur1, _Dur2>::type __ct; 179 typedef typename common_type<__to_rep, _Rep, intmax_t>::type 355 inline typename common_type<duration<_Rep1, _Period1>, 362 typedef typename common_type<__dur1,__dur2>::type __ct; 368 inline typename common_type<duration<_Rep1, _Period1> [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/time.duration.nonmember/ |
op_times_rep.pass.cpp | 16 // duration<typename common_type<Rep1, Rep2>::type, Period> 21 // duration<typename common_type<Rep1, Rep2>::type, Period>
|
op_times_rep1.fail.cpp | 15 // duration<typename common_type<Rep1, Rep2>::type, Period> 19 // duration<typename common_type<Rep1, Rep2>::type, Period>
|
op_times_rep2.fail.cpp | 15 // duration<typename common_type<Rep1, Rep2>::type, Period> 19 // duration<typename common_type<Rep1, Rep2>::type, Period>
|
op_divide_rep.fail.cpp | 15 // duration<typename common_type<Rep1, Rep2>::type, Period>
|
op_mod_rep.fail.cpp | 15 // duration<typename common_type<Rep1, Rep2>::type, Period>
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.point/time.point.nonmember/ |
op_+.pass.cpp | 15 // time_point<Clock, typename common_type<Duration1, duration<Rep2, Period2>>::type> 19 // time_point<Clock, typename common_type<duration<Rep1, Period1>, Duration2>::type>
|