Home | History | Annotate | Download | only in core

Lines Matching defs:fPtr

22     SkTLazy() : fPtr(NULL) {}
24 explicit SkTLazy(const T* src) : fPtr(NULL) {
26 fPtr = new (fStorage.get()) T(*src);
30 SkTLazy(const SkTLazy<T>& src) : fPtr(NULL) {
32 fPtr = new (fStorage.get()) T(*src->get());
34 fPtr = NULL;
40 fPtr->~T();
52 fPtr->~T();
54 fPtr = new (SkTCast<T*>(fStorage.get())) T(std::forward<Args>(args)...);
55 return fPtr;
66 *fPtr = src;
68 fPtr = new (SkTCast<T*>(fStorage.get())) T(src);
70 return fPtr;
78 fPtr->~T();
79 fPtr = NULL;
87 bool isValid() const { return SkToBool(fPtr); }
93 T* get() const { SkASSERT(this->isValid()); return fPtr; }
99 T* getMaybeNull() const { return fPtr; }
102 T* fPtr; // NULL or fStorage