/external/clang/test/Analysis/ |
D | atomics.c | 20 uint32_t refCount; member 25 s->refCount = 1; in test_atomic_fetch_add() 27 …uint32_t result = __c11_atomic_fetch_add((volatile _Atomic(uint32_t) *)&s->refCount,- 1, memory_or… in test_atomic_fetch_add() 31 clang_analyzer_eval(s->refCount == 1); // expected-warning {{UNKNOWN}} in test_atomic_fetch_add() 38 s->refCount = 1; in test_atomic_load() 40 …uint32_t result = __c11_atomic_load((volatile _Atomic(uint32_t) *)&s->refCount, memory_order_relax… in test_atomic_load() 43 clang_analyzer_eval(s->refCount == 1); // expected-warning {{UNKNOWN}} in test_atomic_load() 50 s->refCount = 1; in test_atomic_store() 52 __c11_atomic_store((volatile _Atomic(uint32_t) *)&s->refCount, 2, memory_order_relaxed); in test_atomic_store() 56 clang_analyzer_eval(s->refCount == 1); // expected-warning {{UNKNOWN}} in test_atomic_store() [all …]
|
/external/sl4a/ScriptingLayer/src/com/googlecode/android_scripting/trigger/ |
D | EventGenerationControllingObserver.java | 54 int refCount = in incrementAndGetRefCount() local 56 refCount++; in incrementAndGetRefCount() 57 mEventTriggerRefCounts.put(eventName, refCount); in incrementAndGetRefCount() 58 return refCount; in incrementAndGetRefCount() 62 int refCount = in decrementAndGetRefCount() local 64 refCount--; in decrementAndGetRefCount() 65 mEventTriggerRefCounts.put(eventName, refCount); in decrementAndGetRefCount() 66 return refCount; in decrementAndGetRefCount()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
D | SharedObject.java | 173 c.refCount = new AtomicInteger(); in clone() 180 public final void addRef() { refCount.incrementAndGet(); } in addRef() 187 refCount.decrementAndGet(); in removeRef() 193 public final int getRefCount() { return refCount.get(); } in getRefCount() 199 private AtomicInteger refCount = new AtomicInteger(); field in SharedObject
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
D | SharedObject.java | 171 c.refCount = new AtomicInteger(); in clone() 178 public final void addRef() { refCount.incrementAndGet(); } in addRef() 185 refCount.decrementAndGet(); in removeRef() 191 public final int getRefCount() { return refCount.get(); } in getRefCount() 197 private AtomicInteger refCount = new AtomicInteger(); field in SharedObject
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/sbcs/ |
D | NGramList.java | 32 private int refCount; field in NGramList.NGram 37 refCount = theRefCount; in NGram() 57 return refCount; in getRefCount() 62 refCount += 1; in incrementRefCount() 70 return ng.getRefCount() - refCount; in compareTo()
|
D | StatisticsTool.java | 173 int refCount = ngram.getRefCount(); in dumpNGrams() local 174 double ratio = (double) refCount / totalNGrams * 100.0; in dumpNGrams() 183 output.println(value + "\t" + refCount + "\t" + ratio + "%\t" + cumulative + "%"); in dumpNGrams()
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowPowerManager.java | 33 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()
|
D | ShadowWifiManager.java | 148 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/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowVirtualRefBasePtr.java | 40 int refCount; field in ShadowVirtualRefBasePtr.RefHolder 47 refCount++; in incr() 51 refCount--; in decr() 52 return refCount == 0; in decr()
|
D | ShadowPowerManager.java | 110 private int refCount = 0; field in ShadowPowerManager.ShadowWakeLock 123 refCount++; in acquire() 132 if (--refCount < 0) throw new RuntimeException("WakeLock under-locked"); in release() 140 return refCounted ? refCount > 0 : locked; in isHeld()
|
D | ShadowWifiManager.java | 204 private int refCount; field in ShadowWifiManager.ShadowWifiLock 212 …if (++refCount >= MAX_ACTIVE_LOCKS) throw new UnsupportedOperationException("Exceeded maximum numb… in acquire() 221 if (--refCount < 0) throw new RuntimeException("WifiLock under-locked"); in release() 229 return refCounted ? refCount > 0 : locked; in isHeld()
|
/external/nist-sip/java/gov/nist/javax/sip/ |
D | EventScanner.java | 50 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/icu/icu4c/source/i18n/ |
D | tznames.cpp | 51 int32_t refCount; member 92 if (entry->refCount <= 0 && (now - entry->lastAccess) > CACHE_EXPIRATION) { in sweepCache() 178 cacheEntry->refCount = 1; in TimeZoneNamesDelegate() 198 cacheEntry->refCount++; in TimeZoneNamesDelegate() 214 U_ASSERT(fTZnamesCacheEntry->refCount > 0); in ~TimeZoneNamesDelegate() 216 fTZnamesCacheEntry->refCount--; in ~TimeZoneNamesDelegate() 243 fTZnamesCacheEntry->refCount++; in clone()
|
D | tzgnames.cpp | 1110 int32_t refCount; member 1169 if (entry->refCount <= 0 && (now - entry->lastAccess) > CACHE_EXPIRATION) { in sweepCache() 1183 U_ASSERT(fRef->refCount > 0); in ~TimeZoneGenericNames() 1185 fRef->refCount--; in ~TimeZoneGenericNames() 1244 cacheEntry->refCount = 1; in createInstance() 1264 cacheEntry->refCount++; in createInstance() 1298 fRef->refCount++; in clone()
|
/external/oj-libjdwp/src/share/back/ |
D | commonRef.c | 217 deleteNodeByID(JNIEnv *env, jlong id, jint refCount) in deleteNodeByID() argument 229 if (refCount != ALL_REFS) { in deleteNodeByID() 230 node->count -= refCount; in deleteNodeByID() 548 commonRef_releaseMultiple(JNIEnv *env, jlong id, jint refCount) in commonRef_releaseMultiple() argument 551 deleteNodeByID(env, id, refCount); in commonRef_releaseMultiple()
|
D | commonRef.h | 37 void commonRef_releaseMultiple(JNIEnv *env, jlong id, jint refCount);
|
D | VirtualMachineImpl.c | 861 int refCount; in disposeObjects() local 879 refCount = inStream_readInt(in); in disposeObjects() 883 commonRef_releaseMultiple(env, id, refCount); in disposeObjects()
|
/external/icu/icu4c/source/common/ |
D | usprep.cpp | 161 if ((noRefCount== FALSE && profile->refCount == 0) || in usprep_internal_flushCache() 329 profile->refCount++; in usprep_getProfile() 371 profile->refCount++; in usprep_getProfile() 385 profile->refCount = 1; in usprep_getProfile() 429 if(profile->refCount > 0){ in usprep_close() 430 profile->refCount--; in usprep_close()
|
D | sprpimpl.h | 94 int32_t refCount; member
|
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
D | TensorRef.h | 31 int refCount() const { return m_refcount; } in refCount() function 165 eigen_assert(m_evaluator->refCount() > 0); in TensorRef() 173 eigen_assert(m_evaluator->refCount() > 0); 344 if (m_evaluator->refCount() == 0) { in unrefEvaluator()
|
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
D | ImmutableSet.h | 234 uint32_t refCount; variable 247 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() 482 if (N->isMutable() && N->refCount == 0) in recoverNodes() 625 if (TNew->refCount == 0) in getCanonicalTree()
|
/external/llvm/include/llvm/ADT/ |
D | ImmutableSet.h | 234 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() 484 if (N->isMutable() && N->refCount == 0) in recoverNodes() 628 if (TNew->refCount == 0) in getCanonicalTree()
|
/external/deqp/modules/gles31/functional/ |
D | es31fDebugTests.cpp | 343 …VerificationResult verifyMessageCount (const MessageID& id, GLenum severity, int refCount, int r… 391 …BaseCase::verifyMessageCount (const MessageID& id, GLenum severity, int refCount, int resCount, bo… in verifyMessageCount() argument 398 if (resCount != refCount) in verifyMessageCount() 448 if (resCount > refCount) in verifyMessageCount() 452 << " (got " << resCount << ", expected " << refCount << ")"; in verifyMessageCount() 459 << " (got " << resCount << ", expected " << refCount << ")"; in verifyMessageCount() 465 if (resCount > refCount) in verifyMessageCount() 469 << " (got " << resCount << ", expected " << refCount << ")"; in verifyMessageCount() 476 << " (got " << resCount << ", expected " << refCount << ")"; in verifyMessageCount() 482 if (resCount > refCount) in verifyMessageCount() [all …]
|
/external/mesa3d/src/gallium/drivers/nouveau/codegen/ |
D | nv50_ir_peephole.cpp | 74 if (getDef(d)->refCount() || getDef(d)->reg.data.id >= 0) in isDead() 209 int i0refs = insn->getSrc(0)->refCount(); in checkSwapSrc01() 210 int i1refs = insn->getSrc(1)->refCount(); in checkSwapSrc01() 273 if (ld->getDef(0)->refCount() == 0) in visit() 848 if (mul2->getSrc(t)->refCount() == 1) { in tryCollapseChainedMULs() 877 if (mul2->getDef(0)->refCount() == 1 && !mul2->saturate) { in tryCollapseChainedMULs() 1232 if (!cmp || cmp->op == OP_SLCT || cmp->getDef(0)->refCount() > 1) in opnd() 1537 mi->predSrc >= 0 || mi->getDef(0)->refCount() > 8) in visit() 1577 mi->getDef(0)->refCount() <= 1 && target->isSatSupported(mi)) { in visit() 1692 if (src0->refCount() == 1 && in tryADDToMADOrSAD() [all …]
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | ProgramState.cpp | 29 ++const_cast<ProgramState*>(state)->refCount; in ProgramStateRetain() 34 assert(state->refCount > 0); in ProgramStateRelease() 36 if (--s->refCount == 0) { in ProgramStateRelease() 51 refCount(0) { in ProgramState() 61 refCount(0) { in ProgramState()
|