Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/libstdc++/include/tr1/
H A Dboost_shared_ptr.h264 class __shared_count
267 __shared_count() in __shared_count() function
297 ~__shared_count() // nothrow in ~__shared_count()
303 __shared_count(const __shared_count& __r) in __shared_count() function
310 __shared_count&
342 operator==(const __shared_count& __a, const __shared_count& __b)
346 operator<(const __shared_count& __a, const __shared_count& __b)
432 friend class __shared_count<_Lp>;
439 __shared_count<_Lp>::
594 _M_refcount = __shared_count<_Lp>(__r); in __shared_ptr()
[all …]
/freebsd-12.1/contrib/libc++/src/
H A Dmemory.cpp29 __shared_count::~__shared_count() in ~__shared_count()
39 __shared_count::__add_shared() _NOEXCEPT in __add_shared()
45 __shared_count::__release_shared() _NOEXCEPT in __release_shared()
58 __shared_count::__add_shared(); in __add_shared()
70 if (__shared_count::__release_shared()) in __release_shared()
H A Dfuture.cpp194 unique_ptr<__shared_count, __release_shared_count> __(__state_); in get()
/freebsd-12.1/contrib/libc++/include/
H A Dmemory3516 class _LIBCPP_TYPE_VIS __shared_count
3518 __shared_count(const __shared_count&);
3519 __shared_count& operator=(const __shared_count&);
3523 virtual ~__shared_count();
3529 explicit __shared_count(long __refs = 0) _NOEXCEPT
3557 : private __shared_count
3564 : __shared_count(__refs),
3578 __shared_count::__add_shared();
3586 if (__shared_count::__release_shared())
3592 long use_count() const _NOEXCEPT {return __shared_count::use_count();}
H A D__locale170 : public __shared_count
175 : __shared_count(static_cast<long>(__refs)-1) {}
179 // facet(const facet&) = delete; // effectively done in __shared_count
H A Dfuture532 : public __shared_count
1163 void operator()(__shared_count* p) {p->__release_shared();}
1177 unique_ptr<__shared_count, __release_shared_count> __(__state_);
1272 unique_ptr<__shared_count, __release_shared_count> __(__state_);
/freebsd-12.1/contrib/libstdc++/
H A DChangeLog-20061350 __enable_shared_from_this_helper(const __shared_count<>&, const