HomeSort by relevance Sort by last modified time
    Searched full:common_type (Results 1 - 25 of 124) sorted by null

1 2 3 4 5

  /external/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< int>::type, int>::value), "");
26 static_assert((std::is_same<std::common_type<const int>::type, int>::value), "");
27 static_assert((std::is_same<std::common_type< volatile int>::type, int>::value), "");
28 static_assert((std::is_same<std::common_type<const volatile int>::type, int>::value), "");
30 static_assert((std::is_same<std::common_type<int, int>::type, int>::value), "");
31 static_assert((std::is_same<std::common_type<int, const int>::type, int>::value), "");
33 static_assert((std::is_same<std::common_type<long, const int>::type, long>::value), "")
    [all...]
  /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< int>::type, int>::value), "");
26 static_assert((std::is_same<std::common_type<const int>::type, int>::value), "");
27 static_assert((std::is_same<std::common_type< volatile int>::type, int>::value), "");
28 static_assert((std::is_same<std::common_type<const volatile int>::type, int>::value), "");
30 static_assert((std::is_same<std::common_type<int, int>::type, int>::value), "");
31 static_assert((std::is_same<std::common_type<int, const int>::type, int>::value), "");
33 static_assert((std::is_same<std::common_type<long, const int>::type, long>::value), "")
    [all...]
  /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;
  /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...]
  /external/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...]
  /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/ndk/9/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/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/
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...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/
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...]
  /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...]
  /prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.9/include/
chrono 74 // 20.11.4.3 specialization of common_type (for duration, sfinae-friendly)
94 struct common_type<chrono::duration<_Rep1, _Period1>,
97 common_type<_Rep1, _Rep2>>::type, _Period1, _Period2>::type
100 // 20.11.4.3 specialization of common_type (for time_point, sfinae-friendly)
114 struct common_type<chrono::time_point<_Clock, _Duration1>,
117 common_type<_Duration1, _Duration2>>::type, _Clock>::type
199 typedef typename common_type<__to_rep, _Rep, intmax_t>::type
378 constexpr typename common_type<duration<_Rep1, _Period1>,
385 typedef typename common_type<__dur1,__dur2>::type __cd;
391 constexpr typename common_type<duration<_Rep1, _Period1>
    [all...]
  /external/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;
  /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;
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/x86_64-linux/include/c++/4.6/
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...]
  /external/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>

Completed in 773 milliseconds

1 2 3 4 5