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

1 2 3 4 5

  /external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
kernel_object_test.cc 77 EXPECT_EQ(1, mnt->RefCount());
78 EXPECT_EQ(1, node->RefCount());
85 EXPECT_EQ(1, handle_a->RefCount());
86 EXPECT_EQ(2, mnt->RefCount());
87 EXPECT_EQ(2, node->RefCount());
93 EXPECT_EQ(2, handle_a->RefCount());
94 EXPECT_EQ(2, handle_b->RefCount());
96 EXPECT_EQ(2, mnt->RefCount());
97 EXPECT_EQ(2, node->RefCount());
102 EXPECT_EQ(3, handle_a->RefCount());
    [all...]
  /external/chromium_org/ppapi/utility/
completion_callback_factory_thread_traits.h 39 class RefCount {
43 RefCount() : ref_(0) {
81 class RefCount {
85 RefCount() : ref_(0) {
92 ~RefCount() {
  /external/chromium_org/ppapi/proxy/
proxy_completion_callback_factory.h 20 class RefCount {
22 RefCount() : ref_(0) {
28 ~RefCount() {
  /external/chromium_org/native_client_sdk/src/libraries/sdk_util/
ref_object.h 35 * RefCount
37 * RefCount returns an instantaneous snapshot of the RefCount, which may
43 int RefCount() const { return ref_count_; }
  /external/chromium_org/third_party/sfntly/cpp/src/sfntly/tools/subsetter/
table_subsetter.h 27 class TableSubsetter : virtual public RefCount {
  /external/sfntly/cpp/src/sfntly/tools/subsetter/
table_subsetter.h 27 class TableSubsetter : virtual public RefCount {
  /external/chromium_org/third_party/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_);
  /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_);
  /external/chromium_org/third_party/mesa/src/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.
  /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.
  /external/chromium_org/cc/layers/
delegated_frame_resource_collection.h 56 struct RefCount {
60 typedef base::hash_map<unsigned, RefCount> ResourceIdRefCountMap;
  /external/llvm/include/llvm/Bitcode/
BitCodes.h 166 unsigned char RefCount; // Number of things using this.
169 BitCodeAbbrev() : RefCount(1) {}
171 void addRef() { ++RefCount; }
172 void dropRef() { if (--RefCount == 0) delete this; }
  /external/chromium_org/third_party/sfntly/cpp/src/sample/subtly/
character_predicate.h 20 #include "sfntly/port/refcount.h"
24 class CharacterPredicate : virtual public sfntly::RefCount {
  /external/llvm/lib/CodeGen/
InterferenceCache.h 48 /// RefCount - The total number of Cursor instances referring to this Entry.
49 unsigned RefCount;
96 Entry() : PhysReg(0), Tag(0), RefCount(0), Indexes(0), LIS(0) {}
108 void addRef(int Delta) { RefCount += Delta; }
110 bool hasRefs() const { return RefCount > 0; }
168 // Update reference counts. Nothing happens when RefCount reaches 0, so
  /external/sfntly/cpp/src/sample/subtly/
character_predicate.h 20 #include "sfntly/port/refcount.h"
24 class CharacterPredicate : virtual public sfntly::RefCount {
  /external/chromium_org/third_party/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/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/chromium_org/third_party/mesa/src/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/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);

Completed in 824 milliseconds

1 2 3 4 5