Searched defs:SafeRefCount (Results 1 – 4 of 4) sorted by relevance
53 struct SafeRefCount { struct55 uint32_t count;60 bool ref() { //true on success in ref()65 uint32_t refval() { //true on success in refval()70 bool unref() { // true if must be disposed of in unref()79 uint32_t get() const { // nothrow in get()
173 struct SafeRefCount { struct175 uint32_t count;180 _ALWAYS_INLINE_ bool ref() { // true on success in ref()185 _ALWAYS_INLINE_ uint32_t refval() { // none-zero on success in refval()190 _ALWAYS_INLINE_ bool unref() { // true if must be disposed of in unref()195 _ALWAYS_INLINE_ uint32_t unrefval() { // 0 if must be disposed of in unrefval()200 _ALWAYS_INLINE_ uint32_t get() const { // nothrow in get()