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

1 2 3 4 5

  /external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
kernel_object_test.cc 74 EXPECT_EQ(1, fs->RefCount());
75 EXPECT_EQ(1, node->RefCount());
82 EXPECT_EQ(1, handle_a->RefCount());
83 EXPECT_EQ(2, fs->RefCount());
84 EXPECT_EQ(2, node->RefCount());
90 EXPECT_EQ(2, handle_a->RefCount());
91 EXPECT_EQ(2, handle_b->RefCount());
93 EXPECT_EQ(2, fs->RefCount());
94 EXPECT_EQ(2, node->RefCount());
99 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() {
  /sdk/emulator/opengl/shared/emugl/common/
smart_ptr.cpp 25 class RefCount {
27 RefCount() : mCount(1) {}
28 ~RefCount() {}
62 mRefCount = new RefCount();
98 RefCount* old_refcount = mRefCount;
smart_ptr.h 22 class RefCount;
68 RefCount* mRefCount;
  /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...]
  /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...]
  /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/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/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/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 925 milliseconds

1 2 3 4 5