/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
H A D | cord_rep_consume.cc | 34 if (substring->refcount.IsOne()) { in ClipSubstring() 48 if (concat->refcount.IsOne()) { in ClipConcat()
|
H A D | cord_rep_btree.h | 107 // indirectly through a refcount > 1). Changes can be propagated directly to 225 // Requires `this->refcount.IsOne()`: this function forces the caller to do 626 new (&tree->refcount) RefcountAndFlags; in CopyRaw() 784 assert(refcount.IsOne()); in GetAppendBuffer() 793 if (!tree->refcount.IsOne()) return {}; in GetAppendBuffer() 798 if (!tree->refcount.IsOne()) return {}; in GetAppendBuffer() 803 if (!tree->refcount.IsOne()) return {}; in GetAppendBuffer() 807 if (!edge->refcount.IsOne()) return {}; in GetAppendBuffer()
|
H A D | cordz_info_test.cc | 175 size_t refcount = data.rep.rep->refcount.Get(); in TEST() local 177 EXPECT_THAT(data.rep.rep->refcount.Get(), Eq(refcount + 1)); in TEST()
|
/third_party/libfuse/example/ |
H A D | passthrough_ll.c | 77 uint64_t refcount; /* protected by lo->mutex */ member 299 assert(p->refcount > 0); in lo_find() 301 ret->refcount++; in lo_find() 342 inode->refcount = 1; in lo_do_lookup() 460 inode->refcount++; in lo_link() 518 assert(inode->refcount >= n); in unref_inode() 519 inode->refcount -= n; in unref_inode() 520 if (!inode->refcount) { in unref_inode() 545 (unsigned long long) inode->refcount, in lo_forget_one() 1226 lo.root.refcount in main() [all...] |
/third_party/mesa3d/src/gallium/drivers/crocus/ |
H A D | crocus_bufmgr.c | 141 uint32_t refcount; member 426 p_atomic_set(&bo->refcount, 1); in bo_alloc_internal() 507 p_atomic_set(&bo->refcount, 1); in crocus_bo_create_userptr() 565 p_atomic_set(&bo->refcount, 1); in crocus_bo_gem_create_from_name() 734 if (p_atomic_dec_zero(&bo->refcount)) { in __crocus_bo_unreference() 1244 p_atomic_set(&bo->refcount, 1); in crocus_bo_import_dmabuf() 1316 p_atomic_set(&bo->refcount, 1); in crocus_bo_import_dmabuf_no_mods() 1653 p_atomic_set(&bufmgr->refcount, 1); in crocus_bufmgr_create() 1677 p_atomic_inc(&bufmgr->refcount); in crocus_bufmgr_ref() 1685 if (p_atomic_dec_zero(&bufmgr->refcount)) { in crocus_bufmgr_unref() [all...] |
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/ |
H A D | amdgpu_cs.h | 46 int refcount; member 191 if (p_atomic_dec_zero(&ctx->refcount)) { in amdgpu_ctx_unref()
|
/third_party/libinput/src/ |
H A D | libinput-private.h | 157 int refcount; member 170 size_t refcount; member 182 int refcount; member 399 int refcount; member 412 int refcount; member 459 int refcount; member 474 int refcount; member
|
/third_party/libwebsockets/lib/misc/lwsac/ |
H A D | private-lib-misc-lwsac.h | 59 int refcount; member 61 char detached; /* if our refcount gets to zero, free the chunk list */
|
/third_party/libwebsockets/lib/tls/openssl/ |
H A D | private-lib-tls-openssl.h | 39 int refcount; member
|
/third_party/libdrm/tests/radeon/ |
H A D | rbo.h | 34 unsigned refcount; member
|
/third_party/mesa3d/src/amd/vulkan/winsys/amdgpu/ |
H A D | radv_amdgpu_winsys.c | 151 if (!--ws->refcount) { in radv_amdgpu_winsys_destroy() 218 ++ws->refcount; in radv_amdgpu_winsys_create() 245 ws->refcount = 1; in radv_amdgpu_winsys_create()
|
H A D | radv_amdgpu_winsys.h | 75 uint32_t refcount; member
|
/third_party/FreeBSD/sys/dev/usb/ |
H A D | usb_dev.c | 111 * 0: Success, refcount incremented on the given USB device. 146 if (cpd->udev->refcount == USB_DEV_REF_MAX) { in usb_ref_device() 150 cpd->udev->refcount++; in usb_ref_device() 184 if (f == NULL || f->refcount == USB_FIFO_REF_MAX) in usb_ref_device() 201 if (f == NULL || f->refcount == USB_FIFO_REF_MAX) in usb_ref_device() 216 crd->txfifo->refcount++; in usb_ref_device() 220 crd->rxfifo->refcount++; in usb_ref_device() 231 if (cpd->udev && --(cpd->udev->refcount) == 0) in usb_ref_device() 250 * 0: Success, refcount incremented on the given USB device. 290 if (--(crd->rxfifo->refcount) in usb_unref_device() [all...] |
/third_party/mesa3d/src/gallium/drivers/iris/ |
H A D | iris_bufmgr.c | 194 uint32_t refcount; member 741 bo->refcount = 0; in iris_slab_alloc() 845 p_atomic_set(&bo->refcount, 1); in alloc_bo_from_slabs() 1128 p_atomic_set(&bo->refcount, 1); in iris_bo_alloc() 1215 p_atomic_set(&bo->refcount, 1); in iris_bo_create_userptr() 1277 p_atomic_set(&bo->refcount, 1); in iris_bo_gem_create_from_name() 1479 assert(p_atomic_read(&bo->refcount) > 0); in iris_bo_unreference() 1481 if (atomic_add_unless(&bo->refcount, -1, 1)) { in iris_bo_unreference() 1492 if (p_atomic_dec_zero(&bo->refcount)) { in iris_bo_unreference() 1899 p_atomic_set(&bo->refcount, in iris_bo_import_dmabuf() [all...] |
/third_party/eudev/src/libudev/ |
H A D | libudev-enumerate.c | 56 int refcount; member 90 udev_enumerate->refcount = 1; in udev_enumerate_new() 115 udev_enumerate->refcount++; in udev_enumerate_ref() 123 * Drop a reference of an enumeration context. If the refcount reaches zero, 134 udev_enumerate->refcount--; in udev_enumerate_unref() 135 if (udev_enumerate->refcount > 0) in udev_enumerate_unref()
|
H A D | libudev-monitor.c | 54 int refcount; member 102 udev_monitor->refcount = 1; in udev_monitor_new() 202 * The initial refcount is 1, and needs to be decremented to 424 udev_monitor->refcount++; in udev_monitor_ref() 432 * Drop a reference of a udev monitor. If the refcount reaches zero, 442 udev_monitor->refcount--; in udev_monitor_unref() 443 if (udev_monitor->refcount > 0) in udev_monitor_unref() 535 * The initial refcount is 1, and needs to be decremented to
|
/third_party/icu/icu4c/source/common/ |
H A D | serv.cpp | 20 // in case we use the refcount stuff 208 int32_t refcount; member in CacheEntry 222 : refcount(1), actualDescriptor(_actualDescriptor), service(_service) { in CacheEntry() 232 ++refcount; in ref() 240 * the refcount drops to zero, the resource is released. Return 244 if ((--refcount) == 0) { in unref() 256 return refcount > 1; in isShared()
|
/third_party/node/deps/icu-small/source/common/ |
H A D | serv.cpp | 20 // in case we use the refcount stuff 208 int32_t refcount; member in CacheEntry 222 : refcount(1), actualDescriptor(_actualDescriptor), service(_service) { in CacheEntry() 232 ++refcount; in ref() 240 * the refcount drops to zero, the resource is released. Return 244 if ((--refcount) == 0) { in unref() 256 return refcount > 1; in isShared()
|
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | serv.cpp | 19 // in case we use the refcount stuff 207 int32_t refcount; member in CacheEntry 221 : refcount(1), actualDescriptor(_actualDescriptor), service(_service) { in CacheEntry() 231 ++refcount; in ref() 239 * the refcount drops to zero, the resource is released. Return 243 if ((--refcount) == 0) { in unref() 255 return refcount > 1; in isShared()
|
/third_party/mesa3d/src/gallium/drivers/tegra/ |
H A D | tegra_context.h | 50 unsigned int refcount; member
|
H A D | tegra_resource.h | 34 unsigned int refcount; member
|
/third_party/libwebsockets/lib/system/smd/ |
H A D | private-lib-system-smd.h | 43 uint16_t refcount; member
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
H A D | BuddyMemoryAllocator.h | 35 // same memory index, the memory refcount is incremented to ensure de-allocating one doesn't 65 size_t refcount = 0; member
|
/third_party/ffmpeg/libavcodec/ |
H A D | v4l2_m2m.h | 54 atomic_uint refcount; member
|
/third_party/ffmpeg/libavfilter/ |
H A D | deshake.h | 69 int refcount; ///< Number of reference frames (defines averaging window) member
|