Home
last modified time | relevance | path

Searched refs:ref_cnt (Results 1 – 5 of 5) 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/clang/tools/libclang/
DIndexingContext.h252 unsigned ref_cnt; variable
272 void Retain() { ++ref_cnt; } in Retain()
274 assert (ref_cnt > 0 && "Reference count is already zero."); in Release()
275 if (--ref_cnt == 0) { in Release()
DIndexingContext.cpp65 : 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/clang/utils/
DclangVisualizers.txt168 "[RefCnt=", $e.Obj->ref_cnt,
180 #(RefCnt : $e.Obj->ref_cnt),