Home
last modified time | relevance | path

Searched refs:ptr_ (Results 1 – 4 of 4) sorted by relevance

/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/h/
DATokPtr.cpp41 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 =()
DATokPtr.h47 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_; } // MR1
64 { return this->ptr_ != q.ptr_; }
66 { return this->ptr_ == q.ptr_; }
68 { return this->ptr_ == addr; }
70 { return this->ptr_ != addr; }
76 ANTLRAbstractToken *ptr_;
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/h/
DATokPtrImpl.h47 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() local
60 ptr_ = NULL; in deref()
78 ptr_ = lhs.ptr_;
88 ptr_ = addr;
DATokPtr.h47 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_; } // MR1
64 { return this->ptr_ != q.ptr_; }
66 { return this->ptr_ == q.ptr_; }
68 { return this->ptr_ == addr; }
70 { return this->ptr_ != addr; }
76 ANTLRAbstractToken *ptr_;