Searched defs:PassAs (Results 1 - 3 of 3) sorted by relevance

/external/chromium_org/base/memory/
H A Dscoped_ptr.h77 // PassAs<>() should be used to upcast return value in return statement:
81 // return result.PassAs<Foo>();
84 // Note that PassAs<>() is implemented only for scoped_ptr<T>, but not for
420 // makes it hard to write a PassAs() that understands converting the deleter
423 // Until there is a use case for PassAs() with custom deleters, just ignore
426 scoped_ptr<PassAsType> PassAs() { function in class:scoped_ptr
/external/chromium_org/third_party/webrtc/base/
H A Dscoped_ptr.h83 // PassAs<>() should be used to upcast return value in return statement:
87 // return result.PassAs<Foo>();
90 // Note that PassAs<>() is implemented only for scoped_ptr<T>, but not for
429 // makes it hard to write a PassAs() that understands converting the deleter
432 // Until there is a use case for PassAs() with custom deleters, just ignore
435 scoped_ptr<PassAsType> PassAs() { function in class:rtc::scoped_ptr
/external/chromium_org/third_party/webrtc/system_wrappers/interface/
H A Dscoped_ptr.h85 // PassAs<>() should be used to upcast return value in return statement:
89 // return result.PassAs<Foo>();
92 // Note that PassAs<>() is implemented only for scoped_ptr<T>, but not for
411 // makes it hard to write a PassAs() that understands converting the deleter
414 // Until there is a use case for PassAs() with custom deleters, just ignore
417 scoped_ptr<PassAsType> PassAs() { function in class:webrtc::scoped_ptr

Completed in 1097 milliseconds