Searched refs:RetainPolicy (Results 1 – 3 of 3) sorted by relevance
/external/webrtc/sdk/objc/helpers/ |
D | scoped_cftyperef.h | 22 enum class RetainPolicy { RETAIN, ASSUME }; enum 40 ScopedTypeRef(T ptr, RetainPolicy policy) : ScopedTypeRef(ptr) { in ScopedTypeRef() 41 if (ptr_ && policy == RetainPolicy::RETAIN) in ScopedTypeRef() 70 reset(rhs.get(), RetainPolicy::RETAIN); 81 void reset(T ptr, RetainPolicy policy = RetainPolicy::ASSUME) { 82 if (ptr && policy == RetainPolicy::RETAIN) 106 return ScopedCFTypeRef<T>(cftype, RetainPolicy::RETAIN); in AdoptCF()
|
/external/webrtc/sdk/objc/unittests/ |
D | scoped_cftyperef_tests.mm | 51 ScopedTestType ref(&a, rtc::RetainPolicy::RETAIN); 59 ScopedTestType ref(&a, rtc::RetainPolicy::RETAIN); 69 ScopedTestType ref1(&a, rtc::RetainPolicy::RETAIN); 81 ScopedTestType ref(&a, rtc::RetainPolicy::RETAIN);
|
/external/webrtc/modules/desktop_capture/mac/ |
D | screen_capturer_mac.mm | 537 display_id, rtc::ScopedCFTypeRef<IOSurfaceRef>(io_surface, rtc::RetainPolicy::RETAIN));
|