Searched refs:sk_atomic_load (Results 1 – 8 of 8) sorted by relevance
/external/skia/src/utils/ |
D | SkEventTracer.cpp | 47 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/ |
D | SkOncePtr.h | 64 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);
|
D | SkAtomics.h | 27 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()
|
D | SkOnce.h | 75 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/ |
D | SkRefCnt.h | 49 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/ |
D | SkPicture.cpp | 34 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()
|
D | SkTraceEvent.h | 109 #define TRACE_EVENT_API_ATOMIC_LOAD(var) sk_atomic_load(&var, sk_memory_order_relaxed)
|
/external/skia/src/gpu/vk/ |
D | GrVkResource.h | 74 if (1 == sk_atomic_load(&fRefCnt, sk_memory_order_acquire)) { in unique()
|