Lines Matching refs:link

242   DBusList *link;  in add_list_to_client()  local
244 link = _dbus_list_get_first_link (list); in add_list_to_client()
245 while (link != NULL) in add_list_to_client()
247 BusPolicyRule *rule = link->data; in add_list_to_client()
248 link = _dbus_list_get_next_link (list, link); in add_list_to_client()
383 DBusList *link; in list_allows_user() local
388 link = _dbus_list_get_first_link (list); in list_allows_user()
389 while (link != NULL) in list_allows_user()
391 BusPolicyRule *rule = link->data; in list_allows_user()
392 link = _dbus_list_get_next_link (list, link); in list_allows_user()
605 DBusList *link; in append_copy_of_policy_list() local
611 link = _dbus_list_get_first_link (to_append); in append_copy_of_policy_list()
612 while (link != NULL) in append_copy_of_policy_list()
614 if (!_dbus_list_append (&tmp_list, link->data)) in append_copy_of_policy_list()
620 link = _dbus_list_get_next_link (to_append, link); in append_copy_of_policy_list()
624 while ((link = _dbus_list_pop_first_link (&tmp_list))) in append_copy_of_policy_list()
626 bus_policy_rule_ref (link->data); in append_copy_of_policy_list()
627 _dbus_list_append_link (list, link); in append_copy_of_policy_list()
755 DBusList *link; in remove_rules_by_type_up_to() local
757 link = _dbus_list_get_first_link (&policy->rules); in remove_rules_by_type_up_to()
758 while (link != up_to) in remove_rules_by_type_up_to()
760 BusPolicyRule *rule = link->data; in remove_rules_by_type_up_to()
761 DBusList *next = _dbus_list_get_next_link (&policy->rules, link); in remove_rules_by_type_up_to()
765 _dbus_list_remove_link (&policy->rules, link); in remove_rules_by_type_up_to()
769 link = next; in remove_rules_by_type_up_to()
776 DBusList *link; in bus_client_policy_optimize() local
795 link = _dbus_list_get_first_link (&policy->rules); in bus_client_policy_optimize()
796 while (link != NULL) in bus_client_policy_optimize()
802 next = _dbus_list_get_next_link (&policy->rules, link); in bus_client_policy_optimize()
803 rule = link->data; in bus_client_policy_optimize()
841 link); in bus_client_policy_optimize()
843 link = next; in bus_client_policy_optimize()
874 DBusList *link; in bus_client_policy_check_can_send() local
885 link = _dbus_list_get_first_link (&policy->rules); in bus_client_policy_check_can_send()
886 while (link != NULL) in bus_client_policy_check_can_send()
888 BusPolicyRule *rule = link->data; in bus_client_policy_check_can_send()
890 link = _dbus_list_get_next_link (&policy->rules, link); in bus_client_policy_check_can_send()
1056 DBusList *link; in bus_client_policy_check_can_receive() local
1072 link = _dbus_list_get_first_link (&policy->rules); in bus_client_policy_check_can_receive()
1073 while (link != NULL) in bus_client_policy_check_can_receive()
1075 BusPolicyRule *rule = link->data; in bus_client_policy_check_can_receive()
1077 link = _dbus_list_get_next_link (&policy->rules, link); in bus_client_policy_check_can_receive()
1249 DBusList *link; in bus_rules_check_can_own() local
1257 link = _dbus_list_get_first_link (&rules); in bus_rules_check_can_own()
1258 while (link != NULL) in bus_rules_check_can_own()
1260 BusPolicyRule *rule = link->data; in bus_rules_check_can_own()
1262 link = _dbus_list_get_next_link (&rules, link); in bus_rules_check_can_own()