HomeSort by relevance Sort by last modified time
    Searched refs:RefCount (Results 1 - 25 of 59) sorted by null

1 2 3

  /external/webrtc/webrtc/base/
callback_unittest.cc 15 #include "webrtc/base/refcount.h"
40 int RefCount() const { return count_; }
100 EXPECT_EQ(0, t.RefCount());
103 EXPECT_EQ(1, t.RefCount());
105 EXPECT_EQ(1, t.RefCount());
107 EXPECT_EQ(1, t.RefCount());
109 EXPECT_EQ(0, t.RefCount());
114 EXPECT_EQ(0, t.RefCount());
118 EXPECT_EQ(1, t.RefCount());
121 EXPECT_EQ(1, t.RefCount());
    [all...]
  /external/sfntly/cpp/src/sfntly/tools/subsetter/
table_subsetter.h 27 class TableSubsetter : virtual public RefCount {
  /external/sfntly/cpp/src/sfntly/port/
refcount.h 42 // 1. Virtual inherit from RefCount interface in base class if smart pointers
102 class RefCount {
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_);
java_iterator.h 20 #include "sfntly/port/refcount.h"
28 class Iterator : public virtual RefCount {
  /external/mesa3d/src/mesa/main/
renderbuffer.c 45 rb->RefCount = 0;
140 * dereference that buffer first. The new renderbuffer's refcount will
141 * be incremented. The old renderbuffer's refcount will be decremented.
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);*/
shaderobj.c 51 * If ptr is pointing to another shader, decrement its refcount (and delete
52 * if refcount hits zero).
53 * Then set ptr to point to sh, incrementing its refcount.
69 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
    [all...]
shared.c 123 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 */
254 /* The fact that the framebuffer is in the hashtable means its refcount
255 * is one, but we're removing from the hashtable now. So clear refcount.
257 /*assert(fb->RefCount == 1);*/
258 fb->RefCount = 0;
276 rb->RefCount = 0; /* see comment for FBOs above */
397 * If ptr's refcount goes to zero, free the shared state.
413 assert(old->RefCount >= 1)
    [all...]
arrayobj.c 142 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;
467 * If refcount hits zero, the object will be deleted.
syncobj.c 189 syncObj->RefCount++;
198 syncObj->RefCount--;
199 if (syncObj->RefCount == 0) {
279 syncObj->RefCount = 1;
transformfeedback.c 64 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;
  /external/clang/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/sample/subtly/
character_predicate.h 20 #include "sfntly/port/refcount.h"
24 class CharacterPredicate : virtual public sfntly::RefCount {
  /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/egl/main/
egldisplay.c 385 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);
  /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/clang/test/Analysis/inlining/
false-positive-suppression.cpp 7 class RefCount {
30 RefCount<ParserInputState> inputState;
  /external/llvm/lib/Analysis/
AliasAnalysisEvaluator.cpp 53 unsigned NoModRefCount, ModCount, RefCount, ModRefCount;
68 NoModRefCount = ModCount = RefCount = ModRefCount = 0;
307 ++RefCount;
333 ++RefCount;
375 unsigned ModRefSum = NoModRefCount + ModCount + RefCount + ModRefCount;
385 errs() << " " << RefCount << " ref responses ";
386 PrintPercent(RefCount, ModRefSum);
391 << ModCount * 100 / ModRefSum << "%/" << RefCount * 100 / ModRefSum
  /external/sfntly/cpp/src/sfntly/data/
font_data.h 26 #include "sfntly/port/refcount.h"
51 class FontData : virtual public RefCount {
byte_array.h 20 #include "sfntly/port/refcount.h"
30 class ByteArray : virtual public RefCount {
  /external/llvm/include/llvm/Analysis/
AliasSetTracker.h 117 // RefCount - Number of nodes pointing to this AliasSet plus the number of
119 unsigned RefCount : 28;
149 void addRef() { ++RefCount; }
151 assert(RefCount >= 1 && "Invalid reference count detected!");
152 if (--RefCount == 0)
228 : PtrList(nullptr), PtrListEnd(&PtrList), Forward(nullptr), RefCount(0),
  /external/mesa3d/src/mesa/program/
program.c 126 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);
443 printf("Program %p ID=%u Target=%s Refcount-- to %d\n",
447 (*ptr)->RefCount - 1)
    [all...]
  /external/mesa3d/src/glsl/
standalone_scaffolding.cpp 62 shader->RefCount = 1;
  /external/mesa3d/src/mesa/swrast/
s_texrender.c 21 ASSERT(rb->RefCount == 0);

Completed in 749 milliseconds

1 2 3