Searched refs:ScopedPtr (Results 1 – 8 of 8) 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()
278 ScopedPtr<SharedLibrary> lib(new SharedLibrary()); in LoadLibrary()
33 TEST(ScopedPtrTest, ScopedPtr) { in TEST() argument
34 TEST(ScopedPtrTest, ScopedPtr) { in TEST() argument
101 TEST(ScopedPtrTest, ScopedPtr) { in TEST() argument
712 TEST_F(BindTest, ScopedPtr) { in TEST_F() argument