/external/llvm/include/llvm/ADT/ |
D | IntrusiveRefCntPtr.h | 45 mutable unsigned ref_cnt; variable 48 RefCountedBase() : ref_cnt(0) {} in RefCountedBase() 49 RefCountedBase(const RefCountedBase &) : ref_cnt(0) {} in RefCountedBase() 51 void Retain() const { ++ref_cnt; } in Retain() 53 assert (ref_cnt > 0 && "Reference count is already zero."); in Release() 54 if (--ref_cnt == 0) delete static_cast<const Derived*>(this); in Release() 67 mutable unsigned ref_cnt; variable 71 RefCountedBaseVPTR() : ref_cnt(0) {} in RefCountedBaseVPTR() 72 RefCountedBaseVPTR(const RefCountedBaseVPTR &) : ref_cnt(0) {} in RefCountedBaseVPTR() 76 void Retain() const { ++ref_cnt; } in Retain() [all …]
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | IntrusiveRefCntPtr.h | 42 mutable unsigned ref_cnt = 0; variable 46 RefCountedBase(const RefCountedBase &) : ref_cnt(0) {} in RefCountedBase() 48 void Retain() const { ++ref_cnt; } in Retain() 50 assert (ref_cnt > 0 && "Reference count is already zero."); in Release() 51 if (--ref_cnt == 0) delete static_cast<const Derived*>(this); in Release() 64 mutable unsigned ref_cnt = 0; variable 70 RefCountedBaseVPTR(const RefCountedBaseVPTR &) : ref_cnt(0) {} in RefCountedBaseVPTR() 74 void Retain() const { ++ref_cnt; } in Retain() 76 assert (ref_cnt > 0 && "Reference count is already zero."); in Release() 77 if (--ref_cnt == 0) delete this; in Release()
|
/external/rust/crates/grpcio/src/ |
D | cq.rs | 24 ref_cnt: AtomicIsize, field 34 ref_cnt: AtomicIsize::new(1), in new() 39 let mut cnt = self.ref_cnt.load(Ordering::SeqCst); in add_ref() 46 match self.ref_cnt.compare_exchange_weak( in add_ref() 59 let mut cnt = self.ref_cnt.load(Ordering::SeqCst); in unref() 64 match self.ref_cnt.compare_exchange_weak( in unref() 82 let mut cnt = self.ref_cnt.load(Ordering::SeqCst); in shutdown() 92 match self.ref_cnt.compare_exchange_weak( in shutdown()
|
/external/usrsctp/usrsctplib/ |
D | user_mbuf.c | 237 m->m_ext.ref_cnt = refcnt; in clust_constructor_dup() 689 m->m_ext.ref_cnt = refcnt; in mb_ctor_clust() 753 …%p, ref_cnt = %d.\n", (void *)m, m->m_ext.ext_size, (void *)m->m_ext.ext_buf, *(m->m_ext.ref_cnt)); 781 KASSERT(m->m_ext.ref_cnt != NULL, ("%s: ref_cnt not set", __func__)); in mb_free_ext() 799 if (atomic_fetchadd_int(m->m_ext.ref_cnt, -1) == 0) in mb_free_ext() 801 if (SCTP_DECREMENT_AND_CHECK_REFCOUNT(m->m_ext.ref_cnt)) in mb_free_ext() 809 SCTP_ZONE_FREE(zone_ext_refcnt, (u_int*)m->m_ext.ref_cnt); in mb_free_ext() 810 m->m_ext.ref_cnt = NULL; in mb_free_ext() 825 m->m_ext.ref_cnt = NULL; in mb_free_ext() 1115 KASSERT(m->m_ext.ref_cnt != NULL, ("%s: ref_cnt not set", __func__)); in mb_dupcl() [all …]
|
D | user_mbuf.h | 225 volatile u_int *ref_cnt; /* pointer to ref count info */ member 365 (*((m)->m_ext.ref_cnt) == 1)) ) \
|
/external/llvm/test/CodeGen/PowerPC/ |
D | merge-st-chain-op.ll | 16 %ref_cnt.i.i = bitcast i8* %call2 to i32* 23 store i32 1, i32* %ref_cnt.i.i, align 4
|
/external/llvm-project/llvm/test/CodeGen/PowerPC/ |
D | merge-st-chain-op.ll | 16 %ref_cnt.i.i = bitcast i8* %call2 to i32* 23 store i32 1, i32* %ref_cnt.i.i, align 4
|
/external/llvm-project/clang/tools/libclang/ |
D | CXIndexDataConsumer.h | 245 unsigned ref_cnt; variable 265 void Retain() { ++ref_cnt; } in Retain() 267 assert (ref_cnt > 0 && "Reference count is already zero."); in Release() 268 if (--ref_cnt == 0) { in Release()
|
D | CXIndexDataConsumer.cpp | 280 : SA(IdxCtx), ref_cnt(0) { in AttrListInfo()
|
/external/clang/tools/libclang/ |
D | CXIndexDataConsumer.h | 247 unsigned ref_cnt; variable 267 void Retain() { ++ref_cnt; } in Retain() 269 assert (ref_cnt > 0 && "Reference count is already zero."); in Release() 270 if (--ref_cnt == 0) { in Release()
|
D | CXIndexDataConsumer.cpp | 277 : SA(IdxCtx), ref_cnt(0) { in AttrListInfo()
|
/external/rust/crates/bytes/src/ |
D | bytes.rs | 940 ref_cnt: AtomicUsize, field 970 let old_size = (*shared).ref_cnt.fetch_add(1, Ordering::Relaxed); in shallow_clone_arc() 1009 ref_cnt: AtomicUsize::new(2), in shallow_clone_vec() 1058 if (*ptr).ref_cnt.fetch_sub(1, Ordering::Release) != 1 { in release_shared()
|
D | bytes_mut.rs | 846 unsafe fn promote_to_shared(&mut self, ref_cnt: usize) { in promote_to_shared() 848 debug_assert!(ref_cnt == 1 || ref_cnt == 2); in promote_to_shared() 867 ref_count: AtomicUsize::new(ref_cnt), in promote_to_shared()
|
/external/libcap-ng/libcap-ng-0.7/utils/ |
D | netcap.c | 392 unsigned int ref_cnt, type, proto, iface, r, rmem, uid; in read_packet() local 410 &sk, &ref_cnt, &type, &proto, &iface, in read_packet()
|
/external/mesa3d/src/broadcom/vulkan/ |
D | v3dv_private.h | 1274 uint32_t ref_cnt; member 1840 assert(variant && variant->ref_cnt >= 1); in v3dv_shader_variant_ref() 1841 p_atomic_inc(&variant->ref_cnt); in v3dv_shader_variant_ref() 1848 assert(variant && variant->ref_cnt >= 1); in v3dv_shader_variant_unref() 1849 if (p_atomic_dec_zero(&variant->ref_cnt)) in v3dv_shader_variant_unref()
|
D | v3dv_pipeline.c | 1450 variant->ref_cnt = 1; in v3dv_shader_variant_create()
|
/external/mesa3d/src/intel/vulkan/ |
D | anv_private.h | 2004 uint32_t ref_cnt; member 2039 assert(layout && layout->ref_cnt >= 1); in anv_descriptor_set_layout_ref() 2040 p_atomic_inc(&layout->ref_cnt); in anv_descriptor_set_layout_ref() 2047 assert(layout && layout->ref_cnt >= 1); in anv_descriptor_set_layout_unref() 2048 if (p_atomic_dec_zero(&layout->ref_cnt)) in anv_descriptor_set_layout_unref() 3356 uint32_t ref_cnt; member 3393 assert(shader && shader->ref_cnt >= 1); in anv_shader_bin_ref() 3394 p_atomic_inc(&shader->ref_cnt); in anv_shader_bin_ref() 3400 assert(shader && shader->ref_cnt >= 1); in anv_shader_bin_unref() 3401 if (p_atomic_dec_zero(&shader->ref_cnt)) in anv_shader_bin_unref()
|
D | anv_pipeline_cache.c | 72 shader->ref_cnt = 1; in anv_shader_bin_create() 140 assert(shader->ref_cnt == 0); in anv_shader_bin_destroy()
|
D | anv_descriptor_set.c | 395 set_layout->ref_cnt = 1; in anv_CreateDescriptorSetLayout() 554 assert(layout->ref_cnt == 0); in anv_descriptor_set_layout_destroy()
|
/external/usrsctp/usrsctplib/netinet/ |
D | sctp_os_userspace.h | 939 #define SCTP_BUF_EXTEND_REFCNT(m) (*m->m_ext.ref_cnt)
|
/external/libabigail/tests/data/test-diff-filter/ |
D | test-PR27569-v1.abi | 59673 …<var-decl name="ref_cnt" type-id="95e97e5e" visibility="default" filepath="include/linux/regulator… 60647 …<var-decl name="ref_cnt" type-id="95e97e5e" visibility="default" filepath="include/linux/regulator…
|
D | test-PR27569-v0.abi | 59659 …<var-decl name="ref_cnt" type-id="95e97e5e" visibility="default" filepath="include/linux/regulator… 60633 …<var-decl name="ref_cnt" type-id="95e97e5e" visibility="default" filepath="include/linux/regulator…
|