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

  /external/chromium/base/memory/
scoped_nsobject.h 13 // scoped_nsobject<> is patterned after scoped_ptr<>, but maintains ownership
18 // When scoped_nsobject<> takes ownership of an object (in the constructor or
20 // caller must own the object it gives to scoped_nsobject<>, and relinquishes
21 // an ownership claim to that object. scoped_nsobject<> does not call
24 // scoped_nsobject<> is not to be used for NSAutoreleasePools. For
27 // We check for bad uses of scoped_nsobject and NSAutoreleasePool at compile
30 class scoped_nsobject { class
34 explicit scoped_nsobject(NST* object = nil) function in class:scoped_nsobject
38 ~scoped_nsobject() {
45 // scoped_nsobject and ScopedCFTypeRef, whether it's in the constructor o
103 class scoped_nsobject<id> { class
107 explicit scoped_nsobject(id object = nil) function in class:scoped_nsobject
161 class scoped_nsobject<NSAutoreleasePool> { class
    [all...]
  /external/chromium_org/base/mac/
scoped_nsobject.h 14 // scoped_nsobject<> is patterned after scoped_ptr<>, but maintains ownership
19 // scoped_nsobject<> takes ownership of an object (in the constructor or in
21 // must own the object it gives to scoped_nsobject<>, and relinquishes an
22 // ownership claim to that object. scoped_nsobject<> does not call -retain,
25 // scoped_nsprotocol<> has the same behavior as scoped_nsobject, but can be used
28 // scoped_nsobject<> is not to be used for NSAutoreleasePools. For
31 // We check for bad uses of scoped_nsobject and NSAutoreleasePool at compile
113 class scoped_nsobject : public scoped_nsprotocol<NST*> { class in namespace:base
115 explicit scoped_nsobject(NST* object = nil) function in class:base::scoped_nsobject
118 scoped_nsobject(const scoped_nsobject<NST>& that function in class:base::scoped_nsobject
130 class scoped_nsobject<id> : public scoped_nsprotocol<id> { class in namespace:base
132 explicit scoped_nsobject(id object = nil) : scoped_nsprotocol<id>(object) {} function in class:base::scoped_nsobject
134 scoped_nsobject(const scoped_nsobject<id>& that) function in class:base::scoped_nsobject
148 class scoped_nsobject<NSAutoreleasePool> { class in namespace:base
    [all...]

Completed in 75 milliseconds