Searched refs:_Ptr (Results 1 - 25 of 35) sorted by relevance

12

/netbsd-current/external/gpl3/gcc/dist/libstdc++-v3/include/bits/
H A Dptr_traits.h77 template<typename _Ptr, typename = void>
78 struct __ptr_traits_elem : __get_first_arg<_Ptr>
81 // Use _Ptr::element_type if is a valid type.
83 template<typename _Ptr> requires requires { typename _Ptr::element_type; }
84 struct __ptr_traits_elem<_Ptr, void>
85 { using type = typename _Ptr::element_type; };
87 template<typename _Ptr>
88 struct __ptr_traits_elem<_Ptr, __void_t<typename _Ptr
[all...]
H A Dallocated_ptr.h58 template<typename _Ptr,
59 typename _Req = _Require<is_same<_Ptr, value_type*>>>
60 __allocated_ptr(_Alloc& __a, _Ptr __ptr)
H A Dunique_ptr.h150 struct _Ptr struct in class:__uniq_ptr_impl
157 _Ptr<_Up, _Ep, __void_t<typename remove_reference<_Ep>::type::pointer>> struct in class:__uniq_ptr_impl
167 using pointer = typename _Ptr<_Tp, _Dp>::type;
1008 template<typename _Up, typename _Ptr = typename _Up::pointer,
1009 bool = __poison_hash<_Ptr>::__enable_hash_call>
1012 : private __poison_hash<_Ptr>
1017 noexcept(noexcept(std::declval<hash<_Ptr>>()(std::declval<_Ptr>())))
1018 { return hash<_Ptr>()(__u.get()); }
1021 template<typename _Up, typename _Ptr>
[all...]
H A Dshared_ptr_base.h418 template<typename _Ptr, _Lock_policy _Lp>
423 _Sp_counted_ptr(_Ptr __p) noexcept
442 _Ptr _M_ptr;
493 template<typename _Ptr, typename _Deleter, typename _Alloc, _Lock_policy _Lp>
502 _Impl(_Ptr __p, _Deleter __d, const _Alloc& __a) noexcept
509 _Ptr _M_ptr;
516 _Sp_counted_deleter(_Ptr __p, _Deleter __d) noexcept
520 _Sp_counted_deleter(_Ptr __p, _Deleter __d, const _Alloc& __a) noexcept
911 template<typename _Ptr>
913 __shared_count(_Ptr __
[all...]
H A Dstl_deque.h112 template<typename _Tp, typename _Ref, typename _Ptr>
123 using __iter = _Deque_iterator<_Tp, _CvTp&, __ptr_rebind<_Ptr, _CvTp>>;
127 typedef __ptr_rebind<_Ptr, _Tp> _Elt_pointer;
128 typedef __ptr_rebind<_Ptr, _Elt_pointer> _Map_pointer;
136 typedef _Ptr pointer;
438 typedef _Tp* _Ptr; typedef in class:_Deque_base
441 typedef typename _Alloc_traits::pointer _Ptr; typedef in class:_Deque_base
445 typedef typename _Alloc_traits::template rebind<_Ptr>::other
455 typedef _Deque_iterator<_Tp, _Tp&, _Ptr> iterator;
579 _Ptr
[all...]
H A Dstl_vector.h1991 template<typename _Ptr>
1993 typename std::pointer_traits<_Ptr>::element_type*
1994 _M_data_ptr(_Ptr __ptr) const
2002 template<typename _Ptr>
2004 _M_data_ptr(_Ptr __ptr)
2007 template<typename _Ptr>
2009 _M_data_ptr(_Ptr __ptr) const
H A Dalloc_traits.h107 struct _Ptr struct in struct:allocator_traits
113 struct _Ptr<_Func, _Tp, __void_t<_Func<_Alloc>>> struct in struct:allocator_traits
118 // Select _A2::difference_type or pointer_traits<_Ptr>::difference_type
142 using const_pointer = typename _Ptr<__c_pointer, const value_type>::type;
150 using void_pointer = typename _Ptr<__v_pointer, void>::type;
158 using const_void_pointer = typename _Ptr<__cv_pointer, const void>::type;
/netbsd-current/external/gpl3/gcc.old/dist/libstdc++-v3/include/bits/
H A Dptr_traits.h82 template<typename _Ptr>
101 using pointer = _Ptr;
105 = __detected_or_t<__get_first_arg_t<_Ptr>, __element_type, _Ptr>;
109 = __detected_or_t<ptrdiff_t, __difference_type, _Ptr>;
113 using rebind = typename __rebind<_Ptr, _Up>::type;
115 static _Ptr
117 { return _Ptr::pointer_to(__e); }
151 template<typename _Ptr, typename _Tp>
152 using __ptr_rebind = typename pointer_traits<_Ptr>
[all...]
H A Dallocated_ptr.h57 template<typename _Ptr,
58 typename _Req = _Require<is_same<_Ptr, value_type*>>>
59 __allocated_ptr(_Alloc& __a, _Ptr __ptr)
H A Dunique_ptr.h131 struct _Ptr struct in class:__uniq_ptr_impl
138 _Ptr<_Up, _Ep, __void_t<typename remove_reference<_Ep>::type::pointer>> struct in class:__uniq_ptr_impl
148 using pointer = typename _Ptr<_Tp, _Dp>::type;
912 template<typename _Up, typename _Ptr = typename _Up::pointer,
913 bool = __poison_hash<_Ptr>::__enable_hash_call>
916 : private __poison_hash<_Ptr>
921 noexcept(noexcept(std::declval<hash<_Ptr>>()(std::declval<_Ptr>())))
922 { return hash<_Ptr>()(__u.get()); }
925 template<typename _Up, typename _Ptr>
[all...]
H A Dshared_ptr_base.h370 template<typename _Ptr, _Lock_policy _Lp>
375 _Sp_counted_ptr(_Ptr __p) noexcept
394 _Ptr _M_ptr;
440 template<typename _Ptr, typename _Deleter, typename _Alloc, _Lock_policy _Lp>
449 _Impl(_Ptr __p, _Deleter __d, const _Alloc& __a) noexcept
456 _Ptr _M_ptr;
463 _Sp_counted_deleter(_Ptr __p, _Deleter __d) noexcept
467 _Sp_counted_deleter(_Ptr __p, _Deleter __d, const _Alloc& __a) noexcept
622 template<typename _Ptr>
624 __shared_count(_Ptr __
[all...]
H A Dalloc_traits.h103 struct _Ptr struct in struct:allocator_traits
109 struct _Ptr<_Func, _Tp, __void_t<_Func<_Alloc>>> struct in struct:allocator_traits
114 // Select _A2::difference_type or pointer_traits<_Ptr>::difference_type
138 using const_pointer = typename _Ptr<__c_pointer, const value_type>::type;
146 using void_pointer = typename _Ptr<__v_pointer, void>::type;
154 using const_void_pointer = typename _Ptr<__cv_pointer, const void>::type;
H A Dstl_deque.h112 template<typename _Tp, typename _Ref, typename _Ptr>
123 using __iter = _Deque_iterator<_Tp, _CvTp&, __ptr_rebind<_Ptr, _CvTp>>;
127 typedef __ptr_rebind<_Ptr, _Tp> _Elt_pointer;
128 typedef __ptr_rebind<_Ptr, _Elt_pointer> _Map_pointer;
136 typedef _Ptr pointer;
414 typedef _Tp* _Ptr; typedef in class:_Deque_base
417 typedef typename _Alloc_traits::pointer _Ptr; typedef in class:_Deque_base
421 typedef typename _Alloc_traits::template rebind<_Ptr>::other
431 typedef _Deque_iterator<_Tp, _Tp&, _Ptr> iterator;
555 _Ptr
[all...]
H A Dstl_vector.h1848 template<typename _Ptr>
1849 typename std::pointer_traits<_Ptr>::element_type*
1850 _M_data_ptr(_Ptr __ptr) const
1858 template<typename _Ptr>
1860 _M_data_ptr(_Ptr __ptr)
1863 template<typename _Ptr>
1865 _M_data_ptr(_Ptr __ptr) const
H A Dstl_algobase.h477 template<typename _Tp, typename _Ref, typename _Ptr>
483 typename _Tp, typename _Ref, typename _Ptr, typename _OI>
485 __copy_move_a1(_GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
486 _GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
721 typename _Tp, typename _Ref, typename _Ptr, typename _OI>
723 __copy_move_backward_a1(_GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
724 _GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
1127 template<typename _Tp, typename _Ref, typename _Ptr, typename _II>
1130 __equal_aux1(_GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
1131 _GLIBCXX_STD_C::_Deque_iterator<_Tp, _Ref, _Ptr>,
[all...]
/netbsd-current/external/apache2/llvm/dist/libcxx/include/__memory/
H A Dpointer_traits.h32 template <class _Ptr, bool = __has_element_type<_Ptr>::value>
35 template <class _Ptr>
36 struct __pointer_traits_element_type<_Ptr, true>
38 typedef _LIBCPP_NODEBUG_TYPE typename _Ptr::element_type type;
60 template <class _Ptr, bool = __has_difference_type<_Ptr>::value>
66 template <class _Ptr>
67 struct __pointer_traits_difference_type<_Ptr, true>
69 typedef _LIBCPP_NODEBUG_TYPE typename _Ptr
[all...]
H A Dallocator_traits.h47 template <class _Tp, class _Ptr, class _Alloc,
52 template <class _Tp, class _Ptr, class _Alloc>
53 struct __const_pointer<_Tp, _Ptr, _Alloc, false> {
55 using type = typename pointer_traits<_Ptr>::template rebind<const _Tp>::other;
57 using type _LIBCPP_NODEBUG_TYPE = typename pointer_traits<_Ptr>::template rebind<const _Tp>;
63 template <class _Ptr, class _Alloc,
68 template <class _Ptr, class _Alloc>
69 struct __void_pointer<_Ptr, _Alloc, false> {
71 using type _LIBCPP_NODEBUG_TYPE = typename pointer_traits<_Ptr>::template rebind<void>::other;
73 using type _LIBCPP_NODEBUG_TYPE = typename pointer_traits<_Ptr>
[all...]
/netbsd-current/external/gpl3/gcc/dist/libphobos/libdruntime/core/stdcpp/
H A Dallocator.d118 void* _Ptr = ptr;
127 _Adjust_manually_vector_aligned(_Ptr, _Bytes);
132 __cpp_delete_size(_Ptr, _Bytes);
142 __cpp_delete_size_aligned(_Ptr, _Bytes, cast(align_val_t)_Passed_align);
328 void* _Ptr = cast(void*)((_Ptr_container + _Non_user_size) & ~(_Big_allocation_alignment - 1));
329 (cast(size_t*)_Ptr)[-1] = _Ptr_container;
332 (cast(size_t*)_Ptr)[-2] = _Big_allocation_sentinel;
333 return (_Ptr);
337 void _Adjust_manually_vector_aligned()(ref void* _Ptr, ref size_t _Bytes) pure nothrow @nogc
341 const size_t* _Ptr_user = cast(size_t*)_Ptr;
[all...]
H A Dstring.d363 return _Reallocate_for(_Count, (T* _New_ptr, size_type _Count, const(T)* _Ptr) nothrow {
364 _New_ptr[0 .. _Count] = _Ptr[0 .. _Count];
489 _New_ptr[0 .. _My_data._Mysize + 1] = _My_data._Bx._Ptr[0 .. _My_data._Mysize + 1];
490 _Al.deallocate(_My_data._Bx._Ptr, _My_data._Myres + 1);
491 _My_data._Bx._Ptr = _New_ptr;
499 // insert [_Ptr, _Ptr + _Count) at _Off
501 alias _Ptr = s;
511 // the range [_Ptr, _Ptr
[all...]
/netbsd-current/external/gpl3/gcc.old/dist/libstdc++-v3/include/ext/
H A Dalloc_traits.h71 template<typename _Ptr>
73 = std::__and_<std::is_same<pointer, _Ptr>,
74 std::__not_<std::is_pointer<_Ptr>>>;
78 template<typename _Ptr, typename... _Args>
80 std::__enable_if_t<__is_custom_pointer<_Ptr>::value>
81 construct(_Alloc& __a, _Ptr __p, _Args&&... __args)
90 template<typename _Ptr>
92 std::__enable_if_t<__is_custom_pointer<_Ptr>::value>
93 destroy(_Alloc& __a, _Ptr __p)
/netbsd-current/external/gpl3/gcc/dist/libstdc++-v3/include/ext/
H A Dalloc_traits.h71 template<typename _Ptr>
73 = std::__and_<std::is_same<pointer, _Ptr>,
74 std::__not_<std::is_pointer<_Ptr>>>;
78 template<typename _Ptr, typename... _Args>
80 std::__enable_if_t<__is_custom_pointer<_Ptr>::value>
81 construct(_Alloc& __a, _Ptr __p, _Args&&... __args)
90 template<typename _Ptr>
92 std::__enable_if_t<__is_custom_pointer<_Ptr>::value>
93 destroy(_Alloc& __a, _Ptr __p)
/netbsd-current/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++11/
H A Dcompatibility-thread-c++0x.cc97 typedef _Ptr<_Result_base> _Ptr_type;
/netbsd-current/external/gpl3/gcc/dist/libstdc++-v3/src/c++11/
H A Dcompatibility-thread-c++0x.cc101 typedef _Ptr<_Result_base> _Ptr_type;
/netbsd-current/external/gpl3/gcc.old/dist/libstdc++-v3/include/tr1/
H A Dshared_ptr.h244 template<typename _Ptr, typename _Deleter, _Lock_policy _Lp>
250 _Sp_counted_base_impl(_Ptr __p, _Deleter __d)
271 _Ptr _M_ptr; // copy constructor must not throw
294 template<typename _Ptr>
295 __shared_count(_Ptr __p) : _M_pi(0)
299 typedef typename std::tr1::remove_pointer<_Ptr>::type _Tp;
300 _M_pi = new _Sp_counted_base_impl<_Ptr, _Sp_deleter<_Tp>, _Lp>(
310 template<typename _Ptr, typename _Deleter>
311 __shared_count(_Ptr __p, _Deleter __d) : _M_pi(0)
315 _M_pi = new _Sp_counted_base_impl<_Ptr, _Delete
[all...]
/netbsd-current/external/gpl3/gcc/dist/libstdc++-v3/include/tr1/
H A Dshared_ptr.h244 template<typename _Ptr, typename _Deleter, _Lock_policy _Lp>
250 _Sp_counted_base_impl(_Ptr __p, _Deleter __d)
271 _Ptr _M_ptr; // copy constructor must not throw
294 template<typename _Ptr>
295 __shared_count(_Ptr __p) : _M_pi(0)
299 typedef typename std::tr1::remove_pointer<_Ptr>::type _Tp;
300 _M_pi = new _Sp_counted_base_impl<_Ptr, _Sp_deleter<_Tp>, _Lp>(
310 template<typename _Ptr, typename _Deleter>
311 __shared_count(_Ptr __p, _Deleter __d) : _M_pi(0)
315 _M_pi = new _Sp_counted_base_impl<_Ptr, _Delete
[all...]

Completed in 290 milliseconds

12