Searched defs:scoped_refptr (Results 1 - 6 of 6) sorted by relevance

/external/v8/tools/clang/base_bind_rewriters/tests/
H A Dtest-expected.cc6 class scoped_refptr { class
25 scoped_refptr<int> foo;
H A Dtest-original.cc6 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/
H A Dscoped_refptr.h8 // 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<
[all...]
/external/webrtc/webrtc/base/
H A Dscoped_ref_ptr.h25 // 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() 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/
H A Dref_counted.h232 // scoped_refptr<MyFoo> foo = new MyFoo();
238 // scoped_refptr<MyFoo> foo = new MyFoo();
246 // The above examples show how scoped_refptr<T> acts like a pointer to T.
247 // Given two scoped_refptr<T> classes, it is also possible to exchange
251 // scoped_refptr<MyFoo> a = new MyFoo();
252 // scoped_refptr<MyFoo> b;
262 // scoped_refptr<MyFoo> a = new MyFoo();
263 // scoped_refptr<MyFoo> b;
270 class scoped_refptr { class
274 scoped_refptr() function in class:scoped_refptr
277 scoped_refptr(T* p) : ptr_(p) { function in class:scoped_refptr
283 scoped_refptr(const scoped_refptr<T>& r) : ptr_(r.ptr_) { function in class:scoped_refptr
292 scoped_refptr(const scoped_refptr<U>& r) : ptr_(r.get()) { function in class:scoped_refptr
299 scoped_refptr(scoped_refptr&& r) : ptr_(r.get()) { r.ptr_ = nullptr; } function in class:scoped_refptr
305 scoped_refptr(scoped_refptr<U>&& r) : ptr_(r.get()) { function in class:scoped_refptr
[all...]
/external/libmojo/base/trace_event/
H A Dtrace_event_android.cc82 const scoped_refptr<RefCountedString>&,
81 NoOpOutputCallback(WaitableEvent* complete_event, const scoped_refptr<RefCountedString>&, bool has_more_events) argument

Completed in 214 milliseconds