Searched refs:RefCount (Results 1 - 25 of 57) sorted by relevance

123

/external/mesa3d/src/mesa/main/
H A Drenderbuffer.c45 rb->RefCount = 0;
155 ASSERT(oldRb->RefCount > 0);
156 oldRb->RefCount--;
157 /*printf("RB DECR %p (%d) to %d\n", (void*) oldRb, oldRb->Name, oldRb->RefCount);*/
158 deleteFlag = (oldRb->RefCount == 0);
173 rb->RefCount++;
174 /*printf("RB INCR %p (%d) to %d\n", (void*) rb, rb->Name, rb->RefCount);*/
H A Dshaderobj.c69 ASSERT(old->RefCount > 0);
70 old->RefCount--;
72 (void*) old, old->Name, old->RefCount);*/
73 deleteFlag = (old->RefCount == 0);
87 sh->RefCount++;
89 (void*) sh, sh->Name, sh->RefCount);*/
97 shader->RefCount = 1;
209 ASSERT(old->RefCount > 0);
210 old->RefCount--;
212 printf("ShaderProgram %p ID=%u RefCount
[all...]
H A Dshared.c123 assert(shared->DefaultTex[TEXTURE_1D_INDEX]->RefCount == 1);
173 ASSERT(prog->RefCount == 1); /* should only be referenced by hash table */
174 prog->RefCount = 0; /* now going away */
257 /*assert(fb->RefCount == 1);*/
258 fb->RefCount = 0;
276 rb->RefCount = 0; /* see comment for FBOs above */
413 assert(old->RefCount >= 1);
414 old->RefCount--;
415 delete = (old->RefCount == 0);
428 state->RefCount
[all...]
H A Darrayobj.c142 ASSERT(oldObj->RefCount > 0);
143 oldObj->RefCount--;
146 (void *) oldObj, oldObj->Name, oldObj->RefCount);
148 deleteFlag = (oldObj->RefCount == 0);
163 if (arrayObj->RefCount == 0) {
170 arrayObj->RefCount++;
173 (void *) arrayObj, arrayObj->Name, arrayObj->RefCount);
216 obj->RefCount = 1;
H A Dsyncobj.c189 syncObj->RefCount++;
198 syncObj->RefCount--;
199 if (syncObj->RefCount == 0) {
279 syncObj->RefCount = 1;
H A Dtransformfeedback.c64 ASSERT(oldObj->RefCount > 0);
65 oldObj->RefCount--;
67 if (oldObj->RefCount == 0) {
79 if (obj->RefCount == 0) {
84 obj->RefCount++;
118 assert(ctx->TransformFeedback.DefaultObject->RefCount == 1);
123 assert(ctx->TransformFeedback.DefaultObject->RefCount == 2);
216 obj->RefCount = 1;
H A Dframebuffer.c133 fb->RefCount = 1;
174 fb->RefCount = 1;
209 assert(fb->RefCount == 0);
243 ASSERT(oldFb->RefCount > 0);
244 oldFb->RefCount--;
245 deleteFlag = (oldFb->RefCount == 0);
257 fb->RefCount++;
/external/sfntly/cpp/src/sfntly/tools/subsetter/
H A Dtable_subsetter.h27 class TableSubsetter : virtual public RefCount {
/external/sfntly/cpp/src/sfntly/port/
H A Drefcount.h42 // 1. Virtual inherit from RefCount interface in base class if smart pointers
102 class RefCount { class in namespace:sfntly
105 virtual ~RefCount() {}
123 class RefCounted : virtual public RefCount {
175 // semi-smart pointer for RefCount derived objects, similar to CComPtr
201 RefCount* p = static_cast<RefCount*>(pT);
250 RefCount* p = static_cast<RefCount*>(p_);
H A Djava_iterator.h28 class Iterator : public virtual RefCount {
/external/deqp/framework/delibs/decpp/
H A DdePoolArray.cpp189 class RefCount class in namespace:de::__anon2996
192 RefCount (void) function in class:de::__anon2996::RefCount
197 RefCount (int* count) function in class:de::__anon2996::RefCount
203 RefCount (const RefCount& other) function in class:de::__anon2996::RefCount
210 ~RefCount (void)
216 RefCount& operator= (const RefCount& other)
241 PoolArray<RefCount> arr (&pool);
243 RefCount counte
[all...]
/external/mesa3d/src/egl/main/
H A Degldisplay.c385 res->RefCount = 1;
395 assert(res && res->RefCount > 0);
397 res->RefCount++;
407 assert(res && res->RefCount > 0);
408 res->RefCount--;
409 return (!res->RefCount);
455 assert(res->RefCount);
H A Degldisplay.h76 EGLint RefCount; member in struct:_egl_resource
/external/clang/include/clang/Rewrite/Core/
H A DRewriteRope.h35 unsigned RefCount; member in struct:clang::RopeRefCountString
38 void Retain() { ++RefCount; }
41 assert(RefCount > 0 && "Reference count is already zero.");
42 if (--RefCount == 0)
/external/llvm/lib/CodeGen/
H A DInterferenceCache.h48 /// RefCount - The total number of Cursor instances referring to this Entry.
49 unsigned RefCount; member in class:llvm::InterferenceCache::Entry
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/sfntly/cpp/src/sample/subtly/
H A Dcharacter_predicate.h24 class CharacterPredicate : virtual public sfntly::RefCount {
/external/sfntly/cpp/src/sfntly/table/
H A Dfont_data_table.h28 class FontDataTable : virtual public RefCount {
32 class Builder : virtual public RefCount {
/external/clang/test/Analysis/inlining/
H A Dfalse-positive-suppression.cpp7 class RefCount { class in namespace:rdar12676053
30 RefCount<ParserInputState> inputState;
/external/llvm/include/llvm/ADT/
H A DIntrusiveRefCntPtr.h101 mutable std::atomic<int> RefCount; member in class:llvm::ThreadSafeRefCountedBase
104 ThreadSafeRefCountedBase() : RefCount(0) {}
107 void Retain() const { ++RefCount; }
110 int NewRefCount = --RefCount;
/external/sfntly/cpp/src/sfntly/data/
H A Dfont_data.h51 class FontData : virtual public RefCount {
H A Dbyte_array.h30 class ByteArray : virtual public RefCount {
/external/mesa3d/src/mesa/program/
H A Dprogram.c126 ctx->ATIFragmentShader.Current->RefCount++;
152 ctx->ATIFragmentShader.Current->RefCount--;
153 if (ctx->ATIFragmentShader.Current->RefCount <= 0) {
190 ctx->ATIFragmentShader.Current->RefCount--;
191 if (ctx->ATIFragmentShader.Current->RefCount <= 0) {
197 ctx->ATIFragmentShader.Current->RefCount++;
274 prog->RefCount = 1;
380 ASSERT(prog->RefCount==0);
447 (*ptr)->RefCount - 1);
449 ASSERT((*ptr)->RefCount >
[all...]
/external/mesa3d/src/glsl/
H A Dstandalone_scaffolding.cpp62 shader->RefCount = 1;
/external/mesa3d/src/mesa/swrast/
H A Ds_texrender.c21 ASSERT(rb->RefCount == 0);
/external/llvm/include/llvm/Analysis/
H A DAliasSetTracker.h116 // RefCount - Number of nodes pointing to this AliasSet plus the number of
118 unsigned RefCount : 28;
142 void addRef() { ++RefCount; }
144 assert(RefCount >= 1 && "Invalid reference count detected!");
145 if (--RefCount == 0)
220 : PtrList(nullptr), PtrListEnd(&PtrList), Forward(nullptr), RefCount(0),

Completed in 751 milliseconds

123