Home
last modified time | relevance | path

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

/system/core/libutils/
DRefBase.cpp121 #define INITIAL_STRONG_VALUE (1<<28) macro
136 : mStrong(INITIAL_STRONG_VALUE) in weakref_impl()
155 : mStrong(INITIAL_STRONG_VALUE) in weakref_impl()
394 if (c != INITIAL_STRONG_VALUE) { in incStrong()
398 int32_t old = refs->mStrong.fetch_sub(INITIAL_STRONG_VALUE, in incStrong()
401 ALOG_ASSERT(old > INITIAL_STRONG_VALUE, "0x%x too small", old); in incStrong()
449 case INITIAL_STRONG_VALUE: in forceIncStrong()
450 refs->mStrong.fetch_sub(INITIAL_STRONG_VALUE, in forceIncStrong()
495 == INITIAL_STRONG_VALUE) { in decWeak()
521 while (curCount > 0 && curCount != INITIAL_STRONG_VALUE) { in attemptIncStrong()
[all …]