/external/llvm/include/llvm/ADT/ |
IntrusiveRefCntPtr.h | 45 mutable unsigned ref_cnt; member in class:llvm::RefCountedBase 48 RefCountedBase() : ref_cnt(0) {} 49 RefCountedBase(const RefCountedBase &) : ref_cnt(0) {} 51 void Retain() const { ++ref_cnt; } 53 assert (ref_cnt > 0 && "Reference count is already zero."); 54 if (--ref_cnt == 0) delete static_cast<const Derived*>(this); 67 mutable unsigned ref_cnt; member in class:llvm::RefCountedBaseVPTR 71 RefCountedBaseVPTR() : ref_cnt(0) {} 72 RefCountedBaseVPTR(const RefCountedBaseVPTR &) : ref_cnt(0) {} 76 void Retain() const { ++ref_cnt; } [all...] |
/external/libcap-ng/libcap-ng-0.7/utils/ |
netcap.c | 392 unsigned int ref_cnt, type, proto, iface, r, rmem, uid; local 410 &sk, &ref_cnt, &type, &proto, &iface,
|
/external/clang/tools/libclang/ |
IndexingContext.h | 243 unsigned ref_cnt; member in class:clang::cxindex::AttrListInfo 263 void Retain() { ++ref_cnt; } 265 assert (ref_cnt > 0 && "Reference count is already zero."); 266 if (--ref_cnt == 0) {
|