Home | History | Annotate | Download | only in bits

Lines Matching refs:_M_use_count

112       : _M_use_count(1), _M_weak_count(1) { }
118 // Called when _M_use_count drops to zero, to release the resources
133 { __gnu_cxx::__atomic_add_dispatch(&_M_use_count, 1); }
142 _GLIBCXX_SYNCHRONIZATION_HAPPENS_BEFORE(&_M_use_count);
143 if (__gnu_cxx::__exchange_and_add_dispatch(&_M_use_count, -1) == 1)
145 _GLIBCXX_SYNCHRONIZATION_HAPPENS_AFTER(&_M_use_count);
196 return const_cast<const volatile _Atomic_word&>(_M_use_count);
203 _Atomic_word _M_use_count; // #shared
212 if (__gnu_cxx::__exchange_and_add_dispatch(&_M_use_count, 1) == 0)
214 _M_use_count = 0;
225 if (__gnu_cxx::__exchange_and_add_dispatch(&_M_use_count, 1) == 0)
227 _M_use_count = 0;
241 __count = _M_use_count;
248 while (!__sync_bool_compare_and_swap(&_M_use_count, __count,