HomeSort by relevance Sort by last modified time
    Searched refs:refcount (Results 1 - 25 of 260) 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...]
  /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++;
  /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/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/dbus/dbus/
dbus-resources.c 56 int refcount; /**< reference count */ member in struct:DBusCounter
96 counter->refcount = 1;
102 * Increments refcount of the counter
110 _dbus_assert (counter->refcount > 0);
112 counter->refcount += 1;
118 * Decrements refcount of the counter and possibly
126 _dbus_assert (counter->refcount > 0);
128 counter->refcount -= 1;
130 if (counter->refcount == 0)
dbus-message-private.h 62 int refcount; /**< Reference count. */ member in struct:DBusMessageLoader
99 DBusAtomic refcount; /**< Reference count */ member in struct:DBusMessage
dbus-credentials.c 49 int refcount; member in struct:DBusCredentials
78 creds->refcount = 1;
111 * Increment refcount on credentials.
118 _dbus_assert (credentials->refcount > 0);
119 credentials->refcount += 1;
123 * Decrement refcount on credentials.
130 _dbus_assert (credentials->refcount > 0);
132 credentials->refcount -= 1;
133 if (credentials->refcount == 0)
dbus-dataslot.h 49 int refcount; /**< Number of uses of the slot */ member in struct:DBusAllocatedSlot
dbus-timeout.c 42 int refcount; /**< Reference count */ member in struct:DBusTimeout
74 timeout->refcount = 1;
95 timeout->refcount += 1;
110 _dbus_assert (timeout->refcount > 0);
112 timeout->refcount -= 1;
113 if (timeout->refcount == 0)
dbus-dataslot.c 59 * not -1, this function just increments the refcount for
95 allocator->allocated_slots[slot].refcount += 1;
110 allocator->allocated_slots[slot].refcount = 1;
134 allocator->allocated_slots[slot].refcount = 1;
141 _dbus_assert (allocator->allocated_slots[slot].refcount == 1);
172 _dbus_assert (allocator->allocated_slots[*slot_id_p].refcount > 0);
174 allocator->allocated_slots[*slot_id_p].refcount -= 1;
176 if (allocator->allocated_slots[*slot_id_p].refcount > 0)
182 /* refcount is 0, free the slot */
  /external/libdrm/tests/radeon/
rbo.h 34 unsigned refcount; member in struct:rbo
  /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/opencv3/modules/core/src/
cuda_host_mem.cpp 114 CV_Assert(u->refcount >= 0);
116 if (u->refcount == 0)
222 size_t datasize = alignSize(nettosize, (int)sizeof(*refcount));
237 refcount = (int*)cv::fastMalloc(sizeof(*refcount));
238 *refcount = 1;
289 if (refcount && CV_XADD(refcount, -1) == 1)
292 fastFree(refcount);
297 refcount = 0
    [all...]
  /hardware/intel/common/libmix/mix_common/src/
