HomeSort by relevance Sort by last modified time
    Searched defs:ScopedPtr (Results 1 - 3 of 3) sorted by null

  /external/qemu/android/base/memory/
ScopedPtr.h 27 // ScopedPtr<Foo> ptr(new Foo());
31 // You cannot copy ScopedPtr instances directly, but you can actually
35 // ScopedPtr<Foo> ptr(new Foo()); // object owned by |ptr|
36 // ScopedPtr<Foo> ptr2(ptr.release()); // object owned by |ptr2|
39 class ScopedPtr {
42 ScopedPtr() : mPtr(NULL) {}
45 explicit ScopedPtr(T* ptr) : mPtr(ptr) {}
48 ~ScopedPtr() { reset(NULL); }
77 DISALLOW_COPY_AND_ASSIGN(ScopedPtr);
  /external/chromium_org/third_party/android_crazy_linker/src/src/
crazy_linker_util.h 25 class ScopedPtr {
27 ScopedPtr() : ptr_(NULL) {}
28 explicit ScopedPtr(T* ptr) : ptr_(ptr) {}
29 ~ScopedPtr() { Reset(NULL); }
  /ndk/sources/android/crazy_linker/src/
crazy_linker_util.h 25 class ScopedPtr {
27 ScopedPtr() : ptr_(NULL) {}
28 explicit ScopedPtr(T* ptr) : ptr_(ptr) {}
29 ~ScopedPtr() { Reset(NULL); }

Completed in 326 milliseconds