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

/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.h229 // scoped_refptr<MyFoo> foo = new MyFoo();
235 // scoped_refptr<MyFoo> foo = new MyFoo();
243 // The above examples show how scoped_refptr<T> acts like a pointer to T.
244 // Given two scoped_refptr<T> classes, it is also possible to exchange
248 // scoped_refptr<MyFoo> a = new MyFoo();
249 // scoped_refptr<MyFoo> b;
259 // scoped_refptr<MyFoo> a = new MyFoo();
260 // scoped_refptr<MyFoo> b;
267 class scoped_refptr { class
271 scoped_refptr() function in class:scoped_refptr
274 scoped_refptr(T* p) : ptr_(p) { function in class:scoped_refptr
280 scoped_refptr(const scoped_refptr<T>& r) : ptr_(r.ptr_) { function in class:scoped_refptr
287 scoped_refptr(const scoped_refptr<U>& r) : ptr_(r.get()) { function in class:scoped_refptr
294 scoped_refptr(scoped_refptr&& r) : ptr_(r.get()) { r.ptr_ = nullptr; } function in class:scoped_refptr
298 scoped_refptr(scoped_refptr<U>&& r) : ptr_(r.get()) { function in class:scoped_refptr
[all...]
/external/libweave/third_party/chromium/base/memory/
H A Dref_counted.h216 // scoped_refptr<MyFoo> foo = new MyFoo();
222 // scoped_refptr<MyFoo> foo = new MyFoo();
230 // The above examples show how scoped_refptr<T> acts like a pointer to T.
231 // Given two scoped_refptr<T> classes, it is also possible to exchange
235 // scoped_refptr<MyFoo> a = new MyFoo();
236 // scoped_refptr<MyFoo> b;
246 // scoped_refptr<MyFoo> a = new MyFoo();
247 // scoped_refptr<MyFoo> b;
254 class scoped_refptr { class
258 scoped_refptr() function in class:scoped_refptr
261 scoped_refptr(T* p) : ptr_(p) { function in class:scoped_refptr
267 scoped_refptr(const scoped_refptr<T>& r) : ptr_(r.ptr_) { function in class:scoped_refptr
274 scoped_refptr(const scoped_refptr<U>& r) : ptr_(r.get()) { function in class:scoped_refptr
281 scoped_refptr(scoped_refptr&& r) : ptr_(r.get()) { r.ptr_ = nullptr; } function in class:scoped_refptr
285 scoped_refptr(scoped_refptr<U>&& r) : ptr_(r.get()) { function in class:scoped_refptr
[all...]
/external/libchrome/base/
H A Dbind_helpers.h266 // scoped_refptr.
480 struct UnwrapTraits<scoped_refptr<T> > {
482 static ForwardType Unwrap(const scoped_refptr<T>& o) { return o.get(); }
535 scoped_refptr<T> ref_;
539 // scoped_refptr<> inside the storage object already.
541 struct MaybeScopedRefPtr<true, scoped_refptr<T>, Rest...> {
542 MaybeScopedRefPtr(const scoped_refptr<T>&, const Rest&...) {} argument
548 scoped_refptr<const T> ref_;
/external/libweave/third_party/chromium/base/
H A Dbind_helpers.h266 // scoped_refptr.
419 struct UnwrapTraits<scoped_refptr<T> > {
421 static ForwardType Unwrap(const scoped_refptr<T>& o) { return o.get(); }
474 scoped_refptr<T> ref_;
478 // scoped_refptr<> inside the storage object already.
480 struct MaybeScopedRefPtr<true, scoped_refptr<T>, Rest...> {
481 MaybeScopedRefPtr(const scoped_refptr<T>&, const Rest&...) {} argument
487 scoped_refptr<const T> ref_;

Completed in 247 milliseconds