Lines Matching refs:this
4 * Use of this source code is governed by a BSD-style license that can be
27 ~SkTLazy() { this->reset(); }
31 this->set(*that);
33 this->reset();
35 return *this;
40 this->set(std::move(*that));
42 this->reset();
44 return *this;
54 this->reset();
60 * Copy src into this, and return a pointer to a copy of it. Note this
62 * has already been initialized, then this will copy over the previous
66 if (this->isValid()) {
75 if (this->isValid()) {
87 if (this->isValid()) {
103 T* get() const { SkASSERT(this->isValid()); return fPtr; }
104 T* operator->() const { return this->get(); }
105 T& operator*() const { return *this->get(); }
151 SkTCopyOnFirstWrite(const SkTCopyOnFirstWrite& that) { *this = that; }
152 SkTCopyOnFirstWrite( SkTCopyOnFirstWrite&& that) { *this = std::move(that); }
157 return *this;
163 return *this;
183 * Returns a writable T*. The first time this is called the initial object is cloned.
197 * Operators for treating this as though it were a const pointer.