OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:sk_atomic_fetch_add
(Results
1 - 8
of
8
) sorted by null
/external/skia/include/core/
SkAtomics.h
30
T
sk_atomic_fetch_add
(T*, T, sk_memory_order = sk_memory_order_seq_cst);
77
inline int32_t sk_atomic_inc(int32_t* ptr) { return
sk_atomic_fetch_add
(ptr, +1); }
78
inline int32_t sk_atomic_dec(int32_t* ptr) { return
sk_atomic_fetch_add
(ptr, -1); }
79
inline int32_t sk_atomic_add(int32_t* ptr, int32_t v) { return
sk_atomic_fetch_add
(ptr, v); }
81
inline int64_t sk_atomic_inc(int64_t* ptr) { return
sk_atomic_fetch_add
<int64_t>(ptr, +1); }
SkRefCnt.h
66
(void)
sk_atomic_fetch_add
(&fRefCnt, +1, sk_memory_order_relaxed); // No barrier required.
76
if (1 ==
sk_atomic_fetch_add
(&fRefCnt, -1, sk_memory_order_acq_rel)) {
239
void ref() const { (void)
sk_atomic_fetch_add
(&fRefCnt, +1, sk_memory_order_relaxed); }
241
if (1 ==
sk_atomic_fetch_add
(&fRefCnt, -1, sk_memory_order_acq_rel)) {
/external/skia/include/ports/
SkAtomics_atomic.h
29
T
sk_atomic_fetch_add
(T* ptr, T val, sk_memory_order mo) {
function
SkAtomics_std.h
35
T
sk_atomic_fetch_add
(T* ptr, T val, sk_memory_order mo) {
function
SkAtomics_sync.h
44
T
sk_atomic_fetch_add
(T* ptr, T val, sk_memory_order) {
function
/external/skia/src/core/
SkPixelRef.cpp
65
genID =
sk_atomic_fetch_add
(&gNextGenID, 2u) + 2; // Never set the low bit.
SkRWBuffer.cpp
85
if (1 ==
sk_atomic_fetch_add
(&fRefCnt, -1, sk_memory_order_acq_rel)) {
SkPicture.cpp
476
uint32_t next =
sk_atomic_fetch_add
(&gNextID, 1u);
Completed in 1136 milliseconds