Home
last modified time | relevance | path

Searched refs:_M_refcount (Results 1 – 10 of 10) sorted by relevance

/openbsd/src/gnu/gcc/libstdc++-v3/include/tr1/
Dboost_shared_ptr.h512 : _M_ptr(0), _M_refcount() // never throws in __shared_ptr()
523 : _M_ptr(__p), _M_refcount(__p, _Sp_deleter<_Tp1>()) in __shared_ptr()
527 __enable_shared_from_this_helper(_M_refcount, __p, __p); in __shared_ptr()
544 : _M_ptr(__p), _M_refcount(__p, __d) in __shared_ptr()
548 __enable_shared_from_this_helper(_M_refcount, __p, __p); in __shared_ptr()
562 : _M_ptr(__r._M_ptr), _M_refcount(__r._M_refcount) // never throws in __shared_ptr()
575 : _M_refcount(__r._M_refcount) // may throw in __shared_ptr()
589 : _M_ptr(__r.get()), _M_refcount() in __shared_ptr()
594 _M_refcount = __shared_count<_Lp>(__r); in __shared_ptr()
595 __enable_shared_from_this_helper(_M_refcount, __tmp, __tmp); in __shared_ptr()
[all …]
/openbsd/src/gnu/gcc/libstdc++-v3/include/bits/
Dlocale_classes.h348 mutable _Atomic_word _M_refcount; variable
374 facet(size_t __refs = 0) throw() : _M_refcount(__refs ? 1 : 0) in throw()
402 { __gnu_cxx::__atomic_add_dispatch(&_M_refcount, 1); } in _M_add_reference()
407 if (__gnu_cxx::__exchange_and_add_dispatch(&_M_refcount, -1) == 1) in _M_remove_reference()
492 _Atomic_word _M_refcount;
507 { __gnu_cxx::__atomic_add_dispatch(&_M_refcount, 1); } in _M_add_reference()
512 if (__gnu_cxx::__exchange_and_add_dispatch(&_M_refcount, -1) == 1) in _M_remove_reference()
Dios_base.h472 _Atomic_word _M_refcount; // 0 means one reference. member
476 : _M_next(__cb), _M_fn(__fn), _M_index(__index), _M_refcount(0) { } in _Callback_list()
479 _M_add_reference() { __gnu_cxx::__atomic_add_dispatch(&_M_refcount, 1); } in _M_add_reference()
484 { return __gnu_cxx::__exchange_and_add_dispatch(&_M_refcount, -1); } in _M_remove_reference()
Dbasic_string.h151 _Atomic_word _M_refcount; in _GLIBCXX_BEGIN_NAMESPACE() member
191 { return this->_M_refcount < 0; } in _GLIBCXX_BEGIN_NAMESPACE()
195 { return this->_M_refcount > 0; } in _GLIBCXX_BEGIN_NAMESPACE()
199 { this->_M_refcount = -1; } in _GLIBCXX_BEGIN_NAMESPACE()
203 { this->_M_refcount = 0; } in _GLIBCXX_BEGIN_NAMESPACE()
236 if (__gnu_cxx::__exchange_and_add_dispatch(&this->_M_refcount, in _GLIBCXX_BEGIN_NAMESPACE()
250 __gnu_cxx::__atomic_add_dispatch(&this->_M_refcount, 1); in _GLIBCXX_BEGIN_NAMESPACE()
/openbsd/src/gnu/gcc/libstdc++-v3/include/ext/
Drc_string_base.h121 _Atomic_word _M_refcount; in _GLIBCXX_BEGIN_NAMESPACE() member
137 __atomic_add_dispatch(&_M_info._M_refcount, 1); in _GLIBCXX_BEGIN_NAMESPACE()
144 _M_info._M_refcount = 0; // One reference. in _GLIBCXX_BEGIN_NAMESPACE()
207 if (__exchange_and_add_dispatch(&_M_rep()->_M_info._M_refcount, in _GLIBCXX_BEGIN_NAMESPACE()
214 { return _M_rep()->_M_info._M_refcount < 0; } in _GLIBCXX_BEGIN_NAMESPACE()
218 { _M_rep()->_M_info._M_refcount = 0; } in _GLIBCXX_BEGIN_NAMESPACE()
284 { return _M_rep()->_M_info._M_refcount > 0; } in _GLIBCXX_BEGIN_NAMESPACE()
288 { _M_rep()->_M_info._M_refcount = -1; } in _GLIBCXX_BEGIN_NAMESPACE()
/openbsd/src/gnu/lib/libstdc++/libstdc++/include/bits/
Dios_base.h385 _Atomic_word _M_refcount; // 0 means one reference. member
389 : _M_next(__cb), _M_fn(__fn), _M_index(__index), _M_refcount(0) { } in _Callback_list()
392 _M_add_reference() { __atomic_add(&_M_refcount, 1); } in _M_add_reference()
396 _M_remove_reference() { return __exchange_and_add(&_M_refcount, -1); } in _M_remove_reference()
/openbsd/src/gnu/llvm/clang/www/
Dlibstdc++4.4-clang0x.patch65 { return _M_refcount._M_get_use_count(); }
72 _M_refcount._M_swap(__other._M_refcount);
/openbsd/src/gnu/gcc/libstdc++-v3/src/
Dlocalename.cc179 : _M_refcount(__refs), _M_facets(0), _M_facets_size(_GLIBCXX_NUM_FACETS), in _Impl()
Dlocale.cc250 : _M_refcount(__refs), _M_facets(0), _M_facets_size(__imp._M_facets_size), in _Impl()
Dlocale_init.cc364 : _M_refcount(__refs), _M_facets(0), _M_facets_size(_GLIBCXX_NUM_FACETS), in _Impl()