Lines Matching defs:const
37 constexpr bool IsRefCountPreferenceOverridden(const T*,
38 const RefCounted<U, V>*) {
45 const T*,
46 const RefCountedThreadSafe<U, V>*) {
180 scoped_refptr(const scoped_refptr& r) : scoped_refptr(r.ptr_) {}
186 scoped_refptr(const scoped_refptr<U>& r) : scoped_refptr(r.ptr_) {}
210 T* get() const { return ptr_; }
212 T& operator*() const {
217 T* operator->() const {
232 explicit operator bool() const { return ptr_ != nullptr; }
235 bool operator==(const scoped_refptr<U>& rhs) const {
240 bool operator!=(const scoped_refptr<U>& rhs) const {
245 bool operator<(const scoped_refptr<U>& rhs) const {
283 bool operator==(const scoped_refptr<T>& lhs, const U* rhs) {
288 bool operator==(const T* lhs, const scoped_refptr<U>& rhs) {
293 bool operator==(const scoped_refptr<T>& lhs, std::nullptr_t null) {
298 bool operator==(std::nullptr_t null, const scoped_refptr<T>& rhs) {
303 bool operator!=(const scoped_refptr<T>& lhs, const U* rhs) {
308 bool operator!=(const T* lhs, const scoped_refptr<U>& rhs) {
313 bool operator!=(const scoped_refptr<T>& lhs, std::nullptr_t null) {
318 bool operator!=(std::nullptr_t null, const scoped_refptr<T>& rhs) {
323 std::ostream& operator<<(std::ostream& out, const scoped_refptr<T>& p) {