Home
last modified time | relevance | path

Searched refs:ref_cnt (Results 1 – 11 of 11) sorted by relevance

/external/llvm/include/llvm/ADT/
DIntrusiveRefCntPtr.h45 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/include/llvm/ADT/
DIntrusiveRefCntPtr.h45 mutable unsigned ref_cnt; variable
48 RefCountedBase() : ref_cnt(0) {} in RefCountedBase()
50 void Retain() const { ++ref_cnt; } in Retain()
52 assert (ref_cnt > 0 && "Reference count is already zero."); in Release()
53 if (--ref_cnt == 0) delete static_cast<const Derived*>(this); in Release()
66 mutable unsigned ref_cnt; variable
69 RefCountedBaseVPTR() : ref_cnt(0) {} in RefCountedBaseVPTR()
72 void Retain() const { ++ref_cnt; } in Retain()
74 assert (ref_cnt > 0 && "Reference count is already zero."); in Release()
75 if (--ref_cnt == 0) delete this; in Release()
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DIntrusiveRefCntPtr.h42 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/u-boot/arch/arm/mach-omap2/omap5/
Ddra7xx_iodelay.c85 u16 refclk_period, dly_cnt, ref_cnt; in calculate_delay() local
93 ref_cnt = (reg & CFG_REG_REF_CNT_MASK) >> CFG_REG_REF_CNT_SHIFT; in calculate_delay()
102 q = 5 * ((ref_cnt * refclk_period) / (dly_cnt * den)); in calculate_delay()
103 r = (10 * ((ref_cnt * refclk_period) % (dly_cnt * den))) / in calculate_delay()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/PowerPC/
Dmerge-st-chain-op.ll16 %ref_cnt.i.i = bitcast i8* %call2 to i32*
23 store i32 1, i32* %ref_cnt.i.i, align 4
/external/llvm/test/CodeGen/PowerPC/
Dmerge-st-chain-op.ll16 %ref_cnt.i.i = bitcast i8* %call2 to i32*
23 store i32 1, i32* %ref_cnt.i.i, align 4
/external/clang/tools/libclang/
DCXIndexDataConsumer.h247 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()
DCXIndexDataConsumer.cpp277 : SA(IdxCtx), ref_cnt(0) { in AttrListInfo()
/external/libcap-ng/libcap-ng-0.7/utils/
Dnetcap.c392 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/intel/vulkan/
Danv_pipeline_cache.c57 shader->ref_cnt = 1; in anv_shader_bin_create()
90 assert(shader->ref_cnt == 0); in anv_shader_bin_destroy()
Danv_private.h2079 uint32_t ref_cnt; member
2106 assert(shader && shader->ref_cnt >= 1); in anv_shader_bin_ref()
2107 p_atomic_inc(&shader->ref_cnt); in anv_shader_bin_ref()
2113 assert(shader && shader->ref_cnt >= 1); in anv_shader_bin_unref()
2114 if (p_atomic_dec_zero(&shader->ref_cnt)) in anv_shader_bin_unref()