Home
last modified time | relevance | path

Searched refs:ScopedTypeRef (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/sdk/objc/helpers/
Dscoped_cftyperef.h36 class ScopedTypeRef {
38 ScopedTypeRef() : ptr_(Traits::InvalidValue()) {} in ScopedTypeRef() function
39 explicit ScopedTypeRef(T ptr) : ptr_(ptr) {} in ScopedTypeRef() function
40 ScopedTypeRef(T ptr, RetainPolicy policy) : ScopedTypeRef(ptr) { in ScopedTypeRef() function
45 ScopedTypeRef(const ScopedTypeRef<T, Traits>& rhs) : ptr_(rhs.ptr_) { in ScopedTypeRef() function
50 ~ScopedTypeRef() { in ~ScopedTypeRef()
62 ScopedTypeRef& operator=(const T& rhs) {
69 ScopedTypeRef& operator=(const ScopedTypeRef<T, Traits>& rhs) {
102 internal::ScopedTypeRef<T, internal::CFTypeRefTraits<T>>;
/external/webrtc/sdk/objc/unittests/
Dscoped_cftyperef_tests.mm36 using ScopedTestType = rtc::internal::ScopedTypeRef<TestTypeRef, TestTypeTraits>;