/external/e2fsprogs/e2fsck/ |
D | ea_refcount.c | 38 void ea_refcount_free(ext2_refcount_t refcount) in ea_refcount_free() argument 40 if (!refcount) in ea_refcount_free() 43 if (refcount->list) in ea_refcount_free() 44 ext2fs_free_mem(&refcount->list); in ea_refcount_free() 45 ext2fs_free_mem(&refcount); in ea_refcount_free() 50 ext2_refcount_t refcount; in ea_refcount_create() local 54 retval = ext2fs_get_mem(sizeof(struct ea_refcount), &refcount); in ea_refcount_create() 57 memset(refcount, 0, sizeof(struct ea_refcount)); in ea_refcount_create() 61 refcount->size = size; in ea_refcount_create() 65 refcount->size, bytes); in ea_refcount_create() [all …]
|
D | e2fsck.h | 261 ext2_refcount_t refcount; member 438 extern void ea_refcount_free(ext2_refcount_t refcount); 439 extern errcode_t ea_refcount_fetch(ext2_refcount_t refcount, blk64_t blk, int *ret); 440 extern errcode_t ea_refcount_increment(ext2_refcount_t refcount, 442 extern errcode_t ea_refcount_decrement(ext2_refcount_t refcount, 444 extern errcode_t ea_refcount_store(ext2_refcount_t refcount, 446 extern blk_t ext2fs_get_refcount_size(ext2_refcount_t refcount); 447 extern void ea_refcount_intr_begin(ext2_refcount_t refcount); 448 extern blk64_t ea_refcount_intr_next(ext2_refcount_t refcount, int *ret);
|
/external/opencv/cxcore/include/ |
D | cxcore.hpp | 49 CvImage() : image(0), refcount(0) {} in CvImage() 53 refcount = image ? new int(1) : 0; in CvImage() 58 refcount = image ? new int(1) : 0; in CvImage() 61 CvImage( const CvImage& img ) : image(img.image), refcount(img.refcount) in CvImage() 63 if( refcount ) ++(*refcount); in CvImage() 66 CvImage( const char* filename, const char* imgname=0, int color=-1 ) : image(0), refcount(0) in CvImage() 69 CvImage( CvFileStorage* fs, const char* mapname, const char* imgname ) : image(0), refcount(0) in CvImage() 72 CvImage( CvFileStorage* fs, const char* seqname, int idx ) : image(0), refcount(0) in CvImage() 77 if( refcount && !(--*refcount) ) in ~CvImage() 80 delete refcount; in ~CvImage() [all …]
|
/external/opencv3/modules/core/include/opencv2/core/ |
D | cuda.inl.hpp | 59 …: flags(0), rows(0), cols(0), step(0), data(0), refcount(0), datastart(0), dataend(0), allocator(a… in GpuMat() 64 …: flags(0), rows(0), cols(0), step(0), data(0), refcount(0), datastart(0), dataend(0), allocator(a… in GpuMat() 72 …: flags(0), rows(0), cols(0), step(0), data(0), refcount(0), datastart(0), dataend(0), allocator(a… in GpuMat() 80 …: flags(0), rows(0), cols(0), step(0), data(0), refcount(0), datastart(0), dataend(0), allocator(a… in GpuMat() 91 …: flags(0), rows(0), cols(0), step(0), data(0), refcount(0), datastart(0), dataend(0), allocator(a… in GpuMat() 102 …: flags(m.flags), rows(m.rows), cols(m.cols), step(m.step), data(m.data), refcount(m.refcount), da… in GpuMat() 104 if (refcount) in GpuMat() 105 CV_XADD(refcount, 1); in GpuMat() 110 …flags(0), rows(0), cols(0), step(0), data(0), refcount(0), datastart(0), dataend(0), allocator(all… in GpuMat() 149 std::swap(refcount, b.refcount); in swap() [all …]
|
/external/dbus/dbus/ |
D | dbus-resources.c | 56 int refcount; /**< reference count */ member 96 counter->refcount = 1; in _dbus_counter_new() 110 _dbus_assert (counter->refcount > 0); in _dbus_counter_ref() 112 counter->refcount += 1; in _dbus_counter_ref() 126 _dbus_assert (counter->refcount > 0); in _dbus_counter_unref() 128 counter->refcount -= 1; in _dbus_counter_unref() 130 if (counter->refcount == 0) in _dbus_counter_unref()
|
D | dbus-credentials.c | 49 int refcount; member 78 creds->refcount = 1; in _dbus_credentials_new() 118 _dbus_assert (credentials->refcount > 0); in _dbus_credentials_ref() 119 credentials->refcount += 1; in _dbus_credentials_ref() 130 _dbus_assert (credentials->refcount > 0); in _dbus_credentials_unref() 132 credentials->refcount -= 1; in _dbus_credentials_unref() 133 if (credentials->refcount == 0) in _dbus_credentials_unref()
|
D | dbus-timeout.c | 42 int refcount; /**< Reference count */ member 74 timeout->refcount = 1; in _dbus_timeout_new() 95 timeout->refcount += 1; in _dbus_timeout_ref() 110 _dbus_assert (timeout->refcount > 0); in _dbus_timeout_unref() 112 timeout->refcount -= 1; in _dbus_timeout_unref() 113 if (timeout->refcount == 0) in _dbus_timeout_unref()
|
D | dbus-dataslot.c | 95 allocator->allocated_slots[slot].refcount += 1; in _dbus_data_slot_allocator_alloc() 110 allocator->allocated_slots[slot].refcount = 1; in _dbus_data_slot_allocator_alloc() 134 allocator->allocated_slots[slot].refcount = 1; in _dbus_data_slot_allocator_alloc() 141 _dbus_assert (allocator->allocated_slots[slot].refcount == 1); in _dbus_data_slot_allocator_alloc() 172 _dbus_assert (allocator->allocated_slots[*slot_id_p].refcount > 0); in _dbus_data_slot_allocator_free() 174 allocator->allocated_slots[*slot_id_p].refcount -= 1; in _dbus_data_slot_allocator_free() 176 if (allocator->allocated_slots[*slot_id_p].refcount > 0) in _dbus_data_slot_allocator_free()
|
D | dbus-watch.c | 42 int refcount; /**< Reference count */ member 105 watch->refcount = 1; in _dbus_watch_new() 126 watch->refcount += 1; in _dbus_watch_ref() 141 _dbus_assert (watch->refcount > 0); in _dbus_watch_unref() 143 watch->refcount -= 1; in _dbus_watch_unref() 144 if (watch->refcount == 0) in _dbus_watch_unref()
|
D | dbus-server.c | 118 _dbus_atomic_inc (&server->refcount); in _dbus_server_init_base() 121 dbus_int32_t old_refcount = _dbus_atomic_inc (&server->refcount); in _dbus_server_init_base() 464 old_refcount = _dbus_atomic_inc (&server->refcount); in _dbus_server_ref_unlocked() 486 old_refcount = _dbus_atomic_dec (&server->refcount); in _dbus_server_unref_unlocked() 703 old_refcount = _dbus_atomic_inc (&server->refcount); in dbus_server_ref() 709 _dbus_atomic_dec (&server->refcount); in dbus_server_ref() 740 old_refcount = _dbus_atomic_dec (&server->refcount); in dbus_server_unref() 746 _dbus_atomic_inc (&server->refcount); in dbus_server_unref() 781 _dbus_atomic_inc (&server->refcount); in dbus_server_disconnect() 784 dbus_int32_t old_refcount = _dbus_atomic_inc (&server->refcount); in dbus_server_disconnect()
|
D | dbus-userdb.c | 539 db->refcount = 1; in _dbus_user_database_new() 591 _dbus_assert (db->refcount > 0); in _dbus_user_database_ref() 593 db->refcount += 1; in _dbus_user_database_ref() 606 _dbus_assert (db->refcount > 0); in _dbus_user_database_unref() 608 db->refcount -= 1; in _dbus_user_database_unref() 609 if (db->refcount == 0) in _dbus_user_database_unref()
|
/external/opencv3/modules/core/src/ |
D | cuda_host_mem.cpp | 114 CV_Assert(u->refcount >= 0); in deallocate() 116 if (u->refcount == 0) in deallocate() 222 size_t datasize = alignSize(nettosize, (int)sizeof(*refcount)); in create() 237 refcount = (int*)cv::fastMalloc(sizeof(*refcount)); in create() 238 *refcount = 1; in create() 289 if (refcount && CV_XADD(refcount, -1) == 1) in release() 292 fastFree(refcount); in release() 297 refcount = 0; in release()
|
D | cuda_gpu_mat.cpp | 51 step(step_), data((uchar*)data_), refcount(0), in GpuMat() 77 step(step_), data((uchar*)data_), refcount(0), in GpuMat() 104 step = m.step; refcount = m.refcount; in GpuMat() 136 if (refcount) in GpuMat() 137 CV_XADD(refcount, 1); in GpuMat() 145 step(m.step), data(m.data + roi.y*step), refcount(m.refcount), in GpuMat() 154 if (refcount) in GpuMat() 155 CV_XADD(refcount, 1); in GpuMat()
|
/external/dbus/bus/ |
D | services.c | 42 int refcount; member 51 int refcount; member 62 int refcount; member 82 registry->refcount = 1; in bus_registry_new() 114 _dbus_assert (registry->refcount > 0); in bus_registry_ref() 115 registry->refcount += 1; in bus_registry_ref() 123 _dbus_assert (registry->refcount > 0); in bus_registry_unref() 124 registry->refcount -= 1; in bus_registry_unref() 126 if (registry->refcount == 0) in bus_registry_unref() 196 result->refcount = 1; in bus_owner_new() [all …]
|
D | policy.c | 44 rule->refcount = 1; in bus_policy_rule_new() 80 _dbus_assert (rule->refcount > 0); in bus_policy_rule_ref() 82 rule->refcount += 1; in bus_policy_rule_ref() 90 _dbus_assert (rule->refcount > 0); in bus_policy_rule_unref() 92 rule->refcount -= 1; in bus_policy_rule_unref() 94 if (rule->refcount == 0) in bus_policy_rule_unref() 127 int refcount; member 170 policy->refcount = 1; in bus_policy_new() 194 _dbus_assert (policy->refcount > 0); in bus_policy_ref() 196 policy->refcount += 1; in bus_policy_ref() [all …]
|
D | activation.c | 47 int refcount; member 62 int refcount; member 69 int refcount; member 91 int refcount; member 107 _dbus_assert (dir->refcount); 109 dir->refcount++; 121 _dbus_assert (dir->refcount > 0); in bus_service_directory_unref() 122 dir->refcount--; in bus_service_directory_unref() 124 if (dir->refcount > 0) in bus_service_directory_unref() 149 _dbus_assert (pending_activation->refcount > 0); in bus_pending_activation_ref() [all …]
|
/external/opencv/cvaux/src/ |
D | 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/ |
D | l2_packet_ndis.c | 54 int refcount; member 309 l2 = l2_ndisuio_global->l2[l2_ndisuio_global->refcount - 1]; in l2_packet_rx_event() 362 if (l2_ndisuio_global->refcount >= 2) { in l2_packet_init() 367 l2_ndisuio_global->refcount++; in l2_packet_init() 372 l2_ndisuio_global->l2[l2_ndisuio_global->refcount - 1] = l2; in l2_packet_init() 387 if (l2_ndisuio_global->refcount > 1) { in l2_packet_init() 471 l2_ndisuio_global->refcount--; in l2_packet_deinit() 472 l2_ndisuio_global->l2[l2_ndisuio_global->refcount] = NULL; in l2_packet_deinit() 473 if (l2_ndisuio_global->refcount) { in l2_packet_deinit()
|
/external/libdrm/amdgpu/ |
D | amdgpu_internal.h | 72 atomic_t refcount; member 93 atomic_t refcount; member 183 if (update_references(&(*dst)->refcount, &src->refcount)) in amdgpu_bo_reference()
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
D | intel_regions.c | 183 region->refcount = 1; in intel_region_alloc_internal() 291 *dst, *dst ? (*dst)->refcount : 0, src, src ? src->refcount : 0); in intel_region_reference() 298 src->refcount++; in intel_region_reference() 313 _DBG("%s %p %d\n", __FUNCTION__, region, region->refcount - 1); in intel_region_release() 315 ASSERT(region->refcount > 0); in intel_region_release() 316 region->refcount--; in intel_region_release() 318 if (region->refcount == 0) { in intel_region_release()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | intel_regions.c | 183 region->refcount = 1; in intel_region_alloc_internal() 291 *dst, *dst ? (*dst)->refcount : 0, src, src ? src->refcount : 0); in intel_region_reference() 298 src->refcount++; in intel_region_reference() 313 _DBG("%s %p %d\n", __FUNCTION__, region, region->refcount - 1); in intel_region_release() 315 ASSERT(region->refcount > 0); in intel_region_release() 316 region->refcount--; in intel_region_release() 318 if (region->refcount == 0) { in intel_region_release()
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_regions.c | 183 region->refcount = 1; in intel_region_alloc_internal() 291 *dst, *dst ? (*dst)->refcount : 0, src, src ? src->refcount : 0); in intel_region_reference() 298 src->refcount++; in intel_region_reference() 313 _DBG("%s %p %d\n", __FUNCTION__, region, region->refcount - 1); in intel_region_release() 315 ASSERT(region->refcount > 0); in intel_region_release() 316 region->refcount--; in intel_region_release() 318 if (region->refcount == 0) { in intel_region_release()
|
/external/squashfs-tools/kernel/fs/squashfs/ |
D | cache.c | 100 if (cache->entry[i].refcount == 0) in squashfs_cache_get() 114 entry->refcount = 1; in squashfs_cache_get() 152 if (entry->refcount == 0) in squashfs_cache_get() 154 entry->refcount++; in squashfs_cache_get() 172 cache->name, i, entry->block, entry->refcount, entry->error); in squashfs_cache_get() 189 entry->refcount--; in squashfs_cache_put() 190 if (entry->refcount == 0) { in squashfs_cache_put()
|
/external/mesa3d/src/gallium/winsys/svga/drm/ |
D | vmw_fence.c | 54 int32_t refcount; member 88 p_atomic_set(&fence->refcount, 1); in vmw_fence_create() 127 if (p_atomic_dec_zero(&vfence->refcount)) { in vmw_fence_reference() 136 p_atomic_inc(&vfence->refcount); in vmw_fence_reference()
|
/external/mesa3d/src/gbm/main/ |
D | gbm.c | 99 gbm->refcount--; in gbm_device_destroy() 100 if (gbm->refcount == 0) in gbm_device_destroy() 122 gbm->refcount++; in _gbm_mesa_get_device() 162 gbm->refcount = 1; in gbm_create_device()
|