Home
last modified time | relevance | path

Searched defs:SkTLazy (Results 1 – 2 of 2) sorted by relevance

/external/skqp/include/core/
DSkTLazy.h23 explicit SkTLazy(const T* src) : fPtr(src ? new (&fStorage) T(*src) : nullptr) {} in SkTLazy() function
24 SkTLazy(const SkTLazy& that) { *this = that; } in SkTLazy() function
25 SkTLazy(SkTLazy&& that) { *this = std::move(that); } in SkTLazy() function
/external/skia/src/core/
DSkTLazy.h23 explicit SkTLazy(const T* src) : fPtr(src ? new (&fStorage) T(*src) : nullptr) {} in SkTLazy() function
24 SkTLazy(const SkTLazy& that) : fPtr(that.fPtr ? new (&fStorage) T(*that.fPtr) : nullptr) {} in SkTLazy() function
25 SkTLazy(SkTLazy&& that) : fPtr(that.fPtr ? new (&fStorage) T(std::move(*that.fPtr)) : nullptr){} in SkTLazy() function