Home | History | Annotate | Download | only in bits

Lines Matching refs:_M_use_count

113       : _M_use_count(1), _M_weak_count(1) { }
119 // Called when _M_use_count drops to zero, to release the resources
134 { __gnu_cxx::__atomic_add_dispatch(&_M_use_count, 1); }
143 _GLIBCXX_SYNCHRONIZATION_HAPPENS_BEFORE(&_M_use_count);
144 if (__gnu_cxx::__exchange_and_add_dispatch(&_M_use_count, -1) == 1)
146 _GLIBCXX_SYNCHRONIZATION_HAPPENS_AFTER(&_M_use_count);
197 return __atomic_load_n(&_M_use_count, __ATOMIC_RELAXED);
204 _Atomic_word _M_use_count; // #shared
213 if (__gnu_cxx::__exchange_and_add_dispatch(&_M_use_count, 1) == 0)
215 _M_use_count = 0;
226 if (__gnu_cxx::__exchange_and_add_dispatch(&_M_use_count, 1) == 0)
228 _M_use_count = 0;
239 _Atomic_word __count = _M_use_count;
247 while (!__atomic_compare_exchange_n(&_M_use_count, &__count, __count + 1,