Lines Matching refs:Traits
85 using Traits = internal::ScopedNSProtocolTraits<NST>;
89 NST object = Traits::InvalidValue(),
91 : ScopedTypeRef<NST, Traits>(object, policy) {}
93 explicit scoped_nsprotocol(NST object = Traits::InvalidValue())
94 : ScopedTypeRef<NST, Traits>(object, base::scoped_policy::RETAIN) {}
98 : ScopedTypeRef<NST, Traits>(that) {} in scoped_nsprotocol()
102 : ScopedTypeRef<NST, Traits>(that_as_subclass) {} in scoped_nsprotocol()
105 : ScopedTypeRef<NST, Traits>(that) {} in scoped_nsprotocol()
108 ScopedTypeRef<NST, Traits>::operator=(that);
113 void reset(NST object = Traits::InvalidValue(),
116 ScopedTypeRef<NST, Traits>::reset(object, policy);
119 void reset(NST object = Traits::InvalidValue()) {
120 ScopedTypeRef<NST, Traits>::reset(object, base::scoped_policy::RETAIN);
149 using Traits = typename scoped_nsprotocol<NST*>::Traits;
153 NST* object = Traits::InvalidValue(),
157 explicit scoped_nsobject(NST* object = Traits::InvalidValue())
177 void reset(NST* object = Traits::InvalidValue(),
183 void reset(NST* object = Traits::InvalidValue()) {
198 using Traits = typename scoped_nsprotocol<id>::Traits;
202 id object = Traits::InvalidValue(),
206 explicit scoped_nsobject(id object = Traits::InvalidValue())
225 void reset(id object = Traits::InvalidValue(),
231 void reset(id object = Traits::InvalidValue()) {