/external/harfbuzz_ng/src/ |
D | hb-object-private.hh | 56 hb_atomic_int_t ref_count; member 58 inline void init (int v) { ref_count.set_unsafe (v); } in init() 59 inline int get_unsafe (void) const { return ref_count.get_unsafe (); } in get_unsafe() 60 inline int inc (void) { return ref_count.inc (); } in inc() 61 inline int dec (void) { return ref_count.dec (); } in dec() 62 inline void finish (void) { ref_count.set_unsafe (HB_REFERENCE_COUNT_POISON_VALUE); } in finish() 64 …inline bool is_inert (void) const { return ref_count.get_unsafe () == HB_REFERENCE_COUNT_INERT_VAL… in is_inert() 65 inline bool is_valid (void) const { return ref_count.get_unsafe () > 0; } in is_valid() 105 hb_reference_count_t ref_count; member 123 obj ? obj->header.ref_count.get_unsafe () : 0); in hb_object_trace() [all …]
|
/external/libexif/libexif/ |
D | exif-log.c | 30 unsigned int ref_count; member 77 log->ref_count = 1; in exif_log_new_mem() 100 log->ref_count++; in exif_log_ref() 107 if (log->ref_count > 0) log->ref_count--; in exif_log_unref() 108 if (!log->ref_count) exif_log_free (log); in exif_log_unref()
|
D | exif-mnote-data.c | 31 unsigned int ref_count; member 42 d->priv->ref_count = 1; in exif_mnote_data_construct() 51 if (d && d->priv) d->priv->ref_count++; in exif_mnote_data_ref() 74 if (d->priv->ref_count > 0) d->priv->ref_count--; in exif_mnote_data_unref() 75 if (!d->priv->ref_count) in exif_mnote_data_unref()
|
D | exif-mem.c | 6 unsigned int ref_count; member 44 mem->ref_count = 1; in exif_mem_new() 57 mem->ref_count++; in exif_mem_ref() 64 if (!--mem->ref_count) in exif_mem_unref()
|
D | exif-content.c | 36 unsigned int ref_count; member 70 content->priv->ref_count = 1; in exif_content_new_mem() 81 content->priv->ref_count++; in exif_content_ref() 87 content->priv->ref_count--; in exif_content_unref() 88 if (!content->priv->ref_count) in exif_content_unref()
|
D | exif-loader.c | 81 unsigned int ref_count; member 338 loader->ref_count = 1; in exif_loader_new_mem() 350 loader->ref_count++; in exif_loader_ref() 373 if (!--loader->ref_count) in exif_loader_unref()
|
/external/libcups/cups/ |
D | string.c | 90 item->ref_count ++; in _cupsStrAlloc() 95 item->ref_count)); in _cupsStrAlloc() 119 item->ref_count = 1; in _cupsStrAlloc() 127 item->ref_count)); in _cupsStrAlloc() 323 "ref_count=%d", key, key->str, key->guard, key->ref_count)); in _cupsStrFree() 335 item->ref_count --; in _cupsStrFree() 337 if (!item->ref_count) in _cupsStrFree() 375 "ref_count=%d", item, s, item->guard, item->ref_count)); in _cupsStrRetain() 382 item->ref_count ++; in _cupsStrRetain() 559 count += item->ref_count; in _cupsStrStatistics() [all …]
|
/external/webrtc/webrtc/modules/desktop_capture/ |
D | shared_desktop_frame.cc | 31 int32_t ref_count; in Release() local 32 ref_count = --ref_count_; in Release() 33 if (ref_count == 0) in Release() 35 return ref_count; in Release()
|
/external/webrtc/webrtc/system_wrappers/include/ |
D | ref_count.h | 69 int32_t ref_count; in Release() local 70 ref_count = --ref_count_; in Release() 71 if (ref_count == 0) in Release() 73 return ref_count; in Release()
|
/external/webrtc/webrtc/voice_engine/ |
D | channel_manager.cc | 24 ++channel_ref_->ref_count; in ChannelOwner() 28 if (--channel_ref_->ref_count == 0) in ~ChannelOwner() 36 if (--channel_ref_->ref_count == 0) in operator =() 40 ++channel_ref_->ref_count; in operator =() 46 : channel(channel), ref_count(1) {} in ChannelRef()
|
D | channel_manager.h | 58 int use_count() const { return channel_ref_->ref_count.Value(); } in use_count() 66 Atomic32 ref_count; member
|
/external/freetype/src/raster/ |
D | rastpic.c | 45 if ( --container->ref_count ) in ft_raster1_renderer_class_pic_free() 67 ((RasterPIC*)pic_container->raster)->ref_count++; in ft_raster1_renderer_class_pic_init() 77 container->ref_count = 1; in ft_raster1_renderer_class_pic_init()
|
D | rastpic.h | 36 int ref_count;
|
/external/pdfium/third_party/freetype/src/raster/ |
D | rastpic.c | 45 if ( --container->ref_count ) in ft_raster1_renderer_class_pic_free() 67 ((RasterPIC*)pic_container->raster)->ref_count++; in ft_raster1_renderer_class_pic_init() 77 container->ref_count = 1; in ft_raster1_renderer_class_pic_init()
|
D | rastpic.h | 36 int ref_count;
|
/external/freetype/src/smooth/ |
D | ftspic.c | 45 if ( --container->ref_count ) in ft_smooth_renderer_class_pic_free() 67 ((SmoothPIC*)pic_container->smooth)->ref_count++; in ft_smooth_renderer_class_pic_init() 77 container->ref_count = 1; in ft_smooth_renderer_class_pic_init()
|
/external/pdfium/third_party/freetype/src/smooth/ |
D | ftspic.c | 45 if ( --container->ref_count ) in ft_smooth_renderer_class_pic_free() 67 ((SmoothPIC*)pic_container->smooth)->ref_count++; in ft_smooth_renderer_class_pic_init() 77 container->ref_count = 1; in ft_smooth_renderer_class_pic_init()
|
/external/mesa3d/src/gallium/winsys/sw/kms-dri/ |
D | kms_dri_sw_winsys.c | 74 int ref_count; member 127 kms_sw_dt->ref_count = 1; in kms_sw_displaytarget_create() 169 kms_sw_dt->ref_count --; in kms_sw_displaytarget_destroy() 170 if (kms_sw_dt->ref_count > 0) in kms_sw_displaytarget_destroy() 221 kms_sw_dt->ref_count++; in kms_sw_displaytarget_find_and_ref() 261 kms_sw_dt->ref_count = 1; in kms_sw_displaytarget_add_from_prime()
|
/external/libvpx/libvpx/vp9/common/ |
D | vp9_onyxc_int.h | 71 int ref_count; member 308 if (frame_bufs[i].ref_count == 0) break; in get_free_fb() 311 frame_bufs[i].ref_count = 1; in get_free_fb() 324 if (ref_index >= 0 && bufs[ref_index].ref_count > 0) in ref_cnt_fb() 325 bufs[ref_index].ref_count--; in ref_cnt_fb() 329 bufs[new_idx].ref_count++; in ref_cnt_fb()
|
/external/libvpx/libvpx/vp9/decoder/ |
D | vp9_decoder.h | 118 if (idx >= 0 && frame_bufs[idx].ref_count > 0) { in decrease_ref_count() 119 --frame_bufs[idx].ref_count; in decrease_ref_count() 124 if (frame_bufs[idx].ref_count == 0 && in decrease_ref_count()
|
/external/elfutils/libelf/ |
D | common.h | 80 result->ref_count = 1; in allocate_elf() 108 if (child->ref_count != 0) in libelf_acquire_all() 126 if (child->ref_count != 0) in libelf_release_all()
|
D | elf_end.c | 54 if (elf->ref_count != 0 && --elf->ref_count != 0) in elf_end() 57 int result = elf->ref_count; in elf_end() 235 return (parent != NULL && parent->ref_count == 0 in elf_end()
|
/external/sfntly/cpp/src/sfntly/port/ |
D | refcount.h | 245 size_t ref_count = 0; in Release() local 249 ref_count = p->Release(); in Release() 253 return ref_count; in Release()
|
/external/freetype/src/cache/ |
D | ftcbasic.c | 341 node->ref_count++; in FTC_ImageCache_Lookup() 402 node->ref_count++; in FTC_ImageCache_LookupScaler() 527 node->ref_count++; in FTC_SBitCache_Lookup() 589 node->ref_count++; in FTC_SBitCache_LookupScaler()
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_pipeline_cache.c | 169 variant->ref_count = 1; in radv_create_shader_variant_from_pipeline_cache() 181 __sync_fetch_and_add(&entry->variant->ref_count, 1); in radv_create_shader_variant_from_pipeline_cache() 270 __sync_fetch_and_add(&variant->ref_count, 1); in radv_pipeline_cache_insert_shader() 290 __sync_fetch_and_add(&variant->ref_count, 1); in radv_pipeline_cache_insert_shader()
|