Searched refs:refCount (Results 1 - 25 of 84) sorted by relevance

1234

/external/icu/icu4c/source/common/
H A Dsharedobject.cpp15 umtx_atomic_inc(&refCount);
20 if(umtx_atomic_dec(&refCount) == 0) {
27 return umtx_loadAcquire(refCount);
H A Dsharedobject.h29 /** Initializes refCount to 0. */
30 SharedObject() : refCount(0) {}
32 /** Initializes refCount to 0. */
33 SharedObject(const SharedObject &/*other*/) : refCount(0) {}
106 mutable u_atomic_int32_t refCount; member in class:SharedObject
H A Dsharedptr.h198 int32_t refCount = count(); local
199 if (refCount <= 1) {
H A Dsprpimpl.h92 int32_t refCount; member in struct:UStringPrepProfile
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowPowerManager.java33 private int refCount; field in class:ShadowPowerManager.ShadowWakeLock
45 refCount++;
54 if (--refCount < 0) throw new RuntimeException("WakeLock under-locked");
62 return refCounted ? refCount > 0 : locked;
H A DShadowWifiManager.java148 private int refCount; field in class:ShadowWifiManager.ShadowWifiLock
156 if (++refCount >= MAX_ACTIVE_LOCKS) throw new UnsupportedOperationException("Exceeded maximum number of wifi locks");
165 if (--refCount < 0) throw new RuntimeException("WifiLock under-locked");
173 return refCounted ? refCount > 0 : locked;
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DThreadSafeRefCounted.h57 return refCount() == 1;
60 int refCount() const function in class:WTF::ThreadSafeRefCountedBase
H A DRefCounted.h74 int refCount() const function in class:WTF::RefCountedBase
/external/chromium_org/third_party/icu/source/test/threadtest/
H A Dstringtest.cpp128 uint32_t refCount = fSourceStrings[i].refCount(); local
129 if (refCount != 1) {
130 fprintf(stderr, "\nFailure. SourceString Ref Count was %d, should be 1.\n", refCount);
/external/icu/icu4c/source/test/threadtest/
H A Dstringtest.cpp128 uint32_t refCount = fSourceStrings[i].refCount(); local
129 if (refCount != 1) {
130 fprintf(stderr, "\nFailure. SourceString Ref Count was %d, should be 1.\n", refCount);
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
H A DScriptPromiseResolverTest.cpp214 EXPECT_EQ(1, resolver->refCount());
216 EXPECT_EQ(2, resolver->refCount());
219 EXPECT_EQ(1, resolver->refCount());
229 EXPECT_EQ(1, resolver->refCount());
231 EXPECT_EQ(2, resolver->refCount());
234 EXPECT_EQ(1, resolver->refCount());
244 EXPECT_EQ(1, resolver->refCount());
246 EXPECT_EQ(2, resolver->refCount());
249 EXPECT_EQ(1, resolver->refCount());
259 EXPECT_EQ(1, resolver->refCount());
[all...]
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DCSSCalculationValueTest.cpp132 EXPECT_EQ(calc->refCount(), 2);
136 EXPECT_EQ(calc->refCount(), 3);
140 EXPECT_EQ(calc->refCount(), 4);
144 EXPECT_EQ(calc->refCount(), 5);
155 EXPECT_EQ(calc->refCount(), 3);
160 EXPECT_EQ(calc->refCount(), 4);
165 EXPECT_EQ(calc->refCount(), 5);
168 EXPECT_EQ(calc->refCount(), 4);
/external/llvm/include/llvm/CodeGen/PBQP/
H A DCostAllocator.h35 : pool(pool), cost(std::move(cost)), refCount(0) {}
37 void incRef() { ++refCount; }
38 bool decRef() { --refCount; return (refCount == 0); }
44 std::size_t refCount; member in class:PBQP::CostPool::PoolEntry
/external/nist-sip/java/gov/nist/javax/sip/
H A DEventScanner.java50 private int refCount; field in class:EventScanner
61 this.refCount++;
102 if (this.refCount > 0)
103 this.refCount--;
105 if (this.refCount == 0) {
121 this.refCount = 0;
/external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/
H A DHarfBuzzFace.cpp97 ASSERT(result.get()->value->refCount() > 1);
99 if (result.get()->value->refCount() == 1)
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DTreeShared.h86 int refCount() const { return m_refCount; } function in class:blink::TreeShared
H A DTreeScope.h119 if (!m_guardRefCount && !refCount() && !rootNodeHasTreeSharedParent()) {
164 int refCount() const;
/external/chromium_org/third_party/icu/source/common/
H A Dsprpimpl.h92 int32_t refCount; member in struct:UStringPrepProfile
/external/chromium_org/third_party/icu/source/i18n/
H A Dtznames.cpp49 int32_t refCount; member in struct:TimeZoneNamesCacheEntry
90 if (entry->refCount <= 0 && (now - entry->lastAccess) > CACHE_EXPIRATION) {
173 cacheEntry->refCount = 1;
193 cacheEntry->refCount++;
209 U_ASSERT(fTZnamesCacheEntry->refCount > 0);
211 fTZnamesCacheEntry->refCount--;
238 fTZnamesCacheEntry->refCount++;
/external/icu/icu4c/source/i18n/
H A Dtznames.cpp49 int32_t refCount; member in struct:TimeZoneNamesCacheEntry
90 if (entry->refCount <= 0 && (now - entry->lastAccess) > CACHE_EXPIRATION) {
173 cacheEntry->refCount = 1;
193 cacheEntry->refCount++;
209 U_ASSERT(fTZnamesCacheEntry->refCount > 0);
211 fTZnamesCacheEntry->refCount--;
238 fTZnamesCacheEntry->refCount++;
/external/deqp/modules/gles31/functional/
H A Des31fDebugTests.cpp256 VerificationResult verifyMessageCount (const MessageID& id, GLenum severity, int refCount, int resCount, bool messageEnabled) const;
304 BaseCase::VerificationResult BaseCase::verifyMessageCount (const MessageID& id, GLenum severity, int refCount, int resCount, bool messageEnabled) const argument
311 if (resCount != refCount)
361 if (resCount > refCount)
365 << " (got " << resCount << ", expected " << refCount << ")"; local
372 << " (got " << resCount << ", expected " << refCount << ")"; local
378 if (resCount > refCount)
382 << " (got " << resCount << ", expected " << refCount << ")"; local
389 << " (got " << resCount << ", expected " << refCount << ")"; local
395 if (resCount > refCount)
399 << " (got " << resCount << ", expected " << refCount << ")"; local
406 << " (got " << resCount << ", expected " << refCount << ")"; local
[all...]
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/cff/
H A Dcf2font.c331 int refCount = 0; local
358 while ( refCount++ < 1024)
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/
H A Dnv50_ir_peephole.cpp70 if (getDef(d)->refCount() || getDef(d)->reg.data.id >= 0)
218 if (ld->getDef(0)->refCount() == 0)
563 if (mul2->getSrc(t)->refCount() == 1) {
591 if (mul2->getDef(0)->refCount() == 1 && !mul2->saturate) {
856 mi->predSrc >= 0 || mi->getDef(0)->refCount() > 8)
896 mi->getDef(0)->refCount() <= 1 && target->isSatSupported(mi)) {
1007 if (src0->refCount() == 1 &&
1011 if (src1->refCount() == 1 &&
1146 if (set0->getDef(0)->refCount() > 1 &&
1147 set1->getDef(0)->refCount() >
[all...]
/external/mesa3d/src/gallium/drivers/nv50/codegen/
H A Dnv50_ir_peephole.cpp70 if (getDef(d)->refCount() || getDef(d)->reg.data.id >= 0)
218 if (ld->getDef(0)->refCount() == 0)
563 if (mul2->getSrc(t)->refCount() == 1) {
591 if (mul2->getDef(0)->refCount() == 1 && !mul2->saturate) {
856 mi->predSrc >= 0 || mi->getDef(0)->refCount() > 8)
896 mi->getDef(0)->refCount() <= 1 && target->isSatSupported(mi)) {
1007 if (src0->refCount() == 1 &&
1011 if (src1->refCount() == 1 &&
1146 if (set0->getDef(0)->refCount() > 1 &&
1147 set1->getDef(0)->refCount() >
[all...]
/external/llvm/include/llvm/ADT/
H A DImmutableSet.h234 uint32_t refCount; member in class:llvm::ImutAVLTree
247 IsCanonicalized(0), value(v), digest(0), refCount(0)
331 void retain() { ++refCount; }
333 assert(refCount > 0);
334 if (--refCount == 0)
486 if (N->isMutable() && N->refCount == 0)
630 if (TNew->refCount == 0)

Completed in 861 milliseconds

1234