Searched refs:INITIAL_STRONG_VALUE (Results 1 – 2 of 2) sorted by relevance
131 #define INITIAL_STRONG_VALUE (1<<28) macro141 ((c) == 0 || ((c) & (~(MAX_COUNT | INITIAL_STRONG_VALUE))) != 0)159 : mStrong(INITIAL_STRONG_VALUE) in weakref_impl()178 : mStrong(INITIAL_STRONG_VALUE) in weakref_impl()422 if (c != INITIAL_STRONG_VALUE) { in incStrong()426 int32_t old __unused = refs->mStrong.fetch_sub(INITIAL_STRONG_VALUE, std::memory_order_relaxed); in incStrong()428 ALOG_ASSERT(old > INITIAL_STRONG_VALUE, "0x%x too small", old); in incStrong()481 case INITIAL_STRONG_VALUE: in forceIncStrong()482 refs->mStrong.fetch_sub(INITIAL_STRONG_VALUE, in forceIncStrong()528 == INITIAL_STRONG_VALUE) { in decWeak()[all …]
33 static constexpr int INITIAL_STRONG_VALUE = 1 << 28; // Mirroring RefBase definition. variable89 ASSERT_EQ(INITIAL_STRONG_VALUE, foo->getStrongCount()); in TEST()