Searched refs:sk_atomic_inc (Results 1 – 25 of 34) sorted by relevance
12
44 const int done = 1 + sk_atomic_inc(&fDone); in endTest()46 sk_atomic_inc(&fTestCount); in endTest()62 void reportFailure() { sk_atomic_inc(&fFailCount); } in reportFailure()
58 sk_atomic_inc(&gCounter); in FakeCreateTLS()
80 sk_atomic_inc(&name_counter);112 sk_atomic_inc(&name_counter);
15 id = static_cast<uint32_t>(sk_atomic_inc(&gUniqueID) + 1); in CreateUniqueID()
204 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()
104 sk_atomic_inc(&fWeakCnt); // No barrier required. in weak_ref()
156 inline int32_t sk_atomic_inc(int32_t* ptr) { return sk_atomic_fetch_add(ptr, +1); } in sk_atomic_inc() function160 inline int64_t sk_atomic_inc(int64_t* ptr) { return sk_atomic_fetch_add<int64_t>(ptr, +1); } in sk_atomic_inc() function
19 genID = sk_atomic_inc(&gCanvasDrawableGenerationID) + 1; in next_generation_id()
27 int n = sk_atomic_inc(&gTLSRecCount); in SkTLSRec()
82 return sk_atomic_inc(&gFontID) + 1; in NewFontID()
17 int32_t oldCount = sk_atomic_inc(&gCachedDataCounter); in inc()
51 SkDebugf(" pixelref %d\n", sk_atomic_inc(&gInstCounter)); in SkPixelRef()
29 SkDEBUGCODE(sk_atomic_inc(&fPathRef->fEditorsAttached);) in Editor()464 fGenerationID = (sk_atomic_inc(&gPathRefGenerationID) + 1) & kMask; in genID()
94 , fUniqueID(sk_atomic_inc(&gUniqueColorSpaceID)) in SkColorSpace()
79 sk_atomic_inc(&fRefCnt); in ref()
29 int32_t prev = sk_atomic_inc(&gShaderCounter); in inc_shader_counter()
135 uint32_t id = static_cast<uint32_t>(sk_atomic_inc(&gCurrProcessorClassID)) + 1; in GenClassID()
376 uint32_t id = static_cast<uint32_t>(sk_atomic_inc(&gCurrXPFClassID)) + 1; in GenClassID()
142 uint32_t id = static_cast<uint32_t>(sk_atomic_inc(idCounter)) + 1; in GenID()
126 return sk_atomic_inc(&gID) + 1; in newGenerationID()
72 : fCacheKey(sk_atomic_inc(&gCacheCount)) in GrTextureStripAtlas()
35 genID = sk_atomic_inc(&gColorCubeUniqueID) + 1; in SkNextColorCubeUniqueID()
99 fID = sk_atomic_inc(&gOSMenuCmd); in Item()