Lines Matching refs:refcount
44 rule->refcount = 1; in bus_policy_rule_new()
80 _dbus_assert (rule->refcount > 0); in bus_policy_rule_ref()
82 rule->refcount += 1; in bus_policy_rule_ref()
90 _dbus_assert (rule->refcount > 0); in bus_policy_rule_unref()
92 rule->refcount -= 1; in bus_policy_rule_unref()
94 if (rule->refcount == 0) in bus_policy_rule_unref()
127 int refcount; member
170 policy->refcount = 1; in bus_policy_new()
194 _dbus_assert (policy->refcount > 0); in bus_policy_ref()
196 policy->refcount += 1; in bus_policy_ref()
204 _dbus_assert (policy->refcount > 0); in bus_policy_unref()
206 policy->refcount -= 1; in bus_policy_unref()
208 if (policy->refcount == 0) in bus_policy_unref()
693 int refcount; member
707 policy->refcount = 1; in bus_client_policy_new()
715 _dbus_assert (policy->refcount > 0); in bus_client_policy_ref()
717 policy->refcount += 1; in bus_client_policy_ref()
734 _dbus_assert (policy->refcount > 0); in bus_client_policy_unref()
736 policy->refcount -= 1; in bus_client_policy_unref()
738 if (policy->refcount == 0) in bus_client_policy_unref()