Searched refs:ScopedPtr (Results 1 – 7 of 7) sorted by relevance
47 ScopedPtr<Foo> foo; in TEST_F()52 ScopedPtr<Foo> foo(NewFoo()); in TEST_F()58 ScopedPtr<Foo> foo(NewFoo()); in TEST_F()67 ScopedPtr<Foo> foo(NewFoo()); in TEST_F()79 ScopedPtr<Foo> foo(NewFoo()); in TEST_F()85 ScopedPtr<Foo> foo(NewFoo()); in TEST_F()
39 class ScopedPtr {42 ScopedPtr() : mPtr(NULL) {} in ScopedPtr() function45 explicit ScopedPtr(T* ptr) : mPtr(ptr) {} in ScopedPtr() function48 ~ScopedPtr() { reset(NULL); } in ~ScopedPtr()77 DISALLOW_COPY_AND_ASSIGN(ScopedPtr);
25 class ScopedPtr {27 ScopedPtr() : ptr_(NULL) {} in ScopedPtr() function28 explicit ScopedPtr(T* ptr) : ptr_(ptr) {} in ScopedPtr() function29 ~ScopedPtr() { Reset(NULL); } in ~ScopedPtr()
280 ScopedPtr<SharedLibrary> lib(new SharedLibrary()); in LoadLibrary()
35 TEST(ScopedPtrTest, ScopedPtr) { in TEST() argument
101 TEST(ScopedPtrTest, ScopedPtr) { in TEST() argument
712 TEST_F(BindTest, ScopedPtr) { in TEST_F() argument