Searched refs:RefCnt (Results 1 – 3 of 3) sorted by relevance
42 unsigned RefCnt; variable44 AllocaHolder() : RefCnt(0) {} in AllocaHolder()58 AllocaHolderHandle() : H(new AllocaHolder()) { H->RefCnt++; } in AllocaHolderHandle()59 AllocaHolderHandle(const AllocaHolderHandle &AH) : H(AH.H) { H->RefCnt++; } in AllocaHolderHandle()60 ~AllocaHolderHandle() { if (--H->RefCnt == 0) delete H; } in ~AllocaHolderHandle()
70 DEF_TEST(RefCnt, reporter) { in DEF_TEST() argument