Searched refs:ref_count (Results 1 - 25 of 69) sorted by relevance

123

/xsrc/external/mit/xf86-video-ati-kms/dist/src/
H A Dradeon_bo_helper.h39 uint32_t ref_count; member in struct:radeon_buffer
83 buffer->ref_count++;
94 if (buf->ref_count > 1) {
95 buf->ref_count--;
H A Dradeon_bo_helper.c209 bo->ref_count = 1;
307 bo->ref_count = 1;
478 bo->ref_count = 1;
500 /* radeon_set_pixmap_bo increments ref_count if it succeeds */
510 bo->ref_count = 1;
/xsrc/external/mit/MesaLib/dist/src/egl/drivers/wgl/
H A Degl_wgl.h35 int ref_count; member in struct:wgl_egl_display
H A Degl_wgl.c290 wgl_dpy->ref_count++;
310 wgl_dpy->ref_count++;
328 assert(wgl_dpy->ref_count > 0);
329 wgl_dpy->ref_count--;
331 if (wgl_dpy->ref_count > 0)
627 wgl_dpy->ref_count++;
/xsrc/external/mit/libXmu/dist/src/
H A DGrayPixmap.c63 int ref_count; member in struct:_PixmapCache
98 return( cachePtr->ref_count++, cachePtr->pixmap );
112 cachePtr->ref_count = 1;
126 if (--cachePtr->ref_count == 0) {
/xsrc/external/mit/MesaLib/dist/src/amd/vulkan/winsys/amdgpu/
H A Dradv_amdgpu_bo.h47 int ref_count; member in struct:radv_amdgpu_winsys_bo
/xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/winsys/amdgpu/
H A Dradv_amdgpu_bo.h49 int ref_count; member in struct:radv_amdgpu_winsys_bo
/xsrc/external/mit/xf86-video-qxl/dist/src/
H A Dqxl_surface.h27 int ref_count; member in struct:qxl_surface_t
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a2xx/
H A Dir2_ra.c127 reg->comp[swiz_get(src->swizzle, i)].ref_count++;
170 if (reg->comp[i].ref_count == 0) {
187 /* reduce srcs ref_count and free if needed */
202 if (!--comp->ref_count && reg->block_idx_free < 0) {
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a2xx/
H A Dir2_ra.c134 reg->comp[swiz_get(src->swizzle, i)].ref_count++;
178 if (reg->comp[i].ref_count == 0) {
195 /* reduce srcs ref_count and free if needed */
211 if (!--comp->ref_count && reg->block_idx_free < 0) {
/xsrc/external/mit/MesaLib.old/dist/src/gallium/winsys/sw/kms-dri/
H A Dkms_dri_sw_winsys.c84 int ref_count; member in struct:kms_sw_displaytarget
179 kms_sw_dt->ref_count = 1;
225 kms_sw_dt->ref_count --;
226 if (kms_sw_dt->ref_count > 0)
292 kms_sw_dt->ref_count++;
324 kms_sw_dt->ref_count --;
341 kms_sw_dt->ref_count = 1;
421 kms_sw_dt->ref_count --;
/xsrc/external/mit/MesaLib/dist/src/gallium/winsys/sw/kms-dri/
H A Dkms_dri_sw_winsys.c84 int ref_count; member in struct:kms_sw_displaytarget
179 kms_sw_dt->ref_count = 1;
225 kms_sw_dt->ref_count --;
226 if (kms_sw_dt->ref_count > 0)
292 kms_sw_dt->ref_count++;
324 kms_sw_dt->ref_count --;
341 kms_sw_dt->ref_count = 1;
421 kms_sw_dt->ref_count --;
/xsrc/external/mit/libXres/dist/include/X11/extensions/
H A DXRes.h54 long ref_count; member in struct:__anonf8ff88d40808
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/clover/api/
H A Dsampler.cpp73 buf.as_scalar<cl_uint>() = s.ref_count();
H A Dqueue.cpp90 buf.as_scalar<cl_uint>() = q.ref_count();
H A Dcontext.cpp121 buf.as_scalar<cl_uint>() = ctx.ref_count();
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/clover/api/
H A Dsampler.cpp73 buf.as_scalar<cl_uint>() = s.ref_count();
H A Dqueue.cpp90 buf.as_scalar<cl_uint>() = q.ref_count();
/xsrc/external/mit/xf86-video-amdgpu/dist/src/
H A Damdgpu_bo_helper.c80 pixmap_buffer->ref_count = 1;
313 bo->ref_count = 1;
320 buffer->ref_count++;
327 buf->ref_count--;
328 if (buf->ref_count) {
396 bo->ref_count = 1;
428 bo->ref_count = 1;
456 /* amdgpu_set_pixmap_bo increments ref_count if it succeeds */
/xsrc/external/mit/libXt/dist/src/
H A DGCManager.c81 Cardinal ref_count; /* # of shareholders */ member in struct:_GCrec
223 cur->ref_count++;
239 cur->ref_count = 1;
315 if (--(cur->ref_count) == 0) {
351 if (--(cur->ref_count) == 0) {
/xsrc/external/mit/libXt/dist/include/X11/
H A DSelectionI.h97 int ref_count; /* of active transfers */ member in struct:_SelectRec
/xsrc/external/mit/freetype/dist/src/cache/
H A Dftcbasic.c353 node->ref_count++;
421 node->ref_count++;
556 node->ref_count++;
625 node->ref_count++;
H A Dftccache.c421 node->ref_count = 0;
434 node->ref_count++;
436 node->ref_count--;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/clover/util/
H A Dpointer.hpp37 ref_count() const { function in class:clover::ref_counter
/xsrc/external/mit/libXtst/dist/src/
H A DXRecord.c82 * ref_count is incremented each time we do that.
83 * ref_count is decremented each time XRecordFreeData is called on
84 * the buffer. When ref_count is 0, we can free or reuse the buffer.
91 int ref_count; /* callback uses pending */ member in struct:reply_buffer
143 if (rbp->ref_count == 0) {
540 if (rbp->ref_count == 0) {
569 rbp->ref_count = 0;
605 * and decrement its ref_count.
613 assert(rbp->ref_count > 0);
614 rbp->ref_count
[all...]

Completed in 28 milliseconds

123