Home
last modified time | relevance | path

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

12

/freebsd-14.2/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()
176 class _Type,
181 template <class _Type, class _Alloc, class... _Args>
186 class _Type,
202 _Type& __value_; in __uses_allocator_construction_args()
212 template <class _Type, class _Alloc, class... _Args>
214 return std::make_from_tuple<_Type>( in __make_obj_using_allocator()
218 template <class _Type, class _Alloc, class... _Args>
[all …]
H A Duninitialized_algorithms.h558 template <class _Alloc, class _Type>
559 struct __allocator_has_trivial_copy_construct : _Not<__has_construct<_Alloc, _Type*, const _Type&> …
561 template <class _Type>
562 struct __allocator_has_trivial_copy_construct<allocator<_Type>, _Type> : true_type {};
623 template <class _Alloc, class _Type>
624 struct __allocator_has_trivial_move_construct : _Not<__has_construct<_Alloc, _Type*, _Type&&> > {};
626 template <class _Type>
627 struct __allocator_has_trivial_move_construct<allocator<_Type>, _Type> : true_type {};
634 class _Type = typename iterator_traits<_Iter1>::value_type,
635 …ss = __enable_if_t<is_trivially_move_constructible<_Type>::value && is_trivially_move_assignable<_…
[all …]
/freebsd-14.2/contrib/llvm-project/libcxx/include/__algorithm/
H A Dranges_replace_if.h35 template <class _Iter, class _Sent, class _Type, class _Proj, class _Pred>
37 __replace_if_impl(_Iter __first, _Sent __last, _Pred& __pred, const _Type& __new_value, _Proj& __pr… 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 = {})… in operator()
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 { in operator()
H A Dranges_minmax.h50 template <class _Type,
52 indirect_strict_weak_order<projected<const _Type*, _Proj>> _Comp = ranges::less>
53 _LIBCPP_NODISCARD_EXT _LIBCPP_HIDE_FROM_ABI constexpr ranges::minmax_result<const _Type&>
54 operator()(_LIBCPP_LIFETIMEBOUND const _Type& __a, in operator()
55 _LIBCPP_LIFETIMEBOUND const _Type& __b, in operator()
63 template <copyable _Type,
65 indirect_strict_weak_order<projected<const _Type*, _Proj>> _Comp = ranges::less>
66 _LIBCPP_NODISCARD_EXT _LIBCPP_HIDE_FROM_ABI constexpr ranges::minmax_result<_Type>
67 operator()(initializer_list<_Type> __il, _Comp __comp = {}, _Proj __proj = {}) const { in operator()
71 return ranges::minmax_result<_Type>{*__iters.first, *__iters.second};
H A Dranges_replace_copy_if.h39 template <class _InIter, class _Sent, class _OutIter, class _Pred, class _Type, class _Proj>
41 …_InIter __first, _Sent __last, _OutIter __result, _Pred& __pred, const _Type& __new_value, _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 __… in operator()
73 class _Type,
74 output_iterator<const _Type&> _OutIter,
79 …operator()(_Range&& __range, _OutIter __result, _Pred __pred, const _Type& __new_value, _Proj __pr… in operator()
H A Dranges_fill.h33 template <class _Type, output_iterator<const _Type&> _Iter, sentinel_for<_Iter> _Sent>
34 …_LIBCPP_HIDE_FROM_ABI constexpr _Iter operator()(_Iter __first, _Sent __last, const _Type& __value… in operator()
44 template <class _Type, output_range<const _Type&> _Range>
45 …BI constexpr borrowed_iterator_t<_Range> operator()(_Range&& __range, const _Type& __value) const { in operator()
H A Dranges_clamp.h35 template <class _Type,
37 indirect_strict_weak_order<projected<const _Type*, _Proj>> _Comp = ranges::less>
38 _LIBCPP_NODISCARD_EXT _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_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_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_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_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_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_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 = … in operator()
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 { in operator()
H A Dsort.h938 template <class _Type>
940 _Type,
961 __less<_Type> __comp;
962 std::__sort<__less<_Type>&, _Type*>(__first, __last, __comp);
966 _LIBCPP_HIDE_FROM_ABI void __sort_dispatch(_Type* __first, _Type* __last, less<_Type>&) {
967 __less<_Type> __comp;
968 std::__sort<__less<_Type>&, _Type*>(__first, __last, __comp);
974 __less<_Type> __comp;
975 std::__sort<__less<_Type>&, _Type*>(__first, __last, __comp);
982 __less<_Type> __comp;
[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()
111 template <class _Iter, class _Sent, class _DiffT, class _Type, class _Pred, class _Proj>
116 const _Type& __value,
124 template <class _Iter1, class _Sent1, class _DiffT, class _Type, class _Pred, class _Proj>
129 const _Type& __value,
H A Dranges_fill_n.h30 template <class _Type, output_iterator<const _Type&> _Iter>
32 operator()(_Iter __first, iter_difference_t<_Iter> __n, const _Type& __value) const { in operator()
H A Dlower_bound.h30 template <class _AlgPolicy, class _Iter, class _Sent, class _Type, class _Proj, class _Comp>
32 __lower_bound(_Iter __first, _Sent __last, const _Type& __value, _Comp& __comp, _Proj& __proj) { in __lower_bound()
/freebsd-14.2/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>
103 _Type* __ptr = allocate_object<_Type>(); in new_object()
110 template <class _Type>
[all …]
/freebsd-14.2/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-14.2/contrib/llvm-project/libcxx/include/__format/
H A Dformatter_integer.h50 using _Type = __make_32_64_or_128_bit_t<_Tp>; in format() local
51 …static_assert(!is_void<_Type>::value, "unsupported integral type used in __formatter_integer::__fo… in format()
54 return __formatter::__format_integer(static_cast<_Type>(__value), __ctx, __specs); in format()
H A Dparser_std_format_spec.h96 using _Type = decltype(__arg); in __substitute_arg_id()
97 if constexpr (same_as<_Type, monostate>) in __substitute_arg_id()
110 if constexpr (same_as<_Type, int> || same_as<_Type, unsigned int> || // in __substitute_arg_id()
111 same_as<_Type, long long> || same_as<_Type, unsigned long long>) { in __substitute_arg_id()
112 if constexpr (signed_integral<_Type>) { in __substitute_arg_id()
117 using _CT = common_type_t<_Type, decltype(__format::__number_max)>; in __substitute_arg_id()
/freebsd-14.2/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-14.2/contrib/llvm-project/libcxx/include/__charconv/
H A Dto_chars_integral.h306 using _Type = __make_32_64_or_128_bit_t<_Tp>;
307 static_assert(!is_same<_Type, void>::value, "unsupported integral type used in to_chars");
308 return std::__to_chars_itoa(__first, __last, static_cast<_Type>(__value), is_signed<_Tp>());
316 using _Type = __make_32_64_or_128_bit_t<_Tp>;
317 …return std::__to_chars_integral(__first, __last, static_cast<_Type>(__value), __base, is_signed<_T…

12