/external/grpc-grpc/src/core/lib/transport/ |
D | metadata.cc | 81 gpr_atm refcnt; member 97 gpr_atm refcnt; member 159 gpr_atm_no_barrier_load(&md->refcnt), in ref_md_locked() 160 gpr_atm_no_barrier_load(&md->refcnt) + 1, key_str, value_str); in ref_md_locked() 165 if (0 == gpr_atm_no_barrier_fetch_add(&md->refcnt, 1)) { in ref_md_locked() 183 if (gpr_atm_acq_load(&md->refcnt) == 0) { in gc_mdtab() 252 gpr_atm_rel_store(&allocated->refcnt, 1); in grpc_mdelem_create() 258 (void*)allocated, gpr_atm_no_barrier_load(&allocated->refcnt), in grpc_mdelem_create() 298 gpr_atm_rel_store(&md->refcnt, 1); in grpc_mdelem_create() 311 gpr_atm_no_barrier_load(&md->refcnt), key_str, value_str); in grpc_mdelem_create() [all …]
|
/external/libnl/lib/xfrm/ |
D | lifetime.c | 58 if (ltime->refcnt != 1) in ltime_cfg_destroy() 84 ltime->refcnt = 1; in xfrmnl_ltime_cfg_alloc() 115 ltime->refcnt++; in xfrmnl_ltime_cfg_get() 125 if (ltime->refcnt == 1) in xfrmnl_ltime_cfg_put() 128 ltime->refcnt--; in xfrmnl_ltime_cfg_put() 138 return ltime->refcnt > 1; in xfrmnl_ltime_cfg_shared()
|
D | selector.c | 58 if (sel->refcnt != 1) in sel_destroy() 86 sel->refcnt = 1; in xfrmnl_sel_alloc() 121 sel->refcnt++; in xfrmnl_sel_get() 131 if (sel->refcnt == 1) in xfrmnl_sel_put() 134 sel->refcnt--; in xfrmnl_sel_put() 144 return sel->refcnt > 1; in xfrmnl_sel_shared()
|
/external/libdrm/etnaviv/ |
D | etnaviv_device.c | 51 atomic_set(&dev->refcnt, 1); in etna_device_new() 77 atomic_inc(&dev->refcnt); in etna_device_ref() 96 if (!atomic_dec_and_test(&dev->refcnt)) in etna_device_del_locked() 104 if (!atomic_dec_and_test(&dev->refcnt)) in etna_device_del()
|
/external/mesa3d/src/etnaviv/drm/ |
D | etnaviv_device.c | 44 p_atomic_set(&dev->refcnt, 1); in etna_device_new() 78 p_atomic_inc(&dev->refcnt); in etna_device_ref() 101 if (!p_atomic_dec_zero(&dev->refcnt)) in etna_device_del_locked() 109 if (!p_atomic_dec_zero(&dev->refcnt)) in etna_device_del()
|
/external/libnl/lib/route/ |
D | pktloc.c | 69 loc->refcnt++; in __pktloc_lookup() 194 loc->refcnt = 1; in rtnl_pktloc_alloc() 209 loc->refcnt--; in rtnl_pktloc_put() 210 if (loc->refcnt <= 0) in rtnl_pktloc_put() 232 loc->mask, loc->shift, loc->refcnt); in rtnl_pktloc_add()
|
/external/skqp/src/compute/skc/platforms/cl_12/ |
D | handle_pool_cl_12.c | 588 union skc_handle_refcnt refcnt = *refcnt_ptr; in skc_runtime_host_validated_release() local 590 refcnt.h -= 1; in skc_runtime_host_validated_release() 591 *refcnt_ptr = refcnt; in skc_runtime_host_validated_release() 593 if (refcnt.hd == 0) { in skc_runtime_host_validated_release() 665 union skc_handle_refcnt refcnt = *refcnt_ptr; in skc_runtime_handle_device_validate_retain() local 667 if (refcnt.h == 0) in skc_runtime_handle_device_validate_retain() 671 else if (refcnt.d == SKC_HANDLE_REFCNT_DEVICE_MAX) in skc_runtime_handle_device_validate_retain() 715 union skc_handle_refcnt refcnt = *refcnt_ptr; in skc_runtime_handle_device_release() local 717 refcnt.d -= 1; in skc_runtime_handle_device_release() 718 *refcnt_ptr = refcnt; in skc_runtime_handle_device_release() [all …]
|
/external/libnl/src/ |
D | nl-list-sockets.c | 33 int ret, proto, pid, rmem, wmem, refcnt; in main() local 38 &cb, &refcnt); in main() 44 groups, rmem, wmem, cb, refcnt); in main()
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_debug_refcnt.c | 163 unsigned refcnt = p->count; in debug_reference_slowpath() local 178 for (i = 1; i <= refcnt - change; ++i) { in debug_reference_slowpath() 187 change > 0 ? "AddRef" : "Release", refcnt); in debug_reference_slowpath() 191 if (!refcnt) { in debug_reference_slowpath()
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/module/module_get/ |
D | format | 10 field:int refcnt; offset:16; size:4; signed:1; 13 print fmt: "%s call_site=%ps refcnt=%d", __get_str(name), (void *)REC->ip, REC->refcnt
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/module/module_put/ |
D | format | 10 field:int refcnt; offset:16; size:4; signed:1; 13 print fmt: "%s call_site=%ps refcnt=%d", __get_str(name), (void *)REC->ip, REC->refcnt
|
/external/libdrm/freedreno/ |
D | freedreno_device.c | 80 atomic_set(&dev->refcnt, 1); in fd_device_new() 106 atomic_inc(&dev->refcnt); in fd_device_ref() 123 if (!atomic_dec_and_test(&dev->refcnt)) in fd_device_del_locked() 130 if (!atomic_dec_and_test(&dev->refcnt)) in fd_device_del()
|
D | freedreno_pipe.c | 60 atomic_set(&pipe->refcnt, 1); in fd_pipe_new2() 76 atomic_inc(&pipe->refcnt); in fd_pipe_ref() 82 if (!atomic_dec_and_test(&pipe->refcnt)) in fd_pipe_del()
|
/external/python/cpython2/Lib/ctypes/test/ |
D | test_internals.py | 26 refcnt = grc(i) 28 self.assertEqual(refcnt, grc(i)) 33 refcnt = grc(s) 35 self.assertEqual(refcnt + 1, grc(s))
|
/external/mesa3d/src/freedreno/drm/ |
D | freedreno_device.c | 80 p_atomic_set(&dev->refcnt, 1); in fd_device_new() 106 p_atomic_inc(&dev->refcnt); in fd_device_ref() 124 if (!atomic_dec_and_test(&dev->refcnt)) in fd_device_del_locked() 131 if (!atomic_dec_and_test(&dev->refcnt)) in fd_device_del()
|
D | freedreno_pipe.c | 58 p_atomic_set(&pipe->refcnt, 1); in fd_pipe_new2() 74 p_atomic_inc(&pipe->refcnt); in fd_pipe_ref() 80 if (!atomic_dec_and_test(&pipe->refcnt)) in fd_pipe_del()
|
/external/python/cpython3/Lib/ctypes/test/ |
D | test_internals.py | 23 refcnt = grc(i) 25 self.assertEqual(refcnt, grc(i)) 30 refcnt = grc(s) 32 self.assertEqual(refcnt + 1, grc(s))
|
/external/libdrm/omap/ |
D | omap_drm.c | 54 atomic_t refcnt; member 77 atomic_t refcnt; member 86 atomic_set(&dev->refcnt, 1); in omap_device_new_impl() 116 atomic_inc(&dev->refcnt); in omap_device_ref() 122 if (!atomic_dec_and_test(&dev->refcnt)) in omap_device_del() 186 atomic_set(&bo->refcnt, 1); in bo_from_handle() 260 atomic_inc(&bo->refcnt); in omap_bo_ref() 356 if (!atomic_dec_and_test(&bo->refcnt)) in omap_bo_del()
|
/external/libxkbcommon/src/compose/ |
D | state.c | 31 int refcnt; member 58 state->refcnt = 1; in xkb_compose_state_new() 71 state->refcnt++; in xkb_compose_state_ref() 78 if (!state || --state->refcnt > 0) in xkb_compose_state_unref()
|
/external/libevent/ |
D | listener.c | 83 short refcnt; member 125 ++listener->refcnt; 132 int refcnt = --listener->refcnt; in listener_decref_and_unlock() local 133 if (refcnt == 0) { in listener_decref_and_unlock() 189 lev->base.refcnt = 1; in evconnlistener_new() 420 ++lev->refcnt; in listener_read_cb() 427 if (lev->refcnt == 1) { in listener_read_cb() 432 --lev->refcnt; in listener_read_cb() 445 ++lev->refcnt; in listener_read_cb() 630 ++lev->refcnt; in accepted_socket_invoke_user_cb() [all …]
|
/external/usrsctp/usrsctplib/netinet/ |
D | sctp_peeloff.c | 164 atomic_add_int(&stcb->asoc.refcnt, 1); in sctp_do_peeloff() 172 atomic_subtract_int(&stcb->asoc.refcnt, 1); in sctp_do_peeloff() 206 atomic_add_int(&stcb->asoc.refcnt, 1); in sctp_get_peeloff() 226 atomic_subtract_int(&stcb->asoc.refcnt, 1); in sctp_get_peeloff() 236 atomic_subtract_int(&stcb->asoc.refcnt, 1); in sctp_get_peeloff() 315 atomic_add_int(&stcb->asoc.refcnt, 1); in sctp_get_peeloff() 326 atomic_subtract_int(&stcb->asoc.refcnt, 1); in sctp_get_peeloff()
|
/external/mesa3d/src/panfrost/lib/ |
D | pan_bo.c | 397 p_atomic_set(&bo->refcnt, 1); in panfrost_bo_create() 413 ASSERTED int count = p_atomic_inc_return(&bo->refcnt); in panfrost_bo_reference() 425 if (p_atomic_dec_return(&bo->refcnt)) in panfrost_bo_unreference() 435 if (p_atomic_read(&bo->refcnt) == 0) { in panfrost_bo_unreference() 477 p_atomic_set(&bo->refcnt, 1); in panfrost_bo_import() 491 if (p_atomic_read(&bo->refcnt) == 0) in panfrost_bo_import() 492 p_atomic_set(&bo->refcnt, 1); in panfrost_bo_import()
|
/external/grpc-grpc/src/core/lib/slice/ |
D | slice_intern.cc | 46 gpr_atm refcnt; member 76 GPR_ASSERT(gpr_atm_no_barrier_fetch_add(&s->refcnt, 1) > 0); in interned_slice_ref() 82 GPR_ASSERT(0 == gpr_atm_no_barrier_load(&s->refcnt)); in interned_slice_destroy() 97 if (1 == gpr_atm_full_fetch_add(&s->refcnt, -1)) { in interned_slice_unref() 229 if (gpr_atm_no_barrier_fetch_add(&s->refcnt, 1) == 0) { in grpc_slice_intern() 234 GPR_ASSERT(gpr_atm_rel_cas(&s->refcnt, 1, 0)); in grpc_slice_intern() 247 gpr_atm_rel_store(&s->refcnt, 1); in grpc_slice_intern()
|
/external/mesa3d/src/gallium/winsys/svga/drm/ |
D | vmw_shader.c | 49 src_ref = src ? &src->refcnt : NULL; in vmw_svga_winsys_shader_reference() 50 dst_ref = dst ? &dst->refcnt : NULL; in vmw_svga_winsys_shader_reference() 89 pipe_reference_init(&shader->refcnt, 1); in vmw_svga_shader_create()
|
/external/llvm-project/lldb/examples/summaries/ |
D | pysummary.py | 7 refcnt = value.GetChildMemberWithName("ob_refcnt") 12 refcnt_value = "rc = %d" % (refcnt.GetValueAsUnsigned(0))
|