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

  /external/v8/tools/clang/base_bind_rewriters/tests/
test-expected.cc 6 class scoped_refptr { class
25 scoped_refptr<int> foo;
test-original.cc 6 class scoped_refptr { class
25 scoped_refptr<int> foo;
35 base::Bind(&Foo::Bar, foo.scoped_refptr<int>::get());
36 base::Bind(&Foo::Bar, (&foo)->scoped_refptr<int>::get());
  /external/v8/tools/clang/rewrite_scoped_refptr/tests/
scoped_refptr.h 8 // Stub scoped_refptr<T> class that supports an implicit cast to T*.
10 class scoped_refptr { class
13 scoped_refptr() : ptr_(0) {} function in class:scoped_refptr
14 scoped_refptr(T* p) : ptr_(p) {} function in class:scoped_refptr
15 scoped_refptr(const scoped_refptr<T>& r) : ptr_(r.ptr_) {} function in class:scoped_refptr
18 scoped_refptr(const scoped_refptr<U>& r) function in class:scoped_refptr
21 ~scoped_refptr() {}
27 scoped_refptr<T>& operator=(T* p)
    [all...]
  /external/webrtc/webrtc/base/
scoped_ref_ptr.h 25 // scoped_refptr<MyFoo> foo = new MyFoo();
31 // scoped_refptr<MyFoo> foo = new MyFoo();
39 // The above examples show how scoped_refptr<T> acts like a pointer to T.
40 // Given two scoped_refptr<T> classes, it is also possible to exchange
44 // scoped_refptr<MyFoo> a = new MyFoo();
45 // scoped_refptr<MyFoo> b;
55 // scoped_refptr<MyFoo> a = new MyFoo();
56 // scoped_refptr<MyFoo> b;
71 class scoped_refptr { class in namespace:rtc
73 scoped_refptr() : ptr_(NULL) function in class:rtc::scoped_refptr
76 scoped_refptr(T* p) : ptr_(p) { function in class:rtc::scoped_refptr
81 scoped_refptr(const scoped_refptr<T>& r) : ptr_(r.ptr_) { function in class:rtc::scoped_refptr
87 scoped_refptr(const scoped_refptr<U>& r) : ptr_(r.get()) { function in class:rtc::scoped_refptr
    [all...]
  /external/libchrome/base/memory/
ref_counted.h 24 class scoped_refptr;
29 scoped_refptr<T> AdoptRef(T* t);
105 friend scoped_refptr<U> base::AdoptRef(U*);
152 friend scoped_refptr<U> base::AdoptRef(U*);
220 // If an object has start-from-one ref count, the first scoped_refptr need to be
342 // Creates a scoped_refptr from a raw pointer without incrementing the reference
346 scoped_refptr<T> AdoptRef(T* obj) {
354 return scoped_refptr<T>(obj, subtle::kAdoptRefTag);
360 scoped_refptr<T> AdoptRefIfNeeded(T* obj, StartRefCountFromZeroTag) {
361 return scoped_refptr<T>(obj)
433 class scoped_refptr { class
437 scoped_refptr() {} function in class:scoped_refptr
439 scoped_refptr(T* p) : ptr_(p) { function in class:scoped_refptr
445 scoped_refptr(const scoped_refptr<T>& r) : ptr_(r.ptr_) { function in class:scoped_refptr
454 scoped_refptr(const scoped_refptr<U>& r) : ptr_(r.get()) { function in class:scoped_refptr
461 scoped_refptr(scoped_refptr&& r) : ptr_(r.get()) { r.ptr_ = nullptr; } function in class:scoped_refptr
467 scoped_refptr(scoped_refptr<U>&& r) : ptr_(r.get()) { function in class:scoped_refptr
549 scoped_refptr(T* p, base::subtle::AdoptRefTag) : ptr_(p) {} function in class:scoped_refptr
    [all...]

Completed in 105 milliseconds