Searched refs:ptr_ (Results 1 – 4 of 4) sorted by relevance
41 if (ptr_ != NULL) { in ref()42 ptr_->ref(); in ref()48 if (ptr_ != NULL) in deref()50 ptr_->deref(); in deref()51 if ( ptr_->nref()==0 ) in deref()53 delete ptr_; in deref()54 ptr_ = NULL; in deref()72 ptr_ = lhs.ptr_; in operator =()81 ptr_ = addr; in operator =()
47 ANTLRTokenPtr(ANTLRAbstractToken *addr=NULL){ptr_ = addr; ref();}48 ANTLRTokenPtr(const ANTLRTokenPtr &lhs) {ptr_ = lhs.ptr_; lhs.ref();} in ANTLRTokenPtr()56 ANTLRAbstractToken *operator-> () const { return ptr_; } // MR164 { return this->ptr_ != q.ptr_; }66 { return this->ptr_ == q.ptr_; }68 { return this->ptr_ == addr; }70 { return this->ptr_ != addr; }76 ANTLRAbstractToken *ptr_;
47 if (ptr_ != NULL) { in ref()48 ptr_->ref(); in ref()54 if (ptr_ != NULL) in deref()56 ptr_->deref(); in deref()57 if ( ptr_->nref()==0 ) in deref()59 delete ptr_; in deref() local60 ptr_ = NULL; in deref()78 ptr_ = lhs.ptr_;88 ptr_ = addr;