/prebuilts/clang/host/linux-x86/clang-4393122/include/clang/Rewrite/Core/ |
RewriteRope.h | 35 unsigned RefCount; 38 void Retain() { ++RefCount; } 41 assert(RefCount > 0 && "Reference count is already zero."); 42 if (--RefCount == 0)
|
/prebuilts/clang/host/linux-x86/clang-4479392/include/clang/Rewrite/Core/ |
RewriteRope.h | 35 unsigned RefCount; 38 void Retain() { ++RefCount; } 41 assert(RefCount > 0 && "Reference count is already zero."); 42 if (--RefCount == 0)
|
/prebuilts/clang/host/linux-x86/clang-4579689/include/clang/Rewrite/Core/ |
RewriteRope.h | 35 unsigned RefCount; 38 void Retain() { ++RefCount; } 41 assert(RefCount > 0 && "Reference count is already zero."); 42 if (--RefCount == 0)
|
/prebuilts/clang/host/linux-x86/clang-4630689/include/clang/Rewrite/Core/ |
RewriteRope.h | 35 unsigned RefCount; 38 void Retain() { ++RefCount; } 41 assert(RefCount > 0 && "Reference count is already zero."); 42 if (--RefCount == 0)
|
/prebuilts/clang/host/linux-x86/clang-4639204/include/clang/Rewrite/Core/ |
RewriteRope.h | 35 unsigned RefCount; 38 void Retain() { ++RefCount; } 41 assert(RefCount > 0 && "Reference count is already zero."); 42 if (--RefCount == 0)
|
/prebuilts/clang/host/linux-x86/clang-4691093/include/clang/Rewrite/Core/ |
RewriteRope.h | 35 unsigned RefCount; 38 void Retain() { ++RefCount; } 41 assert(RefCount > 0 && "Reference count is already zero."); 42 if (--RefCount == 0)
|
/external/sfntly/cpp/src/sfntly/table/ |
font_data_table.h | 22 #include "sfntly/port/refcount.h" 28 class FontDataTable : virtual public RefCount { 32 class Builder : virtual public RefCount {
|
/external/deqp/framework/delibs/decpp/ |
dePoolArray.cpp | 189 class RefCount 192 RefCount (void) 197 RefCount (int* count) 203 RefCount (const RefCount& other) 210 ~RefCount (void) 216 RefCount& operator= (const RefCount& other) 241 PoolArray<RefCount> arr (&pool); 243 RefCount counter (&count) [all...] |
/external/mesa3d/src/mesa/main/ |
shared.c | 117 assert(shared->DefaultTex[TEXTURE_1D_INDEX]->RefCount == 1); 178 assert(prog->RefCount == 1); /* should only be referenced by hash table */ 179 prog->RefCount = 0; /* now going away */ 255 /* The fact that the framebuffer is in the hashtable means its refcount 256 * is one, but we're removing from the hashtable now. So clear refcount. 258 /*assert(fb->RefCount == 1);*/ 259 fb->RefCount = 0; 277 rb->RefCount = 0; /* see comment for FBOs above */ 385 * If ptr's refcount goes to zero, free the shared state. 401 assert(old->RefCount >= 1) [all...] |
syncobj.c | 188 syncObj->RefCount++; 205 syncObj->RefCount -= amount; 206 if (syncObj->RefCount == 0) { 253 * _mesa_get_and_ref_sync above took an extra refcount to make sure the pointer 289 syncObj->RefCount = 1;
|
/external/mesa3d/src/mesa/program/ |
program.c | 106 ctx->ATIFragmentShader.Current->RefCount++; 123 ctx->ATIFragmentShader.Current->RefCount--; 124 if (ctx->ATIFragmentShader.Current->RefCount <= 0) { 151 ctx->ATIFragmentShader.Current->RefCount--; 152 if (ctx->ATIFragmentShader.Current->RefCount <= 0) { 158 ctx->ATIFragmentShader.Current->RefCount++; 191 prog->RefCount = 1; 261 assert(prog->RefCount==0); 323 assert(oldProg->RefCount > 0); 324 oldProg->RefCount-- [all...] |
/external/llvm/include/llvm/ADT/ |
IntrusiveRefCntPtr.h | 101 mutable std::atomic<int> RefCount; 104 ThreadSafeRefCountedBase() : RefCount(0) {} 107 void Retain() const { ++RefCount; } 110 int NewRefCount = --RefCount;
|
/external/llvm/lib/CodeGen/ |
InterferenceCache.h | 48 /// RefCount - The total number of Cursor instances referring to this Entry. 49 unsigned RefCount; 97 Entry() : PhysReg(0), Tag(0), RefCount(0), Indexes(nullptr), LIS(nullptr) {} 109 void addRef(int Delta) { RefCount += Delta; } 111 bool hasRefs() const { return RefCount > 0; } 178 // Update reference counts. Nothing happens when RefCount reaches 0, so
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
IntrusiveRefCntPtr.h | 99 mutable std::atomic<int> RefCount; 102 ThreadSafeRefCountedBase() : RefCount(0) {} 105 void Retain() const { RefCount.fetch_add(1, std::memory_order_relaxed); } 108 int NewRefCount = RefCount.fetch_sub(1, std::memory_order_acq_rel) - 1;
|
/external/mesa3d/src/egl/main/ |
egldisplay.c | 400 res->RefCount = 1; 410 assert(res && res->RefCount > 0); 412 res->RefCount++; 422 assert(res && res->RefCount > 0); 423 res->RefCount--; 424 return (!res->RefCount); 470 assert(res->RefCount);
|
/external/clang/test/Analysis/inlining/ |
false-positive-suppression.cpp | 7 class RefCount { 30 RefCount<ParserInputState> inputState;
|
/external/libxcam/xcore/ |
smart_buffer_priv.cpp | 52 mutable RefCount *_ref; 66 _ref = new RefCount ();
|
/external/mesa3d/src/mesa/swrast/ |
s_texrender.c | 20 assert(rb->RefCount == 0);
|
/external/sfntly/cpp/src/sfntly/data/ |
font_data.h | 23 #include "sfntly/port/refcount.h" 49 class FontData : virtual public RefCount {
|
/external/sfntly/cpp/src/sfntly/port/ |
java_iterator.h | 20 #include "sfntly/port/refcount.h" 28 class Iterator : public virtual RefCount {
|
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/ |
NaClBitCodes.h | 259 unsigned char RefCount; // Number of things using this. 262 NaClBitCodeAbbrev() : RefCount(1) {} 264 void addRef() { ++RefCount; } 265 void dropRef() { if (--RefCount == 0) delete this; }
|
/external/llvm/include/llvm/Analysis/ |
AliasSetTracker.h | 126 unsigned RefCount : 28; 156 void addRef() { ++RefCount; } 158 assert(RefCount >= 1 && "Invalid reference count detected!"); 159 if (--RefCount == 0) 233 : PtrList(nullptr), PtrListEnd(&PtrList), Forward(nullptr), RefCount(0),
|
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
AliasSetTracker.h | 117 // RefCount - Number of nodes pointing to this AliasSet plus the number of 119 unsigned RefCount : 28; 143 void addRef() { ++RefCount; } 145 assert(RefCount >= 1 && "Invalid reference count detected!"); 146 if (--RefCount == 0) 225 AliasSet() : PtrList(0), PtrListEnd(&PtrList), Forward(0), RefCount(0),
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Analysis/ |
AliasSetTracker.h | 131 unsigned RefCount : 27; 167 void addRef() { ++RefCount; } 170 assert(RefCount >= 1 && "Invalid reference count detected!"); 171 if (--RefCount == 0) 247 : PtrList(nullptr), PtrListEnd(&PtrList), Forward(nullptr), RefCount(0),
|
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/Analysis/ |
AliasSetTracker.h | 131 unsigned RefCount : 27; 167 void addRef() { ++RefCount; } 170 assert(RefCount >= 1 && "Invalid reference count detected!"); 171 if (--RefCount == 0) 247 : PtrList(nullptr), PtrListEnd(&PtrList), Forward(nullptr), RefCount(0),
|