Home
last modified time | relevance | path

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

/frameworks/base/libs/utils/
DRefBase.cpp47 #define INITIAL_STRONG_VALUE (1<<28) macro
68 : mStrong(INITIAL_STRONG_VALUE) in weakref_impl()
86 : mStrong(INITIAL_STRONG_VALUE) in weakref_impl()
299 if (c != INITIAL_STRONG_VALUE) { in incStrong()
303 android_atomic_add(-INITIAL_STRONG_VALUE, &refs->mStrong); in incStrong()
345 case INITIAL_STRONG_VALUE: in forceIncStrong()
346 android_atomic_add(-INITIAL_STRONG_VALUE, &refs->mStrong); in forceIncStrong()
384 if (impl->mStrong == INITIAL_STRONG_VALUE) { in decWeak()
419 while (curCount > 0 && curCount != INITIAL_STRONG_VALUE) { in attemptIncStrong()
426 if (curCount <= 0 || curCount == INITIAL_STRONG_VALUE) { in attemptIncStrong()
[all …]