HomeSort by relevance Sort by last modified time
    Searched full:refcount (Results 1 - 25 of 420) 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
391 ext2_refcount_t refcount; local
    [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...]
  /hardware/ti/omap3/omx/system/src/openmax_il/omx_core/inc/
OMX_ComponentRegistry.h 17 int refCount;
  /external/mesa3d/src/mesa/main/
shaderobj.c 22 shader->RefCount = 1;
31 if (shader->RefCount > 1) {
  /external/webkit/Source/JavaScriptCore/dfg/
DFGGraph.h 66 // Nodes that are 'dead' remain in the vector with refCount 0.
73 // If the value (before incrementing) was at refCount zero then we need to ref its children.
74 if (!node.refCount++)
80 ASSERT(node.refCount);
81 // If the value (after decrementing) becomes refCount zero then we need to deref its children.
82 if (!--node.refCount)
103 // When a node's refCount goes from 0 to 1, it must (logically) recursively ref all of its children, and vice versa.
  /frameworks/base/libs/hwui/
ResourceCache.cpp 34 LOGD(" ResourceCache: mCache(%d): refCount, recycled, destroyed, type = %d, %d, %d, %d",
35 i, ref->refCount, ref->recycled, ref->destroyed, ref->resourceType);
56 ref->refCount++;
86 ref->refCount--;
87 if (ref->refCount == 0) {
125 if (ref->refCount == 0) {
142 if (ref->refCount == 0) {
159 if (ref->refCount == 0) {
173 if (ref->refCount == 0) {
187 if (ref->refCount == 0)
    [all...]
ResourceCache.h 43 ResourceReference() { refCount = 0; recycled = false; destroyed = false;}
45 refCount = 0; recycled = false; destroyed = false; resourceType = type;
48 int refCount;
  /external/valgrind/tsan/
ts_lock.h 124 ALWAYS_INLINE int32_t AtomicIncrementRefcount(int32_t *refcount) {
125 return NoBarrier_AtomicIncrement(refcount);
128 ALWAYS_INLINE int32_t AtomicDecrementRefcount(int32_t *refcount) {
129 ANNOTATE_HAPPENS_BEFORE(refcount);
130 int32_t res = NoBarrier_AtomicDecrement(refcount);
132 ANNOTATE_HAPPENS_AFTER(refcount);
  /external/dbus/dbus/
dbus-resources.c 56 int refcount; /**< reference count */ member in struct:DBusCounter
90 counter->refcount = 1;
103 * Increments refcount of the counter
111 _dbus_assert (counter->refcount > 0);
113 counter->refcount += 1;
119 * Decrements refcount of the counter and possibly
127 _dbus_assert (counter->refcount > 0);
129 counter->refcount -= 1;
131 if (counter->refcount == 0)
dbus-server.c 102 server->refcount.value = 1;
197 /** Function to be called in protected_change_watch() with refcount held */
200 /** Function to be called in protected_change_watch() with refcount held */
203 /** Function to be called in protected_change_watch() with refcount held */
313 /** Function to be called in protected_change_timeout() with refcount held */
316 /** Function to be called in protected_change_timeout() with refcount held */
319 /** Function to be called in protected_change_timeout() with refcount held */
436 _dbus_assert (server->refcount.value > 0);
441 _dbus_atomic_inc (&server->refcount);
443 _dbus_assert (server->refcount.value > 0)
    [all...]
dbus-mainloop.c 57 int refcount; member in struct:DBusLoop
74 int refcount; member in struct:__anon5450
116 cb->callback.refcount = 1;
140 cb->callback.refcount = 1;
151 _dbus_assert (cb->refcount > 0);
153 cb->refcount += 1;
161 _dbus_assert (cb->refcount > 0);
163 cb->refcount -= 1;
165 if (cb->refcount == 0)
226 loop->refcount = 1
    [all...]
  /external/kernel-headers/original/linux/
kref.h 24 atomic_t refcount; member in struct:kref
  /external/webkit/Source/WebCore/manual-tests/
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.
  /frameworks/base/tests/RenderScriptTests/tests/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.
  /external/webkit/Source/JavaScriptCore/API/tests/
Node.c 33 node->refCount = 0;
78 ++node->refCount;
83 if (--node->refCount == 0)
NodeList.c 36 nodeList->refCount = 0;
72 ++nodeList->refCount;
77 if (--nodeList->refCount == 0) {
  /packages/apps/Camera/tests/src/com/android/camera/functional/
CameraTest.java 79 int refCount = 0;
81 if (c.get() != null) refCount++;
84 assertTrue(refCount != TEST_COUNT);
  /system/media/mca/filterfw/java/android/filterfw/core/
SimpleFrameManager.java 97 int refCount = frame.decRefCount();
98 if (refCount == 0 && frame.hasNativeAllocation()) {
101 } else if (refCount < 0) {
  /external/e2fsprogs/lib/ext2fs/
ext2fsP.h 70 int refcount; member in struct:ext2_inode_cache
  /external/webkit/Source/ThirdParty/ANGLE/src/compiler/preprocessor/
cppstruct.c 54 static int refCount = 0;
75 refCount++;
127 if (refCount)
130 refCount--;
  /frameworks/base/media/libstagefright/
MediaBufferGroup.cpp 37 CHECK_EQ(buffer->refcount(), 0);
64 if (buffer->refcount() == 0) {
  /external/llvm/include/llvm/Support/
StringPool.h 48 unsigned Refcount; ///< Number of referencing PooledStringPtrs.
51 PooledString() : Pool(0), Refcount(0) { }
87 if (S) ++S->getValue().Refcount;
91 if (S) ++S->getValue().Refcount;
98 if (S) ++S->getValue().Refcount;
106 if (--S->getValue().Refcount == 0) {
  /external/llvm/lib/CodeGen/
InterferenceCache.h 46 /// RefCount - The total number of Cursor instances referring to this Entry.
47 unsigned RefCount;
74 Entry() : PhysReg(0), Tag(0), RefCount(0), Indexes(0) {}
85 void addRef(int Delta) { RefCount += Delta; }
87 bool hasRefs() const { return RefCount > 0; }
145 // Update reference counts. Nothing happens when RefCount reaches 0, so

Completed in 853 milliseconds

1 2 3 4 5 6 7 8 91011>>