Lines Matching refs:ptr_
55 if (ptr_ != NULL) {
56 ptr_->Release();
57 ptr_ = NULL;
64 Interface* p = ptr_;
65 ptr_ = NULL;
71 DCHECK(!ptr_);
72 ptr_ = p;
80 DCHECK(!ptr_) << "Object leak. Pointer must be NULL";
81 return &ptr_;
92 DCHECK(ptr_ != NULL);
96 return ptr_->QueryInterface(p);
102 DCHECK(ptr_ != NULL);
103 return ptr_->QueryInterface(iid, obj);
116 DCHECK(!ptr_);
118 reinterpret_cast<void**>(&ptr_));
124 if (!other && !ptr_)
127 if (!other || !ptr_)
151 DCHECK(ptr_ != NULL);
152 return reinterpret_cast<BlockIUnknownMethods*>(ptr_);