Searched refs:try_cas (Results 1 – 1 of 1) sorted by relevance
73 static P try_cas(P* dst, P ptr) { in try_cas() function124 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()