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

/frameworks/native/libs/utils/
H A DRefBase.cpp444 int32_t curCount = impl->mStrong; local
445 ALOG_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.cpp600 jsize curCount = 0; local
603 curCount = env->GetArrayLength(lastArray);
621 if (curPos >= curCount) {
622 jsize newCount = (curCount == 0) ? 10 : (curCount*2);
631 memcpy(newData, curData, sizeof(jint)*curCount);
635 curCount = newCount;
649 while (curPos < curCount) {

Completed in 65 milliseconds