HomeSort by relevance Sort by last modified time
    Searched full:refcount (Results 1 - 25 of 944) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/e2fsprogs/e2fsck/
ea_refcount.c 22 * reference counts. Once the refcount has dropped to zero, it is
38 void ea_refcount_free(ext2_refcount_t refcount)
40 if (!refcount)
43 if (refcount->list)
44 ext2fs_free_mem(&refcount->list);
45 ext2fs_free_mem(&refcount);
50 ext2_refcount_t refcount; local
54 retval = ext2fs_get_mem(sizeof(struct ea_refcount), &refcount);
57 memset(refcount, 0, sizeof(struct ea_refcount));
61 refcount->size = size
371 ext2_refcount_t refcount; local
    [all...]
  /external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
kernel_object_test.cc 75 EXPECT_EQ(1, fs->RefCount());
76 EXPECT_EQ(1, node->RefCount());
83 EXPECT_EQ(1, handle_a->RefCount());
84 EXPECT_EQ(2, fs->RefCount());
85 EXPECT_EQ(2, node->RefCount());
91 EXPECT_EQ(2, handle_a->RefCount());
92 EXPECT_EQ(2, handle_b->RefCount());
94 EXPECT_EQ(2, fs->RefCount());
95 EXPECT_EQ(2, node->RefCount());
100 EXPECT_EQ(3, handle_a->RefCount());
    [all...]
  /external/icu/icu4c/source/common/
sharedobject.cpp 15 umtx_atomic_inc(&refCount);
20 if(umtx_atomic_dec(&refCount) == 0) {
27 return umtx_loadAcquire(refCount);
sharedobject.h 29 /** Initializes refCount to 0. */
30 SharedObject() : refCount(0) {}
32 /** Initializes refCount to 0. */
33 SharedObject(const SharedObject &/*other*/) : refCount(0) {}
106 mutable u_atomic_int32_t refCount;
  /ndk/tests/device/test-stlport_shared-exception/jni/
ref9.cpp 5 int refcount; member in struct:basic
7 basic() : refcount(0) {}
23 inline ex::~ex() { if (--bp->refcount == 0) delete bp; }
27 bp->refcount++;
  /ndk/tests/device/test-stlport_static-exception/jni/
ref9.cpp 5 int refcount; member in struct:basic
7 basic() : refcount(0) {}
23 inline ex::~ex() { if (--bp->refcount == 0) delete bp; }
27 bp->refcount++;
  /external/qemu/block/
qcow2-refcount.c 57 /* refcount handling */
114 * Returns the refcount of the cluster given by its index. Any non-negative
115 * return value is the refcount of the cluster, negative values are -errno
144 * Rounds the refcount table size up to avoid growing the table for each single
145 * refcount block that is allocated.
162 /* Checks if two offsets are described by the same refcount block */
173 * Loads a refcount block. If it doesn't exist yet, it is allocated first
174 * (including growing the refcount table if needed).
176 * Returns the offset of the refcount block on success or -errno in error case
186 /* Find the refcount block for the given cluster *
483 int block_index, refcount; local
590 int i, nb_clusters, refcount; local
729 int refcount; local
751 int l2_size, i, j, l1_modified, l2_modified, nb_csectors, refcount; local
940 int i, l2_size, nb_csectors, refcount; local
1028 int i, refcount, ret; local
    [all...]
  /external/opencv/cxcore/include/
cxcore.hpp 49 CvImage() : image(0), refcount(0) {}
53 refcount = image ? new int(1) : 0;
58 refcount = image ? new int(1) : 0;
61 CvImage( const CvImage& img ) : image(img.image), refcount(img.refcount)
63 if( refcount ) ++(*refcount);
66 CvImage( const char* filename, const char* imgname=0, int color=-1 ) : image(0), refcount(0)
69 CvImage( CvFileStorage* fs, const char* mapname, const char* imgname ) : image(0), refcount(0)
72 CvImage( CvFileStorage* fs, const char* seqname, int idx ) : image(0), refcount(0
206 int* refcount; member in class:CvImage
    [all...]
  /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/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowPowerManager.java 33 private int refCount;
45 refCount++;
54 if (--refCount < 0) throw new RuntimeException("WakeLock under-locked");
62 return refCounted ? refCount > 0 : locked;
  /hardware/ti/omap3/omx/system/src/openmax_il/omx_core/inc/
OMX_ComponentRegistry.h 17 int refCount;
  /packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
ProfileService.java 79 Integer refCount = sReferenceCount.get(mName);
80 if (refCount==null) {
81 refCount = 1;
83 refCount = refCount+1;
85 sReferenceCount.put(mName, refCount);
86 if (DBG) log("REFCOUNT: CREATED. INSTANCE_COUNT=" +refCount);
94 Integer refCount = sReferenceCount.get(mName);
95 if (refCount!=null)
    [all...]
  /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;
  /external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
ScriptPromiseResolverTest.cpp 214 EXPECT_EQ(1, resolver->refCount());
216 EXPECT_EQ(2, resolver->refCount());
219 EXPECT_EQ(1, resolver->refCount());
229 EXPECT_EQ(1, resolver->refCount());
231 EXPECT_EQ(2, resolver->refCount());
234 EXPECT_EQ(1, resolver->refCount());
244 EXPECT_EQ(1, resolver->refCount());
246 EXPECT_EQ(2, resolver->refCount());
249 EXPECT_EQ(1, resolver->refCount());
259 EXPECT_EQ(1, resolver->refCount());
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/main/
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...]
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);*/
  /external/mesa3d/src/mesa/main/
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...]
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);*/
  /external/chromium_org/ui/ozone/public/
