Home
last modified time | relevance | path

Searched refs:kRefIncrement (Results 1 – 2 of 2) sorted by relevance

/external/openscreen/third_party/abseil/src/absl/strings/internal/
Dcord_internal.h36 constexpr Refcount() : count_{kRefIncrement} {} in Refcount()
42 count_.fetch_add(kRefIncrement, std::memory_order_relaxed); in Increment()
55 return refcount != kRefIncrement && in Decrement()
56 count_.fetch_sub(kRefIncrement, std::memory_order_acq_rel) != in Decrement()
57 kRefIncrement; in Decrement()
63 count_.fetch_sub(kRefIncrement, std::memory_order_acq_rel); in DecrementExpectHighRefcount()
65 return refcount != kRefIncrement; in DecrementExpectHighRefcount()
82 return count_.load(std::memory_order_acquire) == kRefIncrement; in IsOne()
98 kRefIncrement = 1 << kImmortalShift, enumerator
99 kImmortalTag = kRefIncrement - 1
/external/angle/third_party/abseil-cpp/absl/strings/internal/
Dcord_internal.h80 constexpr Refcount() : count_{kRefIncrement} {} in Refcount()
86 count_.fetch_add(kRefIncrement, std::memory_order_relaxed); in Increment()
99 return refcount != kRefIncrement && in Decrement()
100 count_.fetch_sub(kRefIncrement, std::memory_order_acq_rel) != in Decrement()
101 kRefIncrement; in Decrement()
107 count_.fetch_sub(kRefIncrement, std::memory_order_acq_rel); in DecrementExpectHighRefcount()
109 return refcount != kRefIncrement; in DecrementExpectHighRefcount()
126 return count_.load(std::memory_order_acquire) == kRefIncrement; in IsOne()
142 kRefIncrement = 1 << kImmortalShift, enumerator
143 kImmortalTag = kRefIncrement - 1