Home
last modified time | relevance | path

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

/external/skia/src/utils/
DSkEventTracer.cpp47 SkASSERT(nullptr == sk_atomic_load(&gUserTracer, sk_memory_order_acquire)); in SetInstance()
50 atexit([]() { delete sk_atomic_load(&gUserTracer, sk_memory_order_acquire); }); in SetInstance()
54 if (SkEventTracer* tracer = sk_atomic_load(&gUserTracer, sk_memory_order_acquire)) { in GetInstance()
/external/skia/include/private/
DSkOncePtr.h64 uintptr_t state = sk_atomic_load(&fState, sk_memory_order_acquire); in get()
85 state = sk_atomic_load(&fState, sk_memory_order_acquire); in get()
95 auto state = sk_atomic_load(&fState, sk_memory_order_acquire);
DSkAtomics.h27 T sk_atomic_load(const T*, sk_memory_order = sk_memory_order_seq_cst);
57 return sk_atomic_load(&fVal, mo);
95 T sk_atomic_load(const T* ptr, sk_memory_order mo) { in sk_atomic_load() function
172 int32_t prev = sk_atomic_load(ptr); in sk_atomic_conditional_inc()
182 T sk_acquire_load(T* ptr) { return sk_atomic_load(ptr, sk_memory_order_acquire); } in sk_acquire_load()
DSkOnce.h75 if (!sk_atomic_load(done, sk_memory_order_relaxed)) { in sk_once_slow()
113 if (!sk_atomic_load(done, sk_memory_order_acquire)) { in SkOnce()
/external/skia/include/core/
DSkRefCnt.h49 if (1 == sk_atomic_load(&fRefCnt, sk_memory_order_acquire)) { in unique()
216 bool unique() const { return 1 == sk_atomic_load(&fRefCnt, sk_memory_order_acquire); } in unique()
/external/skia/src/core/
DSkPicture.cpp34 uint32_t id = sk_atomic_load(&fUniqueID, sk_memory_order_relaxed); in ~SkPicture()
43 uint32_t id = sk_atomic_load(&fUniqueID, sk_memory_order_relaxed); in uniqueID()
DSkTraceEvent.h109 #define TRACE_EVENT_API_ATOMIC_LOAD(var) sk_atomic_load(&var, sk_memory_order_relaxed)
/external/skia/src/gpu/vk/
DGrVkResource.h74 if (1 == sk_atomic_load(&fRefCnt, sk_memory_order_acquire)) { in unique()