cursor_factory_ozone.h 35 // are referenced counted and have an initial refcount of 1. Therefore, each
41 // cursors are referenced counted and have an initial refcount of 1.
49 // Increment platform image cursor refcount.
52 // Decrement platform image cursor refcount.
  /external/chromium_org/ppapi/proxy/
proxy_completion_callback_factory.h 20 class RefCount {
22 RefCount() : ref_(0) {
28 ~RefCount() {
  /external/chromium_org/third_party/WebKit/ManualTests/
selection-drag-crash.html 11 Drag the selected text. It shouldn't crash, though it used to on Chromium Mac since createDragImageForSelection() didn't properly use the return value from dissolveDragImageToFraction(), which resulted in a race condition for the drag image's refcount. This issue can't be tested in an automated manner, due to the fact that the race condition is hard to trigger deterministically and that test_shell/DRT simply don't use the (potentially invalid) image parameter.
  /external/chromium_org/third_party/WebKit/Source/core/css/
CSSCalculationValueTest.cpp 128 TEST(CSSCalculationValue, RefCount)
132 EXPECT_EQ(calc->refCount(), 2);
136 EXPECT_EQ(calc->refCount(), 3);
140 EXPECT_EQ(calc->refCount(), 4);
144 EXPECT_EQ(calc->refCount(), 5);
155 EXPECT_EQ(calc->refCount(), 3);
160 EXPECT_EQ(calc->refCount(), 4);
165 EXPECT_EQ(calc->refCount(), 5);
168 EXPECT_EQ(calc->refCount(), 4);
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/
test_refcounts.py 41 # this is the standard refcount for func
44 # the CFuncPtr instance holds atr least one refcount on func:
61 # the CFuncPtr instance holds atr least one refcount on func:
74 # the CFuncPtr instance holds atr least one refcount on func:
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/
test_refcounts.py 41 # this is the standard refcount for func
44 # the CFuncPtr instance holds atr least one refcount on func:
61 # the CFuncPtr instance holds atr least one refcount on func:
74 # the CFuncPtr instance holds atr least one refcount on func:
  /external/chromium_org/cc/layers/
delegated_frame_resource_collection.h 54 struct RefCount {
58 typedef base::hash_map<unsigned, RefCount> ResourceIdRefCountMap;

Completed in 1170 milliseconds

1 2 3 4 5 6 7 8 91011>>