Home
last modified time | relevance | path

Searched refs:ScopedPtr (Results 1 – 7 of 7) sorted by relevance

/external/qemu/android/base/memory/
DScopedPtr_unittest.cpp47 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()
DScopedPtr.h39 class ScopedPtr {
42 ScopedPtr() : mPtr(NULL) {} in ScopedPtr() function
45 explicit ScopedPtr(T* ptr) : mPtr(ptr) {} in ScopedPtr() function
48 ~ScopedPtr() { reset(NULL); } in ~ScopedPtr()
77 DISALLOW_COPY_AND_ASSIGN(ScopedPtr);
/external/chromium_org/third_party/android_crazy_linker/src/src/
Dcrazy_linker_util.h25 class ScopedPtr {
27 ScopedPtr() : ptr_(NULL) {} in ScopedPtr() function
28 explicit ScopedPtr(T* ptr) : ptr_(ptr) {} in ScopedPtr() function
29 ~ScopedPtr() { Reset(NULL); } in ~ScopedPtr()
Dcrazy_linker_library_list.cpp280 ScopedPtr<SharedLibrary> lib(new SharedLibrary()); in LoadLibrary()
/external/chromium_org/third_party/libaddressinput/src/cpp/test/util/
Dscoped_ptr_unittest.cc35 TEST(ScopedPtrTest, ScopedPtr) { in TEST() argument
/external/chromium_org/base/memory/
Dscoped_ptr_unittest.cc101 TEST(ScopedPtrTest, ScopedPtr) { in TEST() argument
/external/chromium_org/base/
Dbind_unittest.cc712 TEST_F(BindTest, ScopedPtr) { in TEST_F() argument