OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:curCount
(Results
1 - 2
of
2
) sorted by null
/frameworks/base/libs/utils/
RefBase.cpp
444
int32_t
curCount
= impl->mStrong;
445
LOG_ASSERT(
curCount
>= 0, "attemptIncStrong called on %p after underflow",
447
while (
curCount
> 0 &&
curCount
!= INITIAL_STRONG_VALUE) {
448
if (android_atomic_cmpxchg(
curCount
,
curCount
+1, &impl->mStrong) == 0) {
451
curCount
= impl->mStrong;
454
if (
curCount
<= 0 ||
curCount
== INITIAL_STRONG_VALUE) {
456
if (
curCount
== INITIAL_STRONG_VALUE)
[
all
...]
/frameworks/base/core/jni/
android_util_Process.cpp
553
jsize
curCount
= 0;
556
curCount
= env->GetArrayLength(lastArray);
574
if (curPos >=
curCount
) {
575
jsize newCount = (
curCount
== 0) ? 10 : (
curCount
*2);
584
memcpy(newData, curData, sizeof(jint)*
curCount
);
588
curCount
= newCount;
602
while (curPos <
curCount
) {
Completed in 100 milliseconds