/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...] |
/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/libgdx/gdx/src/com/badlogic/gdx/assets/ |
RefCountedContainer.java | 21 int refCount = 1;
29 refCount++;
33 refCount--;
37 return refCount;
40 public void setRefCount (int refCount) {
41 this.refCount = refCount;
|
/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/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/sl4a/ScriptingLayer/src/com/googlecode/android_scripting/trigger/ |
EventGenerationControllingObserver.java | 55 int refCount = 57 refCount++; 58 mEventTriggerRefCounts.put(eventName, refCount); 59 return refCount; 63 int refCount = 65 refCount--; 66 mEventTriggerRefCounts.put(eventName, refCount); 67 return refCount;
|
/external/robolectric/v1/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 | 77 Integer refCount = sReferenceCount.get(mName); 78 if (refCount==null) { 79 refCount = 1; 81 refCount = refCount+1; 83 sReferenceCount.put(mName, refCount); 84 if (DBG) log("REFCOUNT: CREATED. INSTANCE_COUNT=" +refCount); 92 Integer refCount = sReferenceCount.get(mName); 93 if (refCount!=null) [all...] |
/system/bt/osi/src/ |
buffer.c | 31 size_t refcount; member in struct:buffer_t 42 buffer->refcount = 1; 61 ret->refcount = SIZE_MAX; 64 ++buf->root->refcount; 75 if (--buffer->root->refcount == 0) 78 } else if (--buffer->refcount == 0) { 79 // We're a root node. Roots are only deleted when their refcount goes to 0.
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/sbcs/ |
NGramList.java | 30 private int refCount; 35 refCount = theRefCount; 55 return refCount; 60 refCount += 1; 68 return ng.getRefCount() - 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);*/
|
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/imagedistributor/ |
RefCountedImageProxy.java | 35 * @param refCount The initial reference count. 37 public RefCountedImageProxy(ImageProxy image, int refCount) { 39 mRefCount = new RefCountBase<ImageProxy>(image, refCount);
|
/external/libgdx/extensions/gdx-bullet/src/com/badlogic/gdx/physics/bullet/ |
BulletBase.java | 28 private int refCount; 38 refCount++; 43 if (--refCount <= 0 && Bullet.useRefCounting) 49 return refCount > 0; 101 if (refCount > 0 && Bullet.useRefCounting && Bullet.enableLogging) 102 Gdx.app.error("Bullet", "Disposing "+toString()+" while it still has "+refCount+" references.");
|
/frameworks/base/libs/hwui/ |
ResourceCache.cpp | 37 ALOGD(" ResourceCache: mCache(%zu): refCount, destroyed, type = %d, %d, %d", 38 i, ref->refCount, ref->destroyed, ref->resourceType); 76 ref->refCount++; 95 ref->refCount--; 96 if (ref->refCount == 0) { 125 if (ref->refCount == 0) {
|
/prebuilts/gdb/darwin-x86/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/gdb/linux-x86/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/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:
|
/toolchain/binutils/binutils-2.25/bfd/ |
elf-strtab.c | 36 unsigned int refcount; member in struct:elf_strtab_hash_entry 85 ret->refcount = 0; 160 entry->refcount++; 189 ++tab->array[idx]->refcount; 199 BFD_ASSERT (tab->array[idx]->refcount > 0); 200 --tab->array[idx]->refcount; 206 return tab->array[idx]->refcount; 215 tab->array[idx]->refcount = 0; 231 REFCOUNT to zero. Setting LEN zero will result in the size 233 tab->array[idx]->refcount = 0 [all...] |
/external/webrtc/webrtc/ |
audio_state.h | 13 #include "webrtc/base/refcount.h" 32 // AudioState will tickle the VoE refcount to keep it alive for as long as
|
/frameworks/av/media/libstagefright/foundation/ |
MediaBufferGroup.cpp | 81 LOG_ALWAYS_FATAL_IF(buffer->refcount() != 0, 82 "buffer refcount %p = %d != 0", buffer, buffer->refcount()); 105 LOG_ALWAYS_FATAL("buffer(%p) has dead object with refcount %d", 106 (*it), (*it)->refcount()); 107 } else if ((*it)->refcount() == 0 && ++freeCount > freeBuffers) { 123 if (buffer->refcount() == 0) { 139 if ((*it)->refcount() == 0) {
|
/frameworks/base/services/core/java/com/android/server/pm/ |
KeySetHandle.java | 33 protected KeySetHandle(long id, int refCount) { 35 mRefCount = refCount;
|