mixparams.h 80 #define MIX_PARAMS_REFCOUNT(obj) ((MIX_PARAMS_CAST(obj))->refcount)
87 #define MIX_PARAMS_REFCOUNT_VALUE(obj) (g_atomic_int_get (&(MIX_PARAMS_CAST(obj))->refcount))
92 * @refcount: atomic refcount
99 gint refcount; member in struct:_MixParams
mixparams.c 80 obj->refcount = 1;
151 * and could cause refcount problems */
161 g_atomic_int_inc(&obj->refcount);
174 /* If so, refcount handling is slightly different. */
175 /* i.e. If the refcount is still 0 we can really free the object, else the finalize method recycled the object -- but to where? */
177 if (g_atomic_int_get (&obj->refcount) == 0) {
186 g_return_if_fail (obj->refcount > 0);
188 if (G_UNLIKELY (g_atomic_int_dec_and_test (&obj->refcount))) {
  /external/libdrm/amdgpu/
amdgpu_internal.h 72 atomic_t refcount; member in struct:amdgpu_device
93 atomic_t refcount; member in struct:amdgpu_bo
183 if (update_references(&(*dst)->refcount, &src->refcount))
  /external/opencv3/modules/core/include/opencv2/core/
cuda.inl.hpp 59 : flags(0), rows(0), cols(0), step(0), data(0), refcount(0), datastart(0), dataend(0), allocator(allocator_)
64 : flags(0), rows(0), cols(0), step(0), data(0), refcount(0), datastart(0), dataend(0), allocator(allocator_)
72 : flags(0), rows(0), cols(0), step(0), data(0), refcount(0), datastart(0), dataend(0), allocator(allocator_)
80 : flags(0), rows(0), cols(0), step(0), data(0), refcount(0), datastart(0), dataend(0), allocator(allocator_)
91 : flags(0), rows(0), cols(0), step(0), data(0), refcount(0), datastart(0), dataend(0), allocator(allocator_)
102 : flags(m.flags), rows(m.rows), cols(m.cols), step(m.step), data(m.data), refcount(m.refcount), datastart(m.datastart), dataend(m.dataend), allocator(m.allocator)
104 if (refcount)
105 CV_XADD(refcount, 1);
110 flags(0), rows(0), cols(0), step(0), data(0), refcount(0), datastart(0), dataend(0), allocator(allocator_
    [all...]
  /hardware/intel/common/libmix/mix_video/src/
mixdisplay.h 80 #define MIX_DISPLAY_REFCOUNT(obj) ((MIX_DISPLAY_CAST(obj))->refcount)
87 #define MIX_DISPLAY_REFCOUNT_VALUE(obj) (g_atomic_int_get (&(MIX_DISPLAY_CAST(obj))->refcount))
92 * @refcount: atomic refcount
100 gint refcount; member in struct:_MixDisplay
  /external/mesa3d/src/gallium/winsys/svga/drm/
vmw_fence.c 54 int32_t refcount; member in struct:vmw_fence
88 p_atomic_set(&fence->refcount, 1);
127 if (p_atomic_dec_zero(&vfence->refcount)) {
136 p_atomic_inc(&vfence->refcount);
  /external/squashfs-tools/kernel/fs/squashfs/
squashfs_fs_sb.h 44 int refcount; member in struct:squashfs_cache_entry
cache.c 100 if (cache->entry[i].refcount == 0)
114 entry->refcount = 1;
146 * Block already in cache. Increment refcount so it doesn't
152 if (entry->refcount == 0)
154 entry->refcount++;
171 TRACE("Got %s %d, start block %lld, refcount %d, error %d\n",
172 cache->name, i, entry->block, entry->refcount, entry->error);
189 entry->refcount--;
190 if (entry->refcount == 0) {
  /external/mesa3d/src/mesa/drivers/dri/intel/
intel_regions.c 117 * times on Mesa's behalf, so we refcount our mappings to make sure that
183 region->refcount = 1;
291 *dst, *dst ? (*dst)->refcount : 0, src, src ? src->refcount : 0);
298 src->refcount++;
313 _DBG("%s %p %d\n", __FUNCTION__, region, region->refcount - 1);
315 ASSERT(region->refcount > 0);
316 region->refcount--;
318 if (region->refcount == 0) {
  /external/opencv/cvaux/src/
cvmat.cpp 226 refcount = 0;
235 refcount = 0;
244 refcount = 0;
253 refcount = 0;
262 refcount = 0;
271 refcount = 0;
280 refcount = 0;
289 refcount = 0;
298 refcount = 0;
307 refcount = 0
    [all...]
  /external/dbus/bus/
services.c 42 int refcount; member in struct:BusService
51 int refcount; member in struct:BusOwner
62 int refcount; member in struct:BusRegistry
82 registry->refcount = 1;
114 _dbus_assert (registry->refcount > 0);
115 registry->refcount += 1;
123 _dbus_assert (registry->refcount > 0);
124 registry->refcount -= 1;
126 if (registry->refcount == 0)
196 result->refcount = 1
    [all...]

Completed in 934 milliseconds

1 2 3 4 5 6 7 8 91011