Home
last modified time | relevance | path

Searched refs:common_type (Results 1 – 25 of 31) sorted by relevance

12

/freebsd-12.1/contrib/libc++/include/
H A Dchrono78 constexpr common_type<duration>::type operator+() const;
79 constexpr common_type<duration>::type operator-() const;
143 // common_type traits
168 duration<typename common_type<Rep1, Rep2>::type, Period>
172 duration<typename common_type<Rep1, Rep2>::type, Period>
176 duration<typename common_type<Rep1, Rep2>::type, Period>
180 typename common_type<Rep1, Rep2>::type
227 typename common_type<Duration1, Duration2>::type
1246 typedef typename common_type<_Rep1, _Rep2>::type _Cr;
1304 typename common_type<_Rep1, _Rep2>::type
[all …]
H A Dstring_view624 typename common_type<basic_string_view<_CharT, _Traits> >::type __rhs) _NOEXCEPT
632 bool operator==(typename common_type<basic_string_view<_CharT, _Traits> >::type __lhs,
653 typename common_type<basic_string_view<_CharT, _Traits> >::type __rhs) _NOEXCEPT
662 bool operator!=(typename common_type<basic_string_view<_CharT, _Traits> >::type __lhs,
682 typename common_type<basic_string_view<_CharT, _Traits> >::type __rhs) _NOEXCEPT
689 bool operator<(typename common_type<basic_string_view<_CharT, _Traits> >::type __lhs,
707 typename common_type<basic_string_view<_CharT, _Traits> >::type __rhs) _NOEXCEPT
714 bool operator>(typename common_type<basic_string_view<_CharT, _Traits> >::type __lhs,
732 typename common_type<basic_string_view<_CharT, _Traits> >::type __rhs) _NOEXCEPT
739 bool operator<=(typename common_type<basic_string_view<_CharT, _Traits> >::type __lhs,
[all …]
H A Dtype_traits160 template <class... T> struct common_type;
2066 struct _LIBCPP_TEMPLATE_VIS common_type
2069 typedef typename common_type<typename common_type<_Tp, _Up>::type, _Vp>::type type;
2099 struct _LIBCPP_TEMPLATE_VIS common_type {};
2104 struct _LIBCPP_TEMPLATE_VIS common_type<_Tp>
2105 : public common_type<_Tp, _Tp> {};
2130 common_type<_DTp, _DUp>
3197 : public common_type
3205 : public common_type
3213 : public common_type
[all …]
H A Dscoped_allocator359 : public common_type
H A Dmemory2978 typedef typename common_type<_P1, _P2>::type _Vp;
4815 typedef typename common_type<_Tp*, _Up*>::type _Vp;
H A Dalgorithm3079 typedef typename common_type<_Distance, _Difference>::type _CommonType;
/freebsd-12.1/contrib/gcc/
H A Dtree-ssa-loop-ivopts.c3040 tree common_type; in get_computation_aff() local
3121 common_type = determine_common_wider_type (&ubase, &cbase); in get_computation_aff()
3126 if (uutype != common_type) in get_computation_aff()
3127 cstep = fold_convert (common_type, cstep); in get_computation_aff()
3139 if (TYPE_PRECISION (common_type) > HOST_BITS_PER_WIDE_INT) in get_computation_aff()
3148 if (uutype != common_type) in get_computation_aff()
3155 if (uutype != common_type) in get_computation_aff()
3163 if (uutype != common_type) in get_computation_aff()
3181 tree_to_aff_combination (ubase, common_type, aff); in get_computation_aff()
3182 tree_to_aff_combination (cbase, common_type, &cbase_aff); in get_computation_aff()
[all …]
H A Dc-common.h782 extern tree common_type (tree, tree);
H A Dc-common.c2347 type = common_type (TREE_TYPE (primop0), TREE_TYPE (primop1)); in shorten_compare()
2366 type = common_type (TREE_TYPE (primop0), TREE_TYPE (primop1)); in shorten_compare()
H A Dc-typeck.c756 common_type (tree t1, tree t2) in common_type() function
8756 (unsigned0, common_type (TREE_TYPE (arg0), TREE_TYPE (arg1))); in build_binary_op()
H A DFSFChangeLog.104272 common_type to here.
4273 (common_type): Call merge_attributes instead of having inline code.
8342 * c-typeck.c (common_type): Call lookup_attribute instead of
9116 * c-typeck.c (build_binary_op): Don't call common_type for
H A DChangeLog-20059751 * c-typeck.c (build_binary_op): Use common_type wrapper on
9753 (common_type): Update comment.
18223 * c-typeck.c (common_type): Also handle BOOLEAN_TYPEs.
32107 * c-typeck.c (common_type): New routine. Old common_type renamed
32111 of common_type.
/freebsd-12.1/contrib/libstdc++/
H A DChangeLog-20061222 * testsuite/util/common_type/assoc/common_type.hpp: Same.
1574 * testsuite/util/common_type/priority_queue/common_type.hpp: Same.
1575 * testsuite/util/common_type/assoc/common_type.hpp: Same.
3027 * testsuite/util/common_type: New.
3811 * testsuite/util/common_type: New.
3812 * testsuite/util/common_type/priority_queue
3813 * testsuite/util/common_type/priority_queue/common_type.hpp: Same.
3815 * testsuite/util/common_type/priority_queue/detail
3817 * testsuite/util/common_type/assoc: New.
3818 * testsuite/util/common_type/assoc/common_type.hpp: Same.
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/ADT/
H A DSTLExtras.h313 typename std::common_type<
319 typename std::common_type<
543 ZipType, typename std::common_type<std::bidirectional_iterator_tag,
707 typename std::common_type<
/freebsd-12.1/contrib/gcc/cp/
H A DChangeLog-1995416 * typeck.c (common_type): Call merge_machine_type_attributes.
614 * typeck.c (common_type): Likewise.
1375 (common_type): Use build_cplus_array_type.
1899 * typeck.c (common_type): Call lookup_attribute instead of
2337 * typeck.c (common_type): Handle inheritance for pmfs.
2349 * typeck.c (common_type): Assume that we can call common_type to
2379 * typeck.c (common_type): Handle unifying function types, and unify
2397 * typeck.c (common_type): Don't mess up templates.
2401 * typeck.c (common_type): Handle ptms properly. Also handle
3551 (common_type): t1 and t2 are interchangeable.
[all …]
H A Dtypeck.c766 common_type (tree t1, tree t2) in common_type() function
3212 return pointer_diff (op0, op1, common_type (type0, type1)); in build_binary_op()
3586 result_type = common_type (type0, type1); in build_binary_op()
3657 (unsigned0, common_type (TREE_TYPE (arg0), TREE_TYPE (arg1))); in build_binary_op()
H A DChangeLog-1998885 * typeck.c (common_type): Likewise.
1194 (common_type): Likewise.
4446 (common_type): Use it to get the DECL_ORIGINAL_TYPE for T1 and T2,
5201 * typeck.c (common_type): Check TYPE_MAIN_VARIANT.
6126 * typeck.c (common_type): Call merge_machine_type_attributes.
6484 (common_type): Add explicit braces to avoid ambiguous `else'.
H A DChangeLog-19993283 * typeck.c (common_type): Undo 1999-08-18 change. Remove
3312 * typeck.c (common_type): Use same_type_p, not pointer equality,
4159 function, split out from common_type.
4162 (common_type): Use type_after_usual_arithmetic_conversions.
5860 * typeck.c (common_type): Handle cv-qual unification for pointers
H A DChangeLog-1997635 (common_type): Likewise.
1920 (common_type): Add code for complex types.
H A DChangeLog-20023680 * decl.c (duplicate_decls): Use merge_types instead of common_type.
3681 * typeck.c (common_type): Just hand off to
3685 (commonparms): Use it instead of common_type.
H A DChangeLog-19961685 (common_type, OFFSET_TYPE): Handle template_type_parms.
1880 * typeck.c (common_type): Not here.
2153 * typeck.c (common_type): Fix the ARRAY_TYPE case so it
H A DChangeLog-20002011 * decl.c (duplicate_decls): If common_type produces a non-typedef
2499 (common_type): Likewise.
2756 (common_type): Likewise.
6758 * typeck.c (composite_pointer_type, common_type,
H A DChangeLog-19942291 * cp/typeck.c (common_type): Attribute merging.
2471 * typeck.c (common_type): Allow methods with basetypes of different
H A DChangeLog-20042421 * typeck.c (common_type, get_member_function_from_ptrfunc,
H A DChangeLog5400 (common_type): Same.

12