Searched refs:curCount (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/libs/utils/
H A DRefBase.cpp444 int32_t curCount = impl->mStrong; local
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
505 int32_t curCount = impl->mWeak; local
[all...]
/frameworks/base/core/jni/
H A Dandroid_util_Process.cpp553 jsize curCount = 0; local
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 96 milliseconds