Home
last modified time | relevance | path

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

/external/skia/include/core/
DSkLazyPtr.h73 static P try_cas(P* dst, P ptr) { in try_cas() function
124 return ptr ? ptr : try_cas<T*, Destroy>(&fPtr, Create()); in get()
142 return ptr ? ptr : try_cas<T*, Destroy>(&fArray[i], Create(i));
165 return ptr ? ptr : Private::try_cas<T*, Destroy>(&fPtr, SkNEW(T)); in get()
171 return ptr ? ptr : Private::try_cas<T*, Destroy>(&fPtr, create()); in get()