Searched refs:common_type (Results 1 - 25 of 26) sorted by relevance

12

/openbsd-current/gnu/llvm/libcxx/include/__type_traits/
H A Dcommon_type.h66 struct _LIBCPP_TEMPLATE_VIS common_type; variable in typeref:struct:_LIBCPP_TEMPLATE_VIS
74 struct common_type { struct
76 "common_type accepts at most 3 arguments in C++03");
82 __common_types<_Tp, _Up>, __void_t<typename common_type<_Tp, _Up>::type> >
84 typedef typename common_type<_Tp, _Up>::type type;
90 __void_t<typename common_type<_Tp, _Up>::type> >
91 : __common_type_impl<__common_types<typename common_type<_Tp, _Up>::type,
98 struct _LIBCPP_TEMPLATE_VIS common_type<> {}; struct
103 struct _LIBCPP_TEMPLATE_VIS common_type<_Tp> struct in inherits:common_type
104 : public common_type<_T
110 struct _LIBCPP_TEMPLATE_VIS common_type<_Tp, _Up> struct in inherits:conditional::type
122 common_type<_Tp, _Up, _Vp _LIBCPP_OPTIONAL_PACK(_Rest...)> struct in inherits:__common_type_impl
[all...]
H A Dcommon_reference.h13 #include <__type_traits/common_type.h>
171 template <class _Tp, class _Up> struct __common_reference_sub_bullet3 : common_type<_Tp, _Up> {};
/openbsd-current/gnu/llvm/libcxx/include/__chrono/
H A Dduration.h14 #include <__type_traits/common_type.h>
53 struct _LIBCPP_TEMPLATE_VIS common_type<chrono::duration<_Rep1, _Period1>, struct
56 typedef chrono::duration<typename common_type<_Rep1, _Rep2>::type,
86 typedef typename common_type<typename _ToDuration::rep, typename _FromDuration::rep, intmax_t>::type _Ct;
98 typedef typename common_type<typename _ToDuration::rep, typename _FromDuration::rep, intmax_t>::type _Ct;
110 typedef typename common_type<typename _ToDuration::rep, typename _FromDuration::rep, intmax_t>::type _Ct;
282 _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR typename common_type<duration>::type operator+() const {return typename common_type<duration>::type(*this);}
283 _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR typename common_type<duration>::type operator-() const {return typename common_type<duratio
[all...]
H A Dtime_point.h15 #include <__type_traits/common_type.h>
77 struct _LIBCPP_TEMPLATE_VIS common_type<chrono::time_point<_Clock, _Duration1>, struct
80 typedef chrono::time_point<_Clock, typename common_type<_Duration1, _Duration2>::type> type;
207 time_point<_Clock, typename common_type<_Duration1, duration<_Rep2, _Period2> >::type>
210 typedef time_point<_Clock, typename common_type<_Duration1, duration<_Rep2, _Period2> >::type> _Tr;
218 time_point<_Clock, typename common_type<duration<_Rep1, _Period1>, _Duration2>::type>
228 time_point<_Clock, typename common_type<_Duration1, duration<_Rep2, _Period2> >::type>
231 typedef time_point<_Clock, typename common_type<_Duration1, duration<_Rep2, _Period2> >::type> _Ret;
239 typename common_type<_Duration1, _Duration2>::type
/openbsd-current/gnu/llvm/libcxx/include/__concepts/
H A Dcommon_with.h17 #include <__type_traits/common_type.h>
/openbsd-current/gnu/llvm/libcxx/include/__iterator/
H A Dsize.h14 #include <__type_traits/common_type.h>
/openbsd-current/gnu/llvm/libcxx/include/__numeric/
H A Dgcd_lcm.h15 #include <__type_traits/common_type.h>
/openbsd-current/gnu/llvm/libcxx/include/__algorithm/
H A Dmove_backward.h17 #include <__type_traits/common_type.h>
85 using _DiffT = typename common_type<__iter_diff_t<_InIter>, __iter_diff_t<_OutIter> >::type;
H A Dmove.h17 #include <__type_traits/common_type.h>
79 using _DiffT = typename common_type<__iter_diff_t<_InIter>, __iter_diff_t<_OutIter> >::type;
H A Dcopy_backward.h17 #include <__type_traits/common_type.h>
94 using _DiffT = typename common_type<__iter_diff_t<_InIter>, __iter_diff_t<_OutIter> >::type;
H A Dcopy.h17 #include <__type_traits/common_type.h>
78 using _DiffT = typename common_type<__iter_diff_t<_InIter>, __iter_diff_t<_OutIter> >::type;
H A Dsample.h84 using _CommonType = typename common_type<_Distance, _Difference>::type;
/openbsd-current/gnu/gcc/gcc/
H A Dtree-ssa-loop-ivopts.c3040 tree common_type; local
3121 common_type = determine_common_wider_type (&ubase, &cbase);
3126 if (uutype != common_type)
3127 cstep = fold_convert (common_type, cstep);
3128 cbase = fold_build2 (PLUS_EXPR, common_type, cbase, cstep);
3139 if (TYPE_PRECISION (common_type) > HOST_BITS_PER_WIDE_INT)
3147 delta = fold_build2 (MINUS_EXPR, common_type, ubase, cbase);
3148 if (uutype != common_type)
3154 delta = fold_build2 (PLUS_EXPR, common_type, ubase, cbase);
3155 if (uutype != common_type)
[all...]
H A Dc-common.h772 extern tree common_type (tree, tree);
H A Dc-common.c2276 type = common_type (TREE_TYPE (primop0), TREE_TYPE (primop1));
2295 type = common_type (TREE_TYPE (primop0), TREE_TYPE (primop1));
/openbsd-current/gnu/usr.bin/gcc/gcc/
H A Dc-typeck.c220 common_type (t1, t2)
257 tree subtype = common_type (subtype1, subtype2);
328 tree target = common_type (TYPE_MAIN_VARIANT (pointed_to_1),
337 t1 = build_pointer_type (common_type (TREE_TYPE (t1), TREE_TYPE (t2)));
343 tree elt = common_type (TREE_TYPE (t1), TREE_TYPE (t2));
358 tree valtype = common_type (TREE_TYPE (t1), TREE_TYPE (t2));
444 TREE_VALUE (n) = common_type (TREE_VALUE (p1), TREE_VALUE (p2));
2180 result_type = common_type (type0, type1);
2228 result_type = common_type (type0, type1);
2253 result_type = common_type (type
218 common_type (t1, t2) function
[all...]
H A Dc-common.h1201 extern tree common_type PARAMS ((tree, tree));
H A Dc-decl.c1341 TREE_TYPE (newdecl) = common_type (newtype, oldtype);
1352 = common_type (newtype, oldtype);
H A Dc-common.c2565 type = common_type (TREE_TYPE (primop0), TREE_TYPE (primop1));
3841 type = common_type (TREE_TYPE (arg0), TREE_TYPE (arg1));
/openbsd-current/gnu/llvm/libcxx/include/__memory/
H A Dunique_ptr.h23 #include <__type_traits/common_type.h>
539 typedef typename common_type<_P1, _P2>::type _Vp;
H A Dshared_ptr.h1337 typedef typename common_type<_Tp*, _Up*>::type _Vp;
/openbsd-current/gnu/llvm/libcxx/include/__utility/
H A Dpair.h23 #include <__type_traits/common_type.h>
507 struct common_type<pair<_T1, _T2>, pair<_U1, _U2>> { struct
/openbsd-current/gnu/gcc/gcc/cp/
H A Dtypeck.c750 common_type (tree t1, tree t2)
3100 return pointer_diff (op0, op1, common_type (type0, type1));
3467 result_type = common_type (type0, type1);
3538 (unsigned0, common_type (TREE_TYPE (arg0), TREE_TYPE (arg1)));
749 common_type (tree t1, tree t2) function
/openbsd-current/gnu/usr.bin/gcc/gcc/cp/
H A Dtypeck.c711 common_type (t1, t2)
3114 return pointer_diff (op0, op1, common_type (type0, type1));
3417 result_type = common_type (type0, type1);
3470 (unsigned0, common_type (TREE_TYPE (arg0), TREE_TYPE (arg1)));
710 common_type (t1, t2) function
/openbsd-current/gnu/lib/libcxx/
H A DMakefile672 __type_traits/common_type.h \

Completed in 466 milliseconds

12