Searched refs:sk_atomic_inc (Results 1 – 25 of 38) sorted by relevance
12
45 const int done = 1 + sk_atomic_inc(&fDone); in endTest()47 sk_atomic_inc(&fTestCount); in endTest()63 void reportFailure() { sk_atomic_inc(&fFailCount); } in reportFailure()
58 sk_atomic_inc(&gCounter); in FakeCreateTLS()
77 inline int32_t sk_atomic_inc(int32_t* ptr) { return sk_atomic_fetch_add(ptr, +1); } in sk_atomic_inc() function81 inline int64_t sk_atomic_inc(int64_t* ptr) { return sk_atomic_fetch_add<int64_t>(ptr, +1); } in sk_atomic_inc() function
106 sk_atomic_inc(&fWeakCnt); // No barrier required. in weak_ref()
55 if (0 == sk_atomic_inc(&gCount) && sk_atomic_cas(&gRegistered, 0, 1)) { in Inc()
81 sk_atomic_inc(&SK_MACRO_APPEND_LINE(name_counter)); 115 sk_atomic_inc(&SK_MACRO_APPEND_LINE(name_counter));
15 id = static_cast<uint32_t>(sk_atomic_inc(&gUniqueID) + 1); in CreateUniqueID()
158 uint32_t id = static_cast<uint32_t>(sk_atomic_inc(&gCurrBatchClassID)) + 1; in GenClassID()
178 id = static_cast<uint32_t>(sk_atomic_inc(&gUniqueID) + 1); in CreateUniqueID()
25 int32_t type = sk_atomic_inc(&gType); in GenerateResourceType()36 int32_t domain = sk_atomic_inc(&gDomain); in GenerateDomain()
32 sk_atomic_inc(&fX); in onDraw()56 sk_atomic_inc(&fX); in onDraw()
19 genID = sk_atomic_inc(&gCanvasDrawableGenerationID) + 1; in next_generation_id()
20 int n = sk_atomic_inc(&gTLSRecCount); in SkTLSRec()
81 return sk_atomic_inc(&gFontID) + 1; in NewFontID()
18 int32_t oldCount = sk_atomic_inc(&gCachedDataCounter); in inc()
27 SkDEBUGCODE(sk_atomic_inc(&fPathRef->fEditorsAttached);) in Editor()432 fGenerationID = (sk_atomic_inc(&gPathRefGenerationID) + 1) & kMask; in genID()
114 sk_atomic_inc(pending); // No barrier needed. in add()
54 int index = sk_atomic_inc(&gPixelRefMutexRingIndex); in get_default_mutex()
79 sk_atomic_inc(&fRefCnt); in ref()
129 uint32_t id = static_cast<uint32_t>(sk_atomic_inc(&gCurrProcessorClassID)) + 1; in GenClassID()
392 uint32_t id = static_cast<uint32_t>(sk_atomic_inc(&gCurrXPFClassID)) + 1; in GenClassID()
114 return sk_atomic_inc(&gID) + 1; in newGenerationID()
23 id = sk_atomic_inc(&gUniqueID) + 1; in NextUniqueID()
73 : SkTypeface(style, sk_atomic_inc(&gUniqueFontID) + 1) {
73 : fCacheKey(sk_atomic_inc(&gCacheCount)) in GrTextureStripAtlas()