/third_party/mesa3d/src/mesa/main/ |
D | shaderobj.c | 71 assert(old->RefCount > 0); in _reference_shader() 73 if (p_atomic_dec_zero(&old->RefCount)) { in _reference_shader() 89 p_atomic_inc(&sh->RefCount); in _reference_shader() 104 shader->RefCount = 1; in _mesa_init_shader() 217 assert(oldData->RefCount > 0); in _mesa_reference_shader_program_data() 219 if (p_atomic_dec_zero(&oldData->RefCount)) { in _mesa_reference_shader_program_data() 233 p_atomic_inc(&data->RefCount); in _mesa_reference_shader_program_data() 258 assert(old->RefCount > 0); in _mesa_reference_shader_program_() 260 if (p_atomic_dec_zero(&old->RefCount)) { in _mesa_reference_shader_program_() 273 p_atomic_inc(&shProg->RefCount); in _mesa_reference_shader_program_() [all …]
|
D | shared.c | 130 assert(shared->DefaultTex[TEXTURE_1D_INDEX]->RefCount == 1); in _mesa_alloc_shared_state() 194 assert(prog->RefCount == 1); /* should only be referenced by hash table */ in delete_program_cb() 195 prog->RefCount = 0; /* now going away */ in delete_program_cb() 275 fb->RefCount = 0; in delete_framebuffer_cb() 293 rb->RefCount = 0; /* see comment for FBOs above */ in delete_renderbuffer_cb() 488 assert(old->RefCount >= 1); in _mesa_reference_shared_state() 489 old->RefCount--; in _mesa_reference_shared_state() 490 delete = (old->RefCount == 0); in _mesa_reference_shared_state() 503 state->RefCount++; in _mesa_reference_shared_state()
|
D | syncobj.c | 182 syncObj->RefCount++; in _mesa_get_and_ref_sync() 199 syncObj->RefCount -= amount; in _mesa_unref_sync_object() 200 if (syncObj->RefCount == 0) { in _mesa_unref_sync_object() 284 syncObj->RefCount = 1; in fence_sync() 294 …ctx->pipe->flush(ctx->pipe, &syncObj->fence, ctx->Shared->RefCount == 1 ? PIPE_FLUSH_DEFERRED : 0); in fence_sync()
|
D | glspirv.c | 43 if (old && p_atomic_dec_zero(&old->RefCount)) in _mesa_spirv_module_reference() 49 p_atomic_inc(&src->RefCount); in _mesa_spirv_module_reference() 58 if (old && p_atomic_dec_zero(&old->RefCount)) { in _mesa_shader_spirv_data_reference() 66 p_atomic_inc(&src->RefCount); in _mesa_shader_spirv_data_reference() 83 p_atomic_set(&module->RefCount, 0); in _mesa_spirv_shader_binary()
|
D | glspirv.h | 45 unsigned RefCount; member 60 GLint RefCount; member
|
D | shader_types.h | 150 GLint RefCount; /**< Reference count */ member 303 GLint RefCount; /**< Reference count */ member 369 GLint RefCount; /**< Reference count */ member 503 GLint RefCount; member
|
D | framebuffer.c | 118 fb->RefCount = 1; in _mesa_initialize_window_framebuffer() 167 fb->RefCount = 1; in _mesa_initialize_user_framebuffer() 204 assert(fb->RefCount == 0); in _mesa_free_framebuffer_data() 241 assert(oldFb->RefCount > 0); in _mesa_reference_framebuffer_() 242 oldFb->RefCount--; in _mesa_reference_framebuffer_() 243 deleteFlag = (oldFb->RefCount == 0); in _mesa_reference_framebuffer_() 254 fb->RefCount++; in _mesa_reference_framebuffer_()
|
D | pipelineobj.c | 83 obj->RefCount = 1; in _mesa_new_pipeline_object() 190 assert(oldObj->RefCount > 0); in _mesa_reference_pipeline_object_() 191 oldObj->RefCount--; in _mesa_reference_pipeline_object_() 193 if (oldObj->RefCount == 0) { in _mesa_reference_pipeline_object_() 203 assert(obj->RefCount > 0); in _mesa_reference_pipeline_object_() 205 obj->RefCount++; in _mesa_reference_pipeline_object_()
|
D | arrayobj.c | 363 deleteFlag = p_atomic_dec_zero(&oldObj->RefCount); in _mesa_reference_vao_() 365 assert(oldObj->RefCount > 0); in _mesa_reference_vao_() 366 oldObj->RefCount--; in _mesa_reference_vao_() 367 deleteFlag = (oldObj->RefCount == 0); in _mesa_reference_vao_() 380 p_atomic_inc(&vao->RefCount); in _mesa_reference_vao_() 382 assert(vao->RefCount > 0); in _mesa_reference_vao_() 383 vao->RefCount++; in _mesa_reference_vao_()
|
D | renderbuffer.c | 306 rb->RefCount = 1; in _mesa_init_renderbuffer() 381 assert(rb->RefCount == 1); in _mesa_attach_and_own_rb() 433 assert(oldRb->RefCount > 0); in _mesa_reference_renderbuffer_() 435 if (p_atomic_dec_zero(&oldRb->RefCount)) { in _mesa_reference_renderbuffer_() 443 p_atomic_inc(&rb->RefCount); in _mesa_reference_renderbuffer_()
|
D | transformfeedback.c | 102 obj->RefCount = 1; in new_transform_feedback() 144 assert(oldObj->RefCount > 0); in reference_transform_feedback_object() 145 oldObj->RefCount--; in reference_transform_feedback_object() 147 if (oldObj->RefCount == 0) { in reference_transform_feedback_object() 158 assert(obj->RefCount > 0); in reference_transform_feedback_object() 161 obj->RefCount++; in reference_transform_feedback_object() 178 assert(ctx->TransformFeedback.DefaultObject->RefCount == 1); in _mesa_init_transform_feedback() 183 assert(ctx->TransformFeedback.DefaultObject->RefCount == 2); in _mesa_init_transform_feedback()
|
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/sfntly/port/ |
D | refcount.h | 107 class RefCount { 110 virtual ~RefCount() {} in ~RefCount() 121 class RefCounted : virtual public RefCount { 201 RefCount* p = static_cast<RefCount*>(pT); 250 RefCount* p = static_cast<RefCount*>(p_); in Release()
|
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/port/ |
D | refcount.h | 107 class RefCount { 110 virtual ~RefCount() {} in ~RefCount() 121 class RefCounted : virtual public RefCount { 201 RefCount* p = static_cast<RefCount*>(pT); 250 RefCount* p = static_cast<RefCount*>(p_); in Release()
|
/third_party/vk-gl-cts/framework/delibs/decpp/ |
D | dePoolArray.cpp | 189 class RefCount class 192 RefCount (void) in RefCount() function in de::__anon670776350111::RefCount 197 RefCount (int* count) in RefCount() function in de::__anon670776350111::RefCount 203 RefCount (const RefCount& other) in RefCount() function in de::__anon670776350111::RefCount 210 ~RefCount (void) in ~RefCount() 216 RefCount& operator= (const RefCount& other) in operator =() 241 PoolArray<RefCount> arr (&pool); in sideEffectTest() 243 RefCount counter (&count); in sideEffectTest()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | IntrusiveRefCntPtr.h | 71 mutable unsigned RefCount = 0; variable 77 void Retain() const { ++RefCount; } in Retain() 80 assert(RefCount > 0 && "Reference count is already zero."); in Release() 81 if (--RefCount == 0) in Release() 88 mutable std::atomic<int> RefCount; variable 91 ThreadSafeRefCountedBase() : RefCount(0) {} in ThreadSafeRefCountedBase() 94 void Retain() const { RefCount.fetch_add(1, std::memory_order_relaxed); } in Retain() 97 int NewRefCount = RefCount.fetch_sub(1, std::memory_order_acq_rel) - 1; in Release()
|
/third_party/mesa3d/src/mesa/program/ |
D | program.c | 112 ctx->ATIFragmentShader.Current->RefCount++; in _mesa_init_program() 129 ctx->ATIFragmentShader.Current->RefCount--; in _mesa_free_program_data() 130 if (ctx->ATIFragmentShader.Current->RefCount <= 0) { in _mesa_free_program_data() 157 ctx->ATIFragmentShader.Current->RefCount--; in _mesa_update_default_objects_program() 158 if (ctx->ATIFragmentShader.Current->RefCount <= 0) { in _mesa_update_default_objects_program() 164 ctx->ATIFragmentShader.Current->RefCount++; in _mesa_update_default_objects_program() 196 prog->RefCount = 1; in _mesa_init_gl_program() 248 assert(prog->RefCount==0); in _mesa_delete_program() 323 assert(oldProg->RefCount > 0); in _mesa_reference_program_() 325 if (p_atomic_dec_zero(&oldProg->RefCount)) { in _mesa_reference_program_() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | AliasAnalysisEvaluator.h | 36 int64_t NoModRefCount, ModCount, RefCount, ModRefCount; variable 42 MustAliasCount(), NoModRefCount(), ModCount(), RefCount(), in AAEvaluator() 50 ModCount(Arg.ModCount), RefCount(Arg.RefCount), in AAEvaluator()
|
D | AliasSetTracker.h | 157 unsigned RefCount : 27; variable 190 void addRef() { ++RefCount; } in addRef() 193 assert(RefCount >= 1 && "Invalid reference count detected!"); in dropRef() 194 if (--RefCount == 0) in dropRef() 274 : PtrListEnd(&PtrList), RefCount(0), AliasAny(false), Access(NoAccess), in AliasSet()
|
/third_party/mesa3d/src/egl/main/ |
D | egldisplay.c | 431 res->RefCount = 1; in _eglInitResource() 441 assert(res && res->RefCount > 0); in _eglGetResource() 443 res->RefCount++; in _eglGetResource() 453 assert(res && res->RefCount > 0); in _eglPutResource() 454 res->RefCount--; in _eglPutResource() 455 return (!res->RefCount); in _eglPutResource() 501 assert(res->RefCount); in _eglUnlinkResource()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | IntrusiveRefCntPtr.h | 99 mutable std::atomic<int> RefCount; variable 102 ThreadSafeRefCountedBase() : RefCount(0) {} in ThreadSafeRefCountedBase() 105 void Retain() const { RefCount.fetch_add(1, std::memory_order_relaxed); } in Retain() 108 int NewRefCount = RefCount.fetch_sub(1, std::memory_order_acq_rel) - 1; in Release()
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/ |
D | NaClBitCodes.h | 272 unsigned char RefCount; // Number of things using this. 276 NaClBitCodeAbbrev() : RefCount(1) {} 278 void addRef() { ++RefCount; } 280 if (--RefCount == 0)
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | InterferenceCache.h | 54 unsigned RefCount = 0; variable 113 void addRef(int Delta) { RefCount += Delta; } in addRef() 115 bool hasRefs() const { return RefCount > 0; } in hasRefs()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | AliasAnalysisEvaluator.cpp | 251 ++RefCount; in runInternal() 298 ++RefCount; in runInternal() 361 int64_t ModRefSum = NoModRefCount + RefCount + ModCount + ModRefCount + in ~AAEvaluator() 372 errs() << " " << RefCount << " ref responses "; in ~AAEvaluator() 373 PrintPercent(RefCount, ModRefSum); in ~AAEvaluator() 386 << ModCount * 100 / ModRefSum << "%/" << RefCount * 100 / ModRefSum in ~AAEvaluator()
|
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/ |
D | font_data_table.h | 28 class FontDataTable : virtual public RefCount { 32 class Builder : virtual public RefCount {
|
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/sfntly/table/ |
D | font_data_table.h | 28 class FontDataTable : virtual public RefCount { 32 class Builder : virtual public RefCount {
|