Home
last modified time | relevance | path

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

123

/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
DScriptPromiseResolverTest.cpp214 EXPECT_EQ(1, resolver->refCount()); in TEST_F()
216 EXPECT_EQ(2, resolver->refCount()); in TEST_F()
219 EXPECT_EQ(1, resolver->refCount()); in TEST_F()
229 EXPECT_EQ(1, resolver->refCount()); in TEST_F()
231 EXPECT_EQ(2, resolver->refCount()); in TEST_F()
234 EXPECT_EQ(1, resolver->refCount()); in TEST_F()
244 EXPECT_EQ(1, resolver->refCount()); in TEST_F()
246 EXPECT_EQ(2, resolver->refCount()); in TEST_F()
249 EXPECT_EQ(1, resolver->refCount()); in TEST_F()
259 EXPECT_EQ(1, resolver->refCount()); in TEST_F()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSCalculationValueTest.cpp132 EXPECT_EQ(calc->refCount(), 2); in TEST()
136 EXPECT_EQ(calc->refCount(), 3); in TEST()
140 EXPECT_EQ(calc->refCount(), 4); in TEST()
144 EXPECT_EQ(calc->refCount(), 5); in TEST()
155 EXPECT_EQ(calc->refCount(), 3); in TEST()
160 EXPECT_EQ(calc->refCount(), 4); in TEST()
165 EXPECT_EQ(calc->refCount(), 5); in TEST()
168 EXPECT_EQ(calc->refCount(), 4); in TEST()
/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/icu/icu4c/source/common/
Dsharedobject.cpp15 umtx_atomic_inc(&refCount); in addRef()
20 if(umtx_atomic_dec(&refCount) == 0) { in removeRef()
27 return umtx_loadAcquire(refCount); in getRefCount()
Dsharedobject.h30 SharedObject() : refCount(0) {} in SharedObject()
33 SharedObject(const SharedObject &/*other*/) : refCount(0) {} in SharedObject()
106 mutable u_atomic_int32_t refCount;
Dsharedptr.h198 int32_t refCount = count(); in readWrite() local
199 if (refCount <= 1) { in readWrite()
Dusprep.cpp158 if ((noRefCount== FALSE && profile->refCount == 0) || in usprep_internal_flushCache()
326 profile->refCount++; in usprep_getProfile()
368 profile->refCount++; in usprep_getProfile()
382 profile->refCount = 1; in usprep_getProfile()
426 if(profile->refCount > 0){ in usprep_close()
427 profile->refCount--; in usprep_close()
Dsprpimpl.h92 int32_t refCount; member
/external/icu/icu4c/source/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/chromium_org/third_party/icu/source/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/llvm/include/llvm/CodeGen/PBQP/
DCostAllocator.h35 : pool(pool), cost(std::move(cost)), refCount(0) {} in PoolEntry()
37 void incRef() { ++refCount; } in incRef()
38 bool decRef() { --refCount; return (refCount == 0); } in decRef()
44 std::size_t refCount; variable
/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/chromium_org/third_party/icu/source/i18n/
Dtznames.cpp49 int32_t refCount; member
90 if (entry->refCount <= 0 && (now - entry->lastAccess) > CACHE_EXPIRATION) { in sweepCache()
173 cacheEntry->refCount = 1; in TimeZoneNamesDelegate()
193 cacheEntry->refCount++; in TimeZoneNamesDelegate()
209 U_ASSERT(fTZnamesCacheEntry->refCount > 0); in ~TimeZoneNamesDelegate()
211 fTZnamesCacheEntry->refCount--; in ~TimeZoneNamesDelegate()
238 fTZnamesCacheEntry->refCount++; in clone()
/external/icu/icu4c/source/i18n/
Dtznames.cpp49 int32_t refCount; member
90 if (entry->refCount <= 0 && (now - entry->lastAccess) > CACHE_EXPIRATION) { in sweepCache()
173 cacheEntry->refCount = 1; in TimeZoneNamesDelegate()
193 cacheEntry->refCount++; in TimeZoneNamesDelegate()
209 U_ASSERT(fTZnamesCacheEntry->refCount > 0); in ~TimeZoneNamesDelegate()
211 fTZnamesCacheEntry->refCount--; in ~TimeZoneNamesDelegate()
238 fTZnamesCacheEntry->refCount++; in clone()
/external/chromium_org/third_party/WebKit/Source/wtf/
DThreadSafeRefCounted.h57 return refCount() == 1; in hasOneRef()
60 int refCount() const in refCount() function
/external/deqp/modules/gles31/functional/
Des31fDebugTests.cpp256 …VerificationResult verifyMessageCount (const MessageID& id, GLenum severity, int refCount, int r…
304 …BaseCase::verifyMessageCount (const MessageID& id, GLenum severity, int refCount, int resCount, bo… in verifyMessageCount() argument
311 if (resCount != refCount) in verifyMessageCount()
361 if (resCount > refCount) in verifyMessageCount()
365 << " (got " << resCount << ", expected " << refCount << ")"; in verifyMessageCount()
372 << " (got " << resCount << ", expected " << refCount << ")"; in verifyMessageCount()
378 if (resCount > refCount) in verifyMessageCount()
382 << " (got " << resCount << ", expected " << refCount << ")"; in verifyMessageCount()
389 << " (got " << resCount << ", expected " << refCount << ")"; in verifyMessageCount()
395 if (resCount > refCount) in verifyMessageCount()
[all …]
/external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/
DHarfBuzzFace.cpp97 ASSERT(result.get()->value->refCount() > 1); in ~HarfBuzzFace()
99 if (result.get()->value->refCount() == 1) in ~HarfBuzzFace()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DTreeScope.h119 if (!m_guardRefCount && !refCount() && !rootNodeHasTreeSharedParent()) { in guardDeref()
164 int refCount() const;
/external/chromium_org/third_party/icu/source/common/
Dusprep.cpp158 if ((noRefCount== FALSE && profile->refCount == 0) || in usprep_internal_flushCache()
326 profile->refCount++; in usprep_getProfile()
368 profile->refCount++; in usprep_getProfile()
382 profile->refCount = 1; in usprep_getProfile()
426 if(profile->refCount > 0){ in usprep_close()
427 profile->refCount--; in usprep_close()
Dsprpimpl.h92 int32_t refCount; member
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/cff/
Dcf2font.c331 int refCount = 0; in cf2_getGlyphOutline() local
358 while ( refCount++ < 1024) in cf2_getGlyphOutline()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/
Dnv50_ir_peephole.cpp70 if (getDef(d)->refCount() || getDef(d)->reg.data.id >= 0) in isDead()
218 if (ld->getDef(0)->refCount() == 0) in visit()
563 if (mul2->getSrc(t)->refCount() == 1) { in tryCollapseChainedMULs()
591 if (mul2->getDef(0)->refCount() == 1 && !mul2->saturate) { in tryCollapseChainedMULs()
856 mi->predSrc >= 0 || mi->getDef(0)->refCount() > 8) in visit()
896 mi->getDef(0)->refCount() <= 1 && target->isSatSupported(mi)) { in visit()
1007 if (src0->refCount() == 1 && in tryADDToMADOrSAD()
1011 if (src1->refCount() == 1 && in tryADDToMADOrSAD()
1146 if (set0->getDef(0)->refCount() > 1 && in handleLOGOP()
1147 set1->getDef(0)->refCount() > 1) in handleLOGOP()
[all …]
/external/mesa3d/src/gallium/drivers/nv50/codegen/
Dnv50_ir_peephole.cpp70 if (getDef(d)->refCount() || getDef(d)->reg.data.id >= 0) in isDead()
218 if (ld->getDef(0)->refCount() == 0) in visit()
563 if (mul2->getSrc(t)->refCount() == 1) { in tryCollapseChainedMULs()
591 if (mul2->getDef(0)->refCount() == 1 && !mul2->saturate) { in tryCollapseChainedMULs()
856 mi->predSrc >= 0 || mi->getDef(0)->refCount() > 8) in visit()
896 mi->getDef(0)->refCount() <= 1 && target->isSatSupported(mi)) { in visit()
1007 if (src0->refCount() == 1 && in tryADDToMADOrSAD()
1011 if (src1->refCount() == 1 && in tryADDToMADOrSAD()
1146 if (set0->getDef(0)->refCount() > 1 && in handleLOGOP()
1147 set1->getDef(0)->refCount() > 1) in handleLOGOP()
[all …]
/external/llvm/include/llvm/ADT/
DImmutableSet.h234 uint32_t refCount; variable
247 IsCanonicalized(0), value(v), digest(0), refCount(0) in ImutAVLTree()
331 void retain() { ++refCount; } in retain()
333 assert(refCount > 0); in release()
334 if (--refCount == 0) in release()
486 if (N->isMutable() && N->refCount == 0) in recoverNodes()
630 if (TNew->refCount == 0) in getCanonicalTree()

123