Home
last modified time | relevance | path

Searched refs:__shared_count (Results 1 – 25 of 32) sorted by relevance

12

/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/tr1/
H A Dshared_ptr.h287 class __shared_count in _GLIBCXX_VISIBILITY()
290 __shared_count() in _GLIBCXX_VISIBILITY()
295 __shared_count(_Ptr __p) : _M_pi(0) in _GLIBCXX_VISIBILITY()
311 __shared_count(_Ptr __p, _Deleter __d) : _M_pi(0) in _GLIBCXX_VISIBILITY()
327 __shared_count(std::auto_ptr<_Tp>& __r) in _GLIBCXX_VISIBILITY()
334 __shared_count(const __weak_count<_Lp>& __r); in _GLIBCXX_VISIBILITY()
336 ~__shared_count() // nothrow in _GLIBCXX_VISIBILITY()
342 __shared_count(const __shared_count& __r) in _GLIBCXX_VISIBILITY()
349 __shared_count& in _GLIBCXX_VISIBILITY()
350 operator=(const __shared_count& __r) // nothrow in _GLIBCXX_VISIBILITY()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/tr1/
H A Dshared_ptr.h287 class __shared_count in _GLIBCXX_VISIBILITY()
290 __shared_count() in _GLIBCXX_VISIBILITY()
295 __shared_count(_Ptr __p) : _M_pi(0) in _GLIBCXX_VISIBILITY()
311 __shared_count(_Ptr __p, _Deleter __d) : _M_pi(0) in _GLIBCXX_VISIBILITY()
330 __shared_count(std::auto_ptr<_Tp>& __r) in _GLIBCXX_VISIBILITY()
339 __shared_count(const __weak_count<_Lp>& __r); in _GLIBCXX_VISIBILITY()
341 ~__shared_count() // nothrow in _GLIBCXX_VISIBILITY()
347 __shared_count(const __shared_count& __r) in _GLIBCXX_VISIBILITY()
354 __shared_count& in _GLIBCXX_VISIBILITY()
355 operator=(const __shared_count& __r) // nothrow in _GLIBCXX_VISIBILITY()
[all …]
/netbsd-src/external/apache2/llvm/dist/libcxx/src/
H A Dmemory.cpp31 __shared_count::~__shared_count() in ~__shared_count()
41 __shared_count::__add_shared() noexcept in __add_shared()
47 __shared_count::__release_shared() noexcept in __release_shared()
60 __shared_count::__add_shared(); in __add_shared()
72 if (__shared_count::__release_shared()) in __release_shared()
H A Dfuture.cpp193 unique_ptr<__shared_count, __release_shared_count> __(__state_); in get()
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/bits/
H A Dshared_ptr_base.h366 class __shared_count; in _GLIBCXX_VISIBILITY() local
573 friend class __shared_count<_Lp>; // To be able to call _M_ptr(). in _GLIBCXX_VISIBILITY()
610 class __shared_count in _GLIBCXX_VISIBILITY()
619 constexpr __shared_count() noexcept : _M_pi(0) in _GLIBCXX_VISIBILITY()
624 __shared_count(_Ptr __p) : _M_pi(0) in _GLIBCXX_VISIBILITY()
638 __shared_count(_Ptr __p, /* is_array = */ false_type) in _GLIBCXX_VISIBILITY()
639 : __shared_count(__p) in _GLIBCXX_VISIBILITY()
643 __shared_count(_Ptr __p, /* is_array = */ true_type) in _GLIBCXX_VISIBILITY()
644 : __shared_count(__p, __sp_array_delete{}, allocator<void>()) in _GLIBCXX_VISIBILITY()
649 __shared_count(_Ptr __p, _Deleter __d) in _GLIBCXX_VISIBILITY()
[all …]
H A Dshared_ptr.h827 _M_weak_assign(_Tp1* __p, const __shared_count<>& __n) const noexcept in _GLIBCXX_VISIBILITY()
832 __enable_shared_from_this_base(const __shared_count<>&, in _GLIBCXX_VISIBILITY()
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/bits/
H A Dshared_ptr_base.h410 class __shared_count; in _GLIBCXX_VISIBILITY() local
626 friend class __shared_count<_Lp>; // To be able to call _M_ptr(). in _GLIBCXX_VISIBILITY()
679 friend class __shared_count<_Lp>; // To be able to call _M_ptr(). in _GLIBCXX_VISIBILITY()
834 friend class __shared_count<_Lp>; // To be able to call _M_ptr(). in _GLIBCXX_VISIBILITY()
893 class __shared_count in _GLIBCXX_VISIBILITY()
908 constexpr __shared_count() noexcept : _M_pi(0) in _GLIBCXX_VISIBILITY()
913 __shared_count(_Ptr __p) : _M_pi(0) in _GLIBCXX_VISIBILITY()
927 __shared_count(_Ptr __p, /* is_array = */ false_type) in _GLIBCXX_VISIBILITY()
928 : __shared_count(__p) in _GLIBCXX_VISIBILITY()
932 __shared_count(_Ptr __p, /* is_array = */ true_type) in _GLIBCXX_VISIBILITY()
[all …]
H A Dshared_ptr.h960 _M_weak_assign(_Tp1* __p, const __shared_count<>& __n) const noexcept in _GLIBCXX_VISIBILITY()
965 __enable_shared_from_this_base(const __shared_count<>&, in _GLIBCXX_VISIBILITY()
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/backward/
H A Dauto_ptr.h306 __shared_count<_Lp>::__shared_count(std::auto_ptr<_Tp>&& __r) in _GLIBCXX_VISIBILITY()
319 _M_refcount = __shared_count<_Lp>(std::move(__r)); in _GLIBCXX_VISIBILITY()
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/backward/
H A Dauto_ptr.h302 __shared_count<_Lp>::__shared_count(std::auto_ptr<_Tp>&& __r) in _GLIBCXX_VISIBILITY()
315 _M_refcount = __shared_count<_Lp>(std::move(__r)); in _GLIBCXX_VISIBILITY()
/netbsd-src/external/apache2/llvm/dist/libcxx/include/__memory/
H A Dshared_ptr.h144 class _LIBCPP_TYPE_VIS __shared_count
146 __shared_count(const __shared_count&);
147 __shared_count& operator=(const __shared_count&);
151 virtual ~__shared_count();
157 explicit __shared_count(long __refs = 0) _NOEXCEPT
185 : private __shared_count
192 : __shared_count(__refs), in __shared_count() function
206 __shared_count::__add_shared();
214 if (__shared_count::__release_shared())
220 long use_count() const _NOEXCEPT {return __shared_count::use_count();} in use_count()
/netbsd-src/external/apache2/llvm/dist/libcxx/include/
H A Dfuture528 : public __shared_count
1098 void operator()(__shared_count* p) {p->__release_shared();}
1112 unique_ptr<__shared_count, __release_shared_count> __(__state_);
1194 unique_ptr<__shared_count, __release_shared_count> __(__state_);
H A D__locale190 : public __shared_count
195 : __shared_count(static_cast<long>(__refs)-1) {}
199 // facet(const facet&) = delete; // effectively done in __shared_count
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/experimental/bits/
H A Dshared_ptr.h653 _M_weak_assign(_Tp1* __p, const __shared_count<>& __n) const noexcept in _GLIBCXX_VISIBILITY()
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/experimental/bits/
H A Dshared_ptr.h653 _M_weak_assign(_Tp1* __p, const __shared_count<>& __n) const noexcept in _GLIBCXX_VISIBILITY()
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/
H A DChangeLog-2008541 (__shared_count::_M_less,__weak_count::_M_less,operator<): Replace
1160 * include/bits/shared_ptr.h (__shared_count<>::
1161 __shared_count(_Ptr, _Deleter), __shared_count<>::
1162 __shared_count(_Ptr, _Deleter, _Alloc), __shared_count<>::
1163 __shared_count(_Sp_make_shared_tag, _Tp*, _Alloc, _Args&&...)):
1345 (__shared_count,__shared_ptr,shared_ptr,swap): Add unique_ptr
H A DChangeLog-20131073 * include/bits/shared_ptr_base.h (__shared_count::__shared_count(P,D)):
1075 (__shared_count::_S_create_from_up): Inline into ...
1076 (__shared_count::__shared_count(unique_ptr<Y,D>&&): Here. Use
H A DChangeLog-2010239 * include/bits/shared_ptr_base.h (__shared_count<>::
240 __shared_count(_Sp_make_shared_tag, _Tp*, _Alloc, _Args&&...),
745 * include/bits/shared_ptr_base.h (__shared_count::__shared_count(),
746 __shared_count::__shared_count(), __shared_ptr<>::__shared_ptr(),
3966 (__shared_count): Add nullptr_t support and make constructors explicit.
H A DChangeLog-20196533 (_Sp_counted_ptr_inplace): Declare __shared_count<_Lp> as a friend.
6536 (__shared_count(Ptr, Deleter),__shared_count(Ptr, Deleter, Alloc)):
6538 (__shared_count(_Sp_make_shared_tag, const _Alloc&, Args&&...)):
6540 (__shared_count(Tp*&, _Sp_alloc_shared_tag<_Alloc>, Args&&...)): Use
6546 to the __shared_count constructor.
H A DChangeLog-20201778 * include/tr1/shared_ptr.h (__shared_count, __shared_ptr)
2195 (__shared_count(const __weak_count&, nothrow_t)): Add noexcept
2262 (__shared_count, __shared_ptr): Use nullptr for null pointer
2264 (__shared_count(const __weak_count&)): Use _M_add_ref_lock_nothrow
2266 (__shared_count(const __weak_count&, nothrow_t)): Add noexcept.
H A DChangeLog-201218 * include/bits/shared_ptr_base.h (__shared_count::_S_create_from_up):
960 * include/bits/shared_ptr_base.h (__shared_count::_S_create_from_up):
H A DChangeLog5019 * include/bits/shared_ptr_base.h (__shared_count, __weak_count)
5271 (__shared_count(_Tp*&, const _Sp_counted_array_base&, _Init)):
H A DChangeLog-20145684 (__shared_count::__shared_count, __shared_ptr::__shared_ptr): Use
7029 (__shared_count): Add new non-throwing constructor.
H A DChangeLog-2016903 (__shared_count(_Ptr, false_type), __shared_count(_Ptr, true_type)):
911 (__shared_ptr(_Yp*)): Use tag dispatching to call new __shared_count
9299 * include/bits/shared_ptr_base.h (_Sp_counted_deleter, __shared_count,
H A DChangeLog-20212496 * include/bits/shared_ptr_base.h (__shared_count): Use
5488 * include/bits/shared_ptr_base.h (__shared_count(unique_ptr&&)):

12