Home
last modified time | relevance | path

Searched refs:refcount (Results 1 - 3 of 3) sorted by relevance

/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/src/
H A Dbuffer.c24 atomic_uint_least32_t refcount; member
41 buf->refcount = 1; in BufferMalloc()
61 atomic_fetch_add_explicit(&ref->rootbuf->refcount, 1, memory_order_seq_cst); in BufferRefMalloc()
100 atomic_fetch_add_explicit(&ref->rootbuf->refcount, -1, memory_order_seq_cst); in BufferResize()
118 if (atomic_fetch_add_explicit(&buf->rootbuf->refcount, -1, memory_order_seq_cst) == 1) { in BufferFree()
122 } else if (atomic_fetch_add_explicit(&buf->refcount, -1, memory_order_seq_cst) == 1) { in BufferFree()
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Decs_listener.h93 oldEntity->refcount++; in AddEntity()
103 // we increase refcount for manager always regardless the duplicate entity subscriptions so that tear down will in AddEntity()
122 --obj->refcount; in RemoveEntity()
123 if (!obj->refcount) { in RemoveEntity()
211 size_t refcount { 0 };
/foundation/multimodalinput/input/libudev/src/
H A Dudev_device.cpp196 refcount++; in Ref()
201 if (--refcount <= 0) { in Unref()
600 int refcount = 1; member

Completed in 2 milliseconds