Home | History | Annotate | Download | only in bits

Lines Matching refs:_M_use_count

110       : _M_use_count(1), _M_weak_count(1) { }
116 // Called when _M_use_count drops to zero, to release the resources
131 { __gnu_cxx::__atomic_add_dispatch(&_M_use_count, 1); }
140 _GLIBCXX_SYNCHRONIZATION_HAPPENS_BEFORE(&_M_use_count);
141 if (__gnu_cxx::__exchange_and_add_dispatch(&_M_use_count, -1) == 1)
143 _GLIBCXX_SYNCHRONIZATION_HAPPENS_AFTER(&_M_use_count);
194 return __atomic_load_n(&_M_use_count, __ATOMIC_RELAXED);
201 _Atomic_word _M_use_count; // #shared
210 if (__gnu_cxx::__exchange_and_add_dispatch(&_M_use_count, 1) == 0)
212 _M_use_count = 0;
223 if (__gnu_cxx::__exchange_and_add_dispatch(&_M_use_count, 1) == 0)
225 _M_use_count = 0;
236 _Atomic_word __count = _M_use_count;
244 while (!__atomic_compare_exchange_n(&_M_use_count, &__count, __count + 1,