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

1 2 3 4 5 6 7 8 9

  /external/e2fsprogs/e2fsck/
ea_refcount.c 23 * reference counts. Once the refcount has dropped to zero, it is
39 void ea_refcount_free(ext2_refcount_t refcount)
41 if (!refcount)
44 if (refcount->list)
45 ext2fs_free_mem(&refcount->list);
46 ext2fs_free_mem(&refcount);
51 ext2_refcount_t refcount; local
55 retval = ext2fs_get_mem(sizeof(struct ea_refcount), &refcount);
58 memset(refcount, 0, sizeof(struct ea_refcount));
62 refcount->size = size
372 ext2_refcount_t refcount; local
    [all...]
  /system/bt/osi/src/
buffer.cc 31 size_t refcount; member in struct:buffer_t
43 buffer->refcount = 1;
62 ret->refcount = SIZE_MAX;
65 ++buf->root->refcount;
75 if (--buffer->root->refcount == 0) osi_free(buffer->root);
77 } else if (--buffer->refcount == 0) {
78 // 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/python/cpython2/Doc/tools/extensions/
c_annotations.py 9 refcount.py and anno-api.py in the old Python documentation tools.
50 function, type, arg, refcount, comment = parts
56 if not refcount or refcount == "null":
57 refcount = None
59 refcount = int(refcount)
63 entry.args.append((arg, type, refcount))
66 entry.result_refs = refcount
98 node.insert(0, nodes.emphasis(rc, rc, classes=['refcount']))
    [all...]
  /external/python/cpython3/Doc/tools/extensions/
c_annotations.py 9 refcount.py and anno-api.py in the old Python documentation tools.
50 function, type, arg, refcount, comment = parts
56 if not refcount or refcount == "null":
57 refcount = None
59 refcount = int(refcount)
63 entry.args.append((arg, type, refcount))
66 entry.result_refs = refcount
98 node.insert(0, nodes.emphasis(rc, rc, classes=['refcount']))
    [all...]
  /toolchain/binutils/binutils-2.27/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;
223 unsigned int refcount[1]; member in struct:strtab_save
232 size = sizeof (*save) + (tab->size - 1) * sizeof (save->refcount[0])
    [all...]
elf-s390-common.c 102 if (h->plt.refcount <= 0 && h->got.refcount <= 0)
128 if (h->plt.refcount > 0
129 || h->got.refcount > 0)
138 /* Without checking h->plt.refcount here we allocate a PLT slot.
139 When setting plt.refcount in check_relocs it might not have been
186 if (h->got.refcount <= 0
  /external/libdrm/tests/radeon/
rbo.h 34 unsigned refcount; member in struct:rbo
rbo.c 50 bo->refcount = 1;
135 bo->refcount++;
145 if (--bo->refcount > 0) {
  /external/libdrm/amdgpu/
amdgpu_internal.h 73 atomic_t refcount; member in struct:amdgpu_device
94 atomic_t refcount; member in struct:amdgpu_bo
129 atomic_t refcount; member in struct:amdgpu_semaphore
199 if (update_references(&(*dst)->refcount, &src->refcount))
  /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/mesa3d/src/gallium/winsys/nouveau/drm/
nouveau_drm_winsys.c 27 if (screen->refcount == -1)
31 ret = --screen->refcount;
81 screen->refcount++;
145 screen->refcount = 1;
  /external/tensorflow/tensorflow/java/src/main/java/org/tensorflow/
Graph.java 52 while (refcount > 0) {
148 private int refcount = 0; field in class:Graph
164 Graph.this.refcount++;
175 if (--Graph.this.refcount == 0) {
  /frameworks/av/media/libmediaextractor/include/media/stagefright/
MediaBufferBase.h 74 virtual int refcount() const = 0;
  /external/mesa3d/src/mesa/drivers/dri/i915/
intel_regions.c 123 region->refcount = 1;
245 *dst, *dst ? (*dst)->refcount : 0, src, src ? src->refcount : 0);
252 src->refcount++;
267 _DBG("%s %p %d\n", __func__, region, region->refcount - 1);
269 assert(region->refcount > 0);
270 region->refcount--;
272 if (region->refcount == 0) {
  /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/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/vbo/
vbo_save.c 86 if ( --save->prim_store->refcount == 0 ) {
90 if ( --save->vertex_store->refcount == 0 ) {
vbo_save.h 113 GLuint refcount; member in struct:vbo_save_vertex_store
119 GLuint refcount; member in struct:vbo_save_primitive_store
  /external/mesa3d/src/gallium/state_trackers/nine/
nine_buffer_upload.c 46 unsigned refcount; /* How many sub-buffers live inside the buffer */ member in struct:nine_buffer_group
92 group->refcount = 0;
117 assert(group->refcount == 0);
249 group->refcount += 1;
262 buf->parent->refcount--;
263 if (buf->parent->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/wpa_supplicant_8/src/l2_packet/
l2_packet_ndis.c 54 int refcount; member in struct:l2_packet_ndisuio_global
309 l2 = l2_ndisuio_global->l2[l2_ndisuio_global->refcount - 1];
362 if (l2_ndisuio_global->refcount >= 2) {
367 l2_ndisuio_global->refcount++;
372 l2_ndisuio_global->l2[l2_ndisuio_global->refcount - 1] = l2;
387 if (l2_ndisuio_global->refcount > 1) {
471 l2_ndisuio_global->refcount--;
472 l2_ndisuio_global->l2[l2_ndisuio_global->refcount] = NULL;
473 if (l2_ndisuio_global->refcount) {
  /external/drm_gralloc/
gralloc_drm_priv.h 88 unsigned int refcount; member in struct:gralloc_drm_bo_t

Completed in 467 milliseconds

1 2 3 4 5 6 7 8 9