/external/icu/icu4c/source/common/ |
H A D | sharedobject.cpp | 15 umtx_atomic_inc(&refCount); 20 if(umtx_atomic_dec(&refCount) == 0) { 27 return umtx_loadAcquire(refCount);
|
H A D | sharedobject.h | 29 /** 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 D | sharedptr.h | 198 int32_t refCount = count(); local 199 if (refCount <= 1) {
|
H A D | sprpimpl.h | 92 int32_t refCount; member in struct:UStringPrepProfile
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
H A D | ShadowPowerManager.java | 33 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 D | ShadowWifiManager.java | 148 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 D | ThreadSafeRefCounted.h | 57 return refCount() == 1; 60 int refCount() const function in class:WTF::ThreadSafeRefCountedBase
|
H A D | RefCounted.h | 74 int refCount() const function in class:WTF::RefCountedBase
|
/external/chromium_org/third_party/icu/source/test/threadtest/ |
H A D | stringtest.cpp | 128 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 D | stringtest.cpp | 128 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 D | ScriptPromiseResolverTest.cpp | 214 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 D | CSSCalculationValueTest.cpp | 132 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 D | CostAllocator.h | 35 : 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 D | EventScanner.java | 50 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 D | HarfBuzzFace.cpp | 97 ASSERT(result.get()->value->refCount() > 1); 99 if (result.get()->value->refCount() == 1)
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
H A D | TreeShared.h | 86 int refCount() const { return m_refCount; } function in class:blink::TreeShared
|
H A D | TreeScope.h | 119 if (!m_guardRefCount && !refCount() && !rootNodeHasTreeSharedParent()) { 164 int refCount() const;
|
/external/chromium_org/third_party/icu/source/common/ |
H A D | sprpimpl.h | 92 int32_t refCount; member in struct:UStringPrepProfile
|
/external/chromium_org/third_party/icu/source/i18n/ |
H A D | tznames.cpp | 49 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 D | tznames.cpp | 49 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 D | es31fDebugTests.cpp | 256 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 D | cf2font.c | 331 int refCount = 0; local 358 while ( refCount++ < 1024)
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/ |
H A D | nv50_ir_peephole.cpp | 70 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 D | nv50_ir_peephole.cpp | 70 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 D | ImmutableSet.h | 234 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)
|