/external/harfbuzz_ng/src/ |
D | hb-object.hh | 149 mutable hb_atomic_int_t ref_count; member 151 void init (int v = 1) { ref_count.set_relaxed (v); } in init() 152 int get_relaxed () const { return ref_count.get_relaxed (); } in get_relaxed() 153 int inc () const { return ref_count.inc (); } in inc() 154 int dec () const { return ref_count.dec (); } in dec() 155 void fini () { ref_count.set_relaxed (HB_REFERENCE_COUNT_POISON_VALUE); } in fini() 157 bool is_inert () const { return ref_count.get_relaxed () == HB_REFERENCE_COUNT_INERT_VALUE; } in is_inert() 158 bool is_valid () const { return ref_count.get_relaxed () > 0; } in is_valid() 199 hb_reference_count_t ref_count; member 221 obj ? obj->header.ref_count.get_relaxed () : 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()
|
/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/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/sched/sched_set_boost/ |
D | format | 9 field:unsigned int ref_count; offset:8; size:4; signed:0; 11 print fmt: "ref_count=%d", REC->ref_count
|
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/operators/ |
D | rx-ref_count.hpp | 85 struct ref_count : public operator_base<T> struct 129 explicit ref_count(connectable_type source) in ref_count() function 140 ref_count(connectable_type other, in ref_count() function 172 auto ref_count(AN&&... an) in ref_count() function 186 class RefCount = rxo::detail::ref_count<SourceValue, rxu::decay_t<ConnectableObservable>>, 200 class RefCount = rxo::detail::ref_count<SourceValue,
|
/external/python/pybind11/tests/ |
D | test_kwargs_and_defaults.cpp | 66 m.def("arg_refcount_h", [](py::handle h) { GC_IF_NEEDED; return h.ref_count(); }); in TEST_SUBMODULE() 67 …arg_refcount_h", [](py::handle h, py::handle, py::handle) { GC_IF_NEEDED; return h.ref_count(); }); in TEST_SUBMODULE() 68 m.def("arg_refcount_o", [](py::object o) { GC_IF_NEEDED; return o.ref_count(); }); in TEST_SUBMODULE() 80 t[0] = o.ref_count(); in TEST_SUBMODULE()
|
/external/mesa3d/src/gallium/winsys/sw/kms-dri/ |
D | kms_dri_sw_winsys.c | 84 int ref_count; member 179 kms_sw_dt->ref_count = 1; in kms_sw_displaytarget_create() 225 kms_sw_dt->ref_count --; in kms_sw_displaytarget_destroy() 226 if (kms_sw_dt->ref_count > 0) in kms_sw_displaytarget_destroy() 292 kms_sw_dt->ref_count++; in kms_sw_displaytarget_find_and_ref() 324 kms_sw_dt->ref_count --; in kms_sw_displaytarget_add_from_prime() 341 kms_sw_dt->ref_count = 1; in kms_sw_displaytarget_add_from_prime() 421 kms_sw_dt->ref_count --; in kms_sw_displaytarget_from_handle()
|
/external/perfetto/src/profiling/common/ |
D | interner.h | 52 size_t ref_count = 0; member 63 entry_->ref_count++; in Interned() 112 entry.ref_count++; in Intern() 122 if (--entry->ref_count == 0) in Return()
|
/external/swiftshader/src/Vulkan/ |
D | VkSemaphoreExternalLinux.hpp | 72 ref_count++; in addRef() 80 bool result = (--ref_count == 0); in deref() 126 int ref_count = 1; member in SharedSemaphore
|
/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() 236 return (parent != NULL && parent->ref_count == 0 in elf_end()
|
/external/libvpx/libvpx/vp9/common/ |
D | vp9_onyxc_int.h | 67 int ref_count; member 307 if (frame_bufs[i].ref_count == 0) break; in get_free_fb() 310 frame_bufs[i].ref_count = 1; in get_free_fb() 322 if (ref_index >= 0 && bufs[ref_index].ref_count > 0) in ref_cnt_fb() 323 bufs[ref_index].ref_count--; in ref_cnt_fb() 327 bufs[new_idx].ref_count++; in ref_cnt_fb()
|
/external/libvpx/libvpx/vp9/decoder/ |
D | vp9_decoder.h | 171 if (idx >= 0 && frame_bufs[idx].ref_count > 0) { in decrease_ref_count() 172 --frame_bufs[idx].ref_count; in decrease_ref_count() 177 if (!frame_bufs[idx].released && frame_bufs[idx].ref_count == 0 && in decrease_ref_count()
|
/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/e2fsprogs/e2fsck/ |
D | pass4.c | 94 __u64 ref_count; in check_ea_inode() local 118 ref_count = ext2fs_get_ea_inode_ref(EXT2_INODE(inode)); in check_ea_inode() 123 if (ref_count != actual_refs && inode->i_ctime != inode->i_atime) { in check_ea_inode() 128 pctx.num = ref_count; in check_ea_inode()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | allocation_tracker.cc | 229 it->second.ref_count++; in AddAllocationOrIncrementRefCount() 239 TF_RET_CHECK(allocation.ref_count >= 1); in DecrementRefCount() 240 if (allocation.ref_count == 1) { in DecrementRefCount() 244 allocation.ref_count--; in DecrementRefCount()
|
/external/tensorflow/tensorflow/python/framework/ |
D | errors_test.py | 39 ref_count = 0 43 ref_count += 1 47 return ref_count
|
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | ir2_ra.c | 127 reg->comp[swiz_get(src->swizzle, i)].ref_count++; in ra_count_refs() 170 if (reg->comp[i].ref_count == 0) { in ra_reg() 202 if (!--comp->ref_count && reg->block_idx_free < 0) { in ra_src_free()
|