Home
last modified time | relevance | path

Searched refs:_Pointer (Results 1 – 11 of 11) sorted by relevance

/src/contrib/llvm-project/libcxx/include/__memory/
H A Dpointer_traits.h185 template <class _Pointer, class = void>
194 template <class _Pointer, class = void>
197 template <class _Pointer>
198 struct _HasToAddress<_Pointer, decltype((void)pointer_traits<_Pointer>::to_address(std::declval<con…
201 template <class _Pointer, class = void>
204 template <class _Pointer>
205 struct _HasArrow<_Pointer, decltype((void)std::declval<const _Pointer&>().operator->()) > : true_ty…
207 template <class _Pointer>
209 static const bool value = _HasArrow<_Pointer>::value || _HasToAddress<_Pointer>::value;
213 template <class _Pointer, __enable_if_t< _And<is_class<_Pointer>, _IsFancyPointer<_Pointer> >::valu…
[all …]
H A Dout_ptr.h35 template <class _Smart, class _Pointer, class... _Args>
61 using _SmartPtr = __pointer_of_or_t<_Smart, _Pointer>; in ~out_ptr_t()
62 if constexpr (__resettable_smart_pointer_with_args<_Smart, _Pointer, _Args...>) { in ~out_ptr_t()
73 …_LIBCPP_HIDE_FROM_ABI operator _Pointer*() const noexcept { return std::addressof(const_cast<_Poin…
76 requires(!is_same_v<_Pointer, void*>)
78 …static_assert(is_pointer_v<_Pointer>, "The conversion to void** requires _Pointer to be a raw poin…
80 return reinterpret_cast<void**>(static_cast<_Pointer*>(*this));
86 _Pointer __p_ = _Pointer();
89 template <class _Pointer = void, class _Smart, class... _Args>
91 using _Ptr = conditional_t<is_void_v<_Pointer>, __pointer_of_t<_Smart>, _Pointer>; in out_ptr()
H A Dinout_ptr.h36 template <class _Smart, class _Pointer, class... _Args>
66 using _SmartPtr = __pointer_of_or_t<_Smart, _Pointer>; in ~inout_ptr_t()
70 } else if constexpr (__resettable_smart_pointer_with_args<_Smart, _Pointer, _Args...>) { in ~inout_ptr_t()
81 …_LIBCPP_HIDE_FROM_ABI operator _Pointer*() const noexcept { return std::addressof(const_cast<_Poin…
84 requires(!is_same_v<_Pointer, void*>)
86 …static_assert(is_pointer_v<_Pointer>, "The conversion to void** requires _Pointer to be a raw poin…
88 return reinterpret_cast<void**>(static_cast<_Pointer*>(*this));
94 _Pointer __p_;
97 template <class _Pointer = void, class _Smart, class... _Args>
99 using _Ptr = conditional_t<is_void_v<_Pointer>, __pointer_of_t<_Smart>, _Pointer>; in inout_ptr()
H A Dallocation_guard.h49 using _Pointer = typename allocator_traits<_Alloc>::pointer; member
83 _LIBCPP_HIDE_FROM_ABI _Pointer
85 _Pointer __tmp = __ptr_; in __release_ptr()
90 _LIBCPP_HIDE_FROM_ABI _Pointer __get() const _NOEXCEPT { return __ptr_; } in __get()
101 _Pointer __ptr_;
H A Dallocate_at_least.h31 template <class _Pointer>
33 _Pointer ptr;
H A Dallocator_traits.h211 template <class _Alloc, class _Pointer, class = void>
214 template <class _Alloc, class _Pointer>
215 struct __has_destroy<_Alloc, _Pointer, decltype((void)std::declval<_Alloc>().destroy(std::declval<_…
238 template <class _Pointer, class _SizeType = size_t>
240 _Pointer ptr;
/src/contrib/llvm-project/libcxx/include/__iterator/
H A Diterator.h22 template <class _Category, class _Tp, class _Distance = ptrdiff_t, class _Pointer = _Tp*, class _Re…
26 typedef _Pointer pointer;
/src/contrib/llvm-project/libcxx/include/__mdspan/
H A Dmdspan.h281 template <class _Pointer>
282 requires(is_pointer_v<remove_reference_t<_Pointer>>)
283 mdspan(_Pointer&&) -> mdspan<remove_pointer_t<remove_reference_t<_Pointer>>, extents<size_t>>;
/src/contrib/llvm-project/libcxx/include/
H A Ddeque255 class _Pointer,
272 typedef _Pointer pointer;
439 template <class _ValueType, class _Pointer, class _Reference, class _MapPointer, class _DiffType, _…
441 __deque_iterator<_ValueType, _Pointer, _Reference, _MapPointer, _DiffType, _BlockSize> > {
443 …using _Iterator = __deque_iterator<_ValueType, _Pointer, _Reference, _MapPointer, _DiffType, _Bloc…
448 using __local_iterator = _Pointer;
467 template <class _ValueType, class _Pointer, class _Reference, class _MapPointer, class _DiffType, _…
468 const _DiffType __deque_iterator<_ValueType, _Pointer, _Reference, _MapPointer, _DiffType, _BlockSi…
H A D__tree68 template <class _Pointer>
629 template <class _Pointer>
632 typedef _Pointer pointer;
/src/contrib/file/magic/Magdir/
H A Dimages1162 # URL: http://fileformats.archiveteam.org/wiki/OS/2_Pointer