/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 396 ext2_refcount_t refcount; local [all...] |
/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...] |
/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++;
|
/dalvik/vm/compiler/codegen/x86/ |
BytecodeVisitor.cpp | 415 //! reduces refCount of a virtual register 424 compileTable[index].refCount--; 426 //! reduces refCount of two virtual registers 435 compileTable[index].refCount--; 441 compileTable[index].refCount--; 566 compileTable[entry].refCount--; 592 compileTable[entry].refCount--; 752 compileTable[entry].refCount--; 828 compileTable[entry].refCount--; 870 compileTable[entry].refCount-- [all...] |
/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 | 75 Integer refCount = sReferenceCount.get(mName); 76 if (refCount==null) { 77 refCount = 1; 79 refCount = refCount+1; 81 sReferenceCount.put(mName, refCount); 82 if (DBG) log("REFCOUNT: CREATED. INSTANCE_COUNT=" +refCount); 90 Integer refCount = sReferenceCount.get(mName); 91 if (refCount!=null) [all...] |
AdapterApp.java | 42 Log.d(TAG, "REFCOUNT: Constructed "+ this + " Instance Count = " + sRefCount); 59 Log.d(TAG, "REFCOUNT: Finalized: " + this +", Instance Count = " + sRefCount);
|
/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/third_party/angle/src/compiler/ |
MapLongVariableNames.cpp | 30 : refCount(0) 43 gLongNameMapInstance->refCount++; 50 ASSERT(refCount > 0); 51 refCount--; 52 if (refCount == 0) {
|
/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/kernel-headers/original/linux/ |
kref.h | 24 atomic_t refcount; member in struct:kref
|
/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 | 56 struct RefCount { 60 typedef base::hash_map<unsigned, RefCount> ResourceIdRefCountMap;
|
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/ |
UT_refcount.java | 27 super(rstc, "Refcount", ctx); 43 ScriptC_refcount s = new ScriptC_refcount(pRS, mRes, R.raw.refcount);
|
/development/host/windows/usb/api/ |
adb_api_instance.h | 42 refcount is incremented. Upon return from the API call that incremented
43 the refcount refcount gets decremented.
45 corresponded object gets deleted from the map and its refcount is
47 So, at the end, this object destroys itself when refcount drops to zero.
|