HomeSort by relevance Sort by last modified time
    Searched refs:SimpleRefCounted (Results 1 - 2 of 2) sorted by null

  /external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
IntrusiveRefCntPtrTest.cpp 16 struct SimpleRefCounted : public RefCountedBase<SimpleRefCounted> {
17 SimpleRefCounted() { ++NumInstances; }
18 SimpleRefCounted(const SimpleRefCounted &) : RefCountedBase() {
21 ~SimpleRefCounted() { --NumInstances; }
25 int SimpleRefCounted::NumInstances = 0;
29 EXPECT_EQ(0, SimpleRefCounted::NumInstances);
31 SimpleRefCounted *S1 = new SimpleRefCounted;
    [all...]
  /external/llvm/unittests/ADT/
IntrusiveRefCntPtrTest.cpp 29 struct SimpleRefCounted : public RefCountedBase<SimpleRefCounted> {};
33 SimpleRefCounted *S1 = new SimpleRefCounted;
34 IntrusiveRefCntPtr<SimpleRefCounted> R1 = S1;
35 SimpleRefCounted *S2 = new SimpleRefCounted(*S1);
36 IntrusiveRefCntPtr<SimpleRefCounted> R2 = S2;

Completed in 823 milliseconds