/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/pcre/dist/ |
D | pcre_refcount.c | 86 re->ref_count = (-adjust > re->ref_count)? 0 : in pcre_refcount() 87 (adjust + re->ref_count > 65535)? 65535 : in pcre_refcount() 88 re->ref_count + adjust; in pcre_refcount() 89 return re->ref_count; in pcre_refcount()
|
/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/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/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/raster/ |
D | rastpic.c | 45 if ( --container->ref_count ) in ft_raster1_renderer_class_pic_free() 66 ((RasterPIC*)pic_container->raster)->ref_count++; in ft_raster1_renderer_class_pic_init() 76 container->ref_count = 1; in ft_raster1_renderer_class_pic_init()
|
/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/libvpx/libvpx/vp9/common/ |
D | vp9_onyxc_int.h | 72 int ref_count; member 311 if (frame_bufs[i].ref_count == 0) in get_free_fb() 315 frame_bufs[i].ref_count = 1; in get_free_fb() 328 if (ref_index >= 0 && bufs[ref_index].ref_count > 0) in ref_cnt_fb() 329 bufs[ref_index].ref_count--; in ref_cnt_fb() 333 bufs[new_idx].ref_count++; in ref_cnt_fb()
|
/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 | 248 size_t ref_count = 0; in Release() local 252 ref_count = p->Release(); in Release() 256 return ref_count; in Release()
|
/external/srtp/crypto/cipher/ |
D | null_cipher.c | 77 null_cipher.ref_count++; in null_cipher_alloc() 95 null_cipher.ref_count--; in null_cipher_dealloc()
|
/external/srtp/crypto/hash/ |
D | null_auth.c | 77 null_auth.ref_count++; in null_auth_alloc() 94 null_auth.ref_count--; in null_auth_dealloc()
|
D | hmac.c | 89 hmac.ref_count++; in hmac_alloc() 106 hmac.ref_count--; in hmac_dealloc()
|
/external/libvpx/libvpx/vp9/decoder/ |
D | vp9_decoder.h | 132 --frame_bufs[idx].ref_count; in decrease_ref_count() 137 if (frame_bufs[idx].ref_count == 0 && in decrease_ref_count()
|
/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()
|