Home
last modified time | relevance | path

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

12

/external/cronet/buildtools/third_party/libc++/trunk/include/__memory/
Duses_allocator_construction.h30 template <class _Type>
36 template <class _Type, class _Alloc, class... _Args, __enable_if_t<!__is_std_pair<_Type>, int> = 0>
39 if constexpr (!uses_allocator_v<_Type, _Alloc> && is_constructible_v<_Type, _Args...>) { in __uses_allocator_construction_args()
41 } else if constexpr (uses_allocator_v<_Type, _Alloc> && in __uses_allocator_construction_args()
42 is_constructible_v<_Type, allocator_arg_t, const _Alloc&, _Args...>) { in __uses_allocator_construction_args()
44 …} else if constexpr (uses_allocator_v<_Type, _Alloc> && is_constructible_v<_Type, _Args..., const … in __uses_allocator_construction_args()
48 …sizeof(_Type) + 1 == 0, "If uses_allocator_v<Type> is true, the type has to be allocator-construct… in __uses_allocator_construction_args()
144 class _Type,
145 …__is_std_pair<_Pair> && !__uses_allocator_detail::__convertible_to_const_pair_ref<_Type>, int> = 0>
147 __uses_allocator_construction_args(const _Alloc& __alloc, _Type&& __value) noexcept;
[all …]
Duninitialized_algorithms.h561 template <class _Alloc, class _Type>
562 struct __allocator_has_trivial_copy_construct : _Not<__has_construct<_Alloc, _Type*, const _Type&> …
564 template <class _Type>
565 struct __allocator_has_trivial_copy_construct<allocator<_Type>, _Type> : true_type {};
568 class _Type,
569 class _RawType = __remove_const_t<_Type>,
574 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 _Type*
575 __uninitialized_allocator_copy(_Alloc&, const _Type* __first1, const _Type* __last1, _Type* __first…
615 template <class _Alloc, class _Type>
616 struct __allocator_has_trivial_move_construct : _Not<__has_construct<_Alloc, _Type*, _Type&&> > {};
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/include/__memory_resource/
Dpolymorphic_allocator.h86 template <class _Type>
87 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI _Type* allocate_object(size_t __n = 1) {
88 if (numeric_limits<size_t>::max() / sizeof(_Type) < __n)
90 return static_cast<_Type*>(allocate_bytes(__n * sizeof(_Type), alignof(_Type)));
93 template <class _Type>
94 _LIBCPP_HIDE_FROM_ABI void deallocate_object(_Type* __ptr, size_t __n = 1) {
95 deallocate_bytes(__ptr, __n * sizeof(_Type), alignof(_Type));
98 template <class _Type, class... _CtorArgs>
99 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI _Type* new_object(_CtorArgs&&... __ctor_args) { in new_object()
100 _Type* __ptr = allocate_object<_Type>(); in new_object()
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/include/__algorithm/
Dranges_replace_if.h32 template <class _Iter, class _Sent, class _Type, class _Proj, class _Pred>
34 _Iter __replace_if_impl(_Iter __first, _Sent __last, _Pred& __pred, const _Type& __new_value, _Proj… in __replace_if_impl()
46 class _Type,
49 requires indirectly_writable<_Iter, const _Type&>
51 …_Iter operator()(_Iter __first, _Sent __last, _Pred __pred, const _Type& __new_value, _Proj __proj… in operator()
56 class _Type,
59 requires indirectly_writable<iterator_t<_Range>, const _Type&>
61 operator()(_Range&& __range, _Pred __pred, const _Type& __new_value, _Proj __proj = {}) const { in operator()
Dranges_minmax.h48 template <class _Type, class _Proj = identity,
49 indirect_strict_weak_order<projected<const _Type*, _Proj>> _Comp = ranges::less>
50 _LIBCPP_NODISCARD_EXT _LIBCPP_HIDE_FROM_ABI constexpr ranges::minmax_result<const _Type&>
51 operator()(_LIBCPP_LIFETIMEBOUND const _Type& __a, in operator()
52 _LIBCPP_LIFETIMEBOUND const _Type& __b, in operator()
60 template <copyable _Type, class _Proj = identity,
61 indirect_strict_weak_order<projected<const _Type*, _Proj>> _Comp = ranges::less>
63 …ranges::minmax_result<_Type> operator()(initializer_list<_Type> __il, _Comp __comp = {}, _Proj __p… in operator()
66 return ranges::minmax_result<_Type> { *__iters.first, *__iters.second };
Dranges_replace_copy_if.h36 template <class _InIter, class _Sent, class _OutIter, class _Pred, class _Type, class _Proj>
38 …_InIter __first, _Sent __last, _OutIter __result, _Pred& __pred, const _Type& __new_value, _Proj& … in __replace_copy_if_impl()
57 class _Type,
58 output_iterator<const _Type&> _OutIter,
63 …_InIter __first, _Sent __last, _OutIter __result, _Pred __pred, const _Type& __new_value, _Proj __… in operator()
70 class _Type,
71 output_iterator<const _Type&> _OutIter,
76 …operator()(_Range&& __range, _OutIter __result, _Pred __pred, const _Type& __new_value, _Proj __pr… in operator()
Dranges_fill.h30 template <class _Type, output_iterator<const _Type&> _Iter, sentinel_for<_Iter> _Sent>
32 _Iter operator()(_Iter __first, _Sent __last, const _Type& __value) const { in operator()
42 template <class _Type, output_range<const _Type&> _Range>
44 borrowed_iterator_t<_Range> operator()(_Range&& __range, const _Type& __value) const { in operator()
Dranges_clamp.h33 template <class _Type,
35 indirect_strict_weak_order<projected<const _Type*, _Proj>> _Comp = ranges::less>
37 const _Type& operator()(const _Type& __value, in operator()
38 const _Type& __low, in operator()
39 const _Type& __high, in operator()
Dranges_search_n.h42 template <class _Iter1, class _Sent1, class _SizeT, class _Type, class _Pred, class _Proj>
44 …_Iter1 __first, _Sent1 __last, _SizeT __count, const _Type& __value, _Pred& __pred, _Proj& __proj)… in __ranges_search_n_impl()
71 class _Type,
74 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>
89 const _Type& __value, in operator()
Dranges_lower_bound.h38 template <forward_iterator _Iter, sentinel_for<_Iter> _Sent, class _Type, class _Proj = identity,
39 indirect_strict_weak_order<const _Type*, projected<_Iter, _Proj>> _Comp = ranges::less>
41 …_Iter operator()(_Iter __first, _Sent __last, const _Type& __value, _Comp __comp = {}, _Proj __pro… in operator()
45 template <forward_range _Range, class _Type, class _Proj = identity,
46 …indirect_strict_weak_order<const _Type*, projected<iterator_t<_Range>, _Proj>> _Comp = ranges::les…
49 const _Type& __value, in operator()
Dranges_count.h35 template <input_iterator _Iter, sentinel_for<_Iter> _Sent, class _Type, class _Proj = identity>
36 requires indirect_binary_predicate<ranges::equal_to, projected<_Iter, _Proj>, const _Type*>
38 …iter_difference_t<_Iter> operator()(_Iter __first, _Sent __last, const _Type& __value, _Proj __pro… in operator()
43 template <input_range _Range, class _Type, class _Proj = identity>
44 …res indirect_binary_predicate<ranges::equal_to, projected<iterator_t<_Range>, _Proj>, const _Type*>
46 …range_difference_t<_Range> operator()(_Range&& __r, const _Type& __value, _Proj __proj = {}) const… in operator()
Dranges_remove.h36 template <permutable _Iter, sentinel_for<_Iter> _Sent, class _Type, class _Proj = identity>
37 requires indirect_binary_predicate<ranges::equal_to, projected<_Iter, _Proj>, const _Type*>
39 …subrange<_Iter> operator()(_Iter __first, _Sent __last, const _Type& __value, _Proj __proj = {}) c… in operator()
44 template <forward_range _Range, class _Type, class _Proj = identity>
46 … && indirect_binary_predicate<ranges::equal_to, projected<iterator_t<_Range>, _Proj>, const _Type*>
48 …borrowed_subrange_t<_Range> operator()(_Range&& __range, const _Type& __value, _Proj __proj = {}) … in operator()
Dranges_binary_search.h34 template <forward_iterator _Iter, sentinel_for<_Iter> _Sent, class _Type, class _Proj = identity,
35 indirect_strict_weak_order<const _Type*, projected<_Iter, _Proj>> _Comp = ranges::less>
37 …bool operator()(_Iter __first, _Sent __last, const _Type& __value, _Comp __comp = {}, _Proj __proj… in operator()
42 template <forward_range _Range, class _Type, class _Proj = identity,
43 …indirect_strict_weak_order<const _Type*, projected<iterator_t<_Range>, _Proj>> _Comp = ranges::les…
45 bool operator()(_Range&& __r, const _Type& __value, _Comp __comp = {}, _Proj __proj = {}) const { in operator()
Dranges_upper_bound.h35 template <forward_iterator _Iter, sentinel_for<_Iter> _Sent, class _Type, class _Proj = identity,
36 indirect_strict_weak_order<const _Type*, projected<_Iter, _Proj>> _Comp = ranges::less>
38 …_Iter operator()(_Iter __first, _Sent __last, const _Type& __value, _Comp __comp = {}, _Proj __pro… in operator()
46 template <forward_range _Range, class _Type, class _Proj = identity,
47 …indirect_strict_weak_order<const _Type*, projected<iterator_t<_Range>, _Proj>> _Comp = ranges::les…
50 const _Type& __value, in operator()
Dranges_remove_copy.h44 class _Type,
47 indirect_binary_predicate<ranges::equal_to, projected<_InIter, _Proj>, const _Type*>
49 …operator()(_InIter __first, _Sent __last, _OutIter __result, const _Type& __value, _Proj __proj = … in operator()
54 … template <input_range _Range, weakly_incrementable _OutIter, class _Type, class _Proj = identity>
56 … indirect_binary_predicate<ranges::equal_to, projected<iterator_t<_Range>, _Proj>, const _Type*>
58 operator()(_Range&& __range, _OutIter __result, const _Type& __value, _Proj __proj = {}) const { in operator()
Dsort.h836 template <class _Type, class... _Options>
837 using __is_any_of = _Or<is_same<_Type, _Options>...>;
839 template <class _Type>
841 _Type,
860 template <class _AlgPolicy, class _Type, __enable_if_t<__sort_is_specialized_in_library<_Type>::val…
861 _LIBCPP_HIDE_FROM_ABI void __sort_dispatch(_Type* __first, _Type* __last, __less<_Type>& __comp) {
862 std::__sort<__less<_Type>&, _Type*>(__first, __last, __comp);
865 template <class _AlgPolicy, class _Type, __enable_if_t<__sort_is_specialized_in_library<_Type>::val…
866 _LIBCPP_HIDE_FROM_ABI void __sort_dispatch(_Type* __first, _Type* __last, less<_Type>&) {
867 __less<_Type> __comp;
[all …]
Dsearch_n.h33 template <class _AlgPolicy, class _Pred, class _Iter, class _Sent, class _SizeT, class _Type, class…
37 const _Type& __value, in __search_n_forward_impl()
75 template <class _AlgPolicy, class _Pred, class _Iter, class _Sent, class _SizeT, class _Type, class…
79 const _Type& __value, in __search_n_random_access_impl()
124 class _Type,
130 const _Type& __value,
144 class _Type,
150 const _Type& __value,
Dranges_fill_n.h27 template <class _Type, output_iterator<const _Type&> _Iter>
29 _Iter operator()(_Iter __first, iter_difference_t<_Iter> __n, const _Type& __value) const { in operator()
Dlower_bound.h30 template <class _AlgPolicy, class _Iter, class _Sent, class _Type, class _Proj, class _Comp>
32 _Iter __lower_bound_impl(_Iter __first, _Sent __last, const _Type& __value, _Comp& __comp, _Proj& _… in __lower_bound_impl()
/external/clang/lib/Driver/
DInputInfo.h55 InputInfo(types::ID _Type, const char *_Filename, const char *_BaseInput) in InputInfo() argument
56 : Kind(Filename), Act(nullptr), Type(_Type), BaseInput(_BaseInput) { in InputInfo()
64 InputInfo(types::ID _Type, const llvm::opt::Arg *_InputArg, in InputInfo() argument
66 : Kind(InputArg), Act(nullptr), Type(_Type), BaseInput(_BaseInput) { in InputInfo()
/external/cronet/buildtools/third_party/libc++/trunk/include/__format/
Dformatter_integer.h51 using _Type = __make_32_64_or_128_bit_t<_Tp>; member
52 …static_assert(!is_same<_Type, void>::value, "unsupported integral type used in __formatter_integer…
55 return __formatter::__format_integer(static_cast<_Type>(__value), __ctx, __specs);
Dparser_std_format_spec.h83 using _Type = decltype(__arg); in __substitute_arg_id()
84 if constexpr (same_as<_Type, monostate>) in __substitute_arg_id()
97 if constexpr (same_as<_Type, int> || same_as<_Type, unsigned int> || // in __substitute_arg_id()
98 same_as<_Type, long long> || same_as<_Type, unsigned long long>) { in __substitute_arg_id()
99 if constexpr (signed_integral<_Type>) { in __substitute_arg_id()
104 using _CT = common_type_t<_Type, decltype(__format::__number_max)>; in __substitute_arg_id()
/external/cronet/buildtools/third_party/libc++/trunk/include/__charconv/
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…
/external/clang/include/clang/ASTMatchers/
DASTMatchersMacros.h81 typedef ReturnType (&DefineMatcher##_Type##OverloadId)(ParamType const &); \
156 &DefineMatcher##_Type##OverloadId)(ParamType const &Param); \
207 &DefineMatcher##_Type##OverloadId)(ParamType1 const &Param1, \
298 ReturnTypesF>(&DefineMatcher##_Type##OverloadId)( \
352 ParamType2, ReturnTypesF>(&DefineMatcher##_Type##OverloadId)( \
/external/skia/src/core/
DSkRecord.h149 #define CASE(T) case SkRecords::T##_Type: return f(*(const SkRecords::T*)this->ptr());
160 #define CASE(T) case SkRecords::T##_Type: return f((SkRecords::T*)this->ptr());

12