Searched refs:ref_cnt (Results 1 – 9 of 9) sorted by relevance
/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/include/llvm/ADT/ |
D | IntrusiveRefCntPtr.h | 45 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/ |
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/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/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/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/intel/vulkan/ |
D | anv_private.h | 1390 uint32_t ref_cnt; member 1419 assert(shader->ref_cnt >= 1); in anv_shader_bin_ref() 1420 __sync_fetch_and_add(&shader->ref_cnt, 1); in anv_shader_bin_ref() 1426 assert(shader->ref_cnt >= 1); in anv_shader_bin_unref() 1427 if (__sync_fetch_and_add(&shader->ref_cnt, -1) == 1) in anv_shader_bin_unref()
|
D | anv_pipeline_cache.c | 61 shader->ref_cnt = 1; in anv_shader_bin_create() 108 assert(shader->ref_cnt == 0); in anv_shader_bin_destroy()
|