Home
last modified time | relevance | path

Searched refs:refCount (Results 1 – 25 of 87) sorted by relevance

1234

/external/webkit/Source/JavaScriptCore/wtf/
DThreadSafeRefCounted.h91 return refCount() == 1; in hasOneRef()
94 int refCount() const in refCount() function
113 int refCount; in derefBase()
117 refCount = m_refCount; in derefBase()
119 if (refCount <= 0) in derefBase()
DCrossThreadRefCounted.h118 if (!m_threadId && m_refCounter.refCount() == 2) in ref()
134 if (m_threadId && m_refCounter.refCount() == 1) in deref()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowPowerManager.java33 private int refCount; field in ShadowPowerManager.ShadowWakeLock
45 refCount++; in acquire()
54 if (--refCount < 0) throw new RuntimeException("WakeLock under-locked"); in release()
62 return refCounted ? refCount > 0 : locked; in isHeld()
DShadowWifiManager.java148 private int refCount; field in ShadowWifiManager.ShadowWifiLock
156 …if (++refCount >= MAX_ACTIVE_LOCKS) throw new UnsupportedOperationException("Exceeded maximum numb… in acquire()
165 if (--refCount < 0) throw new RuntimeException("WifiLock under-locked"); in release()
173 return refCounted ? refCount > 0 : locked; in isHeld()
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/preprocessor/
Dcppstruct.c54 static int refCount = 0; variable
75 refCount++; in InitCPPStruct()
127 if (refCount) in FreeCPPStruct()
130 refCount--; in FreeCPPStruct()
/external/icu4c/test/threadtest/
Dstringtest.cpp128 uint32_t refCount = fSourceStrings[i].refCount(); in check() local
129 if (refCount != 1) { in check()
130 … fprintf(stderr, "\nFailure. SourceString Ref Count was %d, should be 1.\n", refCount); in check()
/external/webkit/Source/JavaScriptCore/dfg/
DDFGGraph.cpp49 unsigned refCount = node.refCount; in dump() local
50 if (!refCount) in dump()
54 --refCount; in dump()
73 …printf("% 4d:\t<%c%u:%u>\t%s(", (int)nodeIndex, mustGenerate ? '!' : ' ', refCount, node.virtualRe… in dump()
DDFGGraph.h74 if (!node.refCount++) in ref()
80 ASSERT(node.refCount); in deref()
82 if (!--node.refCount) in deref()
DDFGNode.h181 , refCount(0) in op()
193 , refCount(0) in op()
206 , refCount(0) in op()
339 unsigned refCount; member
DDFGJITCodeGenerator.h392 info.initInteger(nodeIndex, node.refCount, reg);
397 info.initJSValue(nodeIndex, node.refCount, reg, format);
407 info.initNone(nodeIndex, node.refCount); in noResult()
417 info.initCell(nodeIndex, node.refCount, reg); in cellResult()
430 info.initJSValue(nodeIndex, node.refCount, reg, format);
440 info.initDouble(nodeIndex, node.refCount, reg); in doubleResult()
446 m_generationInfo[node.virtualRegister].initConstant(nodeIndex, node.refCount); in initConstantInfo()
/external/webkit/Source/JavaScriptCore/API/tests/
DNodeList.c36 nodeList->refCount = 0; in NodeList_new()
72 ++nodeList->refCount; in NodeList_ref()
77 if (--nodeList->refCount == 0) { in NodeList_deref()
DNode.c33 node->refCount = 0; in Node_new()
78 ++node->refCount; in Node_ref()
83 if (--node->refCount == 0) in Node_deref()
DNodeList.h32 unsigned refCount; member
DNode.h38 unsigned refCount; member
/external/nist-sip/java/gov/nist/javax/sip/
DEventScanner.java50 private int refCount; field in EventScanner
61 this.refCount++; in incrementRefcount()
102 if (this.refCount > 0) in stop()
103 this.refCount--; in stop()
105 if (this.refCount == 0) { in stop()
121 this.refCount = 0; in forceStop()
/external/icu4c/i18n/
Dtznames.cpp55 int32_t refCount; member
96 if (entry->refCount <= 0 && (now - entry->lastAccess) > CACHE_EXPIRATION) { in sweepCache()
187 cacheEntry->refCount = 1; in TimeZoneNamesDelegate()
207 cacheEntry->refCount++; in TimeZoneNamesDelegate()
226 U_ASSERT(fTZnamesCacheEntry->refCount > 0); in ~TimeZoneNamesDelegate()
228 fTZnamesCacheEntry->refCount--; in ~TimeZoneNamesDelegate()
255 fTZnamesCacheEntry->refCount++; in clone()
/external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/win/
DWebDragSource.cpp64 return refCount(); in AddRef()
70 return refCount(); in Release()
/external/webkit/Source/WebCore/storage/
DStorageMap.cpp109 if (refCount() > 1) { in setItem()
149 if (refCount() > 1) { in removeItem()
/external/icu4c/common/
Dusprep.cpp157 if ((noRefCount== FALSE && profile->refCount == 0) || in usprep_internal_flushCache()
332 profile->refCount++; in usprep_getProfile()
374 profile->refCount++; in usprep_getProfile()
388 profile->refCount = 1; in usprep_getProfile()
432 if(profile->refCount > 0){ in usprep_close()
433 profile->refCount--; in usprep_close()
Dsprpimpl.h92 int32_t refCount; member
/external/webkit/Source/JavaScriptCore/bytecompiler/
DBytecodeGenerator.cpp646 while (m_calleeRegisters.size() && !m_calleeRegisters.last().refCount()) in newTemporary()
665 while (m_labelScopes.size() && !m_labelScopes.last().refCount()) in newLabelScope()
677 while (m_labels.size() && !m_labels.last().refCount()) in newLabel()
765 if (cond->index() == dstIndex && cond->isTemporary() && !cond->refCount()) { in emitJumpIfTrue()
782 if (cond->index() == dstIndex && cond->isTemporary() && !cond->refCount()) { in emitJumpIfTrue()
798 if (cond->index() == dstIndex && cond->isTemporary() && !cond->refCount()) { in emitJumpIfTrue()
813 if (cond->index() == dstIndex && cond->isTemporary() && !cond->refCount()) { in emitJumpIfTrue()
841 if (cond->index() == dstIndex && cond->isTemporary() && !cond->refCount()) { in emitJumpIfFalse()
858 if (cond->index() == dstIndex && cond->isTemporary() && !cond->refCount()) { in emitJumpIfFalse()
874 if (cond->index() == dstIndex && cond->isTemporary() && !cond->refCount()) { in emitJumpIfFalse()
[all …]
DRegisterID.h95 int refCount() const in refCount() function
DLabelScope.h59 int refCount() const { return m_refCount; } in refCount() function
DLabel.h73 int refCount() const { return m_refCount; } in refCount() function
/external/webkit/Source/WebCore/fileapi/
DFileThread.cpp107 … and clear the ref to FileThread %p, which currently has %i ref(s)", m_threadID, this, refCount()); in runLoop()

1234