OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:INITIAL_STRONG_VALUE
(Results
1 - 2
of
2
) sorted by null
/system/core/libutils/
RefBase.cpp
118
#define
INITIAL_STRONG_VALUE
(1<<28)
128
((c) == 0 || ((c) & (~(MAX_COUNT |
INITIAL_STRONG_VALUE
))) != 0)
146
: mStrong(
INITIAL_STRONG_VALUE
)
165
: mStrong(
INITIAL_STRONG_VALUE
)
409
if (c !=
INITIAL_STRONG_VALUE
) {
413
int32_t old __unused = refs->mStrong.fetch_sub(
INITIAL_STRONG_VALUE
, std::memory_order_relaxed);
415
ALOG_ASSERT(old >
INITIAL_STRONG_VALUE
, "0x%x too small", old);
454
// Allows initial mStrong of 0 in addition to
INITIAL_STRONG_VALUE
.
468
case
INITIAL_STRONG_VALUE
:
469
refs->mStrong.fetch_sub(
INITIAL_STRONG_VALUE
,
[
all
...]
/system/core/libutils/tests/
RefBase_test.cpp
33
static constexpr int
INITIAL_STRONG_VALUE
= 1 << 28; // Mirroring RefBase definition.
51
ASSERT_EQ(
INITIAL_STRONG_VALUE
, foo->getStrongCount());
Completed in 109 milliseconds