Searched refs:sk_atomic_cas (Results 1 – 3 of 3) sorted by relevance
83 inline bool sk_atomic_cas(int32_t* ptr, int32_t expected, int32_t desired) { in sk_atomic_cas() function87 inline void* sk_atomic_cas(void** ptr, void* expected, void* desired) { in sk_atomic_cas() function
55 if (0 == sk_atomic_inc(&gCount) && sk_atomic_cas(&gRegistered, 0, 1)) { in Inc()
53 F prev = (F)sk_atomic_cas(&fPtr, NULL, (void*)fn); in get()