Searched refs:INITIAL_STRONG_VALUE (Results 1 – 2 of 2) sorted by relevance
142 #define INITIAL_STRONG_VALUE (1<<28) macro152 ((c) == 0 || ((c) & (~(MAX_COUNT | INITIAL_STRONG_VALUE))) != 0)170 : mStrong(INITIAL_STRONG_VALUE) in weakref_impl()189 : mStrong(INITIAL_STRONG_VALUE) in weakref_impl()436 if (c != INITIAL_STRONG_VALUE) { in incStrong()440 int32_t old __unused = refs->mStrong.fetch_sub(INITIAL_STRONG_VALUE, std::memory_order_relaxed); in incStrong()442 ALOG_ASSERT(old > INITIAL_STRONG_VALUE, "0x%x too small", old); in incStrong()453 LOG_ALWAYS_FATAL_IF(c <= 0 || c == INITIAL_STRONG_VALUE, in incStrongRequireStrong()509 case INITIAL_STRONG_VALUE: in forceIncStrong()510 refs->mStrong.fetch_sub(INITIAL_STRONG_VALUE, in forceIncStrong()[all …]
33 static constexpr int INITIAL_STRONG_VALUE = 1 << 28; // Mirroring RefBase definition. variable89 ASSERT_EQ(INITIAL_STRONG_VALUE, foo->getStrongCount()); in TEST()