Home
last modified time | relevance | path

Searched refs:_Type (Results 1 – 25 of 36) sorted by relevance

12

/freebsd/contrib/llvm-project/libcxx/include/__memory/
H A Duses_allocator_construction.h34 template <class _Type>
43 template <class _Type, class _Alloc, class... _Args, __enable_if_t<!__is_cv_std_pair<_Type>, int> =…
46 …if constexpr (!uses_allocator_v<remove_cv_t<_Type>, _Alloc> && is_constructible_v<_Type, _Args...>… in __uses_allocator_construction_args()
48 } else if constexpr (uses_allocator_v<remove_cv_t<_Type>, _Alloc> && in __uses_allocator_construction_args()
49 is_constructible_v<_Type, allocator_arg_t, const _Alloc&, _Args...>) { in __uses_allocator_construction_args()
51 } else if constexpr (uses_allocator_v<remove_cv_t<_Type>, _Alloc> && in __uses_allocator_construction_args()
52 is_constructible_v<_Type, _Args..., const _Alloc&>) { in __uses_allocator_construction_args()
56 …sizeof(_Type) + 1 == 0, "If uses_allocator_v<Type> is true, the type has to be allocator-construct… in __uses_allocator_construction_args()
170 class _Type,
171 … __enable_if_t<__uses_allocator_detail::__uses_allocator_constraints<_Pair, _Type>, int> = 0>
[all …]
H A Duninitialized_algorithms.h557 template <class _Alloc, class _Type>
558 struct __allocator_has_trivial_copy_construct : _Not<__has_construct<_Alloc, _Type*, const _Type&> …
560 template <class _Type>
561 struct __allocator_has_trivial_copy_construct<allocator<_Type>, _Type> : true_type {};
597 template <class _Alloc, class _Type>
598 struct __allocator_has_trivial_move_construct : _Not<__has_construct<_Alloc, _Type*, _Type&&> > {};
600 template <class _Type>
601 struct __allocator_has_trivial_move_construct<allocator<_Type>, _Type> : true_type {};
/freebsd/contrib/llvm-project/libcxx/include/__memory_resource/
H A Dpolymorphic_allocator.h89 template <class _Type>
90 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI _Type* allocate_object(size_t __n = 1) {
91 if (numeric_limits<size_t>::max() / sizeof(_Type) < __n)
93 return static_cast<_Type*>(allocate_bytes(__n * sizeof(_Type), alignof(_Type)));
96 template <class _Type>
97 _LIBCPP_HIDE_FROM_ABI void deallocate_object(_Type* __ptr, size_t __n = 1) {
98 deallocate_bytes(__ptr, __n * sizeof(_Type), alignof(_Type));
101 template <class _Type, class... _CtorArgs>
102 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI _Type* new_object(_CtorArgs&&... __ctor_args) { in new_object()
103 _Type* __ptr = allocate_object<_Type>(); in new_object()
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__algorithm/
H A Dranges_replace_if.h35 template <class _Iter, class _Sent, class _Type, class _Proj, class _Pred> in __replace_if_impl()
37 __replace_if_impl(_Iter __first, _Sent __last, _Pred& __pred, const _Type& __new_value, _Proj& __proj) { in __replace_if_impl()
49 class _Type,
52 requires indirectly_writable<_Iter, const _Type&>
54 operator()(_Iter __first, _Sent __last, _Pred __pred, const _Type& __new_value, _Proj __proj = {}) const {
59 class _Type,
62 requires indirectly_writable<iterator_t<_Range>, const _Type&>
64 operator()(_Range&& __range, _Pred __pred, const _Type& __new_value, _Proj __proj = {}) const {
H A Dranges_replace_copy_if.h39 template <class _InIter, class _Sent, class _OutIter, class _Pred, class _Type, class _Proj> in __replace_copy_if_impl()
41 _InIter __first, _Sent __last, _OutIter __result, _Pred& __pred, const _Type& __new_value, _Proj& __proj) { in __replace_copy_if_impl()
60 class _Type,
61 output_iterator<const _Type&> _OutIter,
66 _InIter __first, _Sent __last, _OutIter __result, _Pred __pred, const _Type& __new_value, _Proj __proj = {})
73 class _Type,
74 output_iterator<const _Type&> _OutIter,
79 operator()(_Range&& __range, _OutIter __result, _Pred __pred, const _Type& __new_value, _Proj __proj = {}) const {
H A Dranges_fill.h33 template <class _Type, output_iterator<const _Type&> _Iter, sentinel_for<_Iter> _Sent> in operator()
34 _LIBCPP_HIDE_FROM_ABI constexpr _Iter operator()(_Iter __first, _Sent __last, const _Type& __value) const { in operator()
44 template <class _Type, output_range<const _Type&> _Range> in operator()
45 _LIBCPP_HIDE_FROM_ABI constexpr borrowed_iterator_t<_Range> operator()(_Range&& __range, const _Type& __value) const {
H A Dranges_minmax.h52 template <class _Type,
54 indirect_strict_weak_order<projected<const _Type*, _Proj>> _Comp = ranges::less>
55 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr ranges::minmax_result<const _Type&>
56 operator()(_LIBCPP_LIFETIMEBOUND const _Type& __a, in operator()
57 _LIBCPP_LIFETIMEBOUND const _Type& __b, in operator()
65 template <copyable _Type,
67 indirect_strict_weak_order<projected<const _Type*, _Proj>> _Comp = ranges::less>
68 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr ranges::minmax_result<_Type>
69 operator()(initializer_list<_Type> __il, _Comp __comp = {}, _Proj __proj = {}) const { in operator()
73 return ranges::minmax_result<_Type>{*__iters.first, *__iters.second};
H A Dranges_clamp.h35 template <class _Type,
37 indirect_strict_weak_order<projected<const _Type*, _Proj>> _Comp = ranges::less>
38 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr const _Type& operator()( in operator()
39 …const _Type& __value, const _Type& __low, const _Type& __high, _Comp __comp = {}, _Proj __proj = {… in operator()
H A Dranges_contains.h38 template <input_iterator _Iter, sentinel_for<_Iter> _Sent, class _Type, class _Proj = identity>
39 requires indirect_binary_predicate<ranges::equal_to, projected<_Iter, _Proj>, const _Type*>
41 operator()(_Iter __first, _Sent __last, const _Type& __value, _Proj __proj = {}) { in operator()
45 template <input_range _Range, class _Type, class _Proj = identity>
46 …res indirect_binary_predicate<ranges::equal_to, projected<iterator_t<_Range>, _Proj>, const _Type*>
48 operator()(_Range&& __range, const _Type& __value, _Proj __proj = {}) { in operator()
H A Dranges_count.h39 template <input_iterator _Iter, sentinel_for<_Iter> _Sent, class _Type, class _Proj = identity>
40 requires indirect_binary_predicate<ranges::equal_to, projected<_Iter, _Proj>, const _Type*>
42 operator()(_Iter __first, _Sent __last, const _Type& __value, _Proj __proj = {}) const { in operator()
46 template <input_range _Range, class _Type, class _Proj = identity>
47 …res indirect_binary_predicate<ranges::equal_to, projected<iterator_t<_Range>, _Proj>, const _Type*>
49 operator()(_Range&& __r, const _Type& __value, _Proj __proj = {}) const { in operator()
H A Dranges_lower_bound.h43 class _Type,
45 indirect_strict_weak_order<const _Type*, projected<_Iter, _Proj>> _Comp = ranges::less>
47 …operator()(_Iter __first, _Sent __last, const _Type& __value, _Comp __comp = {}, _Proj __proj = {}… in operator()
52 class _Type,
54 …indirect_strict_weak_order<const _Type*, projected<iterator_t<_Range>, _Proj>> _Comp = ranges::les…
56 operator()(_Range&& __r, const _Type& __value, _Comp __comp = {}, _Proj __proj = {}) const { in operator()
H A Dranges_search_n.h44 template <class _Iter1, class _Sent1, class _SizeT, class _Type, class _Pred, class _Proj>
46 …_Iter1 __first, _Sent1 __last, _SizeT __count, const _Type& __value, _Pred& __pred, _Proj& __proj)… in __ranges_search_n_impl()
70 class _Type,
73 requires indirectly_comparable<_Iter, const _Type*, _Pred, _Proj>
78 const _Type& __value, in operator()
84 …template <forward_range _Range, class _Type, class _Pred = ranges::equal_to, class _Proj = identit…
85 requires indirectly_comparable<iterator_t<_Range>, const _Type*, _Pred, _Proj>
87 …_Range&& __range, range_difference_t<_Range> __count, const _Type& __value, _Pred __pred = {}, _Pr… in operator()
H A Dranges_remove.h38 template <permutable _Iter, sentinel_for<_Iter> _Sent, class _Type, class _Proj = identity>
39 requires indirect_binary_predicate<ranges::equal_to, projected<_Iter, _Proj>, const _Type*>
41 operator()(_Iter __first, _Sent __last, const _Type& __value, _Proj __proj = {}) const { in operator()
46 template <forward_range _Range, class _Type, class _Proj = identity>
48 … indirect_binary_predicate<ranges::equal_to, projected<iterator_t<_Range>, _Proj>, const _Type*>
50 operator()(_Range&& __range, const _Type& __value, _Proj __proj = {}) const { in operator()
H A Dranges_upper_bound.h37 class _Type,
39 indirect_strict_weak_order<const _Type*, projected<_Iter, _Proj>> _Comp = ranges::less>
41 …operator()(_Iter __first, _Sent __last, const _Type& __value, _Comp __comp = {}, _Proj __proj = {}… in operator()
50 class _Type,
52 …indirect_strict_weak_order<const _Type*, projected<iterator_t<_Range>, _Proj>> _Comp = ranges::les…
54 operator()(_Range&& __r, const _Type& __value, _Comp __comp = {}, _Proj __proj = {}) const { in operator()
H A Dranges_binary_search.h39 class _Type,
41 indirect_strict_weak_order<const _Type*, projected<_Iter, _Proj>> _Comp = ranges::less>
43 …operator()(_Iter __first, _Sent __last, const _Type& __value, _Comp __comp = {}, _Proj __proj = {}… in operator()
49 class _Type,
51 …indirect_strict_weak_order<const _Type*, projected<iterator_t<_Range>, _Proj>> _Comp = ranges::les…
53 operator()(_Range&& __r, const _Type& __value, _Comp __comp = {}, _Proj __proj = {}) const { in operator()
H A Dranges_remove_copy.h47 class _Type,
50 indirect_binary_predicate<ranges::equal_to, projected<_InIter, _Proj>, const _Type*>
52 operator()(_InIter __first, _Sent __last, _OutIter __result, const _Type& __value, _Proj __proj = {}) const {
57 template <input_range _Range, weakly_incrementable _OutIter, class _Type, class _Proj = identity>
59 indirect_binary_predicate<ranges::equal_to, projected<iterator_t<_Range>, _Proj>, const _Type*>
61 operator()(_Range&& __range, _OutIter __result, const _Type& __value, _Proj __proj = {}) const {
H A Dranges_find_last.h77 template <class _Type>
79 const _Type& __value;
86 template <forward_iterator _Iter, sentinel_for<_Iter> _Sent, class _Type, class _Proj = identity>
87 requires indirect_binary_predicate<ranges::equal_to, projected<_Iter, _Proj>, const _Type*>
89 operator()(_Iter __first, _Sent __last, const _Type& __value, _Proj __proj = {}) { in operator()
90 …return ranges::__find_last_impl(std::move(__first), std::move(__last), __op<_Type>{__value}, __pro…
93 template <forward_range _Range, class _Type, class _Proj = identity>
94 …res indirect_binary_predicate<ranges::equal_to, projected<iterator_t<_Range>, _Proj>, const _Type*>
96 operator()(_Range&& __range, const _Type& __value, _Proj __proj = {}) { in operator()
97 …return ranges::__find_last_impl(ranges::begin(__range), ranges::end(__range), __op<_Type>{__value}…
H A Dsort.h934 template <class _Type, class... _Options>
935 using __is_any_of = _Or<is_same<_Type, _Options>...>;
937 template <class _Type>
939 _Type,
958 template <class _AlgPolicy, class _Type, __enable_if_t<__sort_is_specialized_in_library<_Type>::val…
959 _LIBCPP_HIDE_FROM_ABI void __sort_dispatch(_Type* __first, _Type* __last, __less<>&) {
960 __less<_Type> __comp;
961 std::__sort<__less<_Type>&, _Type*>(__first, __last, __comp);
964 template <class _AlgPolicy, class _Type, __enable_if_t<__sort_is_specialized_in_library<_Type>::val…
965 _LIBCPP_HIDE_FROM_ABI void __sort_dispatch(_Type* __first, _Type* __last, less<_Type>&) {
[all …]
H A Dsearch_n.h33 template <class _AlgPolicy, class _Pred, class _Iter, class _Sent, class _SizeT, class _Type, class…
35 … _Iter __first, _Sent __last, _SizeT __count, const _Type& __value, _Pred& __pred, _Proj& __proj) { in __search_n_forward_impl()
70 template <class _AlgPolicy, class _Pred, class _Iter, class _Sent, class _SizeT, class _Type, class…
72 …_Iter __first, _Sent __last, _SizeT __count, const _Type& __value, _Pred& __pred, _Proj& __proj, _… in __search_n_random_access_impl()
114 class _Type,
119 __search_n_impl(_Iter __first, _Sent __last, _DiffT __count, const _Type& __value, _Pred& __pred, _… in __search_n_impl()
127 class _Type,
134 __search_n_impl(_Iter1 __first, _Sent1 __last, _DiffT __count, const _Type& __value, _Pred& __pred,… in __search_n_impl()
H A Dlower_bound.h30 template <class _AlgPolicy, class _Iter, class _Type, class _Proj, class _Comp>
33 const _Type& __value, in __lower_bound_bisecting()
60 template <class _AlgPolicy, class _ForwardIterator, class _Sent, class _Type, class _Proj, class _C…
62 __lower_bound_onesided(_ForwardIterator __first, _Sent __last, const _Type& __value, _Comp& __comp,… in __lower_bound_onesided()
86 template <class _AlgPolicy, class _ForwardIterator, class _Sent, class _Type, class _Proj, class _C…
88 __lower_bound(_ForwardIterator __first, _Sent __last, const _Type& __value, _Comp& __comp, _Proj& _… in __lower_bound()
H A Dranges_fill_n.h30 template <class _Type, output_iterator<const _Type&> _Iter> in operator()
32 operator()(_Iter __first, iter_difference_t<_Iter> __n, const _Type& __value) const { in operator()
/freebsd/contrib/llvm-project/clang/include/clang/Driver/
H A DInputInfo.h54 InputInfo(types::ID _Type, const char *_Filename, const char *_BaseInput) in InputInfo() argument
55 : Kind(Filename), Act(nullptr), Type(_Type), BaseInput(_BaseInput) { in InputInfo()
63 InputInfo(types::ID _Type, const llvm::opt::Arg *_InputArg, in InputInfo() argument
65 : Kind(InputArg), Act(nullptr), Type(_Type), BaseInput(_BaseInput) { in InputInfo()
/freebsd/contrib/llvm-project/libcxx/include/__format/
H A Dformatter_integer.h49 using _Type = __make_32_64_or_128_bit_t<_Tp>; in format() local
50 …static_assert(!is_void<_Type>::value, "unsupported integral type used in __formatter_integer::__fo… in format()
53 return __formatter::__format_integer(static_cast<_Type>(__value), __ctx, __specs); in format()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchersMacros.h80 typedef ReturnType (&DefineMatcher##_Type##OverloadId)(ParamType const &); \
155 &DefineMatcher##_Type##OverloadId)(ParamType const &Param); \
206 &DefineMatcher##_Type##OverloadId)(ParamType1 const &Param1, \
297 ParamType> (&DefineMatcher##_Type##OverloadId)(ParamType const &Param); \
350 ParamType1, ParamType2> (&DefineMatcher##_Type##OverloadId)( \
488 &DefineMatcher##_Type##OverloadId##Flags)(llvm::StringRef, \
491 &DefineMatcher##_Type##OverloadId)(llvm::StringRef); \
546 &DefineMatcher##_Type##OverloadId##Flags)( \
550 std::shared_ptr<llvm::Regex>> (&DefineMatcher##_Type##OverloadId)( \
/freebsd/contrib/llvm-project/libcxx/include/__charconv/
H A Dto_chars_integral.h307 using _Type = __make_32_64_or_128_bit_t<_Tp>;
308 static_assert(!is_same<_Type, void>::value, "unsupported integral type used in to_chars");
309 return std::__to_chars_itoa(__first, __last, static_cast<_Type>(__value), is_signed<_Tp>());
317 using _Type = __make_32_64_or_128_bit_t<_Tp>;
318 …return std::__to_chars_integral(__first, __last, static_cast<_Type>(__value), __base, is_signed<_T…

12