Home | History | Annotate | Download | only in core

Lines Matching defs:const

28     explicit SkTLazy(const T* src) : fPtr(NULL) {
34 SkTLazy(const SkTLazy<T>& src) : fPtr(NULL) {
68 T* set(const T& src) {
81 bool isValid() const { return NULL != fPtr; }
87 T* get() const { SkASSERT(this->isValid()); return fPtr; }
93 T* getMaybeNull() const { return fPtr; }
119 * with a const pointer but provides a non-const pointer accessor. The first time the
143 SkTCopyOnFirstWrite(const T& initial) : fObj(&initial) {}
149 void init(const T& initial) {
168 * Operators for treating this as though it were a const pointer.
171 const T *operator->() const { return fObj; }
173 operator const T*() const { return fObj; }
175 const T& operator *() const { return *fObj; }
178 const T* fObj;