Home | History | Annotate | Download | only in tr1

Lines Matching refs:_M_use_count

114       : _M_use_count(1), _M_weak_count(1) { }
120 // Called when _M_use_count drops to zero, to release the resources
135 { __gnu_cxx::__atomic_add_dispatch(&_M_use_count, 1); }
144 _GLIBCXX_SYNCHRONIZATION_HAPPENS_BEFORE(&_M_use_count);
145 if (__gnu_cxx::__exchange_and_add_dispatch(&_M_use_count, -1) == 1)
147 _GLIBCXX_SYNCHRONIZATION_HAPPENS_AFTER(&_M_use_count);
198 return const_cast<const volatile _Atomic_word&>(_M_use_count);
205 _Atomic_word _M_use_count; // #shared
214 if (__gnu_cxx::__exchange_and_add_dispatch(&_M_use_count, 1) == 0)
216 _M_use_count = 0;
227 if (__gnu_cxx::__exchange_and_add_dispatch(&_M_use_count, 1) == 0)
229 _M_use_count = 0;
240 _Atomic_word __count = _M_use_count;
248 while (!__atomic_compare_exchange_n(&_M_use_count, &__count, __count + 1,